Skip to content

Commit 96b6f8d

Browse files
committed
Update changelog and causal docs for 3.6.
1 parent 2a05236 commit 96b6f8d

File tree

2 files changed

+16
-13
lines changed

2 files changed

+16
-13
lines changed

doc/changelog.rst

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@ Changelog
44
Changes in Version 3.6.0
55
------------------------
66

7-
This version drops support for MongoDB versions older than 2.6. If connecting to
8-
a MongoDB 2.4 server or older, PyMongo now throws a
7+
Version 3.6 adds support for MongoDB 3.6, drops support for CPython 3.3 (PyPy3
8+
is still supported), and drops support for MongoDB versions older than 2.6. If
9+
connecting to a MongoDB 2.4 server or older, PyMongo now throws a
910
:exc:`~pymongo.errors.ConfigurationError`.
1011

11-
.. warning:: This version drops support for CPython 3.3 (pypy3 continues to
12-
be supported).
13-
1412
Highlights include:
1513

1614
- Support for change streams. See the
@@ -51,14 +49,8 @@ Deprecations:
5149

5250
Unavoidable breaking changes:
5351

54-
- Certain commands, such as ``ismaster`` and ``ping``, that could be used
55-
to check whether a server is available without requiring authentication, now
56-
raise :exc:`~pymongo.errors.OperationFailure` if executed without
57-
authenticating on a MongoDB 3.6+ server started with ``--auth``. (This is
58-
because all commands are now sent with a session id, whether a
59-
:class:`~pymongo.client_session.ClientSession` is used or not, and all
60-
commands with a session id require auth.)
61-
- The deprecated methods :meth:`~pymongo.database.Database.authenticate` and
52+
- Starting in MongoDB 3.6, the deprecated methods
53+
:meth:`~pymongo.database.Database.authenticate` and
6254
:meth:`~pymongo.database.Database.logout` now invalidate all cursors created
6355
prior. Instead of using these methods to change credentials, pass credentials
6456
for one user to the :class:`~pymongo.mongo_client.MongoClient` at construction
@@ -72,6 +64,15 @@ Unavoidable breaking changes:
7264
:data:`bson.binary.STANDARD`, and the decoding of BSON binary subtype 3
7365
are unchanged.
7466

67+
68+
Issues Resolved
69+
...............
70+
71+
See the `PyMongo 3.6 release notes in JIRA`_ for the list of resolved issues
72+
in this release.
73+
74+
.. _PyMongo 3.6 release notes in JIRA: https://jira.mongodb.org/secure/ReleaseNote.jspa?projectId=10004&version=18043
75+
7576
Changes in Version 3.5.1
7677
------------------------
7778

pymongo/client_session.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
causally consistent session, an application can read its own writes and is
3838
guaranteed monotonic reads, even when reading from replica set secondaries.
3939
40+
.. mongodoc:: causal-consistency
41+
4042
Classes
4143
=======
4244
"""

0 commit comments

Comments
 (0)