Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Rust crate lettre to 0.10.0 #58

Merged
merged 1 commit into from
Jul 1, 2022
Merged

Update Rust crate lettre to 0.10.0 #58

merged 1 commit into from
Jul 1, 2022

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 29, 2022

Mend Renovate

This PR contains the following updates:

Package Type Update Change
lettre (source) dependencies patch 0.10.0-rc.7 -> 0.10.0

Release Notes

lettre/lettre

v0.10.0

Compare Source

Upgrade notes

Several breaking changes were made between 0.9 and 0.10, but changes should be straightforward:

  • MSRV is now 1.56.0
  • The lettre_email crate has been merged into lettre. To migrate, replace lettre_email with lettre::message
    and make sure to enable the builder feature (it's enabled by default).
  • SendableEmail has been renamed to Email and EmailBuilder::build() produces it directly. To migrate,
    rename SendableEmail to Email.
  • The serde-impls feature has been renamed to serde. To migrate, rename the feature.
Features
  • Add tokio 1 support
  • Add rustls support
  • Add async-std support. NOTE: native-tls isn't supported when using async-std for the smtp transport.
  • Allow enabling multiple SMTP authentication mechanisms
  • Allow providing a custom message id
  • Allow sending raw emails
Breaking Changes
  • Merge lettre_email into lettre
  • Merge Email and SendableEmail into lettre::message::Email
  • SmtpTransport is now an high level SMTP client. It provides connection pooling and shortcuts for building clients using commonly desired values
  • Refactor TlsParameters implementation to not expose the internal TLS library
  • FileTransport writes emails into .eml instead of .json
  • When the hostname feature is disabled or hostname cannot be fetched, 127.0.0.1 is used instead of localhost as EHLO parameter (for better RFC compliance and mail server compatibility)
  • The sendmail and file transports aren't enabled by default anymore.
  • The new method of ClientId is deprecated
  • Rename serde-impls feature to serde
  • The SendmailTransport now uses the sendmail command in current PATH by default instead of
    /usr/bin/sendmail.
Bug Fixes
  • Fix argument injection in SendmailTransport (see RUSTSEC-2020-0069)
  • Correctly encode header values containing non-ASCII characters
  • Timeout bug causing infinite hang
  • Fix doc tests in website
  • Fix docs for domain field
Misc
  • Improve documentation, examples and tests
  • Replace line-wrap, email, bufstream with our own implementations
  • Remove bytes
  • Remove time
  • Remove fast_chemail
  • Update base64 to 0.13
  • Update hostname to 0.3
  • Update to nom 6
  • Replace log with tracing
  • Move CI to Github Actions
  • Use criterion for benchmarks

Configuration

📅 Schedule: 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 becomes conflicted, 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, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.

@zdz zdz merged commit 9a2fe37 into master Jul 1, 2022
@renovate renovate bot deleted the renovate/lettre-0.x branch July 1, 2022 14:45
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.

1 participant