Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pymongo from 4.4.1 to 4.6.1 #869

Merged
merged 1 commit into from
Dec 11, 2023
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 11, 2023

Bumps pymongo from 4.4.1 to 4.6.1.

Release notes

Sourced from pymongo's releases.

PyMongo 4.6.1

Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-6-1-released/255752

PyMongo 4.6.0

Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-6-0-released/251866

PyMongo 4.5.0

Release notes: https://www.mongodb.com/community/forums/t/pymongo-4-5-0-released/240662

Changelog

Sourced from pymongo's changelog.

Changes in Version 4.6.1

PyMongo 4.6.1 fixes the following bug:

  • Ensure retryable read OperationFailure errors re-raise exception when 0 or NoneType error code is provided.

Changes in Version 4.6

PyMongo 4.6 brings a number of improvements including:

  • Added the serverMonitoringMode URI and keyword argument to :class:~pymongo.mongo_client.MongoClient.

  • Improved client performance and reduced connection requirements in Function-as-a-service (FaaS) environments like AWS Lambda, Google Cloud Functions, and Microsoft Azure Functions.

  • Added the :attr:pymongo.monitoring.CommandSucceededEvent.database_name property.

  • Added the :attr:pymongo.monitoring.CommandFailedEvent.database_name property.

  • Allow passing a dict to sort/create_index/hint.

  • Added :func:repr support to the write result classes: :class:~pymongo.results.BulkWriteResult, :class:~pymongo.results.DeleteResult, :class:~pymongo.results.InsertManyResult, :class:~pymongo.results.InsertOneResult, :class:~pymongo.results.UpdateResult, and :class:~pymongo.encryption.RewrapManyDataKeyResult. For example:

    client.t.t.insert_one({}) InsertOneResult(ObjectId('65319acdd55bb3a27ab5502b'), acknowledged=True) client.t.t.insert_many([{} for _ in range(3)]) InsertManyResult([ObjectId('6532f85e826f2b6125d6ce39'), ObjectId('6532f85e826f2b6125d6ce3a'), ObjectId('6532f85e826f2b6125d6ce3b')], acknowledged=True)

  • :meth:~pymongo.uri_parser.parse_uri now considers the delimiting slash (/) between hosts and connection options optional. For example, "mongodb://example.com?tls=true" is now a valid URI.

  • Fixed a bug where PyMongo would incorrectly promote all cursors to exhaust cursors when connected to load balanced MongoDB clusters or Serverless clusters.

  • Added the :ref:network-compression-example documentation page.

  • Added more timeout information to network errors.

Changes in Version 4.5

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

... (truncated)

Commits
  • 485e0a5 BUMP 4.6.1
  • 995365c PYTHON-4038 [v4.6]: Ensure retryable read OperationFailures re-raise except...
  • 8e25ce1 BUMP 4.6.0
  • a17e412 Updated changelog with timeout info change (#1417)
  • a09a03e PYTHON-3930 Add docs page for network compression (#1415)
  • 4b9c5b9 PYTHON-3968 Fix mockupdb tox config (#1416)
  • c146017 PYTHON-4012 Adopt more RST static checks (#1412)
  • 8faa910 PYTHON-3743 Bump minServerVersion for CSFLE deterministic encryption … (#1411)
  • 06653c9 PYTHON-3926 Add more information to connection errors and timeouts (#1375)
  • 2825058 PYTHON-3950 Add PyMongo 3.13 Changelog Entry to Current Branch (#1410)
  • Additional commits viewable in compare view

Dependabot compatibility score

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 <dependency name> 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](https://github.com/mongodb/mongo-python-driver) from 4.4.1 to 4.6.1.
- [Release notes](https://github.com/mongodb/mongo-python-driver/releases)
- [Changelog](https://github.com/mongodb/mongo-python-driver/blob/master/doc/changelog.rst)
- [Commits](mongodb/mongo-python-driver@4.4.1...4.6.1)

---
updated-dependencies:
- dependency-name: pymongo
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 11, 2023
Copy link

codecov bot commented Dec 11, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f8a41c3) 91.12% compared to head (da3df1e) 91.12%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #869   +/-   ##
========================================
  Coverage    91.12%   91.12%           
========================================
  Files           61       61           
  Lines         4261     4261           
  Branches       469      469           
========================================
  Hits          3883     3883           
  Misses         312      312           
  Partials        66       66           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yoldas yoldas merged commit bddd85b into develop Dec 11, 2023
9 checks passed
@yoldas yoldas deleted the dependabot/pip/pymongo-4.6.1 branch December 11, 2023 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant