Spring v5.2.1.RELEASE Release Notes

Release Date: 2019-11-02 // over 4 years ago
  • 🍱 ⭐️ New Features

    • 👌 Support for limits on input stream processing in WebFlux codecs #23884
    • 🐎 Race condition affecting performance in AbstractJaxb2HttpMessageConverter - JAXBContext creation #23879
    • ➕ Add RSocketRequester retrieveAndAwaitOrNull extension #23874
    • 👌 Support unidirectional @AliasFor attribute mapping within an annotation #23834
    • 👍 Allow setting primary flag on BeanDefinitionBuilder #23794
    • Introduce sessionAttributeDoesNotExist in RequestResultMatchers #23756
    • ✅ EventPublishingTestExecutionListener is not included in JUnit 4 and TestNG base classes #23748
    • ⚡️ Optimize Connection.setReadOnly(false) in DataSourceUtils.resetConnectionAfterTransaction(…) #23747
    • Handling of ResponseStatusException to also include setting of response headers #23741
    • 🛠 Fix OkHttp3ClientHttpRequestFactory shutdown flow #23628

    🍱 🐞 Bug Fixes

    • Reorder date formatting converter in registrar #23893
    • 🔧 Revisit @Configuration(proxyBeanMethods = false) with qualified injection points #23887
    • 🛠 Fixing NPE in AbstractNamedValueMethodArgumentResolver #23882
    • WebClient onStatus order changed #23880
    • TransactionalOperator::transactional does not close the transaction when cancelled #23864
    • ✂ Remove unused type parameter declarations in XpathRequestMatchers #23860
    • ✂ Remove unused type parameter declarations in MockMvc #23858
    • Repeatable annotation container no longer found on custom composed annotation #23856
    • 🔧 Missing CORS headers defined in SockJS CORS configuration #23843
    • Consider target transaction manager for traditional vs reactive transaction decision #23832
    • ⬆️ InaccessibleObjectException after upgrading to Framework 5.2 #23829
    • Incorrect value of the MediaType.APPLICATION_PROBLEM_JSON_UTF8 #23825
    • 🐎 Autowiring performance degradation due to 5.2's MethodParameter.getParameterType() implementation #23792
    • 🤡 Preserve expires attribute in MockCookie #23769
    • 🔧 Regression: attribute override configured via @AliasFor no longer honored in annotation hierarchy #23767
    • spring 5.2 dist.zip naming issue #23745
    • 🤡 MockServletContext should treat InvalidPathException like an IOException #23717

    📔 Documentation

    • 📚 Update Spring Boot references in testing documentation #23848
    • 🛠 Fix typo in rsocket doc #23762
    • 🛠 Fixes broken links to dev.java.net #23746
    • 🛠 Fix typo in web-uris doc #23739
    • 📚 Update documentation for importing projects into Eclipse #23706

    ⬆️ 🔨 Dependency Upgrades

    • ⬆️ Upgrade to Reactor Dysprosium-SR1 #23871

    🍱 ❤️ Contributors

    🚀 We'd like to thank all the contributors who worked on this release!