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.