@@ -7,6 +7,24 @@ title = "Upgrade Considerations"
7
7
pre = " <i class='fa fa-level-up'></i>"
8
8
+++
9
9
10
+ ## Upgrading from 3.11.x
11
+
12
+ In the upcoming 4.0 release, all deprecated API elements except those documented as "not currently scheduled for removal" will be removed.
13
+ Currently the only deprecated API elements _ not_ scheduled for removal are:
14
+
15
+ * [ ` Mongo.getDB ` ] ({{<apiref "com/mongodb/Mongo.html#getDB-java.lang.String-">}})
16
+ * [ ` JsonMode.STRICT ` ] ({{<apiref "org/bson/json/JsonMode.html#STRICT">}})
17
+
18
+ To prepare for the 4.0 release, please compile with deprecation warnings enabled and replace all usage of deprecated API elements with their
19
+ recommended replacements.
20
+
21
+ Also, note that the 3.12 release (which includes support for MongoDB 4.2) will be the last release that is compatible with * Java 6
22
+ or Java 7* . The 4.0 Java driver will require a minimum of Java 8. The 3.11 release will also be the last non-patch release in the 3.x
23
+ line. In particular, support for MongoDB 4.4 will only be made available via a 4.x driver release.
24
+
25
+ The 3.12 release is binary and source compatible with the 3.11 release, except for methods that have been added to interfaces that
26
+ have been marked as unstable, and changes to classes or interfaces that have been marked as internal or annotated as Beta.
27
+
10
28
## Upgrading from 3.10.x
11
29
12
30
Please note that the 3.11 driver enables both retryable reads and retryable writes by default, so users upgrading to the 3.11 driver may
@@ -21,11 +39,7 @@ Currently the only deprecated API elements _not_ scheduled for removal are:
21
39
To prepare for the 4.0 release, please compile with deprecation warnings enabled and replace all usage of deprecated API elements with their
22
40
recommended replacements.
23
41
24
- Also, note that the 3.11 release (which includes support for MongoDB 4.2) will be the last release that is compatible with * Java 6
25
- or Java 7* . The 4.0 Java driver will require a minimum of Java 8. The 3.11 release will also be the last non-patch release in the 3.x
26
- line. In particular, support for MongoDB 4.4 will only be made available via a 4.x driver release.
27
-
28
- The 3.11 release is binary and source compatible with the 3.9 release, except for methods that have been added to interfaces that
42
+ The 3.11 release is binary and source compatible with the 3.10 release, except for methods that have been added to interfaces that
29
43
have been marked as unstable, and changes to classes or interfaces that have been marked as internal or annotated as Beta.
30
44
31
45
## Upgrading from 3.9.x
0 commit comments