The first RC of Spring Framework 6.1 has been released.
Main changes
- Spring Framework 6.1 requires the Jackson 2.14 baseline and supports the new
DatatypeFeature
- Further improvements to AOT, reducing runtime reflection and preparing for upcoming reachability changes in GraalVM
- With a new
BodyInserter
method variant, it is now possible to use itOutputStream
as a data source in reactive web APIs - Functional Web Framework now allows header manipulation when serving static resources, making it easier to write HTTP cache response headers
Spring Framework documentation shows that Spring 6.1 is fully compatible with virtual threads ( Virtual Threads ) and JDK 21.
Virtual thread configuration options: dedicated VirtualThreadTaskExecutor and virtual thread mode on SimpleAsyncTaskExecutor , and similar SimpleAsyncTaskScheduler with new-thread-per-task strategy and virtual thread mode .
According to the plan, the official version of Spring Framework 6.1 will be released in November. Please refer to the release announcement for details .
Also released is the general update Spring Framework 6.0.13 .