Spring Data 2025.1.0-M3 released

Releases | Mark Paluch | May 16, 2025 | ...

On behalf of the team and everyone who has contributed, I am pleased to announce the third milestone for the next Spring Data generation This milestone continues delivering new features and refinements mostly around infrastructure themes.

Ahead-of-Time Optimization for Repositories

Spring Data repositories can now be optimized at build time using the Spring AOT framework. AOT processing allows for faster startup times and reduced memory consumption featuring in the JPA (Hibernate only) and MongoDB modules. Ahead-of-Time optimizations capture some decisions that have been taken at build-time. These are hard-coded in the application setup and hanging the implementation or updating queries requires AOT re-processing.

To enable AOT optimizations for repositories, set the spring.aot.repositories.enabled=true configuration property during AOT processing.

AOT optimizations are applied automatically when running your application in AOT mode (e.g. in a GraalVM Native image, setting the spring.aot.enabled=true property as system property or through spring.properties).

We will publish a detailed blog post outlining AOT optimizations for repositories during next week.

And more!

Going forward, we're working on upgrading Spring Data to Jackson 3 and finishing the migration to JSpecify. Refer to our detailed release notes on for a complete list of changes.

Thanks to all those who have contributed with issue reports and pull requests.

2025.1.0-M3

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