diff --git a/doc/changelog.rst b/doc/changelog.rst index 2ad33e41ec..3c0419f401 100644 --- a/doc/changelog.rst +++ b/doc/changelog.rst @@ -6,7 +6,6 @@ Changes in Version 4.4 - Added support for passing a list containing (key, direction) pairs or keys to :meth:`~pymongo.collection.Collection.create_index`. -- **BETA** Added support for range queries on client side field level encrypted collections. - pymongocrypt 1.5.0 or later is now required for client side field level encryption support. - Improved support for Pyright to improve typing support for IDEs like Visual Studio Code or Visual Studio. diff --git a/pymongo/encryption.py b/pymongo/encryption.py index d94e1969b0..4ad59d436e 100644 --- a/pymongo/encryption.py +++ b/pymongo/encryption.py @@ -799,9 +799,9 @@ def encrypt( when the algorithm is :attr:`Algorithm.INDEXED`. An integer value *must* be given when the :attr:`Algorithm.INDEXED` algorithm is used. - - `range_opts`: **(BETA)** An instance of RangeOpts. + - `range_opts`: Experimental only, not intended for public use. - .. note:: `query_type`, `contention_factor` and `range_opts` are part of the Queryable Encryption beta. + .. note:: `query_type`, and `contention_factor` are part of the Queryable Encryption beta. Backwards-breaking changes may be made before the final release. :Returns: @@ -851,10 +851,7 @@ def encrypt_expression( when the algorithm is :attr:`Algorithm.INDEXED`. An integer value *must* be given when the :attr:`Algorithm.INDEXED` algorithm is used. - - `range_opts`: **(BETA)** An instance of RangeOpts. - - .. note:: Support for range queries is in beta. - Backwards-breaking changes may be made before the final release. + - `range_opts`: Experimental only, not intended for public use. :Returns: The encrypted expression, a :class:`~bson.RawBSONDocument`. diff --git a/pymongo/encryption_options.py b/pymongo/encryption_options.py index 6c966e30cd..d8e9daad1f 100644 --- a/pymongo/encryption_options.py +++ b/pymongo/encryption_options.py @@ -233,8 +233,7 @@ def __init__( ) -> None: """Options to configure encrypted queries using the rangePreview algorithm. - .. note:: Support for Range queries is in beta. - Backwards-breaking changes may be made before the final release. + .. note:: This feature is experimental only, and not intended for public use. :Parameters: - `sparsity`: An integer.