-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Client Side Encryption
-
None
-
Python Drivers
-
None
-
None
-
None
-
None
-
None
-
None
Context
The ClientEncryption.encrypt docstring documents the text_opts parameter as having been added in 4.9, but it was actually added in 4.15.0.
In pymongo/asynchronous/encryption.py (around line 1062):
.. versionchanged:: 4.9
Added the `text_opts` parameter.
.. versionchanged:: 4.9
Added the `range_opts` parameter.
Both TextOpts and the text_opts parameter were introduced by commit d7316afb ("PYTHON-5328 CRUD Support in Driver for Prefix/Suffix/Substring Indexes", #2521, 2025-09-10).
Definition of done
Change versionchanged to 4.15
Pitfalls
None