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.1 #53

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

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps bson from 4.0.3 to 4.4.1.

Release notes

Sourced from bson's releases.

v4.4.1

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

Release Highlights

This patch addresses the bugs listed below. Most notably our EJSON API now correctly stringifies Infinity and NaN doubles in relaxed mode. Relaxed mode is intended for human readable JSON while non-relaxed or canonical mode can be used for data serialization since it will preserve the original BSON type. Double check you are using the correct format for your use case.

Bug Fixes

  • NODE-3247: DBRef special handling (#443) (f5d984d)
  • NODE-3282: BSONRegExp options not alphabetized (#441) (18c3512)
  • NODE-3376: use standard JS methods for copying Buffers (#444) (804050d)
  • NODE-3390: serialize non-finite doubles correctly in EJSON (#445) (7eb7998)

Documentation

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

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)

... (truncated)

Changelog

Sourced from bson's changelog.

4.4.1 (2021-07-06)

Bug Fixes

  • NODE-3247: DBRef special handling (#443) (f5d984d)
  • NODE-3282: BSONRegExp options not alphabetized (#441) (18c3512)
  • NODE-3376: use standard JS methods for copying Buffers (#444) (804050d)
  • NODE-3390: serialize non-finite doubles correctly in EJSON (#445) (7eb7998)

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)

... (truncated)

Commits
  • d92de12 chore(release): 4.4.1
  • 7eb7998 fix(NODE-3390): serialize non-finite doubles correctly in EJSON (#445)
  • 804050d fix(NODE-3376): use standard JS methods for copying Buffers (#444)
  • f5d984d fix(NODE-3247): DBRef special handling (#443)
  • f170d44 chore(NODE-3330): add mocha.opts, remove mocharch.json (#442)
  • 18c3512 fix(NODE-3282): BSONRegExp options not alphabetized (#441)
  • 53cf5c6 chore(test): add timeout to older versions test (#438)
  • 485aa3c test: bson corpus spec runner calling wrong fn (#436)
  • fc9fb5d chore(release): 4.4.0
  • 392c1bc feat(NODE-3264): allow Decimal128(string), Long(string), Long(bigint) (#437)
  • 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.1.
- [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.1)

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 Jul 6, 2021
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