Skip to content

Commit 3377788

Browse files
mongoKartrustagir
andauthored
DOCSP-41080 - v4.8 (#97)
Co-authored-by: Rea Rustagi <[email protected]>
1 parent 00d177d commit 3377788

File tree

6 files changed

+52
-4
lines changed

6 files changed

+52
-4
lines changed

config/redirects

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
define: prefix docs/languages/python/drivers/pymongo
22
define: base https://www.mongodb.com/${prefix}
3-
define: versions v4.0 v4.1 v4.2 v4.3 v4.4 v4.5 v4.6 v4.7 master
3+
define: versions v4.0 v4.1 v4.2 v4.3 v4.4 v4.5 v4.6 v4.7 v4.8 master
44

55
symlink: current -> master
66

snooty.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ mdb-server = "MongoDB Server"
2929
mongo-community = "MongoDB Community Edition"
3030
mongo-enterprise = "MongoDB Enterprise Edition"
3131
docs-branch = "master" # always set this to the docs branch (i.e. master, 1.7, 1.8, etc.)
32-
version-number = "4.7"
33-
patch-version-number = "{+version-number+}.1" # always set this to the driver branch (i.e. 1.7.0, 1.8.0, etc.)
32+
version-number = "4.8"
33+
patch-version-number = "{+version-number+}.0" # always set this to the driver branch (i.e. 1.7.0, 1.8.0, etc.)
3434
version = "v{+version-number+}"
3535
stable-api = "Stable API"
3636
api-root = "https://pymongo.readthedocs.io/en/{+patch-version-number+}/api/"

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,18 @@ Python 3
1818
- CPython 3.4
1919
- PyPy3
2020

21+
* - 4.8
22+
- ✓
23+
- ✓
24+
- ✓
25+
- ✓
26+
- ✓
27+
-
28+
-
29+
-
30+
-
31+
-
32+
2133
* - 4.5 to 4.7
2234
- ✓
2335
- ✓

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
- MongoDB 4.0
1313
- MongoDB 3.6
1414

15-
* - 4.4 to 4.7
15+
* - 4.4 to 4.8
1616
- ✓
1717
- ✓
1818
- ✓

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.8-breaking-changes:
108+
109+
Version 4.8 Breaking Changes
110+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
111+
112+
- Because {+driver-short+} v4.8 uses ``hatch`` as its backend build system,
113+
you can no longer build the driver by using the ``setup.py`` file.
114+
Instead, you must install {+driver-short+} by using pip. For editable installations,
115+
you must use pip v21.3 or later.
116+
107117
.. _version-4.7-breaking-changes:
108118

109119
Version 4.7 Breaking Changes

source/whats-new.txt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,36 @@ What's New
1919

2020
Learn what's new in:
2121

22+
* :ref:`Version 4.8 <version-4.8>`
2223
* :ref:`Version 4.7 <version-4.7>`
2324

2425
.. _upcoming-breaking-changes:
2526

27+
.. _version-4.8:
28+
29+
What's New in 4.8
30+
-----------------
31+
32+
.. warning:: Breaking Changes
33+
34+
{+driver-short+} v4.8 contains breaking changes. For more information, see
35+
:ref:`version-4.8-breaking-changes`.
36+
37+
The {+driver-short+} v4.8 release includes the following new features:
38+
39+
- Implemented Secure Software Development Life Cycle (SSDLC) automation in the release
40+
process. GitHub releases include a software bill of materials (SBOM) and signature
41+
files corresponding to the distribution files released on PyPI.
42+
- In objects of type ``bson.binary.Binary``, the ``repr()`` method is redacted when the binary
43+
subtype is ``SENSITIVE_SUBTYPE`` (``8``).
44+
- Fixed a bug in change streams where both the ``startAtOperationTime`` and ``resumeToken``
45+
fields could be added to a retry attempt, which caused the retry to fail.
46+
- On Windows, changed handshake metadata for ``os.name`` to ``Windows`` to improve import time.
47+
- Improved performance of ``MongoClient`` operations, especially when the driver is
48+
running many operations concurrently.
49+
- Added a fallback to the stdlib ``ssl`` module if importing the ``pyopenssl`` module
50+
fails with an ``AttributeError``.
51+
2652
.. _version-4.7:
2753

2854
What's New in 4.7

0 commit comments

Comments
 (0)