Fixed a memory leak bug when calling :func:~bson.decode_all without a
codec_options argument (PYTHON-3222_).
Fixed a bug where :func:~bson.decode_all did not accept codec_options
as a keyword argument (PYTHON-3222_).
Fixed an oversight where type markers (py.typed files) were not included
in our release distributions (PYTHON-3214_).
Fixed a bug where pymongo would raise a "NameError: name sys is not defined"
exception when attempting to parse a "mongodb+srv://" URI when the dnspython
dependency was not installed (PYTHON-3198_).
Issues Resolved
...............
See the PyMongo 4.1.1 release notes in JIRA_ for the list of resolved issues
in this release.
.. warning:: PyMongo 4.1 drops support for Python 3.6.0 and 3.6.1, Python 3.6.2+ is now required.
PyMongo 4.1 brings a number of improvements including:
Type Hinting support (formerly provided by pymongo-stubs_). See :doc:examples/type_hints for more information.
Added support for the comment parameter to all helpers. For example see
:meth:~pymongo.collection.Collection.insert_one.
Added support for the let parameter to
:meth:~pymongo.collection.Collection.update_one,
:meth:~pymongo.collection.Collection.update_many,
:meth:~pymongo.collection.Collection.delete_one,
:meth:~pymongo.collection.Collection.delete_many,
:meth:~pymongo.collection.Collection.replace_one,
:meth:~pymongo.collection.Collection.aggregate,
:meth:~pymongo.collection.Collection.find_one_and_delete,
:meth:~pymongo.collection.Collection.find_one_and_replace,
:meth:~pymongo.collection.Collection.find_one_and_update,
:meth:~pymongo.collection.Collection.find,
:meth:~pymongo.collection.Collection.find_one,
and :meth:~pymongo.collection.Collection.bulk_write.
let is a map of parameter names and values.
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 4.1.0 to 4.1.1.
Release notes
Sourced from pymongo's releases.
Changelog
Sourced from pymongo's changelog.
... (truncated)
Commits
8b3eaaf
BUMP 4.1.1868b3f7
PYTHON-3080 Add section to troubleshooting FAQ per driver with top SEO result...ff288fa
PYTHON-3221 Resync CSFLE spec tests (#929)a319075
PYTHON-3197 Update docs.mongodb.com links in source, API & Reference document...fd512d5
PYTHON-3225 Stop testing delete on capped collections (#928)dca72b7
PYTHON-3222 Fix memory leak in cbson decode_all (#927)5ccbb4d
PYTHON-3216 Include codec_options.pyi in release distributions (#923)3cb16ca
PYTHON-3210 Remove flakey string assertion from invalid aws creds FLE test (#...49c3f9f
PYTHON-3215 Add Typing :: Typed trove classifier01f983e
PYTHON-3214 Fix typing markers not being included in the distribution (#921)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)