.. warning:: PyMongo 3.12.0 deprecates support for Python 2.7, 3.4 and 3.5.
These Python versions will not be supported by PyMongo 4.
.. warning:: PyMongo now allows insertion of documents with keys that include
dots ('.') or start with dollar signs ('$').
PyMongoCrypt 1.1.0 or later is now required for client side field level
encryption support.
Notable improvements
....................
Added support for MongoDB 5.0.
Support for MongoDB Versioned API, see :class:~pymongo.server_api.ServerApi.
Support for snapshot reads on secondaries (see :ref:snapshot-reads-ref).
Support for Azure and GCP KMS providers for client side field level
encryption. See the docstring for :class:~pymongo.mongo_client.MongoClient,
:class:~pymongo.encryption_options.AutoEncryptionOpts,
and :mod:~pymongo.encryption.
Support AWS authentication with temporary credentials when connecting to KMS
in client side field level encryption.
Support for connecting to load balanced MongoDB clusters via the new
loadBalanced URI option.
Support for creating timeseries collections via the timeseries and
expireAfterSeconds arguments to
:meth:~pymongo.database.Database.create_collection.
Added hash support to :class:~pymongo.mongo_client.MongoClient,
:class:~pymongo.database.Database and
:class:~pymongo.collection.Collection (PYTHON-2466_).
Improved the error message returned by
:meth:~pymongo.collection.Collection.insert_many when supplied with an
argument of incorrect type (PYTHON-1690_).
Added session and read concern support to
:meth:~pymongo.collection.Collection.find_raw_batches
and :meth:~pymongo.collection.Collection.aggregate_raw_batches.
Bug fixes
.........
Fixed a bug that could cause the driver to deadlock during automatic
client side field level encryption (PYTHON-2472_).
Fixed a potential deadlock when garbage collecting an unclosed exhaust
:class:~pymongo.cursor.Cursor.
Fixed an bug where using gevent.Timeout to timeout an operation could
lead to a deadlock.
Fixed the following bug with Atlas Data Lake. When closing cursors,
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps pymongo from 3.11.4 to 3.12.0.
Changelog
Sourced from pymongo's changelog.
... (truncated)
Commits
78cb0f2
BUMP 3.12.06cdc6a2
PYTHON-2797 Update changelog for 5.0 support (#675)7f5df56
PYTHON-2811 PYTHON-2809 Skip Jython serverless test and fix versioned api tes...da97572
PYTHON-2807 Skip OP_KILL_CURSORS test on 5.0+ (#674)5714a93
PYTHON-2806 Fix test_aggregate_raw_transaction (#673)e347299
PYTHON-2774 Migrate snappy testing to from Ubuntu 18 to amazon1-2018 (#672)a8f626d
PYTHON-2608 Fix KMS TLS testing on Python <3.5 (#671)d5aa6d9
PYTHON-2798 Workaround windows cert issue with SSL_CERT_FILE (#670)a10cbbf
PYTHON-2800 Add Atlas connectivity tests for MongoDB Serverless (#669)4d531d1
PYTHON-2608 Test that KMS TLS connections verify peer certificates (#667)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)