npm mongodb 6.22.0
v6.22.0

latest release: 7.8.0-dev.20261103.sha.e10c7a19
4 hours ago

6.22.0 (2026-11-02)

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

Release Notes

timeoutMS is deprecated and now a no-op

Warning

timeoutMS and timeoutMode are deprecated and have no effect starting in this release. They are still accepted and will not throw, but operations will no longer time out because of them. They are slated for removal in a future release.

Use the per-stage timeouts instead: serverSelectionTimeoutMS, waitQueueTimeoutMS, socketTimeoutMS, and maxTimeMS for server-side execution.

Features

Documentation

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

Don't miss a new mongodb release

NewReleases is sending notifications on new releases.