npm bson 7.1.0
v7.1.0

latest release: 7.1.1
8 hours ago

7.1.0 (2026-01-16)

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

Release Notes

ByteUtils added as a binary utillity

ByteUtils are now public and provide set of platform-agnostic tools to manipulate binary data (using Buffer in nodejs-compatible environments and fallback to Uint8Array).

Note

This feature is experimental and may change at any time

NumberUtils is now exported in the library

BSON maintains a set of utilities for reading to and from buffers of bytes. This module is now exported from the BSON package.

import { NumberUtils } from 'bson';

Note

NumberUtils is experimental and may change at any time.

ByteUtils and NumberUtils removed from onDemand namespace

The experimental ByteUtils and NumberUtils helpers have been moved from the onDemand namespace to the top-level package export.

Features

Bug Fixes

Documentation

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

Don't miss a new bson release

NewReleases is sending notifications on new releases.