Build(deps-dev): Bump mongodb from 6.11.0 to 6.12.0
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
zstd@2.0 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 staleWe 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
- NODE-6593: add support for zstd@2.x (#4346) (ea8a33f)
- NODE-6605: add error message when invalidating primary (#4340) (37613f1)
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
- NODE-6593: add support for zstd@2.x (#4346) (ea8a33f)
- NODE-6605: add error message when invalidating primary (#4340) (37613f1)
Bug Fixes
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 zstd@2.x (#4346) -
ed83f36
fix(NODE-6602): only wrap errors from SOCKS in network errors (#4347) -
ed2bdbe
docs(NODE-6595): update compatibility table for zstd@2.0 (#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 commands
You can trigger Dependabot actions by commenting on this MR
-
$dependabot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts