v4.6.5
The MongoDB Node.js team is pleased to announce version 4.6.5 of the bson package!
Release Highlights
Along with some other bug fixes listed below in this release we've fixed the float parser logic for both deserialize and serialize to use JS Dataview APIs. The most delightful part of this change is an improvement to performance of serializing 64-bit floats. 🎉 🐎
- cpu: Apple M1
- cores: 8
- os: darwin
- ram: 16GB
- iterations: 1,000,000
testing: Double Serialization
current - v 4.6.5 - avg 0.00024913ms
previous release - v 4.6.4 - avg 0.00036335ms
previous major - v 1.1.6 - avg 0.00036459ms
Bug Fixes
- NODE-3630: remove float parser and test edge cases for Double (#502) (54ca603)
- NODE-4211: Do not require crypto in browser builds (#500) (b32ab40)
- NODE-4302: remove downlevel ts and typesVersions (#501) (651b60e)
- NODE-4381: handle
__proto__
well in EJSON (#506) (4bda57d)
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.