6.8.0 (2024-06-27)
The MongoDB Node.js team is pleased to announce version 6.8.0 of the bson
package!
Release Notes
Add Signature to Github Releases
The Github release for js-bson
now contains a detached signature file for the NPM package (named
bson-X.Y.Z.tgz.sig
), on every major and patch release to 6.x and 5.x. To verify the signature, follow the instructions in the 'Release Integrity' section of the README.md
file.
Optimize performance of Long.fromBigInt
Internally fromBigInt was originally implemented using toString of the bigint value. Now, Long.fromBigInt
has been refactored to use bitwise operations greatly improving performance.
Features
Performance Improvements
Documentation
We invite you to try the bson
library immediately, and report any issues to the NODE project.