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
1 change: 1 addition & 0 deletions bindings/python/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Changes in Version 1.15.0

- Add support for Python 3.14.
- Drop support for Python 3.8.
- Bundle libmongocrypt 1.15.0 in release wheels.

Changes in Version 1.14.1
-------------------------
Expand Down
28 changes: 28 additions & 0 deletions bindings/python/pymongocrypt/binding.py
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,7 @@ def _parse_version(version):
/// String constant for setopt_algorithm "Indexed" explicit encryption
/// String constant for setopt_algorithm "Unindexed" explicit encryption
// DEPRECATED: support "RangePreview" has been removed in favor of "range".
/// NOTE: "textPreview" is experimental only and may be removed in a future non-major release.

/**
* Identify the AWS KMS master key to use for creating a data key.
Expand Down Expand Up @@ -1466,6 +1467,33 @@ def _parse_version(version):
*/
bool mongocrypt_ctx_setopt_algorithm_range(mongocrypt_ctx_t *ctx, mongocrypt_binary_t *opts);

/**
* Set options for explicit encryption with the "textPreview" algorithm.
*
* NOTE: "textPreview" is experimental only and may be removed in a future non-major release.
* @p opts is a BSON document of the form:
* {
* "caseSensitive": bool,
* . "diacriticSensitive": bool,
* . "prefix": Optional{
* . "strMaxQueryLength": Int32,
* . "strMinQueryLength": Int32,
* . },
* . "suffix": Optional{
* . "strMaxQueryLength": Int32,
* . "strMinQueryLength": Int32,
* . },
* . "substring": Optional{
* . "strMaxLength": Int32,
* . "strMaxQueryLength": Int32,
* . "strMinQueryLength": Int32,
* . },
* }
*
* "prefix" and "suffix" can both be set.
*/
bool mongocrypt_ctx_setopt_algorithm_text(mongocrypt_ctx_t *ctx, mongocrypt_binary_t *opts);

/**
* Set the expiration time for the data encryption key cache. Defaults to 60 seconds if not set.
*
Expand Down
16 changes: 8 additions & 8 deletions bindings/python/sbom.json
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
{
"components": [
{
"bom-ref": "pkg:github/mongodb/libmongocrypt@1.14.1",
"bom-ref": "pkg:github/mongodb/libmongocrypt@1.15.0",
"externalReferences": [
{
"type": "distribution",
"url": "https://github.com/mongodb/libmongocrypt/archive/refs/tags/1.14.1.tar.gz"
"url": "https://github.com/mongodb/libmongocrypt/archive/refs/tags/1.15.0.tar.gz"
},
{
"type": "website",
"url": "https://github.com/mongodb/libmongocrypt/tree/1.14.1"
"url": "https://github.com/mongodb/libmongocrypt/tree/1.15.0"
}
],
"group": "mongodb",
"name": "libmongocrypt",
"purl": "pkg:github/mongodb/libmongocrypt@1.14.1",
"purl": "pkg:github/mongodb/libmongocrypt@1.15.0",
"type": "library",
"version": "1.14.1"
"version": "1.15.0"
}
],
"dependencies": [
{
"ref": "pkg:github/mongodb/libmongocrypt@1.14.1"
"ref": "pkg:github/mongodb/libmongocrypt@1.15.0"
}
],
"metadata": {
"timestamp": "2025-06-03T14:42:56.012265+00:00",
"timestamp": "2025-08-05T11:57:35.707043+00:00",
"tools": [
{
"externalReferences": [
Expand Down Expand Up @@ -68,7 +68,7 @@
}
]
},
"serialNumber": "urn:uuid:aac36293-a6b5-4db7-b6df-eb8126c70662",
"serialNumber": "urn:uuid:1ab48045-0f56-451d-b67e-1ec3be358fa8",
"version": 1,
"$schema": "http://cyclonedx.org/schema/bom-1.5.schema.json",
"bomFormat": "CycloneDX",
Expand Down
2 changes: 1 addition & 1 deletion bindings/python/scripts/libmongocrypt-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.14.1
1.15.0
Loading