Skip to content

Update Rust crate lettre to v0.11.25 - #51

Merged
artidezi-devture[bot] merged 1 commit into
mainfrom
renovate/lettre-0.x-lockfile
Dec 3, 2026
Merged

artidezi-devture[bot] merged 1 commit into
mainfrom
renovate/lettre-0.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
lettre (source) dependencies patch 0.11.24 → 0.11.25

Release Notes

lettre/lettre (lettre)

v0.11.25

Compare Source

Upgrade notes
  • With rustls enabled, Certificate::from_pem fails for a PEM in which rustls finds no certificate. That includes a certificate under the old X509 CERTIFICATE label, which OpenSSL and BoringSSL read and rustls doesn't
  • Messages built with MessageBuilder::body have a MIME-Version: 1.0 header, written after the headers set before the call to body
Bug Fixes
  • Refuse a PEM without certificates in Certificate::from_pem with rustls (83a7425)
  • Write the MIME-Version: 1.0 header in messages built with MessageBuilder::body, as multipart and singlepart already did (414e7af)
  • Fix deserializing an Address from its { user, domain } form with deserializers that can't borrow the strings from their input, like serde_json::from_reader (4fad203)
  • Accept "name": null when deserializing a Mailbox (4fad203)
  • Don't quote the display name of a Mailbox because of the digit 9 (48a79e1)
Misc
  • Avoid reallocations in Message::formatted, SinglePart::formatted and MultiPart::formatted by allocating the exact size up front (#​1189)
  • Fix building the unit tests with smtp-transport and no TLS backend (2d57a25)
  • Document the private key formats that DkimSigningKey::new accepts (d93f9f3)
  • Document when MessageBuilder::body and SinglePartBuilder::body panic (ececa87)
  • Clarify that PoolConfig::max_size limits the idle connections kept in the pool, not the open ones (92c02ae)
  • Document that the password of Credentials is the access token with Mechanism::Xoauth2 (cbbf57e)
  • Document which replies make an SMTP Error transient or permanent (#​940 and c092ce8)
  • Fix html_root_url pointing to the page of the crate on docs.rs instead of the documentation (a7a35cb)
  • Fix inaccuracies and typos throughout the docs, the README and the examples (#​1187)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies label Dec 3, 2026
@renovate
renovate Bot force-pushed the renovate/lettre-0.x-lockfile branch from 97ec6a0 to 38f51df Compare December 3, 2026 00:58

@artidezi-devture artidezi-devture Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved: no adaptation is required under the configured project policy.

Approve PR #51 unchanged. It updates only the locked lettre version and checksum from 0.11.24 to 0.11.25 and merges cleanly into the recorded target. Digest mail uses platform TLS verification and multipart MIME, so the stricter custom PEM parser and the new header on direct message bodies require no migration. Formatting, Clippy, and the Rust and release-script tests passed in just check. The REUSE step scanned generated build output in the temporary export and failed. just reuse-lint passed in a fresh export. No deprecation or retirement in this release requires follow-up.

Agent-assessed risk: Low. The patch leaves the dependency graph and compiler requirements intact, and the SMTP fixture passed for multipart rendering, delivery acceptance, and refusal classification.

Evidence (8 items)
  • Local check: `git merge-base 793ed15169dcb69ab6d72572e78f467e0c5b7536 refs/artidezi/inputs/source-pr`, `git diff 793ed15169dcb69ab6d72572e78f467e0c5b7536...refs/artidezi/inputs/source-pr -- Cargo.lock`, and `git diff --check 793ed15169dcb69ab6d72572e78f467e0c5b7536...refs/artidezi/inputs/source-pr` — The recorded target is the merge base. The PR changes only the lettre version and checksum in Cargo.lock. The whitespace check passed.
  • Local check: `git merge-tree --write-tree 793ed15169dcb69ab6d72572e78f467e0c5b7536 refs/artidezi/inputs/source-pr` — The clean merge produced tree fefcedd731e4e75192be2252875384617a4b75cd, identical to the source tree tested locally.
  • Release notes: source — The release tightens rustls certificate parsing and adds MIME-Version for MessageBuilder::body. A sender display name containing 9 can lose unnecessary quoting. Address and Mailbox deserialization fixes do not affect ArtiDezi, which parses address strings and constructs mailboxes directly.
  • Documentation: crates/orchestrator/src/digests/smtp.rs and crates/config/src/model.rs — SMTP uses the rustls platform verifier and exposes no custom PEM setting. Digests already use multipart/alternative with text and HTML parts.
  • Upstream diff: source — Compared registry metadata and the tagged Cargo.toml files. Dependencies, features, Rust 1.85 MSRV and edition 2024 are unchanged. Version 0.11.25 is published and unyanked. Downloading its crate archive with curl and hashing it with sha256sum matched Cargo.lock.
  • Local check: `just check` — Ran against a temporary export of source head 38f51df. Formatting, Clippy, workspace tests including the loopback SMTP fixture, and release-script tests passed. The command exited 1 in REUSE because the export lacked Git metadata and the scan included the generated target directory. The SMTP fixture does not exercise a live TLS relay.
  • Local check: `just reuse-lint` — Passed in a clean export of the same candidate, with copyright and license metadata for all 227 files.
  • Evidence: Recorded source CI snapshot and Forgejo test scope — The snapshot reports successful amd64 and arm64 Rust, REUSE and dependency license/source checks. just forgejo-test was not run because the patch affects SMTP and does not change Forgejo, forge adapters or an HTTP client.

Assessed source 38f51dfd74b71d6dd719a9e718f7eeb7b6ab1386.

@artidezi-devture
artidezi-devture Bot merged commit 67d47ba into main Dec 3, 2026
5 checks passed
@renovate
renovate Bot deleted the renovate/lettre-0.x-lockfile branch December 3, 2026 01:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants