Spring Data 2025.0.0-M2 released

Releases | Mark Paluch | March 14, 2025 | ...

On behalf of the team and everyone who has contributed, I am pleased to announce the second milestone of Spring Data 2025.0.0 ("Spring Data 3.5").

There are a few features we want to highlight for you to explore:

  • Interface Projections using now are guarded properly throwing NullPointerException if a method return value is null (i.e. a getter method) although the method is defined to return a non-nullable value. This functionality is enabled for all Kotlin Interfaces. For all other interfaces, validation is enabled when the package or the interface is annotated with Nullability annotations and marked as non-null (or inherits @NonNullApi from the package level).
  • Hash Field Expiration for Spring Data Redis, extended Expiration command support, and support for GET … SET.
  • ValidatingEntityCallback and a reactive variant ReactiveValidatingEntityCallback for MongoDB allowing to use Bean Validation in reactive flows. Callbacks must be registered as beans to enable their usage.
  • Allow users to change the convention from storing BigDecimal and BigInteger as String to Decimal128. The next major revision of MongoDB will switch by default to Decimal128 and deprecate String-based representations.

Going forward, we plan to ship a release candidate in April before releasing a generally available release in May. Spring Boot 3.5 M3 will upgrade to this milestone release for your convenience. Happy Upgrading and let us know what you think about these changes, especially if you encounter any issue.

2025.0.0-M2

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