Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the pinned libmongocrypt version used by this repository’s install/build tooling to 1.20.0, aligning mongodb-client-encryption with the upstream libmongocrypt release that adds stable substring query support.
Changes:
- Bump the
mongodb:libmongocryptversion pin from1.19.2to1.20.0inpackage.json.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
3 tasks
tadjik1
added a commit
to mongodb/node-mongodb-native
that referenced
this pull request
Jul 3, 2026
Promote QE substring string queries from Technical Preview: - add `'substring'` queryType, mark `'substringPreview'` @deprecated - drop @experimental note from StringQueryOptions.substring - bump mongodb-client-encryption to ^7.2.0 for libmongocrypt 1.20.0 - sync DRIVERS-3540 spec tests (specifications#1957): QE-Text-substring unified tests, updated QE-Text-substringPreview, and substring/ substring-preview encryptedFields data - prose test 27 Cases 5-6: run both substring (server 9.0+, libmongocrypt 1.20.0+) and substringPreview (server pre-9.0) variants mongodb-client-encryption 7.2.0 is not yet released (shipped via mongodb-js/mongodb-client-encryption#135); package-lock.json and CI installs will resolve once it is published.
johnmtll
approved these changes
Jul 3, 2026
tadjik1
added a commit
to mongodb/node-mongodb-native
that referenced
this pull request
Jul 6, 2026
Pull mongodb-client-encryption 7.2.0 (libmongocrypt 1.20.0) and apply the substring driver changes: - bump mongodb-client-encryption to ^7.2.0 for libmongocrypt 1.20.0 - add `'substring'` queryType, mark `'substringPreview'` @deprecated - drop @experimental note from StringQueryOptions.substring - sync DRIVERS-3540 spec tests (specifications#1957): QE-Text-substring unified tests, updated QE-Text-substringPreview, and substring/ substring-preview encryptedFields data - prose test 27 Cases 5-6: run both substring (server 9.0+, libmongocrypt 1.20.0+) and substringPreview (server pre-9.0) variants mongodb-client-encryption 7.2.0 is not yet released (bumped in NODE-7653 via mongodb-js/mongodb-client-encryption#135); package-lock.json and CI installs will resolve once it is published.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Summary of Changes
Bump libmongrocrypt to get new stable substring API, more info in the libmongocrypt release page:
https://github.com/mongodb/libmongocrypt/releases/tag/1.20.0
Double check the following
npm run check:lint)type(NODE-xxxx)[!]: descriptionfeat(NODE-1234)!: rewriting everything in coffeescript