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 5.3.0 to 5.4.0 #2107

Merged
merged 1 commit into from
May 10, 2023

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps mongodb from 5.3.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.

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)
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
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/develop/mongodb-5.4.0 branch from 6de78ab to 1b948d8 Compare May 8, 2023 10:35
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 10, 2023

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/develop/mongodb-5.4.0 branch 3 times, most recently from 1818049 to f9cfd5f Compare May 10, 2023 09:43
Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 5.3.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@v5.3.0...v5.4.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 force-pushed the dependabot/npm_and_yarn/develop/mongodb-5.4.0 branch from f9cfd5f to 5fb8823 Compare May 10, 2023 09:46
@simvalery simvalery merged commit afe0d86 into develop May 10, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/develop/mongodb-5.4.0 branch May 10, 2023 09:52
felipeneuhauss pushed a commit to IntellectEU/guardian that referenced this pull request Jul 22, 2023
…arn/develop/mongodb-5.4.0

Bump mongodb from 5.3.0 to 5.4.0
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