Skip to content

Commit f53e9d9

Browse files
feat(NODE-6309): Mark range API as stable (#4190)
1 parent 8bfe187 commit f53e9d9

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

src/client-side-encryption/client_encryption.ts

+3-7
Original file line numberDiff line numberDiff line change
@@ -611,8 +611,6 @@ export class ClientEncryption {
611611
*
612612
* Only supported when queryType is "range" and algorithm is "Range".
613613
*
614-
* @experimental The Range algorithm is experimental only. It is not intended for production use. It is subject to breaking changes.
615-
*
616614
* @param expression - a BSON document of one of the following forms:
617615
* 1. A Match Expression of this form:
618616
* `{$and: [{<field>: {$gt: <value1>}}, {<field>: {$lt: <value2> }}]}`
@@ -769,13 +767,11 @@ export interface ClientEncryptionEncryptOptions {
769767
contentionFactor?: bigint | number;
770768

771769
/**
772-
* The query type supported. Only the queryType `equality` is stable.
773-
*
774-
* @experimental Public Technical Preview: The queryType `rangePreview` is experimental.
770+
* The query type.
775771
*/
776772
queryType?: 'equality' | 'range';
777773

778-
/** @experimental Public Technical Preview: The index options for a Queryable Encryption field supporting "rangePreview" queries.*/
774+
/** The index options for a Queryable Encryption field supporting "range" queries.*/
779775
rangeOptions?: RangeOptions;
780776
}
781777

@@ -963,7 +959,7 @@ export interface ClientEncryptionRewrapManyDataKeyResult {
963959

964960
/**
965961
* @public
966-
* RangeOptions specifies index options for a Queryable Encryption field supporting "rangePreview" queries.
962+
* RangeOptions specifies index options for a Queryable Encryption field supporting "range" queries.
967963
* min, max, sparsity, trimFactor and range must match the values set in the encryptedFields of the destination collection.
968964
* For double and decimal128, min/max/precision must all be set, or all be unset.
969965
*/

test/spec/client-side-encryption/tests/legacy/fle2v2-Rangev2-Compact.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,4 @@ tests:
9191
}
9292
}
9393
encryptionInformation: *encryptionInformation
94-
command_name: compactStructuredEncryptionData
94+
command_name: compactStructuredEncryptionData

0 commit comments

Comments
 (0)