Skip to content

Commit 35391b7

Browse files
committed
BUMP 3.7.0
1 parent b57e6e2 commit 35391b7

File tree

4 files changed

+16
-9
lines changed

4 files changed

+16
-9
lines changed

doc/changelog.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ Version 3.7 adds support for MongoDB 4.0. Highlights include:
2020
a transaction, unlike the now deprecated
2121
:meth:`pymongo.collection.Collection.count` and
2222
:meth:`pymongo.cursor.Cursor.count` methods.
23+
- Support for watching changes on all collections in a database using the
24+
new :meth:`pymongo.database.Database.watch` method.
25+
- Support for watching changes on all collections in all databases using the
26+
new :meth:`pymongo.mongo_client.MongoClient.watch` method.
27+
- Support for watching changes starting at a user provided timestamp using the
28+
new ``start_at_operation_time`` parameter for the ``watch()`` helpers.
2329
- Better support for using PyMongo in a FIPS 140-2 environment. Specifically,
2430
the following features and changes allow PyMongo to function when MD5 support
2531
is disabled in OpenSSL by the FIPS Object Module:

pymongo/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
ALL = 2
6565
"""Profile all operations."""
6666

67-
version_tuple = (3, 7, 0, 'b1.dev0')
67+
version_tuple = (3, 7, 0)
6868

6969
def get_version_string():
7070
if isinstance(version_tuple[-1], str):

pymongo/client_session.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,10 @@ class TransactionOptions(object):
144144
"""Options for :meth:`ClientSession.start_transaction`.
145145
146146
:Parameters:
147-
- `read_concern`: The :class:`~read_concern.ReadConcern` to use for this
148-
transaction.
149-
- `write_concern`: The :class:`~write_concern.WriteConcern` to use for
150-
this transaction.
147+
- `read_concern`: The :class:`~pymongo.read_concern.ReadConcern` to use
148+
for this transaction.
149+
- `write_concern`: The :class:`~pymongo.write_concern.WriteConcern` to
150+
use for this transaction.
151151
152152
.. versionadded:: 3.7
153153
"""
@@ -178,17 +178,18 @@ def __init__(self, read_concern=None, write_concern=None,
178178

179179
@property
180180
def read_concern(self):
181-
"""This transaction's :class:`~read_concern.ReadConcern`."""
181+
"""This transaction's :class:`~pymongo.read_concern.ReadConcern`."""
182182
return self._read_concern
183183

184184
@property
185185
def write_concern(self):
186-
"""This transaction's :class:`~write_concern.WriteConcern`."""
186+
"""This transaction's :class:`~pymongo.write_concern.WriteConcern`."""
187187
return self._write_concern
188188

189189
@property
190190
def read_preference(self):
191-
"""This transaction's :class:`~read_preference.ReadPreference`."""
191+
"""This transaction's :class:`~pymongo.read_preferences.ReadPreference`.
192+
"""
192193
return self._read_preference
193194

194195

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
except ImportError:
3535
_HAVE_SPHINX = False
3636

37-
version = "3.7.0b1.dev0"
37+
version = "3.7.0"
3838

3939
f = open("README.rst")
4040
try:

0 commit comments

Comments
 (0)