|
This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Data MongoDB 5.0.2! |
Requirements
The Spring Data MongoDB 4.x binaries require JDK level 17 and above and Spring Framework 6.2.15 and above.
In terms of database and driver, you need at least version 4.x of MongoDB and a compatible MongoDB Java Driver (5.5.x).
Compatibility Matrix
|
Please visit OSS Support for detailed Spring Data support timelines. |
The following compatibility matrix summarizes Spring Data versions and their required minimum MongoDB client version. Database versions show server generations that pass the Spring Data test suite, older server versions might have difficulties dealing with new/changed commands. You may use newer server versions unless your application uses functionality that is affected by changes in the MongoDB server. See also the official MongoDB driver compatibility matrix for driver- and server version compatibility.
| Spring Data Release Train | Spring Data MongoDB | Minimum Driver Version | Tested Database Versions |
|---|---|---|---|
2025.0 |
|
|
|
2024.1 |
|
|
|
2024.0 |
|
|
|
2023.1 |
|
|
|
2023.0 |
|
|
|
Relevant Changes in MongoDB 4.4
-
Fields list must not contain text search score property when no
$textcriteria present. See also$textoperator -
Sort must not be an empty document when running map reduce.
Relevant Changes in MongoDB 4.2
-
Removal of
geoNearcommand. See also Removal ofgeoNear -
Removal of
evalcommand. See also Removal ofeval