Skip to content


Choose a tag to compare
@W-A-James W-A-James released this 01 Jun 17:30
· 132 commits to main since this release

The MongoDB Node.js team is pleased to announce version 5.6.0 of the mongodb package!

Release Highlights

Node 20 support

The MongoDB Node.js Driver now supports Node.js 20! 🎉

runCursorCommand API

We have added the Db#runCursorCommand method which can be used to execute generic cursor commands. This API complements the generic Db#command method.

TypeScript support for new time series options

The driver now has TypeScript support for the bucketMaxSpanSeconds and bucketRoundingSeconds options which will be available in MongoDB 7.0. You can read more about these options here.


Bug Fixes


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