Skip to content

Commit 753433d

Browse files
authored
PYTHON-5482 Bundle libmongocrypt 1.15.0 (#1044)
1 parent bfc1ebd commit 753433d

File tree

4 files changed

+38
-9
lines changed

4 files changed

+38
-9
lines changed

bindings/python/CHANGELOG.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Changes in Version 1.15.0
66

77
- Add support for Python 3.14.
88
- Drop support for Python 3.8.
9+
- Bundle libmongocrypt 1.15.0 in release wheels.
910

1011
Changes in Version 1.14.1
1112
-------------------------

bindings/python/pymongocrypt/binding.py

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -687,6 +687,7 @@ def _parse_version(version):
687687
/// String constant for setopt_algorithm "Indexed" explicit encryption
688688
/// String constant for setopt_algorithm "Unindexed" explicit encryption
689689
// DEPRECATED: support "RangePreview" has been removed in favor of "range".
690+
/// NOTE: "textPreview" is experimental only and may be removed in a future non-major release.
690691
691692
/**
692693
* Identify the AWS KMS master key to use for creating a data key.
@@ -1466,6 +1467,33 @@ def _parse_version(version):
14661467
*/
14671468
bool mongocrypt_ctx_setopt_algorithm_range(mongocrypt_ctx_t *ctx, mongocrypt_binary_t *opts);
14681469
1470+
/**
1471+
* Set options for explicit encryption with the "textPreview" algorithm.
1472+
*
1473+
* NOTE: "textPreview" is experimental only and may be removed in a future non-major release.
1474+
* @p opts is a BSON document of the form:
1475+
* {
1476+
* "caseSensitive": bool,
1477+
* . "diacriticSensitive": bool,
1478+
* . "prefix": Optional{
1479+
* . "strMaxQueryLength": Int32,
1480+
* . "strMinQueryLength": Int32,
1481+
* . },
1482+
* . "suffix": Optional{
1483+
* . "strMaxQueryLength": Int32,
1484+
* . "strMinQueryLength": Int32,
1485+
* . },
1486+
* . "substring": Optional{
1487+
* . "strMaxLength": Int32,
1488+
* . "strMaxQueryLength": Int32,
1489+
* . "strMinQueryLength": Int32,
1490+
* . },
1491+
* }
1492+
*
1493+
* "prefix" and "suffix" can both be set.
1494+
*/
1495+
bool mongocrypt_ctx_setopt_algorithm_text(mongocrypt_ctx_t *ctx, mongocrypt_binary_t *opts);
1496+
14691497
/**
14701498
* Set the expiration time for the data encryption key cache. Defaults to 60 seconds if not set.
14711499
*

bindings/python/sbom.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
{
22
"components": [
33
{
4-
"bom-ref": "pkg:github/mongodb/libmongocrypt@1.14.1",
4+
"bom-ref": "pkg:github/mongodb/libmongocrypt@1.15.0",
55
"externalReferences": [
66
{
77
"type": "distribution",
8-
"url": "https://github.com/mongodb/libmongocrypt/archive/refs/tags/1.14.1.tar.gz"
8+
"url": "https://github.com/mongodb/libmongocrypt/archive/refs/tags/1.15.0.tar.gz"
99
},
1010
{
1111
"type": "website",
12-
"url": "https://github.com/mongodb/libmongocrypt/tree/1.14.1"
12+
"url": "https://github.com/mongodb/libmongocrypt/tree/1.15.0"
1313
}
1414
],
1515
"group": "mongodb",
1616
"name": "libmongocrypt",
17-
"purl": "pkg:github/mongodb/libmongocrypt@1.14.1",
17+
"purl": "pkg:github/mongodb/libmongocrypt@1.15.0",
1818
"type": "library",
19-
"version": "1.14.1"
19+
"version": "1.15.0"
2020
}
2121
],
2222
"dependencies": [
2323
{
24-
"ref": "pkg:github/mongodb/libmongocrypt@1.14.1"
24+
"ref": "pkg:github/mongodb/libmongocrypt@1.15.0"
2525
}
2626
],
2727
"metadata": {
28-
"timestamp": "2025-06-03T14:42:56.012265+00:00",
28+
"timestamp": "2025-08-05T11:57:35.707043+00:00",
2929
"tools": [
3030
{
3131
"externalReferences": [
@@ -68,7 +68,7 @@
6868
}
6969
]
7070
},
71-
"serialNumber": "urn:uuid:aac36293-a6b5-4db7-b6df-eb8126c70662",
71+
"serialNumber": "urn:uuid:1ab48045-0f56-451d-b67e-1ec3be358fa8",
7272
"version": 1,
7373
"$schema": "http://cyclonedx.org/schema/bom-1.5.schema.json",
7474
"bomFormat": "CycloneDX",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.14.1
1+
1.15.0

0 commit comments

Comments
 (0)