From d05dbf3c0d6e03da8c0b25a6fd0214c1165f9214 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Mon, 12 Aug 2024 13:23:27 -0500 Subject: [PATCH] PYTHON-4604 Bundle libmongocrypt 1.11.0 (#876) * PYTHON-4604 Bundle libmongocrypt 1.11.0 * update release branch * update bindings * fix spelling --- bindings/python/libmongocrypt-version.txt | 2 +- bindings/python/pymongocrypt/binding.py | 6 ------ bindings/python/release.sh | 2 +- bindings/python/sbom.json | 19 ++++++++++--------- 4 files changed, 12 insertions(+), 17 deletions(-) diff --git a/bindings/python/libmongocrypt-version.txt b/bindings/python/libmongocrypt-version.txt index 4dae2985b..1cac385c6 100644 --- a/bindings/python/libmongocrypt-version.txt +++ b/bindings/python/libmongocrypt-version.txt @@ -1 +1 @@ -1.10.1 +1.11.0 diff --git a/bindings/python/pymongocrypt/binding.py b/bindings/python/pymongocrypt/binding.py index 5394e2a5e..d43ca97b8 100644 --- a/bindings/python/pymongocrypt/binding.py +++ b/bindings/python/pymongocrypt/binding.py @@ -665,7 +665,6 @@ 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: "Range" is currently unstable API and subject to backwards breaking changes. /** * Identify the AWS KMS master key to use for creating a data key. @@ -849,8 +848,6 @@ def _parse_version(version): * Contexts created for explicit encryption will not go through mongocryptd. * Requires query_type to be "range". * - * NOTE: "range" is currently unstable API and subject to backwards breaking changes. - * * This method expects the passed-in BSON to be of the form: * { "v" : FLE2RangeFindDriverSpec } * @@ -1360,7 +1357,6 @@ def _parse_version(version): /** * DEPRECATED: Use of `mongocrypt_setopt_use_range_v2` is deprecated. Range V2 is always enabled. - * NOTE: "range" is currently unstable API and subject to backwards breaking changes. * * @param[in] crypt The @ref mongocrypt_t object. * @@ -1412,7 +1408,6 @@ def _parse_version(version): /** * Set options for explicit encryption with the "range" algorithm. - * NOTE: "range" is currently unstable API and subject to backwards breaking changes. * * @p opts is a BSON document of the form: * { @@ -1433,7 +1428,6 @@ def _parse_version(version): /// String constants for setopt_query_type // DEPRECATED: Support "rangePreview" has been removed in favor of "range". -/// NOTE: "range" is currently unstable API and subject to backwards breaking changes. """ ) diff --git a/bindings/python/release.sh b/bindings/python/release.sh index 2b67658bb..5ddb51e76 100755 --- a/bindings/python/release.sh +++ b/bindings/python/release.sh @@ -19,7 +19,7 @@ set -o errexit # Exit the script with error if any of the commands fail LIBMONGOCRYPT_VERSION=$(cat ./libmongocrypt-version.txt) REVISION=$(git rev-list -n 1 $LIBMONGOCRYPT_VERSION) # The libmongocrypt release branch. -BRANCH="r1.10" +BRANCH="r1.11" # The python executable to use. PYTHON=${PYTHON:-python} diff --git a/bindings/python/sbom.json b/bindings/python/sbom.json index 605d4ff9f..c290a9e33 100644 --- a/bindings/python/sbom.json +++ b/bindings/python/sbom.json @@ -1,31 +1,31 @@ { "components": [ { - "bom-ref": "pkg:github/mongodb/libmongocrypt@1.10.1", + "bom-ref": "pkg:github/mongodb/libmongocrypt@1.11.0", "externalReferences": [ { "type": "distribution", - "url": "https://github.com/mongodb/libmongocrypt/archive/refs/tags/1.10.1.tar.gz" + "url": "https://github.com/mongodb/libmongocrypt/archive/refs/tags/1.11.0.tar.gz" }, { "type": "website", - "url": "https://github.com/mongodb/libmongocrypt/tree/1.10.1" + "url": "https://github.com/mongodb/libmongocrypt/tree/1.11.0" } ], "group": "mongodb", "name": "libmongocrypt", - "purl": "pkg:github/mongodb/libmongocrypt@1.10.1", + "purl": "pkg:github/mongodb/libmongocrypt@1.11.0", "type": "library", - "version": "1.10.1" + "version": "1.11.0" } ], "dependencies": [ { - "ref": "pkg:github/mongodb/libmongocrypt@1.10.1" + "ref": "pkg:github/mongodb/libmongocrypt@1.11.0" } ], "metadata": { - "timestamp": "2024-06-28T19:11:17.100829+00:00", + "timestamp": "2024-08-08T02:35:36.986098+00:00", "tools": [ { "externalReferences": [ @@ -68,9 +68,10 @@ } ] }, - "serialNumber": "urn:uuid:b09e93cf-eb1b-4d38-add5-86b01139769f", + "serialNumber": "urn:uuid:14e22848-7554-4f82-bcd1-76d2891b4c66", "version": 1, "$schema": "http://cyclonedx.org/schema/bom-1.5.schema.json", "bomFormat": "CycloneDX", - "specVersion": "1.5" + "specVersion": "1.5", + "vulnerabilities": [] }