PyMongo 4.5 brings a number of improvements including:
Added new helper methods for Atlas Search Index (requires MongoDB Server 7.0+):
:meth:~pymongo.collection.Collection.list_search_indexes,
:meth:~pymongo.collection.Collection.create_search_index,
:meth:~pymongo.collection.Collection.create_search_indexes,
:meth:~pymongo.collection.Collection.drop_search_index,
:meth:~pymongo.collection.Collection.update_search_index
Added :meth:~pymongo.database.Database.cursor_command
and :meth:~pymongo.command_cursor.CommandCursor.try_next to support
executing an arbitrary command that returns a cursor.
cryptography 2.5 or later is now required for :ref:OCSP support.
Improved bson encoding and decoding performance by up to 134%(PYTHON-3729, PYTHON-3797, PYTHON-3816, PYTHON-3817, PYTHON-3820, PYTHON-3824, and PYTHON-3846_).
.. warning:: PyMongo no longer supports PyPy3 versions older than 3.8. Users
must upgrade to PyPy3.8+.
Issues Resolved
...............
See the PyMongo 4.5 release notes in JIRA_ for the list of resolved issues
in this release.
Fixed a bug where pymongo would raise a ConfigurationError: Invalid SRV host
error when connecting to a "mongodb+srv://" URI that included capital letters
in the SRV hosts returned from DNS. (PYTHON-3800_).
Fixed a minor reference counting bug in the C extension (PYTHON-3798_).
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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 4.3.3 to 4.5.0.
Release notes
Sourced from pymongo's releases.
Changelog
Sourced from pymongo's changelog.
... (truncated)
Commits
3353b11
PYTHON-3914 Release 4.5.0 (#1359)aaff6ed
PYTHON-3912 Migrate Enterprise Auth Tests to AWS Secrets Vault (#1356)5bd444a
PYTHON-3917 Fix handling of warnings in connection string tests (#1357)42c0841
PYTHON-3906 Use AWS Secrets for Atlas tests (#1342)02de1ba
PYTHON-3909 Fix OIDC reauth for bulk write operations, remove unneeded AUTH_M...43845c3
PYTHON-3877 Test Python 3.12 on MacOS and build wheel (#1355)28b1121
PYTHON-3461 Test FaaS (AWS Lambda) Behavior Per Driver (#1310)0d44783
PYTHON-3821 use overload pattern for _DocumentType (#1352)c1d3383
PYTHON-3907 add --disallow-untyped-defs for mypy (#1351)f7738b8
PYTHON-3887 Remove custom test command in setup.py (#1350)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 show