Skip to content

Commit

Permalink
Range is no longer experimental
Browse files Browse the repository at this point in the history
  • Loading branch information
adriandole committed May 31, 2024
1 parent 5106ee6 commit cb62fe0
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions source/client-side-encryption/client-side-encryption.md
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,6 @@ class ClientEncryption {
// {$and: [{$gt: [<fieldpath>, <value1>]}, {$lt: [<fieldpath>, <value2>]}]
// $gt may also be $gte. $lt may also be $lte.
// Only supported when queryType is "range" and algorithm is "Range".
// NOTE: The Range algorithm is experimental only. It is not intended for public use. It is subject to breaking changes.
encryptExpression(expr: Document, opts: EncryptOpts): Document;

// Decrypts an encrypted value (BSON binary of subtype 6).
Expand Down Expand Up @@ -1211,17 +1210,11 @@ insert or query. Drivers MUST document the following behavior:
> `AutoEncryptionOpts`. `AutoEncryptionOpts.bypassQueryAnalysis` may be true. `AutoEncryptionOpts.bypassAutoEncryption`
> must be false.

> [!NOTE]
> The Range algorithm is experimental only. It is not intended for public use. It is subject to breaking changes.

#### contentionFactor

contentionFactor only applies when algorithm is "Indexed" or "Range". It is an error to set contentionFactor when
algorithm is not "Indexed" or "Range".

> [!NOTE]
> The Range algorithm is experimental only. It is not intended for public use. It is subject to breaking changes.

#### queryType

One of the strings:
Expand All @@ -1232,17 +1225,11 @@ One of the strings:
queryType only applies when algorithm is "Indexed" or "Range". It is an error to set queryType when algorithm is
not "Indexed" or "Range".

> [!NOTE]
> The Range algorithm is experimental only. It is not intended for public use. It is subject to breaking changes.

#### rangeOpts

rangeOpts only applies when algorithm is "range". It is an error to set rangeOpts when algorithm is not
"range".

> [!NOTE]
> The Range algorithm is experimental only. It is not intended for public use. It is subject to breaking changes.

## User facing API: When Auto Encryption Fails

Auto encryption requires parsing the MongoDB query language client side (with the [mongocryptd](#mongocryptd) process or
Expand Down Expand Up @@ -2389,6 +2376,8 @@ explicit session parameter as described in the [Drivers Sessions Specification](

## Changelog

- 2024-05-31: Replace rangePreview with range.

- 2024-03-20: Add `delegated` option to "kmip" KMS provider

- 2024-02-27: Migrated from reStructuredText to Markdown.
Expand Down

0 comments on commit cb62fe0

Please sign in to comment.