Backend Development 7 min read

Spring Framework 6.0 RC1 Released: Key Features and Changes

Spring Framework 6.0 RC1 has been released, requiring Java 17+, migrating to Jakarta EE 9+ namespaces, supporting the latest web containers and Hibernate ORM, introducing AOT compilation, virtual‑thread executor support, new @HttpExchange client, RFC 7807 handling, Micrometer observability, and more.

Code Ape Tech Column
Code Ape Tech Column
Code Ape Tech Column
Spring Framework 6.0 RC1 Released: Key Features and Changes

Hello everyone, I'm Chen (intro).

Spring Framework 6.0 released its first RC version.

The release notes state that Spring Framework 6.0 is a major update, and RC1 requires Java 17 or higher , and has migrated to Jakarta EE 9+ (using the jakarta namespace instead of the previous javax -based EE API), along with other infrastructure changes.

Based on these changes, Spring Framework 6.0 supports the latest web containers such as Tomcat 10 / Jetty 11, and the latest persistence framework Hibernate ORM 6.1. These features are only available for the jakarta namespace variants of the Servlet API and JPA.

A major change in this version is the completion of AOT compilation for the Spring application context and corresponding AOT processing support, which helps optimize deployment, from fine‑tuned JVM deployments to first‑class support for GraalVM native images.

It is worth noting that developers can now experience virtual threads (preview in JDK 19's Project Loom) in Spring‑based applications, with a new option to plug in an Executor based on virtual threads, aiming to provide first‑class configuration when Project Loom becomes generally available.

In addition to the above changes, Spring Framework 6.0 also includes many other improvements and features, such as:

Providing an HTTP client interface based on @HttpExchange

Support for RFC 7807 problem details

Spring HTTP client offers Micrometer‑based observability

Additionally, the team says they will release the first RC of Spring Boot 3.0 next week, the second RC of Spring Framework 6.0, and the GA in November.

Release announcement: https://spring.io/blog/2022/10/12/spring-framework-6-0-goes-rc1

Download address: https://github.com/spring-projects/spring-framework/releases/tag/v6.0.0-RC1

New features introduction: https://github.com/spring-projects/spring-framework/wiki/What's-New-in-Spring-Framework-6.x/

Source: OSC Open Source Community (ID: oschina2013)

Welcome to join Chen's knowledge planet to learn together, exchange technology, and share PDFs of several columns.

Updated columns include:

"I Want to Enter Big Companies" : collection of interview points, system architecture design, practical summaries, and optimization.

"Billion‑Scale Data Sharding Practice" : articles and videos sharing sharding practices for massive data.

"Spring Cloud Alibaba Deep Dive" : usage and source code deep dive of Spring Cloud Alibaba middleware, with complete case source code.

"Spring Boot Deep Dive" : from beginner to source‑level articles.

"Spring Deep Dive" : over 47 articles covering beginner to source‑level introductions with full case code.

"DDD Practical Series" : from DDD basics to advanced practice.

Java backend related source code explanations and full‑stack learning roadmap.

Finally, a short note (please follow and don’t just free‑ride).

Chen's articles have been compiled into PDFs for three columns; you can obtain them by following the public account and replying with the relevant keywords.

"Spring Cloud Advanced" PDF : follow the public account and reply with "Spring Cloud Advanced".

"Spring Boot Advanced" PDF : follow the public account and reply with "Spring Boot Advanced".

"Mybatis Advanced" PDF : follow the public account and reply with "Mybatis Advanced".

If this article helped or inspired you, please like, view, share, and bookmark—it’s the biggest motivation for me to keep going!

Backend DevelopmentVirtual ThreadsAOTSpring Frameworkjava-17Jakarta EE
Code Ape Tech Column
Written by

Code Ape Tech Column

Former Ant Group P8 engineer, pure technologist, sharing full‑stack Java, job interview and career advice through a column. Site: java-family.cn

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.