Skip to content

Bump bson and mongodb#27

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/bson-and-mongodb-5.2.0
Open

Bump bson and mongodb#27
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/bson-and-mongodb-5.2.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 19, 2023

Bumps bson to 5.2.0 and updates ancestor dependency mongodb. These dependencies need to be updated together.

Updates bson from 1.0.9 to 5.2.0

Release notes

Sourced from bson's releases.

v5.2.0

The MongoDB Node.js team is pleased to announce version 5.2.0 of the bson package!

Release Highlights

With this release we've added APIs to create BSON Binary / UUID / ObjectId types from hex and base64 strings.

class ObjectId {
  static createFromHexString(hex: string): ObjectId;
  static createFromBase64(base64: string): ObjectId;
}
class Binary {
static createFromHexString(hex: string, subType? number): Binary;
static createFromBase64(base64: string, subType? number): Binary;
}
class UUID extends Binary {
static override createFromHexString(hex: string): UUID;
static override createFromBase64(base64: string): UUID;
}

Features

  • NODE-4855: add hex and base64 ctor methods to Binary and ObjectId (#569) (0d49a63)

Documentation

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

v5.1.0

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

Release Highlights

EJSON.stringify now supports ES Map!

import { EJSON } from 'bson';
const m = new Map([
['a', new Map([['b', 1]])],
['b', 2]
]);
console.log(EJSON.stringify(m))
</tr></table>

... (truncated)

Changelog

Sourced from bson's changelog.

5.2.0 (2023-04-04)

Features

  • NODE-4855: add hex and base64 ctor methods to Binary and ObjectId (#569) (0d49a63)

5.1.0 (2023-03-16)

Features

  • NODE-4789: support Map stringification in EJSON (#567) (c70c82d)

5.0.1 (2023-02-16)

Bug Fixes

  • NODE-5025: no type definitions for es module (#563) (50e90fc)
  • NODE-5048: webpack unable to bundle import with leading 'node:' (#564) (3aed24a)
  • NODE-5056: EJSON.parse date handling when useBigInt64=true (#562) (d5088af)

5.0.0 (2023-01-31)

5.0.0-alpha.3 (2023-01-20)

⚠ BREAKING CHANGES

  • NODE-4892: error on bson types not from this version (#543)
  • NODE-4890: make all thrown errors into BSONErrors (#545)
  • NODE-4713: modernize bundling (#534)
  • NODE-1921: validate serializer root input (#537)
  • NODE-4711: remove evalFunctions option (#539)

Features

  • NODE-1921: validate serializer root input (#537) (95d5edf)
  • NODE-4711: remove evalFunctions option (#539) (0427eb5)
  • NODE-4713: modernize bundling (#534) (28ce4d5)
  • NODE-4870: Support BigInt serialization (#541) (e9e40a2)
  • NODE-4871: Add support for int64 deserialization to BigInt (#542) (9ff60ba)
  • NODE-4873: support EJSON stringify from BigInt to $numberLong (#547) (37e8690)
  • NODE-4874: support EJSON parse for BigInt from $numberLong (#552) (854aa70)
  • NODE-4890: make all thrown errors into BSONErrors (#545) (5b837a9)
  • NODE-4892: error on bson types not from this version (#543) (d9f0eaa)
  • NODE-4927: exports in package.json for react native and document how to polyfill for BSON (#550) (3b4b61e)

... (truncated)

Commits
  • 91b84ed chore(release): 5.2.0
  • 0d49a63 feat(NODE-4855): add hex and base64 ctor methods to Binary and ObjectId (#569)
  • 5d2648e chore(release): 5.1.0
  • c70c82d feat(NODE-4789): support Map stringification in EJSON (#567)
  • 24c6a9c ci(NODE-5087): download node to local directory (#566)
  • 800f7cd docs(NODE-5080): add a note about class syntax (#565)
  • b6a15b5 chore(release): 5.0.1
  • 3aed24a fix(NODE-5048): webpack unable to bundle import with leading 'node:' (#564)
  • 50e90fc fix(NODE-5025): no type definitions for es module (#563)
  • d5088af fix(NODE-5056): EJSON.parse date handling when useBigInt64=true (#562)
  • Additional commits viewable in compare view
Maintainer changes

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


Updates mongodb from 2.2.31 to 5.3.0

Release notes

Sourced from mongodb's releases.

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

  • 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)

Documentation

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

v5.2.0

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

Release Highlights

This release includes driver support for automatically obtaining Azure credentials when using automatic client side encryption. You can find a tutorial for using Azure and automatic encryption here: Use Automatic Queryable Encryption with Azure

Additionally, we have a number of minor bug fixes listed below.

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

Features

  • NODE-5077: automatic Azure kms credential refresh (#3599) (8e87e5c)

Bug Fixes

  • NODE-3998: metadata duplication in handshake (#3615) (6d894d6)
  • NODE-4518: error message with invalid authMechanism is provided (#3597) (1a16b7e)

... (truncated)

Changelog

Sourced from mongodb's changelog.

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)
  • NODE-4518: error message with invalid authMechanism is provided (#undefined) (1a16b7e)
  • NODE-4854: set timeout on write and reset on message (#3582) (4a7b5ec)
  • NODE-5106: prevent multiple mongo client connect()s from leaking topology (#3596) (eb836bb)
  • NODE-5126: find operations fail when passed an ObjectId as filter (#3604) (2647b61)

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

... (truncated)

Commits
  • 6506aed chore(release): 5.3.0
  • e7f6e4e fix(NODE-5201): prevent warning when default value for deprecation option is ...
  • aa4f5c0 chore(NODE-5133): remove broken filter as binary from find operation (#3641)
  • d502eb0 feat(NODE-5169): Implement emergency logger (#3610)
  • 2a26de3 feat(NODE-5188): add alternative runtime detection to client metadata (#3636)
  • cc7c75a feat(NODE-5189): deprecate tcp keepalive options (#3621)
  • 4b5be21 fix(NODE-5171): allow upsertedId to be null in UpdateResult (#3631)
  • b439893 test(NODE-5183): Clean up Azure resources on task failure (#3632)
  • 0424080 feat(NODE-4696): add FaaS env information to client metadata (#3626)
  • ad15881 fix(NODE-5042): relax SRV record validation to account for a dot suffix (#3633)
  • 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 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [bson](https://github.com/mongodb/js-bson) to 5.2.0 and updates ancestor dependency [mongodb](https://github.com/mongodb/node-mongodb-native). These dependencies need to be updated together.


Updates `bson` from 1.0.9 to 5.2.0
- [Release notes](https://github.com/mongodb/js-bson/releases)
- [Changelog](https://github.com/mongodb/js-bson/blob/main/HISTORY.md)
- [Commits](mongodb/js-bson@v1.0.9...v5.2.0)

Updates `mongodb` from 2.2.31 to 5.3.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@v2.2.31...v5.3.0)

---
updated-dependencies:
- dependency-name: bson
  dependency-type: indirect
- dependency-name: mongodb
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Apr 19, 2023
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