Skip to content

Commit a73ae9a

Browse files
mp911dechristophstrobl
authored andcommitted
DATAMONGO-2663 - Document Spring Data to MongoDB compatibility.
Original Pull Request: #895
1 parent ac3c578 commit a73ae9a

File tree

1 file changed

+56
-1
lines changed

1 file changed

+56
-1
lines changed

src/main/asciidoc/preface.adoc

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,62 @@ The starting point for learning about MongoDB is https://www.mongodb.org/[www.mo
4141

4242
The Spring Data MongoDB 3.x binaries require JDK level 8.0 and above and https://spring.io/docs[Spring Framework] {springVersion} and above.
4343

44-
In terms of document stores, you need at least version 2.6 of https://www.mongodb.org/[MongoDB].
44+
In terms of document stores, you need at least version 3.6 of https://www.mongodb.org/[MongoDB], though we recommend a more recent version.
45+
46+
[[compatibility.matrix]]
47+
=== Compatibility Matrix
48+
49+
The following compatibility matrix summarizes Spring Data versions to MongoDB driver/database versions.
50+
Database versions show the highest supported server version that pass the Spring Data test suite.
51+
You can use newer server versions unless your application uses functionality that is affected by <<compatibility.changes,changes in the MongoDB server>>.
52+
53+
[cols="h,m,m,m", options="header"]
54+
|===
55+
56+
|Spring Data Release Train
57+
|Spring Data MongoDB
58+
|Driver Version
59+
|Server Version
60+
61+
|2021.0
62+
|3.2.x
63+
|4.1.x
64+
|4.4.x
65+
66+
|2020.0
67+
|3.1.x
68+
|4.1.x
69+
|4.4.x
70+
71+
|Neumann
72+
|3.0.x
73+
|4.0.x
74+
|4.4.x
75+
76+
|Moore
77+
|2.2.x
78+
|3.11.x/Reactive Streams 1.12.x
79+
|4.2.x
80+
81+
|Lovelace
82+
|2.1.x
83+
|3.8.x/Reactive Streams 1.9.x
84+
|4.0.x
85+
86+
|===
87+
88+
[[compatibility.changes]]
89+
[[compatibility.changes-4.4]]
90+
==== Relevant Changes in MongoDB 4.4
91+
92+
* Fields list must not contain text search score property when no `$text` criteria present. See also https://docs.mongodb.com/manual/reference/operator/query/text/[`$text` operator]
93+
* Sort must not be an empty document when running map reduce.
94+
95+
[[compatibility.changes-4.2]]
96+
==== Relevant Changes in MongoDB 4.2
97+
98+
* Removal of `geoNear` command. See also https://docs.mongodb.com/manual/release-notes/4.2-compatibility/#remove-support-for-the-geonear-command[Removal of `geoNear`]
99+
* Removal of `eval` command. See also https://docs.mongodb.com/manual/release-notes/4.2-compatibility/#remove-support-for-the-eval-command[Removal of `eval`]
45100

46101
[[get-started:help]]
47102
== Additional Help Resources

0 commit comments

Comments
 (0)