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!