diff --git a/config/redirects b/config/redirects index 1b4d0e35..b265d576 100644 --- a/config/redirects +++ b/config/redirects @@ -1,6 +1,6 @@ define: prefix docs/languages/python/pymongo-driver define: base https://www.mongodb.com/${prefix} -define: versions v4.0 v4.1 v4.2 v4.3 v4.4 v4.5 v4.6 v4.7 v4.8 v4.9 master +define: versions v4.0 v4.1 v4.2 v4.3 v4.4 v4.5 v4.6 v4.7 v4.8 v4.9 4.10 master symlink: current -> master diff --git a/snooty.toml b/snooty.toml index 30168b04..b4084b9d 100644 --- a/snooty.toml +++ b/snooty.toml @@ -29,8 +29,8 @@ mdb-server = "MongoDB Server" mongo-community = "MongoDB Community Edition" mongo-enterprise = "MongoDB Enterprise Edition" docs-branch = "master" # always set this to the docs branch (i.e. master, 1.7, 1.8, etc.) -version-number = "4.9" -patch-version-number = "{+version-number+}.0" # always set this to the driver branch (i.e. 1.7.0, 1.8.0, etc.) +version-number = "4.10" +patch-version-number = "{+version-number+}.1" # always set this to the driver branch (i.e. 1.7.0, 1.8.0, etc.) version = "v{+version-number+}" stable-api = "Stable API" api-root = "https://pymongo.readthedocs.io/en/{+patch-version-number+}/api/" diff --git a/source/includes/language-compatibility-table-pymongo.rst b/source/includes/language-compatibility-table-pymongo.rst index c17cbc39..a70c0231 100644 --- a/source/includes/language-compatibility-table-pymongo.rst +++ b/source/includes/language-compatibility-table-pymongo.rst @@ -19,6 +19,19 @@ Python 3 - CPython 3.4 - PyPy3 + * - 4.10 + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - + - + - + - + - + * - 4.9 - ✓ - ✓ diff --git a/source/includes/mongodb-compatibility-table-pymongo.rst b/source/includes/mongodb-compatibility-table-pymongo.rst index 623c8fe8..a01d32e3 100644 --- a/source/includes/mongodb-compatibility-table-pymongo.rst +++ b/source/includes/mongodb-compatibility-table-pymongo.rst @@ -13,15 +13,31 @@ - MongoDB 4.0 - MongoDB 3.6 + * - 4.10 + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ⊛ + - + - + - + * - 4.9 + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ + - ✓ - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - - ✓ - - + - ⊛ + - + - + - * - 4.4 to 4.8 - ⊛ diff --git a/source/whats-new.txt b/source/whats-new.txt index 9b87fd7f..cae1f0ec 100644 --- a/source/whats-new.txt +++ b/source/whats-new.txt @@ -15,21 +15,40 @@ What's New :values: reference .. meta:: - :keywords: update, new feature, deprecation, upgrade, driver v4.7, driver v4.8, driver v4.9 + :keywords: update, new feature, deprecation, upgrade, driver v4.7, driver v4.8, driver v4.9, driver v4.10 Learn what's new in: +* :ref:`Version 4.10 ` * :ref:`Version 4.9 ` * :ref:`Version 4.8 ` * :ref:`Version 4.7 ` .. _upcoming-breaking-changes: +.. _version-4.10: + +What's New in 4.10 +------------------ + +The {+driver-short+} v4.10 release includes the following new features: + +- Adds provisional support for a new binary BSON subtype (9), which can be used + for efficient storage and retrieval of :atlas:`vectors + ` by using the + ``bson.binary.Binary.from_vector()`` and ``bson.binary.Binary.as_vector()`` + methods. Support for BSON subtype 9 is in beta and is subject to change before the + generally available release. +- Adds ``"c"`` to the ``driver.name`` client metadata field when an application uses the C extension. +- Fixes a bug that could cause ``AsyncMongoClient`` to deadlock. + .. _version-4.9: What's New in 4.9 ----------------- +The {+driver-short+} v4.9 release includes the following new features: + - Adds support for {+mdb-server+} 8.0 and Python 3.13. - Adds support for Queryable Encryption range queries. To use this feature, your app must connect to {+mdb-server+} 8.0 or later. For