Motor 2.5 adds support for MongoDB 5.0. It depends on PyMongo 3.12 or
later.
New features:
Added support for MongoDB 5.0.
Support for MongoDB Versioned API, see :class:~pymongo.server_api.ServerApi.
Support for snapshot reads on secondaries via the new snapshot option to
:meth:~motor.motor_asyncio.AsyncIOMotorClient.start_session.
Support for Azure and GCP KMS providers for client side field level
encryption. See the examples in :doc:examples/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:~motor.motor_asyncio.AsyncIOMotorDatabase.create_collection.
Added hash support to :class:motor.motor_asyncio.AsyncIOMotorClient,
:class:motor.motor_asyncio.AsyncIOMotorDatabase, and
:class:motor.motor_asyncio.AsyncIOMotorCollection classes.
Added session and read concern support to
:meth:~motor.motor_asyncio.AsyncIOMotorCollection.find_raw_batches
and :meth:~motor.motor_asyncio.AsyncIOMotorCollection.aggregate_raw_batches.
Deprecations:
Deprecated support for Python 3.5.
Deprecated :meth:~motor.motor_asyncio.AsyncIOMotorDatabase.profiling_info,
:meth:~motor.motor_asyncio.AsyncIOMotorDatabase.profiling_level, and
:meth:~motor.motor_asyncio.AsyncIOMotorDatabase.set_profiling_level.
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 motor from 2.5.0 to 2.5.1.
Release notes
Sourced from motor's releases.
Changelog
Sourced from motor's changelog.
... (truncated)
Commits
928c92e
BUMP 2.5.1 (#138)401ebf2
MOTOR-813 Test macOS with python.org installed Python 3.6 (#137)baa0bf2
MOTOR-808 Fix test_watch_with_start_after on MongoDB 5.1+ (#136)bff5522
MOTOR-805 Fix bug where cursor.to_list(N) returned more than N documents (#135)6e29325
MOTOR-784 Fix typo in versioned API migration example for ecosystem docsd8d91a5
BUMP 2.5.1.dev0Dependabot 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)