Update Rust crate lettre to 0.10.2
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
lettre (source) | dependencies | patch |
0.10.0-rc.4 -> 0.10.2
|
Release Notes
lettre/lettre
v0.10.2
Upgrade notes
- MSRV is now 1.60 (#828)
Features
- Allow providing a custom
tokio
stream forAsyncSmtpTransport
(#805) - Return whole SMTP error message (#821)
Bug fixes
- Mailbox displays wrongly when containing a comma and a non-ascii char in its name (#827)
- Require
quoted_printable
^0.4.6 in order to fix encoding of tabs and spaces at the end of line (#837)
Misc
- Increase tracing (#848)
- Bump
idna
to 0.3 (#816) - Update
base64
to 0.21 (#840 and #851) - Update
rsa
to 0.8 (#829 and #852)
v0.10.1
Features
- Add
boring-tls
support forSmtpTransport
andAsyncSmtpTransport
. The latter is only supported with the tokio runtime. (#797) (#798) - Make the minimum TLS version configurable. (#799) (#800)
Bug Fixes
v0.10.0
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 intolettre
. To migrate, replacelettre_email
withlettre::message
and make sure to enable thebuilder
feature (it's enabled by default). -
SendableEmail
has been renamed toEmail
andEmailBuilder::build()
produces it directly. To migrate, renameSendableEmail
toEmail
. - The
serde-impls
feature has been renamed toserde
. 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
intolettre
- Merge
Email
andSendableEmail
intolettre::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 oflocalhost
as EHLO parameter (for better RFC compliance and mail server compatibility) - The
sendmail
andfile
transports aren't enabled by default anymore. - The
new
method ofClientId
is deprecated - Rename
serde-impls
feature toserde
- The
SendmailTransport
now uses thesendmail
command in currentPATH
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
withtracing
- Move CI to Github Actions
- Use criterion for benchmarks
v0.10.0-rc.7
v0.10.0-rc.6
v0.10.0-rc.5
Configuration
-
If you want to rebase/retry this MR, check this box