Skip to content

Conversation

baileympearson
Copy link
Contributor

@baileympearson baileympearson commented Jul 25, 2025

Description

What is changing?

Adds support for text queries for QE encrypted fields. Incorporates changes from:

Note that the failing tests on latest servers will be fixed by mongodb/specifications#1827.

Is there new documentation needed for these changes?

What is the motivation for this change?

Release Highlight

Experimental Support for Queryable Encryption Text Field Prefix, Suffix and Substring Queries

Important

Substring, prefix and suffix search are in preview and should be used for experimental workloads only. These features are unstable and their security is not guaranteed until released as Generally Available (GA). The GA version of these features may not be backwards compatible with the preview version.

When using Queryable Encryption with both automatic encryption and explicit encryption, text fields can now be queried using prefix, suffix and substring queries. This feature requires mongodb-client-encryption@>=6.5.0.

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
    • Example: feat(NODE-1234)!: rewriting everything in coffeescript
  • Changes are covered by tests
  • New TODOs have a related JIRA ticket

@baileympearson baileympearson changed the title WIP - FLE substring query support in auto encryption WIP feat(NODE-7059): add support for text queries with queryable encryption Aug 7, 2025
@baileympearson baileympearson changed the title WIP feat(NODE-7059): add support for text queries with queryable encryption WIP feat(NODE-7059, NODE-7008): add support for text queries with queryable encryption Aug 14, 2025
@baileympearson baileympearson changed the title WIP feat(NODE-7059, NODE-7008): add support for text queries with queryable encryption feat(NODE-7059, NODE-7008): add support for text queries with queryable encryption Aug 14, 2025
@baileympearson baileympearson marked this pull request as ready for review August 14, 2025 16:24
@baileympearson baileympearson requested a review from a team as a code owner August 14, 2025 16:24
@baileympearson baileympearson changed the title feat(NODE-7059, NODE-7008): add support for text queries with queryable encryption feat(NODE-7059, NODE-7008): add support for text queries for QE string fields Aug 14, 2025
@durran durran self-assigned this Aug 15, 2025
@durran durran added the Primary Review In Review with primary reviewer, not yet ready for team's eyes label Aug 15, 2025
@durran durran merged commit e4492f3 into mongodb:main Aug 19, 2025
18 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Primary Review In Review with primary reviewer, not yet ready for team's eyes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants