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

chore(deps): bump mongodb from 3.6.3 to 5.0.1 in /api-server #963

Closed

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Feb 12, 2023

Bumps mongodb from 3.6.3 to 5.0.1.

Release notes

Sourced from mongodb's releases.

v5.0.1

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

This release reverts a fix that unintentionally caused a leak of internal resources driver resources.

Bug Fixes

  • NODE-5027: revert "ensure that MessageStream is destroyed when connections are destroyed" (#3552) (2d178d0)

Documentation

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

v5.0.0

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

Release Highlights

Node.js driver v5 emphazises the modernization of our API.

Farewell to Callbacks

Most notably, we have removed support for callbacks in favor of a Promise-only public API. To ease the migration to a Promise-only approach when using the Node.js driver, callback support is available via the mongodb-legacy package. You can read more about this change in the Optional callback support migrated to mongodb-legacy section of the migration guide.

Dot Notation No Longer Enabled by Default

Version 4.3.0 of the Node.js driver introduced strict type checking on Filter queries that used dot notation. This functionality was enabled by default and proved to be a barrier for users upgrading to later versions of the Node.js v4.x driver. In order to ease the migration to v5.0.0, type strictness on queries that use dot notation has been removed from the CRUD API. The type checking capabilities are still available in an experimental type called StrictFilter. You can read more about this change in the Dot Notation TypeScript Support Removed By Default section of the migration guide.

BSON v5

This release also adopts all the changes in BSON v5.0.0 (see the release notes). The driver now exports a BSON namespace that also has BSON.EJSON APIs available. When working in projects where both the driver and bson are used, we recommend importing BSON types (ObjectId, Long, etc.) and BSON APIs from the driver instead of from BSON directly to ensure consistency when serializing and deserializing instances of the BSON types.

Other Notable Changes

@aws-sdk/credential-providers has now been moved to an optional peer dependency. Consequently, in v5.0.0 or later versions of the driver, the AWS credential provider module must be installed manually to enable the use of the native AWS SDK for authentication.

Collection.insert, Collection.update, and Collection.remove methods have been removed in favor of their non-deprecated counterparts. You can read more about this and other changes in our Driver v5 Migration Guide.

⚠BREAKING CHANGES

  • NODE-4522: remove callback support (#3499)
  • NODE-4817: remove legacy logger (#3518)
  • NODE-4867: adopt BSON v5 (#3490)

... (truncated)

Changelog

Sourced from mongodb's changelog.

5.0.1 (2023-02-07)

Bug Fixes

  • NODE-5027: revert "ensure that MessageStream is destroyed when connections are destroyed" (#3552) (2d178d0)

5.0.0 (2023-01-31)

⚠ BREAKING CHANGES

  • NODE-5016: compile ts with target es2020 (#3545)

Features

  • NODE-5016: compile ts with target es2020 (#3545) (def266a)

Bug Fixes

  • NODE-4998: use ipv4 in socks5 tests for node 18 (#3538) (425dbe0)

5.0.0-alpha.0 (2023-01-24)

⚠ BREAKING CHANGES

  • NODE-4522: remove callback support (#3499)
  • NODE-4817: remove legacy logger (#3518)
  • NODE-4867: adopt BSON v5 (#3490)
  • NODE-4738: remove dot notation support by default (#3520)
  • NODE-4950: remove bson-ext import (#3523)
  • NODE-4756: ok 1 with write concern failure event changes (#3525)
  • NODE-4034: make internal bulk result private (#3515)
  • NODE-4751: drop support for client encryption < 2.3.0 (#3521)
  • NODE-4684: remove collection insert, update, remove methods (#3500)
  • NODE-4924: remove mapReduce collection helper (#3511)
  • NODE-4925: remove deprecated options and types (#3513)
  • NODE-3818: remove slaveOk options (#3503)
  • NODE-3695: remove lastop and optime from bulk result (#3504)
  • NODE-3489: remove cursor close options (#3505)
  • NODE-4598: close cursor on early loop break (#3502)
  • NODE-3482: remove unref (#3494)
  • NODE-4521: remove custom promise library support (#3498)
  • NODE-4898: aws credential providers now optional peerDependency (#3497)
  • NODE-4436: update minimum supported node version (#3496)
  • NODE-4899: support only snappy 7 or later (#3491)

Features

... (truncated)

Commits
  • 60f4232 chore(release): 5.0.1
  • 2d178d0 fix(NODE-5027): revert "ensure that MessageStream is destroyed when connectio...
  • bf69bd6 test(NODE-5033): fix handshake error message check (#3558)
  • 0d502ac test(NODE-5014): clientEncryption createEncryptedCollection helper (#3544)
  • 889c994 ci(NODE-5032): fix windows node 18.14.0 npm version issue (#3554)
  • 6a6dde1 test(NODE-4894): re-enable kerberos tests on 18 (#3527)
  • b98e928 test(NODE-5022): skip socks5-csfle tests on windows (#3550)
  • 1414393 chore(release): 5.0.0
  • d855cc4 chore(NODE-4983): bump BSON to v5.0.0 (#3548)
  • d5df24f docs(NODE-4900): Cleanup CHANGES_5.0.0.md (#3543)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by nbbeeken, a new releaser for mongodb since your current version.


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)

Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 3.6.3 to 5.0.1.
- [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@v3.6.3...v5.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Feb 12, 2023

The following labels could not be found: dependabot, platform: api.

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Feb 26, 2023

Superseded by #977.

@dependabot dependabot bot closed this Feb 26, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/api-server/mongodb-5.0.1 branch February 26, 2023 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
0 participants