The MongoDB Node.js team is pleased to announce version 5.6.0 of the
Node 20 support
The MongoDB Node.js Driver now supports Node.js 20! 🎉
We have added the
Db#runCursorCommand method which can be used to execute generic cursor commands. This API complements the generic
TypeScript support for new time series options
The driver now has TypeScript support for the
bucketRoundingSeconds options which will be available in MongoDB 7.0. You can read more about these options here.
- NODE-5019: add runCursorCommand API (#3655) (4da926e)
- NODE-5071: support additional time series options (#3667) (ccf555d)
- NODE-5249: remove strict flag from create collection options (#3677) (be8faaf)
- NODE-5296: construct error messages for AggregateErrors in Node16+ (#3682) (e03178e)
We invite you to try the
mongodb library immediately, and report any issues to the NODE project.