Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Aug 30, 2023

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
mongodb 4.1.34.17.0 age confidence

GitHub Vulnerability Alerts

CVE-2021-32050

Some MongoDB Drivers may erroneously publish events containing authentication-related data to a command listener configured by an application. The published events may contain security-sensitive data when specific authentication-related commands are executed.

Without due care, an application may inadvertently expose this sensitive information, e.g., by writing it to a log file. This issue only arises if an application enables the command listener feature (this is not enabled by default).

This issue affects the MongoDB C Driver 1.0.0 prior to 1.17.7, MongoDB PHP Driver 1.0.0 prior to 1.9.2, MongoDB Swift Driver 1.0.0 prior to 1.1.1, MongoDB Node.js Driver 3.6 prior to 3.6.10, MongoDB Node.js Driver 4.0 prior to 4.17.0 and MongoDB Node.js Driver 5.0 prior to 5.8.0. This issue also affects users of the MongoDB C++ Driver dependent on the C driver 1.0.0 prior to 1.17.7 (C++ driver prior to 3.7.0).


Release Notes

mongodb/node-mongodb-native (mongodb)

v4.17.0

Compare Source

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

Release Notes

mongodb-js/saslprep is now installed by default

Until v6, the driver included the saslprep package as an optional dependency for SCRAM-SHA-256 authentication. saslprep breaks when bundled with webpack because it attempted to read a file relative to the package location and consequently the driver would throw errors when using SCRAM-SHA-256 if it were bundled.

The driver now depends on mongodb-js/saslprep, a fork of saslprep that can be bundled with webpack because it includes the necessary saslprep data in memory upon loading. This will be installed by default but will only be used if SCRAM-SHA-256 authentication is used.

Remove credential availability on ConnectionPoolCreatedEvent

In order to avoid mistakenly printing credentials the ConnectionPoolCreatedEvent will replace the credentials option with an empty object. The credentials are still accessble via MongoClient options: client.options.credentials.

