Spring Framework 7.0.0-M5 available now

Releases | Brian Clozel | May 15, 2025 | ...

On behalf of the team and everyone who has contributed, I am pleased to announce a new milestone for the next Spring Framework generation. The fifth milestone continues delivering new features and refinements on top of 7.0.0-M1, 7.0.0-M2, 7.0.0-M3 and 7.0.0-M4.

Jackson 3.0 support

As of #33798, we default to supporting Jackson 3.x in our entire stack, falling back to Jackson 2.x. Support for the Jackson 2.x generation has been deprecated in Spring Framework, and our current plan is to disable its auto-detection in 7.1, and remove its support entirely in 7.2.

Jackson 3.x uses a new tools.jackson package, which differs from the usual com.fasterxml.jackson. Classes from the "jackson-annotation" artifact (like @JsonView, @JsonTypeInfo) remain in the com.fasterxml.jackson package for easier upgrade.

There is no Jackson 3.x equivalent for Jackson2ObjectMapperBuilder, we now recommend using Jackson's JsonMapper.builder(), CBORMapper.builder() and others as replacements.

We will update the relevant section of the Spring Framework 7.0 Upgrade guide.

API versioning update

Our new API versioning feature got new updates, with now the ability to validate supported API versions only against explicitly configured ones, or setting the default version in RestClient and WebClient.

We added new sections on API versioning in the official reference documentation.

And much more!

As usual, you can check the detailed changelog for more details and read the global 7.0 release notes for upgrade concerns.

7.0.0-M5 is now available from https://repo.spring.io and Maven Central.

Project Page | GitHub | Issues | Documentation

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all