Skip to content

chore(NODE-4285): rename csfle shared library references #3280

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 2, 2022

Conversation

addaleax
Copy link
Contributor

@addaleax addaleax commented Jun 1, 2022

Adjust the AutoEncryption typings as indicated in the updated spec.

(Changes to libmongocrypt are in mongodb/libmongocrypt#352)

Description

What is changing?

Is there new documentation needed for these changes?

What is the motivation for this change?

Double check the following

  • Ran npm run check:lint script
  • Self-review completed using the steps outlined here
  • PR title follows the correct format: <type>(NODE-xxxx)<!>: <description>
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

Adjust the AutoEncryption typings as indicated in the
updated spec.
durran
durran previously approved these changes Jun 1, 2022
@durran durran added the Team Review Needs review from team label Jun 1, 2022
Copy link
Contributor

@dariakp dariakp left a comment

Choose a reason for hiding this comment

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

I'd like to have a team discussion about the changes before we merge this

@@ -378,5 +382,5 @@ export interface AutoEncrypter {
teardown(force: boolean, callback: Callback): void;
encrypt(ns: string, cmd: Document, options: any, callback: Callback<Document>): void;
decrypt(cmd: Document, options: any, callback: Callback<Document>): void;
readonly csfleVersionInfo: { version: bigint; versionStr: string } | null;
readonly cryptSharedLibVersionInfo: { version: bigint; versionStr: string } | null;
Copy link
Contributor

Choose a reason for hiding this comment

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

Would we also want to mark this property with a tag?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, that makes sense. I think this is also the only AutoEncrypter property that you might still want to expose as public API in general.

@durran durran merged commit f8e7301 into mongodb:main Jun 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team Review Needs review from team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants