Skip to content
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.

Bump bson from 4.0.3 to 4.4.0 #47

Closed

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps bson from 4.0.3 to 4.4.0.

Release notes

Sourced from bson's releases.

v4.4.0

The MongoDB Node.js team is pleased to announce version 4.4.0 of the bson module!

Release Highlights

This release of the BSON library brings some additional convenience to our Decimal128 and Long classes. Users can now specify the construction of these types as shown below:

const longFromBigInt = new Long(23n)
const d128FromString = new Decimal128('4.23')

Here is the new API specification:

  • [new] Decimal128(string)
  • [new] Long(string[, unsigned])
  • [new] Long(bigint[, unsigned])

Thanks so much to @​addaleax to contributing a number of the fixes listed below! 🚀

Features

  • NODE-3264: allow Decimal128(string), Long(string), Long(bigint) (#437) (392c1bc)
  • NODE-3226: make circular input errors for EJSON expressive (#433) (7b351cc)

Bug Fixes

  • NODE-3256: make Long inspect result evaluable (3a2eff1)
  • NODE-3153: correctly deserialize __proto__ properties (#431) (f34cabc)
  • NODE-3223, NODE-2963: accept Uint8Array where Buffer is accepted (#432) (4613763)
  • NODE-3208: clean up instanceof usage (9b6d52a)
  • NODE-3195: improve ArrayBuffer brand check in ensureBuffer (#429) (99722f6)

Documentation

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

4.3.0

The MongoDB Node.js team is pleased to announce version 4.3.0 of the bson module!

Release Highlight

UUID Support

With this feature release we are introducing improved support for UUID usage in BSON. UUIDs in BSON are still a subset of Binary so there is a translation that must occur to use UUIDs in BSON documents.

... (truncated)

Changelog

Sourced from bson's changelog.

4.4.0 (2021-05-18)

Features

  • NODE-3264: allow Decimal128(string), Long(string), Long(bigint) (#437) (392c1bc)
  • make circular input errors for EJSON expressive (#433) (7b351cc)

Bug Fixes

  • make Long inspect result evaluable (3a2eff1)
  • NODE-3153: correctly deserialize __proto__ properties (#431) (f34cabc)
  • accept Uint8Array where Buffer is accepted (#432) (4613763)
  • clean up instanceof usage (9b6d52a)
  • improve ArrayBuffer brand check in ensureBuffer (#429) (99722f6)

4.3.0 (2021-04-06)

Features

4.2.3 (2021-03-02)

Bug Fixes

  • allow library to be loaded in web workeds (#423) (023f57e)

  • make inspection result of BSON types evaluable (#416) (616665f)

  • permit BSON types to be created without new (#424) (d2bc284)

4.2.2 (2020-12-01)

Bug Fixes

  • remove tslib usage and fix Long method alias (#415) (2d9a8e6)

4.2.1 (2020-12-01)

Bug Fixes

  • backwards compatibility with older BSON package versions (#411) (5167be2)
  • Downlevel type definitions (#410) (203402f)
  • make inspect method for ObjectId work (#412) (a585a0c)
  • remove stringify overloads (2df6b42)

... (truncated)

Commits
  • fc9fb5d chore(release): 4.4.0
  • 392c1bc feat(NODE-3264): allow Decimal128(string), Long(string), Long(bigint) (#437)
  • 7b351cc feat: make circular input errors for EJSON expressive (#433)
  • 3a2eff1 fix: make Long inspect result evaluable
  • 2aba3c0 Unused variables & initializer removed from ObjectId
  • dcb391a Lazy loading PROCESS_UNIQUE for ObjectId
  • f34cabc fix(NODE-3153): correctly deserialize __proto__ properties (#431)
  • 4613763 fix: accept Uint8Array where Buffer is accepted (#432)
  • 3ffc44f fixup! fix: clean up instanceof usage
  • 9b6d52a fix: clean up instanceof usage
  • 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.


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 use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [bson](https://github.com/mongodb/js-bson) from 4.0.3 to 4.4.0.
- [Release notes](https://github.com/mongodb/js-bson/releases)
- [Changelog](https://github.com/mongodb/js-bson/blob/master/HISTORY.md)
- [Commits](mongodb/js-bson@v4.0.3...v4.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label May 18, 2021
@dependabot-preview
Copy link
Contributor Author

Superseded by #53.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/bson-4.4.0 branch July 6, 2021 22:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants