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 isnull
(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 variantReactiveValidatingEntityCallback
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
andBigInteger
asString
toDecimal128
. The next major revision of MongoDB will switch by default toDecimal128
and deprecateString
-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
- Spring Data Commons
3.5 M2
- Javadoc - Documentation - Changelog - Spring Data JPA
3.5 M2
- Javadoc - Documentation - Changelog - Spring Data MongoDB
4.5 M2
- Javadoc - Documentation - Changelog - Spring Data Neo4j
7.5 M2
- Javadoc - Documentation - Changelog - Spring Data for Apache Cassandra
4.5 M2
- Javadoc - Documentation - Changelog - Spring Data KeyValue
3.5 M2
- Javadoc - Documentation - Changelog - Spring Data LDAP
3.5 M2
- Javadoc - Documentation - Changelog - Spring Data REST
4.5 M2
- Javadoc - Documentation - Changelog - Spring Data Redis
3.5 M2
- Javadoc - Documentation - Changelog - Spring Data Elasticsearch
5.5 M2
- Javadoc - Documentation - Changelog - Spring Data Couchbase
5.5 M2
- Javadoc - Documentation - Changelog - Spring Data Relational
3.5 M2
- Javadoc - Documentation - Changelog