Skip to content

Releases: mongodb/libmongocrypt

1.8.2 release

05 Sep 14:10
40cc4ee
Compare
Choose a tag to compare

Fixed

  • Fix possible leaks in Queryable Encryption in errors on malformed data.

node-v6.0.0

28 Aug 15:48
8e7f69f
Compare
Choose a tag to compare

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

Release Highlights

In this release we migrated our Node.js bindings from the libmongocrypt repository into the node driver repository. As a result, this package no longer has any stand-alone functionality and is not intended to be consumed in isolation. The public API that exposes the functionality in this library is now available in the mongodb package.

// Old import
import { MongoClient } from 'mongodb';
import { ClientEncryption } from 'mongodb-client-encryption';

const client = new MongoClient(process.env.MONGODB_URI);
const clientEncryption = new ClientEncryption(client, options);

// New import
import { MongoClient, ClientEncryption } from 'mongodb';

const client = new MongoClient(process.env.MONGODB_URI);
const clientEncryption = new ClientEncryption(client, options);

This release is also the first release where we will be tying the major version of this package to that of the driver to make compatibility between the driver and its add-on packages more straightforward to manage. Please refer to the compatibility table in our readme for more information.

Important

The minimum supported Node.js version is now v16.20.1. We strive to keep our minimum supported Node.js version in sync with the runtime's release cadence to keep up with the latest security updates and modern language features.

⚠BREAKING CHANGES

  • feat(NODE-5420)!: remove JS bindings from libmongocrypt (#667)
  • feat(NODE-5417)!: bump minimum Node.js version to v16.20.1 (#670)

Bug Fixes

  • fix(NODE-5516): allow undefined values for optional Uint8Arrays arguments (#683)

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

node-v6.0.0-alpha.3

09 Aug 15:08
0be9ccc
Compare
Choose a tag to compare
node-v6.0.0-alpha.3 Pre-release
Pre-release

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

This is an internal release for testing purposes and is NOT intended for public consumption.

Documentation

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

node-v6.0.0-alpha.2

07 Aug 19:31
f5aafa7
Compare
Choose a tag to compare
node-v6.0.0-alpha.2 Pre-release
Pre-release

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

This is an internal release for testing purposes and is NOT intended for public consumption.

Documentation

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

node-v6.0.0-alpha.1

27 Jul 18:54
bd3454d
Compare
Choose a tag to compare
node-v6.0.0-alpha.1 Pre-release
Pre-release

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

This is an internal release for testing purposes and is NOT intended for public consumption.

Documentation

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

node-v6.0.0-alpha.0

13 Jul 16:22
1e5d422
Compare
Choose a tag to compare
node-v6.0.0-alpha.0 Pre-release
Pre-release

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

This is an internal release for testing purposes and is NOT intended for public consumption.

Documentation

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

node-v2.9.0

12 Jul 18:26
8588825
Compare
Choose a tag to compare

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.

1.8.1 release

24 May 15:59
bb47b60
Compare
Choose a tag to compare
  • Bypass search index management commands in automatic encryption

node-v2.8.0

11 May 19:15
c56c703
Compare
Choose a tag to compare

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

Release Highlights

Breaking Queryable Encryption Protocol Change

This version of mongodb-client-encryption includes libmongocrypt 1.8.0, which contains a breaking change to Queryable Encryption. Version 2.8.0+ of mongodb-client-encryption's implementation of Queryable Encryption will not be compatible with server versions < 7.0. Existing versions of mongodb-client-encryption are unaffected, and all other functionality of mongodb-client-encryption remains compatible with server versions < 7.0.

Documentation

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

1.8.0 release

09 May 13:11
85bc65d
Compare
Choose a tag to compare

This release adds stable support of the Queryable Encryption (QE) feature for the "Indexed" and "Unindexed" algorithms.