Skip to content

node-v2.9.0

Compare
Choose a tag to compare
@mongo-node-bot mongo-node-bot released this 12 Jul 18:26
· 264 commits to master since this release
8588825

The MongoDB Node.js team is pleased to announce version 2.9.0 of the mongodb-client-encryption package!

Release Highlights

Deprecations!

This release contains important deprecations in the mongodb-client-encryption library.

Callbacks overloads of async functions are deprecated

In the mongodb@5.0.0 release, we dropped support for callback overloads of our public API. Following the same pattern, all overloads of async functions that take callbacks in mongodb-client-encryption are now deprecated and will be removed in the next major release.

Internal Restructuring

The next major version of mongodb-client-encryption will move most of the internals of this library (and some public APIs) into the mongodb package. Currently, mongodb is required to use the mongodb-client-encryption, so users already have both packages installed when consuming the mongodb-client-encryption package. Existing code will need import paths updated to from mongodb instead of mongodb-client-encryption but other usage should remain unaffected.

Documentation

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