Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ PyMongo 4.19 brings a number of changes including:
- Added support for Python 3.15.
- Dropped support for Python 3.9 and 3.10.
- Removed support for PyPy.
- Removed the deprecated ``Algorithm.RANGEPREVIEW`` and
``QueryType.RANGEPREVIEW`` members (`PYTHON-6009`_).
- Added support for running the synchronous and asynchronous clients in
subinterpreters, including inside
``concurrent.futures.InterpreterPoolExecutor`` (Python 3.14+). Only in
Expand Down Expand Up @@ -78,6 +80,7 @@ Bug fixes
.. _PYTHON-6040: https://jira.mongodb.org/browse/PYTHON-6040
.. _PYTHON-6111: https://jira.mongodb.org/browse/PYTHON-6111
.. _PYTHON-6163: https://jira.mongodb.org/browse/PYTHON-6163
.. _PYTHON-6009: https://jira.mongodb.org/browse/PYTHON-6009

Changes in Version 4.18.2 (2026/09/24)
--------------------------------------
Expand Down
15 changes: 0 additions & 15 deletions pymongo/encryption_shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,6 @@ class Algorithm(str, enum.Enum):

.. versionadded:: 4.9
"""
RANGEPREVIEW = "RangePreview"
"""**DEPRECATED** - RangePreview.

.. note:: Support for RangePreview is deprecated. Use :attr:`Algorithm.RANGE` instead.

.. versionadded:: 4.4
"""
STRING = "String"
"""String.

Expand Down Expand Up @@ -126,14 +119,6 @@ class QueryType(str, enum.Enum):
.. versionadded:: 4.9
"""

RANGEPREVIEW = "RangePreview"
"""**DEPRECATED** - Used to encrypt a value for a rangePreview query.

.. note:: Support for RangePreview is deprecated. Use :attr:`QueryType.RANGE` instead.

.. versionadded:: 4.4
"""

PREFIX = "prefix"
"""Used to encrypt a value for a prefix query.

Expand Down
Loading