You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/asciidoc/preface.adoc
+56-1Lines changed: 56 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,62 @@ The starting point for learning about MongoDB is https://www.mongodb.org/[www.mo
41
41
42
42
The Spring Data MongoDB 2.x binaries require JDK level 8.0 and above and https://spring.io/docs[Spring Framework] {springVersion} and above.
43
43
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`]
0 commit comments