What’s New in Spring Framework 6.1 Milestone 4? Key Features and Virtual Thread Support
Spring Framework 6.1 Milestone 4 brings a host of backend enhancements such as the new JdbcClient, JMS observability, @HttpExchange support, CompletableFuture caching, refined bean configuration, expanded test property sources, and full compatibility with Virtual Threads and JDK 21, while previewing the upcoming Spring Boot 3.2 milestone.
Spring Framework 6.1 Milestone 4 Released
Spring Framework 6.1 has introduced several notable enhancements in its fourth milestone, including the addition of JdbcClient (a JDBC variant of DatabaseClient), observability support for JMS, server‑side handling with @HttpExchange, CompletableFuture support for @Cacheable, improvements to Web binding and validation, refined @Bean configuration, extended @TestPropertySource capabilities, and better support for DatabaseClient.
Introduce JdbcClient (JDBC variant of DatabaseClient).
Add observability support for JMS.
Server‑side handling supports @HttpExchange annotation for mapping requests to controller methods. @Cacheable methods now support CompletableFuture.
New improvements for Web binding and validation.
Enhanced support for DatabaseClient.
Tightened @Bean configuration model to prevent invalid configurations.
Improved @TestPropertySource support (resource patterns, custom file extensions, text blocks).
The framework now fully supports Virtual Threads and JDK 21, offering dedicated VirtualThreadTaskExecutor and virtual‑thread modes on SimpleAsyncTaskExecutor and SimpleAsyncTaskScheduler.
Spring Boot 3.2’s second milestone is scheduled for release next week.
For full details, see the Spring Framework 6.x release notes: https://github.com/spring-projects/spring-framework/wiki/What's-New-in-Spring-Framework-6.x
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Programmer DD
A tinkering programmer and author of "Spring Cloud Microservices in Action"
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
