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

refactor: Bump mongodb from 6.11.0 to 6.12.0 #9481

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps mongodb from 6.11.0 to 6.12.0.

Release notes

Sourced from mongodb's releases.

v6.12.0

6.12.0 (2024-12-10)

The MongoDB Node.js team is pleased to announce version 6.12.0 of the mongodb package!

Release Notes

[email protected] is now supported for zstd compression

The new @​mongodb-js/zstd@​2.0 release can now be used with the driver for zstd compression.

Populate ServerDescription.error field when primary marked stale

We now attach an error to the newly created ServerDescription object when marking a primary as stale. This helps with debugging SDAM issues when monitoring SDAM events.

BSON upgraded to v6.10.1

See: https://github.com/mongodb/js-bson/releases/tag/v6.10.1

Socket read stream set to object mode

Socket data was being read with a stream set to buffer mode when it should be set to object mode to prevent inaccurate data chunking, which may have caused message parsing errors in rare cases.

SOCKS5: MongoNetworkError wrap fix

If the driver encounters an error while connecting to a socks5 proxy, the driver wraps the socks5 error in a MongoNetworkError. In some circumstances, this resulted in the driver wrapping MongoNetworkErrors inside MongoNetworkErrors.

The driver no longer double wraps errors in MongoNetworkErrors.

Features

Bug Fixes

  • NODE-6583: upgrade to BSON v6.10.1 to remove internal unbounded type cache (#4338) (249c279)
  • NODE-6600: set object mode correctly for message chunking in SizedMessageTransform (#4345) (5558573)
  • NODE-6602: only wrap errors from SOCKS in network errors (#4347) (ed83f36)

Documentation

We invite you to try the mongodb library immediately, and report any issues to the NODE project.

Changelog

Sourced from mongodb's changelog.

6.12.0 (2024-12-10)

Features

Bug Fixes

  • NODE-6583: upgrade to BSON v6.10.1 to remove internal unbounded type cache (#4338) (249c279)
  • NODE-6600: set object mode correctly for message chunking in SizedMessageTransform (#4345) (5558573)
  • NODE-6602: only wrap errors from SOCKS in network errors (#4347) (ed83f36)
Commits
  • b4e5f49 chore(main): release 6.12.0 [skip-ci] (#4348)
  • bc41f2e docs(NODE-6483): Add documentation for countDocuments $match operator (#4342)
  • 37613f1 feat(NODE-6605): add error message when invalidating primary (#4340)
  • ea8a33f feat(NODE-6593): add support for [email protected] (#4346)
  • ed83f36 fix(NODE-6602): only wrap errors from SOCKS in network errors (#4347)
  • ed2bdbe docs(NODE-6595): update compatibility table for [email protected] (#4349)
  • 63e1459 test(NODE-6532): unskip transactions tests on serverless (#4332)
  • 249c279 fix(NODE-6583): upgrade to BSON v6.10.1 to remove internal unbounded type cac...
  • 5558573 fix(NODE-6600): set object mode correctly for message chunking in SizedMessag...
  • 260e052 test(NODE-6527): sync pool-checkout-returned-connection-maxConnecting tests (...
  • 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 [mongodb](https://github.com/mongodb/node-mongodb-native) from 6.11.0 to 6.12.0.
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases)
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/main/HISTORY.md)
- [Commits](mongodb/node-mongodb-native@v6.11.0...v6.12.0)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Bot label; pull requests that updates a dependency file label Dec 11, 2024
Copy link

I will reformat the title to use the proper commit message syntax.

@parse-github-assistant parse-github-assistant bot changed the title refactor: bump mongodb from 6.11.0 to 6.12.0 refactor: Bump mongodb from 6.11.0 to 6.12.0 Dec 11, 2024
@mtrezza mtrezza merged commit 02cd5a3 into alpha Dec 11, 2024
28 checks passed
@mtrezza mtrezza deleted the dependabot/npm_and_yarn/mongodb-6.12.0 branch December 11, 2024 16:27
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 7.4.0-alpha.7

@parseplatformorg parseplatformorg added the state:released-alpha Released as alpha version label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Bot label; pull requests that updates a dependency file state:released-alpha Released as alpha version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants