What’s New in Spring Boot 3.0.0 M1? Key Changes and Upgrade Guide

The article outlines the major updates in Spring Boot 3.0.0 M1, including the jump to Java 17, migration from Java EE to Jakarta EE, removed legacy support, upgraded Spring and third‑party dependencies, and the roadmap for upcoming milestone releases.

21CTO
21CTO
21CTO
What’s New in Spring Boot 3.0.0 M1? Key Changes and Upgrade Guide

Java baseline upgraded from Java 8 to Java 17

The milestone announces that Java 17 will become the baseline for Spring Boot 3, signaling the shift to the next‑generation LTS version.

From Java EE APIs to Jakarta EE

All Java EE APIs have been moved to Jakarta EE; imports must be changed from javax.* to jakarta.*. Some third‑party libraries that still depend on Java EE (e.g., EhCache 3, Infinispan, Jolokia, Pooled JMS) are temporarily removed until Jakarta‑compatible versions are released.

Removed support for certain components

The M1 release drops support for the following features compared with the previous SNAPSHOT:

Apache ActiveMQ

Atomikos

EhCache 2

Hazelcast 3

Dependency upgrades

Key Spring project versions in this milestone include:

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 library versions include:

Artemis 2.20.0

Hazelcast 5.0

Hibernate Validator 7.0

Various Jakarta APIs (Activation, Annotation, JMS, JSON, JSON‑Bind, Mail, Persistence, Servlet, Servlet JSP JSTL, Transaction, Validation, WebSocket, WS RS, XML Bind, XML Soap) all at version 2.0 or 3.0 as appropriate

Jetty 11

jOOQ 3.16

Tomcat 10

Future plans

The Spring Boot team will release a new milestone every two months; M2 is expected on March 24, and the GA version is slated for late November.

Reference https://spring.io/blog/2022/01/20/spring-boot-3-0-0-m1-is-now-available
Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

Backend DevelopmentSpring Bootjava-17jakarta-ee
21CTO
Written by

21CTO

21CTO (21CTO.com) offers developers community, training, and services, making it your go‑to learning and service platform.

0 followers
Reader feedback

How this landed with the community

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.