Skip to content

Commit 1603122

Browse files
committed
Merge branch 'master' of github.com:mongodb/mongo-python-driver
2 parents 54fd7b6 + 9df635f commit 1603122

34 files changed

+191
-145
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
:mod:`change_stream` -- Watch changes on a collection, database, or cluster
22
===========================================================================
33

4+
.. warning:: This API is currently in beta, meaning the classes, methods,
5+
and behaviors described within may change before the full release.
6+
If you come across any bugs during your use of this API,
7+
please file a Jira ticket in the "Python Driver" project at https://jira.mongodb.org/browse/PYTHON.
8+
49
.. automodule:: pymongo.asynchronous.change_stream
510
:members:
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
:mod:`client_session` -- Logical sessions for sequential operations
22
===================================================================
33

4+
.. warning:: This API is currently in beta, meaning the classes, methods,
5+
and behaviors described within may change before the full release.
6+
If you come across any bugs during your use of this API,
7+
please file a Jira ticket in the "Python Driver" project at https://jira.mongodb.org/browse/PYTHON.
8+
49
.. automodule:: pymongo.asynchronous.client_session
510
:members:

doc/api/pymongo/asynchronous/collection.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
:mod:`collection` -- Collection level operations
22
================================================
33

4+
.. warning:: This API is currently in beta, meaning the classes, methods,
5+
and behaviors described within may change before the full release.
6+
If you come across any bugs during your use of this API,
7+
please file a Jira ticket in the "Python Driver" project at https://jira.mongodb.org/browse/PYTHON.
8+
49
.. automodule:: pymongo.asynchronous.collection
510
:synopsis: Collection level operations
611

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
:mod:`command_cursor` -- Tools for iterating over MongoDB command results
22
=========================================================================
33

4+
.. warning:: This API is currently in beta, meaning the classes, methods,
5+
and behaviors described within may change before the full release.
6+
If you come across any bugs during your use of this API,
7+
please file a Jira ticket in the "Python Driver" project at https://jira.mongodb.org/browse/PYTHON.
8+
49
.. automodule:: pymongo.asynchronous.command_cursor
510
:synopsis: Tools for iterating over MongoDB command results
611
:members:

doc/api/pymongo/asynchronous/cursor.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
:mod:`cursor` -- Tools for iterating over MongoDB query results
22
===============================================================
33

4+
.. warning:: This API is currently in beta, meaning the classes, methods,
5+
and behaviors described within may change before the full release.
6+
If you come across any bugs during your use of this API,
7+
please file a Jira ticket in the "Python Driver" project at https://jira.mongodb.org/browse/PYTHON.
8+
49
.. automodule:: pymongo.asynchronous.cursor
510
:synopsis: Tools for iterating over MongoDB query results
611

doc/api/pymongo/asynchronous/database.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
:mod:`database` -- Database level operations
22
============================================
33

4+
.. warning:: This API is currently in beta, meaning the classes, methods,
5+
and behaviors described within may change before the full release.
6+
If you come across any bugs during your use of this API,
7+
please file a Jira ticket in the "Python Driver" project at https://jira.mongodb.org/browse/PYTHON.
8+
49
.. automodule:: pymongo.asynchronous.database
510
:synopsis: Database level operations
611

doc/api/pymongo/asynchronous/index.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
:mod:`pymongo async` -- Async Python driver for MongoDB
22
=======================================================
33

4+
.. warning:: This API is currently in beta, meaning the classes, methods,
5+
and behaviors described within may change before the full release.
6+
If you come across any bugs during your use of this API,
7+
please file a Jira ticket in the "Python Driver" project at https://jira.mongodb.org/browse/PYTHON.
8+
49
.. automodule:: pymongo.asynchronous
510
:synopsis: Asynchronous Python driver for MongoDB
611

doc/api/pymongo/asynchronous/mongo_client.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
:mod:`mongo_client` -- Tools for connecting to MongoDB
22
======================================================
33

4+
.. warning:: This API is currently in beta, meaning the classes, methods,
5+
and behaviors described within may change before the full release.
6+
If you come across any bugs during your use of this API,
7+
please file a Jira ticket in the "Python Driver" project at https://jira.mongodb.org/browse/PYTHON.
8+
49
.. automodule:: pymongo.asynchronous.mongo_client
510
:synopsis: Tools for connecting to MongoDB
611

doc/changelog.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,18 @@ Changes in Version 4.9.0
77
.. warning:: Driver support for MongoDB 3.6 reached end of life in April 2024.
88
PyMongo 4.9 will be the last release to support MongoDB 3.6.
99

10+
.. warning:: PyMongo 4.9 refactors a large portion of internal APIs to support the new asynchronous API beta.
11+
As a result, versions of Motor older than 3.6 are not compatible with PyMongo 4.9.
12+
Existing users of these versions must either upgrade to Motor 3.6 and PyMongo 4.9,
13+
or cap their PyMongo version to ``< 4.9``.
14+
Any applications that use private APIs may also break as a result of these internal changes.
15+
1016
PyMongo 4.9 brings a number of improvements including:
1117

1218
- Added support for MongoDB 8.0.
1319
- Added support for Python 3.13.
14-
- A new asynchronous API with full asyncio support.
20+
- A new beta asynchronous API with full asyncio support.
21+
This new asynchronous API is a work-in-progress that may change during the beta period before the full release.
1522
- Added support for In-Use Encryption range queries with MongoDB 8.0.
1623
Added :attr:`~pymongo.encryption.Algorithm.RANGE`.
1724
``sparsity`` and ``trim_factor`` are now optional in :class:`~pymongo.encryption_options.RangeOpts`.

pymongo/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import re
1919
from typing import List, Tuple, Union
2020

21-
__version__ = "4.9.0.dev0"
21+
__version__ = "4.10.0.dev0"
2222

2323

2424
def get_version_tuple(version: str) -> Tuple[Union[int, str], ...]:

0 commit comments

Comments
 (0)