The MongoDB Node.js team is pleased to announce version 4.6.1 of the bson package!
Release Highlights
This release includes a few fixes to the validation checks in some of our constructors.
Bug Fixes
- NODE-3760: ObjectId.isValid string and byte length match (#475) (187d1c4)
- NODE-3815: update Decimal128 constructor validation (#476) (95e8293)
- NODE-3821: nullish check before using toBSON override function (#477) (1d898b6)
Documentation
- API: https://github.com/mongodb/js-bson#readme
- Changelog: https://github.com/mongodb/js-bson/blob/master/HISTORY.md#change-log
We invite you to try the bson library immediately, and report any issues to the NODE project.