Skip to content

v4.2.1

Compare
Choose a tag to compare
@nbbeeken nbbeeken released this 01 Dec 19:22
e5f0d7c

Deprecated

This version has a critical bug that prevents it from importing correctly. There was an unintended dependcy on tslib published without tslib being specified in our package.json. A workaround is installing tslib manually but we highly recommend users of this version should update to v4.2.2 instead.


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

This patch includes additional 'inspect' methods on each BSON type class that makes printing out values consistent and readable.

Bug

Task

  • NODE-2844 - Add downlevel-dts to our BSON type definitions pipeline
  • NODE-2875 - Add correct inspect methods for BSON Types
  • NODE-2845 - Make Long class alias methods into methods rather than properties

Documentation

We invite you to try the bson library immediately, and report any issues to the NODE project.
Thanks very much to all the community members who contributed to this release!