Features
Bug Fixes
  • NODE-5262: AWS Lambda metadata detection logic is too permissive (#​3683) (c0c3d99)
  • NODE-5311: construct error messages for AggregateErrors in Node16+ (#​3683) (98b7bdf)
  • NODE-5316: prevent parallel topology creation in MongoClient.connect (#​3696) (e13038d)
    • Thank you @​clemclx for contributing this fix! 🎉
  • NODE-5356: prevent scram auth from throwing TypeError if saslprep is not a function (#​3732) (2d028af)
  • NODE-5536: remove credentials from ConnectionPoolCreatedEvent options (#​3812) (2910dca)

Documentation

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

v4.16.0

Compare Source

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

Features
  • NODE-5159: add FaaS env information to client metadata (#​3639) (e0b20f1)
  • NODE-5199: add alternative runtime detection to client metadata (#​3647) (fba16ad)
Bug Fixes
  • NODE-5161: metadata duplication in handshake (#​3628) (b790142)
  • NODE-5200: relax SRV record validation to account for a dot suffix (#​3640) (4272c43)

Documentation

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

v4.15.0

Compare Source

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

Features
  • NODE-5054: add AssumeRoleWithWebIdentity support to 4x driver (#​3566) (8a8c386)
Bug Fixes
  • NODE-5097: set timeout on write and reset on message (#​3590) (2d3576b)

Documentation

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

v4.14.0

Compare Source

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

Deprecations
  • NODE-4992: Deprecate methods and options that reference legacy logger (#​3532) (6c94b4a)
Bug Fixes
  • NODE-4999: Write Concern 0 Must Not Affect Read Operations (#​3541) (ddfc2b9)
  • NODE-5026: revert "ensure that MessageStream is destroyed when connections are destroyed" (#​3551) (c4da623)
Documentation

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

v4.13.0

Compare Source

Features
Bug Fixes
  • NODE-4447: disable causal consistency in implicit sessions (#​3479) (6566fb5)
  • NODE-4834: ensure that MessageStream is destroyed when connections are destroyed (#​3482) (8338bae)
4.12.1 (2022-11-23)
Bug Fixes

v4.12.1

Compare Source

Features
Bug Fixes
  • NODE-4447: disable causal consistency in implicit sessions (#​3479) (6566fb5)
  • NODE-4834: ensure that MessageStream is destroyed when connections are destroyed (#​3482) (8338bae)
4.12.1 (2022-11-23)
Bug Fixes

v4.12.0

Compare Source

Features
Bug Fixes
  • NODE-4447: disable causal consistency in implicit sessions (#​3479) (6566fb5)
  • NODE-4834: ensure that MessageStream is destroyed when connections are destroyed (#​3482) (8338bae)
4.12.1 (2022-11-23)
Bug Fixes

v4.11.0

Compare Source

Features
Bug Fixes
  • NODE-3712,NODE-4546: electionId should be ordered before setVersion (#​3174) (ca51fec)
  • NODE-3921: error on invalid TLS option combinations (#​3405) (1a550df)
  • NODE-4186: accept ReadPreferenceLike in TransactionOptions type (#​3425) (dc62bcb)
  • NODE-4475: make interrupted message more specific (#​3437) (5f37cb6)
  • NODE-4608: prevent parallel monitor checks (#​3404) (78bcfe4)
  • NODE-4647: improve error message (#​3409) (0d3c02e)
  • NODE-4649: use SDAM handling for errors from min pool size population (#​3424) (ef3b55d)

v4.10.0

Compare Source

Features
  • NODE-4385: add cmap pool pausing functionality (#​3321) (335ee55)
  • NODE-4484: add experimental support for disambiguatedPaths in change stream documents (#​3365) (846365a)
  • NODE-4519: deprecate promiseLibrary and PromiseProvider (#​3403) (5c322b6)
  • NODE-4547: mark all callback APIs as deprecated (#​3388) (a983f14)
  • NODE-4607: add exports needed by legacy client (#​3396) (972f760)
  • NODE-4634: add support for bulk FindOperators.hint() (#​3408) (8758890)
Bug Fixes

v4.9.1

Compare Source

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

Release Highlights

This is a bug fix release as noted below.

Bug Fixes
  • NODE-4583: revert nested union type support (#​3383) (014d0b3)
  • NODE-4591: only set loadBalanced on handshake when explicitly set (#​3386) (861d465)

v4.9.0

Compare Source

Features
  • NODE-3517: improve index spec handling and type definitions (#​3315) (0754bf9)
  • NODE-4336: deprecate old write concern options and add missing writeConcern to MongoClientOptions (#​3340) (d2b6ad8)
  • NODE-4548: export ChangeStream class from top-level (#​3357) (48f295a)
Bug Fixes
  • NODE-4159,NODE-4512: remove servers with incorrect setName from topology and fix unix socket parsing (#​3348) (00dcf2d)
  • NODE-4273: pass 'comment' option through to distinct command (#​3339) (753ecfe)
  • NODE-4413: set maxTimeMS on getMores when maxAwaitTimeMS is specified (#​3319) (dcbfd6e)
  • NODE-4429: select server sync for endSessions during close (#​3363) (5086ead)
  • NODE-4467: Add back support for oplogReplay option as deprecated (#​3337) (6c69b7d)
  • NODE-4496: counter values incorrecly compared when instance of Long (#​3342) (d29eb8c)
  • NODE-4513: type for nested objects in query & update (#​3349) (ec1a68f)
  • NODE-4533: session support error message and unified test runner (#​3355) (6a0e502)
  • NODE-4555: export BSON internally (#​3367) (4ce6e4c)
4.8.1 (2022-07-26)
Bug Fixes

v4.8.1

Compare Source

Features
  • NODE-3517: improve index spec handling and type definitions (#​3315) (0754bf9)
  • NODE-4336: deprecate old write concern options and add missing writeConcern to MongoClientOptions (#​3340) (d2b6ad8)
  • NODE-4548: export ChangeStream class from top-level (#​3357) (48f295a)
Bug Fixes
  • NODE-4159,NODE-4512: remove servers with incorrect setName from topology and fix unix socket parsing (#​3348) (00dcf2d)
  • NODE-4273: pass 'comment' option through to distinct command (#​3339) (753ecfe)
  • NODE-4413: set maxTimeMS on getMores when maxAwaitTimeMS is specified (#​3319) (dcbfd6e)
  • NODE-4429: select server sync for endSessions during close (#​3363) (5086ead)
  • NODE-4467: Add back support for oplogReplay option as deprecated (#​3337) (6c69b7d)
  • NODE-4496: counter values incorrecly compared when instance of Long (#​3342) (d29eb8c)
  • NODE-4513: type for nested objects in query & update (#​3349) (ec1a68f)
  • NODE-4533: session support error message and unified test runner (#​3355) (6a0e502)
  • NODE-4555: export BSON internally (#​3367) (4ce6e4c)
4.8.1 (2022-07-26)
Bug Fixes

v4.8.0

Compare Source

Features
  • NODE-3517: improve index spec handling and type definitions (#​3315) (0754bf9)
  • NODE-4336: deprecate old write concern options and add missing writeConcern to MongoClientOptions (#​3340) (d2b6ad8)
  • NODE-4548: export ChangeStream class from top-level (#​3357) (48f295a)
Bug Fixes
  • NODE-4159,NODE-4512: remove servers with incorrect setName from topology and fix unix socket parsing (#​3348) (00dcf2d)
  • NODE-4273: pass 'comment' option through to distinct command (#​3339) (753ecfe)
  • NODE-4413: set maxTimeMS on getMores when maxAwaitTimeMS is specified (#​3319) (dcbfd6e)
  • NODE-4429: select server sync for endSessions during close (#​3363) (5086ead)
  • NODE-4467: Add back support for oplogReplay option as deprecated (#​3337) (6c69b7d)
  • NODE-4496: counter values incorrecly compared when instance of Long (#​3342) (d29eb8c)
  • NODE-4513: type for nested objects in query & update (#​3349) (ec1a68f)
  • NODE-4533: session support error message and unified test runner (#​3355) (6a0e502)
  • NODE-4555: export BSON internally (#​3367) (4ce6e4c)
4.8.1 (2022-07-26)
Bug Fixes

v4.7.0

Compare Source

Features
Bug Fixes
  • NODE-4103: respect BSON options when creating change streams (#​3247) (b2798d9)
  • NODE-4108: improve return type for withTransaction() (#​3236) (48e0e6e)
  • NODE-4254: allow csfle to be dynamically required (#​3260) (cd6b5a0)
  • NODE-4281: ensure that the driver always uses Node.js timers (#​3275) (4501a1c)

v4.6.0

Compare Source

Features
  • NODE-4185: Allow opting out of disk use on cursor builder (#​3230) (d216725)
  • NODE-4189: Add support for clustered collections (#​3229) (79a917b)
Bug Fixes
  • NODE-3565: Improve error message for insertMany with partially empty array (#​3221) (0ef2516)
  • NODE-4232: stream() also returns generic AsyncIterable (ed4ba58)

v4.5.0

Compare Source

Features
Bug Fixes
  • NODE-3769: retryable writes are not compliant with specification (#​3144) (ff26b12)
  • NODE-3810: delay timeout errors by one event loop tick (#​3180) (0ed7cbf)
  • NODE-4069: remove 'default' from options for fullDocument field in change stream options (#​3169) (799689e)
  • NODE-4074: ensure getTopology doesn't throw synchronously (#​3172) (329f081)
  • NODE-4129: constrain watch type parameter to extend ChangeStream type parameter (#​3183) (43ba9fc)
4.4.1 (2022-03-03)
Features
  • NODE-3866: Add let option to ReplaceOptions for replaceOne operation (#​3148) (f76635a)
Bug Fixes

v4.4.1

Compare Source

Features
Bug Fixes
  • NODE-3769: retryable writes are not compliant with specification (#​3144) (ff26b12)
  • NODE-3810: delay timeout errors by one event loop tick (#​3180) (0ed7cbf)
  • NODE-4069: remove 'default' from options for fullDocument field in change stream options (#​3169) (799689e)
  • NODE-4074: ensure getTopology doesn't throw synchronously (#​3172) (329f081)
  • NODE-4129: constrain watch type parameter to extend ChangeStream type parameter (#​3183) (43ba9fc)
4.4.1 (2022-03-03)
Features
  • NODE-3866: Add let option to ReplaceOptions for replaceOne operation (#​3148) (f76635a)
Bug Fixes

v4.4.0

Compare Source

Features
Bug Fixes
  • NODE-3769: retryable writes are not compliant with specification (#​3144) (ff26b12)
  • NODE-3810: delay timeout errors by one event loop tick (#​3180) (0ed7cbf)
  • NODE-4069: remove 'default' from options for fullDocument field in change stream options (#​3169) (799689e)
  • NODE-4074: ensure getTopology doesn't throw synchronously (#​3172) (329f081)
  • NODE-4129: constrain watch type parameter to extend ChangeStream type parameter (#​3183) (43ba9fc)
4.4.1 (2022-03-03)
Features
  • NODE-3866: Add let option to ReplaceOptions for replaceOne operation (#​3148) (f76635a)
Bug Fixes

v4.3.1

Compare Source

Features
Bug Fixes
  • fix csfle imports (#​3142) (541e939)
  • NODE-3621: fixed type of documentKey property on ChangeStreamDocument (#​3118) (c63a21b)
  • NODE-3795: unexpected No auth provider for DEFAULT defined error (#​3092) (fb38a56)
  • NODE-3813: unexpected type conversion of read preference tags (#​3138) (3e7b894)
  • NODE-3878: use legacy count operation on collection.count (#​3126) (12c6835)
  • NODE-3917: Throw an error when directConnection is set with multiple hosts (#​3143) (b192493)
4.3.1 (2022-01-18)
Bug Fixes
  • NODE-3792: remove offensive language throughout the codebase (#​3091) (8e2b0cc)
  • NODE-3852,NODE-3854,NODE-3856: Misc typescript fixes for 4.3.1 (#​3102) (dd5195a)

v4.3.0

[Compare Source](https://redirect.github.com/mongodb/


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch 2 times, most recently from 0cb88c3 to 7a6eaf6 Compare September 19, 2023 11:34
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch 2 times, most recently from 3c73974 to 8512216 Compare September 28, 2023 13:15
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch 2 times, most recently from 8cb06fb to ceabbc0 Compare October 9, 2023 11:20
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from ceabbc0 to 1df2266 Compare October 15, 2023 09:38
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 1df2266 to 8244159 Compare October 23, 2023 13:43
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 8244159 to e6b0bbe Compare November 6, 2023 06:05
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from e6b0bbe to 64074c4 Compare November 16, 2023 12:28
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 64074c4 to 340a937 Compare December 3, 2023 12:23
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 340a937 to f00e3e0 Compare January 28, 2024 09:44
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from f00e3e0 to 4f6aee8 Compare February 4, 2024 10:34
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 4f6aee8 to 8e558b9 Compare February 25, 2024 10:06
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 8e558b9 to 08b384d Compare March 12, 2024 10:14
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch 2 times, most recently from 3855449 to 0668726 Compare March 24, 2024 16:28
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 0668726 to 54b7d3f Compare April 14, 2024 08:28
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 54b7d3f to 68e376b Compare April 21, 2024 10:40
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 68e376b to bd6e643 Compare June 4, 2024 12:01
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from bd6e643 to 06adbfc Compare July 21, 2024 12:29
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 06adbfc to d5e3be2 Compare August 6, 2024 09:31
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from d5e3be2 to 0b775a4 Compare August 28, 2024 08:20
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 0b775a4 to ced4772 Compare October 9, 2024 10:44
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from ced4772 to fe5ec38 Compare October 17, 2024 13:34
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from fe5ec38 to 0138283 Compare December 2, 2024 08:35
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch 2 times, most recently from 88c9593 to 451a843 Compare January 30, 2025 14:39
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 451a843 to 28654df Compare February 9, 2025 12:33
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 28654df to 1126f0d Compare March 3, 2025 15:49
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch 2 times, most recently from 555bd0d to fb05851 Compare March 17, 2025 17:48
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from fb05851 to ed6fe2e Compare April 1, 2025 11:08
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from ed6fe2e to ecc79c9 Compare April 8, 2025 14:24
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from ecc79c9 to 590dfff Compare April 24, 2025 06:31
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 590dfff to 7c693f9 Compare May 19, 2025 19:50
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 7c693f9 to b20be90 Compare May 28, 2025 08:15
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from b20be90 to 4d691b9 Compare June 4, 2025 12:50
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 4d691b9 to ce2fa02 Compare June 22, 2025 14:26
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from ce2fa02 to 97d4dcb Compare July 2, 2025 18:03
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch 2 times, most recently from 4011aae to 79dba09 Compare August 13, 2025 16:06
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 79dba09 to a8328f7 Compare August 19, 2025 13:31
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from a8328f7 to 092a7bb Compare August 31, 2025 10:25
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 092a7bb to 85ab79e Compare September 25, 2025 16:56
@renovate renovate bot changed the title fix(deps): update dependency mongodb to v4.17.0 [security] chore(deps): update dependency mongodb to v4.17.0 [security] Sep 25, 2025
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 85ab79e to 3e6f6ce Compare October 21, 2025 09:45
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 3e6f6ce to f74fdf0 Compare November 11, 2025 01:45
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch 2 times, most recently from 60c4137 to f997734 Compare November 19, 2025 23:43
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from f997734 to 1f4989a Compare December 3, 2025 19:00
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 1f4989a to e802e8c Compare December 31, 2025 16:37
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from e802e8c to e8e6f82 Compare January 8, 2026 18:09
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch 2 times, most recently from c0a0e8e to 86fbd3e Compare January 23, 2026 19:42
@renovate renovate bot force-pushed the renovate/npm-mongodb-vulnerability branch from 86fbd3e to 30a3220 Compare February 2, 2026 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants