Skip to content

v4.4.0

Compare
Choose a tag to compare
@nbbeeken nbbeeken released this 18 May 19:56
fc9fb5d

The MongoDB Node.js team is pleased to announce version 4.4.0 of the bson module!

Release Highlights

This release of the BSON library brings some additional convenience to our Decimal128 and Long classes.
Users can now specify the construction of these types as shown below:

const longFromBigInt = new Long(23n)
const d128FromString = new Decimal128('4.23')

Here is the new API specification:

  • [new] Decimal128(string)
  • [new] Long(string[, unsigned])
  • [new] Long(bigint[, unsigned])

Thanks so much to @addaleax to contributing a number of the fixes listed below! 🚀

Features

Bug Fixes

Documentation

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