Fixed a bug that prevented :meth:bson.json_util.loads from
decoding a document with a non-string "$regex" field (PYTHON-3028_).
Fixed a bug where a client may select a hidden/ghost or not yet initialized
replica set member leading to unexpected "connection pool paused" errors
(PYTHON-3027_).
See the PyMongo 4.0.1 release notes in JIRA_ for the list of resolved issues
in this release.
.. warning:: PyMongo 4.0 drops support for Python 2.7, 3.4, and 3.5.
.. warning:: PyMongo 4.0 drops support for MongoDB 2.6, 3.0, 3.2, and 3.4.
PyMongo 4.0 brings a number of improvements as well as some backward breaking
changes. For example, all APIs deprecated in PyMongo 3.X have been removed.
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[srv] from 3.11.3 to 4.0.2.
Release notes
Sourced from pymongo[srv]'s releases.
Changelog
Sourced from pymongo[srv]'s changelog.
... (truncated)
Commits
e2dcb86
BUMP 4.0.2 (#891)2a36f89
PYTHON-3142 Stop using $where in test_maxConnecting (#886)542766e
PYTHON-3088 [4.0] Test rapid releases with load balancers (#880)cbae04f
PYTHON-2147 Use verified peer cert chain in OCSP when available (#877)22e84f0
PYTHON-3109 Test against latest rapid releases (#862)c761c1f
PYTHON-3088 Update load balancer tests to support dedicated load balancer por...358e158
PYTHON-1834 [v4.0] Use a code formatter 2 (#856)b1d76c8
PYTHON-1834 [v4.0] Use a code formatter (#854)146d16b
PYTHON-3110 [v4.0] Remove use of example.com in CSFLE tests (#849)43a8a6a
PYTHON-3075 [v4.0] bulk_write does not apply CodecOptions to upserted_ids res...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)