Spring Framework 6.0 goes RC1

Releases | Juergen Hoeller | October 12, 2022 | ...

Dear Spring community,

It is my pleasure to announce that a feature-complete Spring Framework 6.0 release candidate is available now! We are expecting a further release candidate in time for the first Spring Boot 3.0 release candidate next week, and then our final releases for general availability in November.

As a major revision of the core framework, 6.0 RC1 comes with a Java 17+ baseline, a move to Jakarta EE 9+ (in the jakarta namespace superseding the former javax based EE APIs), and a broader infrastructure revision. This provides access to the latest web containers such as Tomcat 10 / Jetty 11 and the latest persistence providers such as Hibernate ORM 6.1 - all of which are exclusively available with the jakarta-namespaced variants of the Servlet API and JPA. It also sets the stage for the further evolution of those APIs and providers, as well as the further evolution of the JDK itself.

Most importantly, this release completes our foundation for Ahead-Of-Time transformations and the corresponding AOT processing support for Spring application contexts. This opens up a wide range of optimized deployment arrangements, from fine-tuned JVM deployments to first-class support for GraalVM native images (see the related Spring Boot 3 blog post). Stay tuned for Spring Boot 3.0 RC1!

On a timely note, there is also an opportunity to explore virtual threads (the "Project Loom" preview in JDK 19) with Spring-based applications: See "Embracing Virtual Threads" for an overview. At this point, we provide customization options to plug in virtual-thread based Executor implementations; we aim to provide first-class configuration options when Project Loom goes out of preview.

There are many further features and refinements available in Spring Framework 6.0, e.g. an HTTP interface client based on @HttpExchange service interfaces, support for RFC 7807 problem details, and Micrometer-based observability for Spring's HTTP clients. Please see our What's New page for a comprehensive overview and give 6.0 an early try!

Cheers, Juergen

Project Page | GitHub | Documentation

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all