What’s New in Spring Boot 3.0.0 M1? Key Changes and Migration Tips
Spring Boot 3.0.0 M1, released on January 20 2022, upgrades the Java baseline to Java 17, migrates all Java EE APIs to Jakarta EE, drops support for several components, updates numerous Spring and third‑party dependencies, and outlines the upcoming release schedule.
On January 20, 2022, the Spring team released the first milestone (M1) of Spring Boot 3.0.0.
Key changes include:
Java baseline upgraded from Java 8 to Java 17
Java 17 is now the baseline, encouraging developers to migrate.
Migration from Java EE APIs to Jakarta EE
All Java EE APIs have been moved to Jakarta EE. Imports must replace javax with jakarta, e.g., javax.servlet.Filter becomes jakarta.servlet.Filter. Some third‑party libraries that still depend on Java EE APIs (e.g., EhCache 3, Infinispan, Jolokia, Pooled JMS) are temporarily removed.
Removed support for certain components
The following components are no longer supported in this milestone:
Apache ActiveMQ
Atomikos
EhCache 2
Hazelcast 3
Dependency upgrades
Spring projects now depend on newer versions:
Micrometer 2.0.0‑M1
Spring AMQP 3.0.0‑M1
Spring Batch 5.0.0‑M1
Spring Data 2022.0.0‑M1
Spring Framework 6.0.0‑M2
Spring Integration 6.0.0‑M1
Spring HATEOAS 2.0.0‑M1
Spring Kafka 3.0.0‑M1
Spring LDAP 3.0.0‑M1
Spring REST Docs 3.0.0‑M1
Spring Security 6.0.0‑M1
Spring Session 2022.0.0‑M1
Spring Web Services 4.0.0‑M1
Third‑party libraries also received updates, such as Artemis 2.20.0, Hazelcast 5.0, Hibernate Validator 7.0, and various Jakarta components (Activation, Annotation, JMS, JSON, Mail, Persistence, Servlet, etc.).
Future plans
The Spring Boot team plans to release a new milestone every two months; M2 is expected on March 24, and the GA version is slated for late November 2022.
Reference: https://spring.io/blog/2022/01/20/spring-boot-3-0-0-m1-is-now-available
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.
