Skip to content

Commit 87d8ec9

Browse files
authored
DOCSP-44249: Drop support for Server version 3.6 (#117)
1 parent b3fd18e commit 87d8ec9

File tree

4 files changed

+38
-13
lines changed

4 files changed

+38
-13
lines changed

source/includes/mongodb-compatibility-table-pymongo.rst

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,16 @@
1313
- MongoDB 4.0
1414
- MongoDB 3.6
1515

16+
* - 4.11
17+
- ✓
18+
- ✓
19+
- ✓
20+
- ✓
21+
- ✓
22+
- ✓
23+
- ✓
24+
-
25+
1626
* - 4.10
1727
- ✓
1828
- ✓
@@ -21,10 +31,7 @@
2131
- ✓
2232
- ✓
2333
- ✓
24-
- ⊛
25-
-
26-
-
27-
-
34+
- ✓
2835

2936
* - 4.9
3037
- ✓
@@ -34,10 +41,7 @@
3441
- ✓
3542
- ✓
3643
- ✓
37-
- ⊛
38-
-
39-
-
40-
-
44+
- ✓
4145

4246
* - 4.4 to 4.8
4347
- ⊛

source/includes/troubleshooting/connection-targets.rst

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
11
Server Reports Wire Version X, PyMongo Requires Y
22
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
33

4-
If you try to connect to {+mdb-server+} v3.4 or earlier,
4+
If you try to connect to {+mdb-server+} v3.6 or earlier,
55
{+driver-short+} might raise the following error:
66

77
.. code-block::
88
9-
pymongo.errors.ConfigurationError: Server at localhost:27017 reports wire version 5, but this version of PyMongo requires at least 6 (MongoDB 3.6).
9+
pymongo.errors.ConfigurationError: Server at localhost:27017 reports wire version 6, but this version of PyMongo requires at least 7 (MongoDB 4.0).
1010
1111
This occurs when the driver version is too new for the server it's connecting to.
12-
To resolve this issue, upgrade your MongoDB deployment to v3.6 or later, or downgrade to
13-
{+driver-short+} v3.x, which supports {+mdb-server+} v2.6 and later.
12+
To resolve this issue, you can do one of the following:
13+
14+
- Upgrade your MongoDB deployment to v4.0 or later.
15+
16+
- Downgrade to {+driver-short+} 4.10 or earlier, which supports {+mdb-server+}
17+
v3.6 and later.
18+
19+
- Downgrade to {+driver-short+} v3.x, which supports {+mdb-server+} v2.6 and later.
1420

1521
AutoReconnect
1622
~~~~~~~~~~~~~

source/upgrade.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,16 @@ and upgrade versions.
104104

105105
.. diagram for this example?
106106

107+
.. _version-4.11-breaking-changes:
108+
109+
Version 4.11 Breaking Changes
110+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111+
112+
- {+mdb-server+} v3.6 is no longer supported. The minimum supported {+mdb-server+}
113+
version is now v4.0.
114+
115+
- The minimum wire version is now 7. See :manual:`minWireVersion </reference/command/hello/#mongodb-data-hello.minWireVersion>`.
116+
107117
.. _version-4.9-breaking-changes:
108118

109119
Version 4.9 Breaking Changes

source/whats-new.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ What's New
1515
:values: reference
1616

1717
.. meta::
18-
:keywords: update, new feature, deprecation, upgrade, driver v4.7, driver v4.8, driver v4.9, driver v4.10
18+
:keywords: update, new feature, deprecation, upgrade, driver v4.7, driver v4.8, driver v4.9, driver v4.10, driver v4.11
1919

2020
Learn what's new in:
2121

@@ -32,6 +32,11 @@ Learn what's new in:
3232
What's New in 4.11
3333
------------------
3434

35+
.. warning:: Breaking Changes
36+
37+
{+driver-short+} v4.11 contains breaking changes. For more information, see
38+
:ref:`version-4.11-breaking-changes`.
39+
3540
The {+driver-short+} v4.11 release includes the following new features:
3641

3742
- Adds support for free-threaded CPython when running Python v3.13+.

0 commit comments

Comments
 (0)