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 mongodb from 4.13.0 to 5.4.0 #131

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 8, 2023

Bumps mongodb from 4.13.0 to 5.4.0.

Release notes

Sourced from mongodb's releases.

v5.4.0

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

Release Highlights

ChangeStream.tryNext Typescript fix

We have corrected the tryNext method on ChangeStream to use the TChange schema generic instead of the untyped Document interface. This may increase strictness for existing usages but aligns with the rest of the methods on the change stream class to accurately reflect the type returned from the driver.

Deprecations

The db.command() API has a number of options deprecated that were incorrectly included in the typescript interface the method reportedly accepts. A majority of the options relate to fields that must be attached to the command directly: readConcern, writeConcern, and comment.

Additionally, the collStats helper has been deprecated in favor of using database aggregations to get the same result: https://www.mongodb.com/docs/manual/reference/operator/aggregation/collStats/

​​NOTE: This release includes some experimental features that are not yet ready for production use. As a reminder, anything marked experimental is not a part of the stable driver API and is subject to change without notice.

Features and Deprecations

  • NODE-5166: bump max wire version for 7.0 (#3659) (561229b)
  • NODE-4970: deprecate collStats collection helper (#3638) (325c4bc)
  • NODE-5207: deprecate unsupported runCommand options and add spec tests (#3643) (d6d76b4)

Bug Fixes

  • NODE-5213: ChangeStream.tryNext() should return TChange type (#3649) (3b58ca1)

Documentation

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

v5.3.0

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

Features

  • NODE-4696: add FaaS env information to client metadata (#3626) (0424080)
  • NODE-4774: deprecate cursor forEach (#3622) (8d76a71)
  • NODE-4791: deprecate duplicate bulk methods (#3623) (2839e95)
  • NODE-4795: deprecate addUser helper (#3624) (53a0aae)
  • NODE-5188: add alternative runtime detection to client metadata (#3636) (2a26de3)
  • NODE-5189: deprecate tcp keepalive options (#3621) (cc7c75a)

Bug Fixes

... (truncated)

Changelog

Sourced from mongodb's changelog.

5.4.0 (2023-05-04)

Features

  • NODE-4814: implement remaining severity logging methods (#3629) (d7a8079)
  • NODE-4815: stringify and truncate BSON documents in log messages (#3635) (d6bd1d1)
  • NODE-4970: deprecate collStats collection helper (#3638) (325c4bc)
  • NODE-5166: bump max wire version for 7.0 (#3659) (561229b)
  • NODE-5191: OIDC Auth Updates (#3637) (c52a4ed)
  • NODE-5207: deprecate unsupported runCommand options and add spec tests (#3643) (d6d76b4)

Bug Fixes

  • NODE-5213: ChangeStream.tryNext() should return TChange type (#3649) (3b58ca1)

5.3.0 (2023-04-18)

Features

  • NODE-4696: add FaaS env information to client metadata (#3626) (0424080)
  • NODE-4774: deprecate cursor forEach (#3622) (8d76a71)
  • NODE-4791: deprecate duplicate bulk methods (#3623) (2839e95)
  • NODE-4795: deprecate addUser helper (#3624) (53a0aae)
  • NODE-5169: Implement emergency logger (#3610) (d502eb0)
  • NODE-5188: add alternative runtime detection to client metadata (#3636) (2a26de3)
  • NODE-5189: deprecate tcp keepalive options (#3621) (cc7c75a)

Bug Fixes

  • NODE-5042: relax SRV record validation to account for a dot suffix (#3633) (ad15881)
  • NODE-5171: allow upsertedId to be null in UpdateResult (#3631) (4b5be21)
  • NODE-5201: prevent warning when default value for deprecation option is used (#3646) (e7f6e4e)

5.2.0 (2023-04-04)

Features

  • NODE-5035: enable OIDC authentication (#3577) (35879f6)
  • NODE-5036: reauthenticate OIDC and retry (#3589) (a41846d)
  • NODE-5077: automatic Azure kms credential refresh (#3599) (8e87e5c)

Bug Fixes

  • NODE-3998: metadata duplication in handshake (#3615) (6d894d6)

... (truncated)

Commits
  • c69b0b1 chore(release): 5.4.0
  • 561229b feat(NODE-5166): bump max wire version for 7.0 (#3659)
  • c52a4ed feat(NODE-5191): OIDC Auth Updates (#3637)
  • ce8e69b test(NODE-4693): test lambda function (#3569)
  • d6d76b4 feat(NODE-5207): deprecate unsupported runCommand options and add spec tests ...
  • a16bdfa chore: use correct mongosh syntax in test setup readme (#3656)
  • 325c4bc feat(NODE-4970): deprecate collStats collection helper (#3638)
  • fcff6fe test(NODE-3733): sync remaining unified tests (#3651)
  • d7a8079 feat(NODE-4814): implement remaining severity logging methods (#3629)
  • 3b58ca1 fix(NODE-5213): ChangeStream.tryNext() should return TChange type (#3649)
  • 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 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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 8, 2023
Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 4.13.0 to 5.4.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@v4.13.0...v5.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/mongodb-5.4.0 branch from 6a56aaf to e4fd077 Compare May 10, 2023 05:41
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 15, 2023

Superseded by #136.

@dependabot dependabot bot closed this May 15, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/mongodb-5.4.0 branch May 15, 2023 07:58
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.

0 participants