Spring Framework 6.0.0 is now available.

This is the start of a new framework generation for 2023 and beyond, embracing current and upcoming innovations in OpenJDK and the Java ecosystem. At the same time, we carefully designed it as a straightforward upgrade from Spring Framework 5.3.x for modern-day runtime environments.

As a major revision to the core framework, Spring Framework 6.0 brings the Java 17+ baseline and migration to Jakarta EE 9+ (in the jakarta namespace) with a focus on the recently released Jakarta EE 10 APIs such as Servlet 6.0 and JPA 3.1. This provides access to This provides access to the latest web containers (e.g. Tomcat 10.1) and the latest persistence providers (e.g. Hibernate ORM 6.1). The announcement states that instead of staying on Java EE 8, it is recommended to jump up to the jakarta namespace, preferably directly to the Jakarta EE 10 level. the upcoming Spring Boot 3.0.0 release will include the corresponding managed dependencies.

On the infrastructure side, 6.0 introduces the foundation of Ahead-Of-Time conversion and corresponding AOT processing support for Spring application contexts. This provides first-class support for GraalVM native images for Spring Boot 3. You can also explore Project Loom’s virtual threads using Spring applications, see “Embracing Virtual Threads”; and dive into Project CRaC’s checkpoint recovery method for faster JVM startup. Officially, both of these features are currently in preview, but are expected to be first-class features for Spring Framework 6.x-based applications.

There are many further features and improvements available in Spring Framework 6.0, such as the HTTP interface client, support for RFC 7807 issue details, and Micrometer-based observability of the HTTP client.

Check out the New Features page for a comprehensive overview.

Reference: https://www.oschina.net/news/218076/spring-framework-6-0-ga