From a9e219291915710e62aa6f3e1caea17f87b8c5c2 Mon Sep 17 00:00:00 2001 From: Shane Harvey Date: Tue, 27 Feb 2018 17:38:10 -0800 Subject: [PATCH] BUMP 3.6.1 --- doc/changelog.rst | 9 ++++++--- pymongo/__init__.py | 2 +- setup.py | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/changelog.rst b/doc/changelog.rst index 0b9377753..2b2b2ed6a 100644 --- a/doc/changelog.rst +++ b/doc/changelog.rst @@ -6,14 +6,17 @@ Changes in Version 3.6.1 Version 3.6.1 fixes bugs reported since the release of 3.6.0: -- Fix regression in PyMongo 3.5.0 that causes idle sockets to be closed every - second when ``maxIdleTimeMS`` is set. Idle sockets are now closed after +- Fix regression in PyMongo 3.5.0 that causes idle sockets to be closed almost + instantly when ``maxIdleTimeMS`` is set. Idle sockets are now closed after ``maxIdleTimeMS`` milliseconds. -- :attr:`pymongo.mongo_client.MongoClient.max_idle_time_ms` returns +- :attr:`pymongo.mongo_client.MongoClient.max_idle_time_ms` now returns milliseconds instead of seconds. - Properly import and use the `monotonic `_ library for monotonic time when it is installed. +- :meth:`~pymongo.collection.Collection.aggregate` now ignores the + ``batchSize`` argument when running a pipeline with a ``$out`` stage. +- Always send handshake metadata for new connections. Issues Resolved ............... diff --git a/pymongo/__init__.py b/pymongo/__init__.py index c42d437ef..89a57484c 100644 --- a/pymongo/__init__.py +++ b/pymongo/__init__.py @@ -64,7 +64,7 @@ SLOW_ONLY = 1 ALL = 2 """Profile all operations.""" -version_tuple = (3, 6, 1, '.dev0') +version_tuple = (3, 6, 1) def get_version_string(): if isinstance(version_tuple[-1], str): diff --git a/setup.py b/setup.py index bbf94bbf0..0f42cebbe 100755 --- a/setup.py +++ b/setup.py @@ -31,7 +31,7 @@ try: except ImportError: _HAVE_SPHINX = False -version = "3.6.1.dev0" +version = "3.6.1" f = open("README.rst") try: