Skip to content

Conversation

@dphrag
Copy link
Contributor

@dphrag dphrag commented Feb 25, 2025

Summary

As of version 6 of the mongodb driver, all useful public ClientEncryption APIs formerly exposed from mongodb-client-encryption have been moved into the driver and should now be imported directly from the driver.

Added keyAltNames as an example as it is useful for doing key lookups.

Examples

None

As of version 6 of the mongodb driver, ClientEncryption all useful public APIs formerly exposed from mongodb-client-encryption have been moved into the driver and should now be imported directly from the driver.

Added keyAltNames as an example as it is useful for doing key lookups.
@hasezoey hasezoey added the docs This issue is due to a mistake or omission in the mongoosejs.com documentation label Feb 26, 2025
Copy link
Collaborator

@hasezoey hasezoey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, reference

```javascript
const { ClientEncryption } = require('mongodb-client-encryption');
const { ClientEncryption } = require('mongodb');
// const { ClientEncryption } = require('mongodb-client-encryption'); As of version 6, ClientEncryption is moved to main mongodb driver.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will remove this commented out code, but otherwise LGTM

@vkarpov15 vkarpov15 added this to the 8.12 milestone Mar 3, 2025
@vkarpov15 vkarpov15 merged commit 64b27bc into Automattic:master Mar 3, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs This issue is due to a mistake or omission in the mongoosejs.com documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants