Skip to content

v5.1.0

Compare
Choose a tag to compare
@W-A-James W-A-James released this 16 Mar 20:10
· 70 commits to main since this release
5d2648e

The MongoDB Node.js team is pleased to announce version 5.1.0 of the bson package!

Release Highlights

EJSON.stringify now supports ES Map!

import { EJSON } from 'bson';

const m = new Map([
  ['a', new Map([['b', 1]])],
  ['b', 2]
]);

console.log(EJSON.stringify(m))
// '{"a":{"b":1},"b":2}'

Features

Documentation

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