Spring Framework 6.0 goes GA

Spring Framework 6.0.0 is generally available from Maven Central now! It was quite some time since a major release last happened but this release focuses on 2023 for embracing current and upcoming innovations in OpenJDK and the Java ecosystem. At the same time, it is carefully designed it as a straightforward upgrade from Spring Framework 5.3.x

The main features are:

  • Java 17+ baseline
  • A move 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
  • the latest web containers such as Tomcat 10.1
  • the latest persistence providers such as Hibernate ORM 6.1

Infrastructure-wise, 6.0 introduces a foundation for Ahead-Of-Time transformations and the corresponding AOT processing support for Spring application contexts.

This enables first-class support for GraalVM native images with Spring Boot 3. You may also explore Project Loom’s virtual threads with Spring applications – see “Embracing Virtual Threads” – and dive into Project CRaC ’s checkpoint restore approach for faster JVM startups, both of which are in preview at this point but expected to become first-class features for Spring Framework 6.x based applications.

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

Project Page | GitHub | Documentation

 

Source: https://spring.io/blog/2022/11/16/spring-framework-6-0-goes-ga

Passionate Archer, Runner, Linux lover and JAVA Geek! That's about everything! Alexius Dionysius Diakogiannis is a Senior Java Solutions Architect and Squad Lead at the European Investment Bank. He has over 20 years of experience in Java/JEE development, with a strong focus on enterprise architecture, security and performance optimization. He is proficient in a wide range of technologies, including Spring, Hibernate and JakartaEE. Alexius is a certified Scrum Master and is passionate about agile development. He is also an experienced trainer and speaker, and has given presentations at a number of conferences and meetups. In his current role, Alexius is responsible for leading a team of developers in the development of mission-critical applications. He is also responsible for designing and implementing the architecture for these applications, focusing on performance optimization and security.