v4.6.2
The MongoDB Node.js team is pleased to announce version 4.6.2 of the bson package!
Release Highlights
This release includes a few fixes to the ObjectId class, including performance improvements in ObjectId.equals
.
Bug Fixes
- MONGOSH-1155: update error message in ObjectId class (#493) (67fbc7c)
- NODE-3015: ObjectId.equals should use Buffer.equals for better performance (#478) (8305bdf)
- NODE-3962: correct type for ObjectiId._bsontype (#480) (9671773)
Documentation
- API: https://github.com/mongodb/js-bson#readme
- Changelog: https://github.com/mongodb/js-bson/blob/main/HISTORY.md#change-log
We invite you to try the bson library immediately, and report any issues to the NODE project.