Spring v5.2.0.RC2 Release Notes
Release Date: 2019-09-05 // over 4 years ago-
๐ฑ โญ๏ธ New Features
- Invalid partial content requests possible with start byte = resource-byte-count #23576
- ๐ Support invoking static methods with ReflectionTestUtils.invokeMethod() #23504
- Detect ClientHttpConnector to use by checking classpath #23493
- โ Remove statusCode state from ContentCachingResponseWrapper #23490
- ๐ Fix "array index out of bounds" problem reported by LGTM.com #23485
- ๐ง Explicit attribute overrides configured via
@AliasFor
not supported for components picked up via component scanning #23402 - Provide a way to predict bean types without initializing FactoryBeans #23374
- Pre-allocate NoTransactionException in TransactionContextManager #23360
- ๐ Use System.nanoTime() instead of System.currentTimeMillis() in StopWatch #23235
- Correct encoding and decoding of "message/x.rsocket.routing.v0" #23137
- โ Add support for Coroutines transactions #22915
๐ฑ ๐ Bug Fixes
- โ
Cannot use relative path following placeholder in
@TestPropertySource
locations #23544 - Spring Webflux 5.2.0.M2 - Kotlin coroutines - ServerRequest.awaitPrincipal always null #22986
๐ Documentation
- ๐ Fix typos related to indefinite articles #23555
- โ Adding Kotlin code examples to Testing documentation. #23545
- โ Add
@since
for getCacheFilter and setCacheFilter #23519 - ๐ Wiki build instructions for local Maven repo are outdated #23517
- ๐ Fix unmatched parenthesis in the documentation of ContextHierarchy #23487
- Modify the javadoc of
@EnableWebFlux
annotation #23457 - ๐ Kotlin examples in Spring Core docs should use extension functions with reified types #23456
- ๐ Improve language-switch CSS #23454
- ๐ Fix data access documentation typo #23450
- Fix / in Javadoc #23439
- ๐ Reference documentation for ContextClosedEvent is misleading #23436
- ๐ Reference documentation for
@Autowired
's required attribute is misleading #23428 - Provide code samples in Kotlin in addition to Java [SPR-17245] #21778
โฌ๏ธ ๐จ Dependency Upgrades
- โฌ๏ธ Upgrade to Reactor Dysprosium-RC1 #23579
- โฌ๏ธ Upgrade to RSocket 1.0 RC3 #23543
- โฌ๏ธ Upgrade to Kotlin 1.3.50 #23536
- โฌ๏ธ Upgrade to Kotlin Coroutines 1.3.0 #23535
- โฌ๏ธ Upgrade to CGLIB 3.3 #23453
๐ฑ โค๏ธ Contributors
๐ We'd like to thank all the contributors who worked on this release!