Skip to content

PYTHON-6165 Bundle libmongocrypt 1.21.0 - #1245

Merged
blink1073 merged 5 commits into
mongodb:masterfrom
blink1073:PYTHON-6165
Oct 14, 2026
Merged

blink1073 merged 5 commits into
mongodb:masterfrom
blink1073:PYTHON-6165

Conversation

@blink1073

@blink1073 blink1073 commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

PYTHON-6165

Summary

Bundles libmongocrypt 1.21.0 in the release wheels. The pymongocrypt package version is unchanged.

Changes

  • Bundle libmongocrypt 1.21.0 in the release wheels, with the version file and SBOM both referencing 1.21.0.
  • Add the 1.21.0 changelog entry, noting the removal of the deprecated preview query types.

Breaking changes

The deprecated "prefixPreview", "suffixPreview", and "substringPreview" query types now raise errors. Use "prefix", "suffix", and "substring".

Testing

  • Ran the pymongocrypt test suite against a locally built libmongocrypt 1.21.0: 58 passed, 2 skipped (both require crypt_shared).
  • Confirmed the SBOM consistency check passes.
  • Confirmed the generated binding matches this checkout's mongocrypt.h.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

All reviewed changes are consistent and no unresolved blocking issues were identified.

0 open findings

What changed in this PR

Updates Python release metadata to bundle libmongocrypt 1.21.0 and documents removed preview query types.

Changes:

  • Updates the bundled library version and SBOM references.
  • Adds the 1.21.0 changelog entry.
File Description
bindings/​python/​scripts/​libmongocrypt-version.txt Sets the bundled version to 1.21.0.
bindings/​python/​sbom.json Updates libmongocrypt SBOM references.
bindings/​python/​CHANGELOG.rst Documents the bundle update and removed query types.

🧠 Review effort: Lite


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@blink1073
blink1073 marked this pull request as ready for review October 14, 2026 19:22
@blink1073
blink1073 requested a review from a team as a code owner October 14, 2026 19:22
@blink1073
blink1073 requested a review from sleepyStick October 14, 2026 19:22
@blink1073
blink1073 merged commit 36ce2c3 into mongodb:master Oct 14, 2026
64 checks passed
@blink1073
blink1073 deleted the PYTHON-6165 branch October 14, 2026 21:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants