build(deps): bump pymongo from 3.12.3 to 4.2.0
Bumps pymongo from 3.12.3 to 4.2.0.
Release notes
Sourced from pymongo's releases.
PyMongo 4.2.0
Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-2-0-released/176012
PyMongo 4.2.0b0
Release notes: https://www.mongodb.com/community/forums/t/python-driver-4-2-0-beta-available/168488
PyMongo 4.1.1
Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-1-1-released/157895
PyMongo 4.1.0
Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-1-0-released/156029
PyMongo 4.0.2
Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-0-2-released/150457
PyMongo 4.0.1
Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-0-1-released/135979
PyMongo 4.0
Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-0-released/134677
Changelog
Sourced from pymongo's changelog.
Changelog
Changes in Version 4.2
.. warning:: PyMongo 4.2 drops support for Python 3.6: Python 3.7+ is now required.
PyMongo 4.2 brings a number of improvements including:
Support for MongoDB 6.0.
Support for the Queryable Encryption beta with MongoDB 6.0. Note that backwards-breaking changes may be made before the final release. See :ref:
automatic-queryable-client-side-encryptionfor example usage.Provisional (beta) support for :func:
pymongo.timeoutto apply a single timeout to an entire block of pymongo operations.Added the
timeoutMSURI and keyword argument to :class:~pymongo.mongo_client.MongoClient.Added the :attr:
pymongo.errors.PyMongoError.timeoutproperty which isTruewhen the error was caused by a timeout.Added the
check_existsargument to :meth:~pymongo.database.Database.create_collectionthat when True (the default) runs an additionallistCollectionscommand to verify that the collection does not exist already.Added the following key management APIs to :class:
~pymongo.encryption.ClientEncryption:
- :meth:
~pymongo.encryption.ClientEncryption.get_key- :meth:
~pymongo.encryption.ClientEncryption.get_keys- :meth:
~pymongo.encryption.ClientEncryption.delete_key- :meth:
~pymongo.encryption.ClientEncryption.add_key_alt_name- :meth:
~pymongo.encryption.ClientEncryption.get_key_by_alt_name- :meth:
~pymongo.encryption.ClientEncryption.remove_key_alt_name- :meth:
~pymongo.encryption.ClientEncryption.rewrap_many_data_key- :class:
~pymongo.encryption.RewrapManyDataKeyResultSupport for the
crypt_sharedlibrary to replacemongocryptdusing the newcrypt_shared_lib_pathandcrypt_shared_lib_requiredarguments to :class:~pymongo.encryption_options.AutoEncryptionOpts.Bug fixes .........
- Fixed a bug where :meth:
~pymongo.collection.Collection.estimated_document_countwould fail with a "CommandNotSupportedOnView" error on views (PYTHON-2885_).- Fixed a bug where invalid UTF-8 strings could be passed as patterns for :class:
~bson.regex.Regexobjects. :func:bson.encodenow correctly raises :class:bson.errors.InvalidStringData(PYTHON-3048_).- Fixed a bug that caused
AutoReconnect("connection pool paused")errors in the child process after fork (PYTHON-3257_).- Fixed a bug where :meth:
~pymongo.collection.Collection.count_documentsand :meth:~pymongo.collection.Collection.distinctwould fail in a transaction withdirectConnection=True(PYTHON-3333_).- GridFS no longer uploads an incomplete files collection document after encountering an error in the middle of an upload fork. This results in fewer
... (truncated)
Commits
9bc134cBUMP 4.2 (#1016)6172c00PYTHON-3362 Fix CSOT gridfs test (#1015)4d4fddaPYTHON-3363 Allow change stream to be resumed after a timeout (#1014)935f926PYTHON-3362 Ignore wtimeout when timeoutMS or timeout() is configured (#1013)db3f2dcPYTHON-2459 Implement unified GridFS tests (#1012)6670461PYTHON-3289 Apply client timeoutMS to every operation (#1011)5c38676PYTHON-3359 Remove Database and Collection timeout override (#1009)c434861PYTHON-3291 Add PyMongoError.timeout to identify timeout related errors (#1008)484374ePYTHON-3298 Add flag to create_collection to skip listCollections pre-check (...bbe364fPYTHON-3294 Bump minimum pymongocrypt version to 1.3.0 (#1007)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this major version
OK, I won't notify you about version 4.x.x again, unless you re-open this PR or update to a 4.x.x release yourself.