Skip to content

Bump bson from 6.10.4 to 7.2.0#5747

Open
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/npm_and_yarn/develop/bson-7.2.0
Open

Bump bson from 6.10.4 to 7.2.0#5747
dependabot[bot] wants to merge 1 commit intodevelopfrom
dependabot/npm_and_yarn/develop/bson-7.2.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Feb 23, 2026

Bumps bson from 6.10.4 to 7.2.0.

Release notes

Sourced from bson's releases.

v7.2.0

7.2.0 (2026-01-29)

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

Release Notes

EJSON now supports ignoreUndefined

serialize supports an option, ignoreUndefined, which instructs the serializer to skip any keys whose values are undefined.

This option has been added to EJSON:

> EJSON.stringify({ a: undefined }, { ignoreUndefined: true });
'{}'
> EJSON.stringify({ a: undefined }, { ignoreUndefined: false });
'{"a":null}'
> EJSON.serialize({ a: undefined }, { ignoreUndefined: true });
{}
> EJSON.serialize({ a: undefined }, { ignoreUndefined: false });
{ a: null }

This option defaults to false.

Buffer.copy() now present in ByteUtils

ByteUtils now contains a copy() method, we behaves identically to Nodejs' Buffer.copy() method.

Features

  • NODE-7328: Add ignoreUndefined option to EJSON APIs (#853) (5cf00c2)
  • NODE-7414: add copy method to ByteUtils (#867) (ffa77c6)

Documentation

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

v7.1.1

7.1.1 (2026-01-17)

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

Release Notes

... (truncated)

Changelog

Sourced from bson's changelog.

7.2.0 (2026-01-29)

Features

  • NODE-7328: Add ignoreUndefined option to EJSON APIs (#853) (5cf00c2)

Bug Fixes

  • NODE-7414: add copy method to ByteUtils (#867) (ffa77c6)

7.1.1 (2026-01-17)

Bug Fixes

  • NODE-7399: revert bson PR 859 / NODE-7334 (#861) (6511e0d)

7.1.0 (2026-01-16)

Features

  • NODE-7314: export byteUtils & add missing methods (#852) (a31c90e)
  • NODE-7316: export number utils (#850) (a23e788)
  • NODE-7334: remove ByteUtils and NumberUtils from the onDemand ns (#859) (92bbc34)

Bug Fixes

  • NODE-7397: Use type predicate for isUint8Array (#860) (89b3a2b)

7.0.0 (2025-11-05)

Miscellaneous Chores

7.0.0-alpha.2 (2025-10-24)

Bug Fixes

  • NODE-7271: revert private property usage in ObjectId (#835) (79faf75)

7.0.0-alpha.1 (2025-10-21)

... (truncated)

Commits
  • 0712bb1 chore(main): release 7.2.0 (#866)
  • ffa77c6 fix(NODE-7414): add copy method to ByteUtils (#867)
  • 5cf00c2 feat(NODE-7328): Add ignoreUndefined option to EJSON APIs (#853)
  • 51f86bc chore(main): release 7.1.1 (#862)
  • 6511e0d fix(NODE-7399): revert bson PR 859 / NODE-7334 (#861)
  • 4375ec6 chore(main): release 7.1.0 (#851)
  • 89b3a2b fix(NODE-7397): Use type predicate for isUint8Array (#860)
  • 92bbc34 feat(NODE-7334): remove ByteUtils and NumberUtils from the onDemand ns (#859)
  • a31c90e feat(NODE-7314): export byteUtils & add missing methods (#852)
  • a23e788 feat(NODE-7316): export number utils (#850)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [bson](https://github.com/mongodb/js-bson) from 6.10.4 to 7.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@v6.10.4...v7.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Feb 23, 2026
@dependabot dependabot Bot requested review from a team as code owners February 23, 2026 08:41
@dependabot dependabot Bot requested review from andrewb1269 and kpachhai February 23, 2026 08:41
@Pyatakov Pyatakov deleted the branch develop April 24, 2026 14:49
@Pyatakov Pyatakov closed this Apr 24, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 24, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/develop/bson-7.2.0 branch April 24, 2026 14:50
@Pyatakov Pyatakov restored the dependabot/npm_and_yarn/develop/bson-7.2.0 branch April 24, 2026 16:01
@Pyatakov Pyatakov reopened this Apr 24, 2026
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 javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant