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 3.7.3 to 5.1.0 #1301

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps mongodb from 3.7.3 to 5.1.0.

Release notes

Sourced from mongodb's releases.

v5.1.0

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

Release Highlights

Support for JavaScript bigints in the driver

The driver now supports automatic serialization of JavaScript bigints to BSON.Longs. It also supports deserializing of BSON.Long values returned from the server to bigint values when the useBigInt64 flag is passed as true.

import { MongoClient } from 'mongodb';
(async () => {
const client = new MongoClient('<YOUR CONNECTION STRING>');
const db = client.db('test');
const coll = db.collection('bigints');
await coll.insertOne({ a: 10n }); // The driver automatically serializes bigints to BSON.Long before being sent to the server
const docBigInt = await coll.findOne({ a: 10n }, { useBigInt64: true }); // Must provide the useBigInt64 flag to specify that bigints get returned
console.log(docBigInt);
// { _id: ObjectId(...), a: 10n }
const doc = await coll.findOne({ a: 10n }); // Must provide the useBigInt64 flag to specify that bigints get returned
console.log(doc);
// { _id: ObjectId(...), a: 10 }
await client.close();
})()

Features

  • NODE-3445: add support for AssumeRoleWithWebIdentity in aws authentication (#3556) (e8a30b1)
  • NODE-4877: Add support for useBigInt64 (#3519) (917668c)
  • NODE-5050: support GCP automatic credential fetch for CSFLE (#3574) (722a4a6)

Bug Fixes

  • NODE-5044: Write Concern 0 Must Not Affect Read Operations (#3541) (#3575) (10146a4)
  • NODE-5052: prevent cursor and changestream close logic from running more than once (#3562) (71d0d79)
  • NODE-5064: consolidate connection cleanup logic and ensure socket is always closed (#3572) (e544d88)

Documentation

... (truncated)

Changelog

Sourced from mongodb's changelog.

5.1.0 (2023-02-23)

Features

  • NODE-3445: add support for AssumeRoleWithWebIdentity in aws authentication (#3556) (e8a30b1)
  • NODE-4877: Add support for useBigInt64 (#3519) (917668c)
  • NODE-5034: support OIDC auth options (#3557) (20a4fec)
  • NODE-5050: support GCP automatic credential fetch for CSFLE (#3574) (722a4a6)

Bug Fixes

  • NODE-5044: Write Concern 0 Must Not Affect Read Operations (#3541) (#3575) (10146a4)
  • NODE-5052: prevent cursor and changestream close logic from running more than once (#3562) (71d0d79)
  • NODE-5064: consolidate connection cleanup logic and ensure socket is always closed (#3572) (e544d88)

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)

... (truncated)

Commits
  • 687f51a chore(release): 5.1.0
  • 917668c feat(NODE-4877): Add support for useBigInt64 (#3519)
  • 10146a4 fix(NODE-5044): Write Concern 0 Must Not Affect Read Operations (#3541) (#3575)
  • 722a4a6 feat(NODE-5050): support GCP automatic credential fetch for CSFLE (#3574)
  • e544d88 fix(NODE-5064): consolidate connection cleanup logic and ensure socket is alw...
  • 0df03ef test(NODE-5035): skip oidc tests (#3573)
  • 66436e2 docs(NODE-5058): remove internal logo from 404 page and template (#3570)
  • 666f01c refactor(NODE-5063): make DestroyOptions required on connection.destroy (#3568)
  • 9ce0bcc test(NODE-5038): setup OIDC CI environment (#3560)
  • 71d0d79 fix(NODE-5052): prevent cursor and changestream close logic from running more...
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by w-a-james, 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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 27, 2023
Bumps [mongodb](https://github.com/mongodb/node-mongodb-native) from 3.7.3 to 5.1.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@v3.7.3...v5.1.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.1.0 branch from 8379e9a to 6e7e1f1 Compare March 7, 2023 20:50
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.

None yet

0 participants