8.9 KiB
8.9 KiB
v0.10.1 (2022-07-20)
Features
- Add
boring-tlssupport forSmtpTransportandAsyncSmtpTransport. The latter is only supported with the tokio runtime. (#797) (#798) - Make the minimum TLS version configurable. (#799) (#800)
Bug Fixes
v0.10.0 (2022-06-29)
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_emailcrate has been merged intolettre. To migrate, replacelettre_emailwithlettre::messageand make sure to enable thebuilderfeature (it's enabled by default). SendableEmailhas been renamed toEmailandEmailBuilder::build()produces it directly. To migrate, renameSendableEmailtoEmail.- The
serde-implsfeature has been renamed toserde. To migrate, rename the feature.
Features
- Add
tokio1 support - Add
rustlssupport - Add
async-stdsupport. 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_emailintolettre - Merge
EmailandSendableEmailintolettre::message::Email - SmtpTransport is now an high level SMTP client. It provides connection pooling and shortcuts for building clients using commonly desired values
- Refactor
TlsParametersimplementation to not expose the internal TLS library FileTransportwrites emails into.emlinstead of.json- When the hostname feature is disabled or hostname cannot be fetched,
127.0.0.1is used instead oflocalhostas EHLO parameter (for better RFC compliance and mail server compatibility) - The
sendmailandfiletransports aren't enabled by default anymore. - The
newmethod ofClientIdis deprecated - Rename
serde-implsfeature toserde - The
SendmailTransportnow uses thesendmailcommand in currentPATHby 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
domainfield
Misc
- Improve documentation, examples and tests
- Replace
line-wrap,email,bufstreamwith our own implementations - Remove
bytes - Remove
time - Remove
fast_chemail - Update
base64to 0.13 - Update
hostnameto 0.3 - Update to
nom6 - Replace
logwithtracing - Move CI to Github Actions
- Use criterion for benchmarks
v0.9.2 (2019-06-11)
Bug Fixes
- email:
- Fix compilation with Rust 1.36+ (393ef8d)
v0.9.1 (2019-05-05)
Features
- email:
- Re-export mime crate (a0c8fb9)
v0.9.0 (2019-03-17)
Bug Fixes
-
email:
-
transport:
Features
-
all:
- Update dependencies
- Start using the failure crate for errors (c10fe3d)
-
transport:
- Remove TLS 1.1 in accepted protocols by default (only allow TLS 1.2) (4b48bdb)
- Initial support for XOAUTH2 (ed7c164)
- Remove support for CRAM-MD5 (bc09aa2)
- SMTP connection pool implementation with r2d2 (434654e)
- Use md-5 and hmac instead of rust-crypto (e7e0f34)
- Gmail transport simple example (a8d8e2a)
-
email:
v0.8.2 (2018-05-03)
Bug Fixes
- transport: Write timeout is not set in smtp transport (cc3580a8)
Style
- all: Fix typos (360c42ff)
Features
- all:
- Add set -xe option to build scripts (57bbabaa)
- Move post-success scripts to separate files (3177b58c)
- Add website upload to travis build script (a5294df6)
- Add codecov upload in travis (a03bfa00)
- Update README to put useful links at the top (1ebbe660)
- Update badges in README and Cargo.toml (f7ee5c42)
- Move docs from hugo to gitbook (27935e32)
- transport: Use md-5 and hmac instead of rust-crypto (0cf018a8)
v0.8.1 (2018-04-11)
Fix
- all:
- Replace skeptic by some custom rustdoc invocations (81bad131)
Documentation
- all:
Style
- transport-smtp: Avoid useless empty format strings (f3271715)
v0.8.0 (2018-03-31)
Added
- Support binary files as attachment
- Move doc to a dedicated website
- Add tests for the doc using skeptic
- Added a code of conduct
- Use hostname as
ClientIdwhen available
Changed
- Detail in SMTP Response is now an enum
- Use nom for parsing smtp responses
Envelopewas moved fromlettre_emailtolettreEmailAddress::new()now returns aResultSendableEmailreplacesfromandtobyenvelopethat returns anEnvelopeFiletransport storage format has changed
Fixed
- Add missing "Bcc" headers when building the email
- Specify utf-8 charset for html
- Use parts for text and html methods to work with attachments
Removed
get_ehloandresetin SmtpTransport are now private
v0.7.0 (2017-10-08)
Added
- Allow validating server certificate
- Initial (incomplete) attachments support
Changed
- Split into the lettre and lettre_email crates
- A lot of small improvements
- Use tls-native instead of openssl in smtp transport
v0.6.2 (2017-02-18)
Changed
- Update env-logger crate to 0.4
- Update openssl crate to 0.9
- Update uuid crate to 0.4
v0.6.1 (2016-10-19)
Changes
- documentation
- #91: Build separate docs for each release
- #96: Add complete documentation information to README
Fixed
- #85: Use address-list for "To", "From" etc.
- #93: Force building tests before coverage computing
v0.6.0 (2016-05-05)
Changes
- multipart support
- add non-consuming methods for Email builders
add_headerdoes not return the builder anymore, for consistency with other methods. Use theheadermethod instead