yarn mongodb 3.6.1

The MongoDB Node.js team is pleased to announce version 3.6.1 of the driver

Release Highlights


A bug in introducing the new CMAP Connection prevented some users from properly authenticating with the kerberos module.

Index options are not respected with createIndex

The logic for building the createIndex command was changed in v3.6.0 to use an allowlist rather than a blocklist, but omitted a number of index types in that list. This release reintroduces all supported index types to the allowlist.

Remove strict mode for createCollection

Since v3.6.0 createCollection will no longer returned a cached Collection instance if a collection already exists in the database, rather it will return a server error stating that the collection already exists. This is the same behavior provided by the strict option for createCollection, so that option has been removed from documentation.


Reference: http://mongodb.github.io/node-mongodb-native/3.6/
API: http://mongodb.github.io/node-mongodb-native/3.6/api/
Changelog: https://github.com/mongodb/node-mongodb-native/blob/3.6/HISTORY.md

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

Thanks very much to all the community members who contributed to this release!

Release Notes


  • [NODE-2731] - CMAP Connection type does not provide host/port properties

  • [NODE-2755] - "language_override" option support for text index is broken


  • [NODE-2730] - Move MongoAuthProcess into the driver source tree

  • [NODE-2746] - Strict mode for createCollection should be removed

latest releases: 4.0.0-beta.0, 3.6.3, 3.6.2...
4 months ago