Changelog (#497)

* Sync changelog with 0.10 changes

* Addess code review
This commit is contained in:
Manuel Pelloni
2020-11-14 09:31:02 +01:00
committed by GitHub
parent 65d952a64f
commit 86763ccefb

View File

@@ -5,7 +5,8 @@
Several breaking changes were made between 0.9 and 0.10, but changes should be straightforward: Several breaking changes were made between 0.9 and 0.10, but changes should be straightforward:
* The `lettre_email` crate has been merged into `lettre`. To migrate, replace `lettre_email` with `lettre::builder` * MSRV is now 1.45.2
* 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). 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, * `SendableEmail` has been renamed to `Email` and `EmailBuilder::build()` produces it directly. To migrate,
rename `SendableEmail` to `Email`. rename `SendableEmail` to `Email`.
@@ -13,33 +14,46 @@ Several breaking changes were made between 0.9 and 0.10, but changes should be s
#### Features #### Features
* Add `rustls` support ([29e4829](https://github.com/lettre/lettre/commit/29e4829), [39a0686](https://github.com/lettre/lettre/commit/39a0686)) * Add `tokio` 0.2 and 0.3 support
* Allow providing a custom message id ([50d96ad](https://github.com/lettre/lettre/commit/50d96ad)) * Add `rustls` support
* Add `EmailAddress::is_valid` and `into_inner` ([e5a1248](https://github.com/lettre/lettre/commit/e5a1248)) * Add `async-std` support
* Accept `Into<SendableEmail>` ([86e5181](https://github.com/lettre/lettre/commit/86e5181)) * Allow enabling multiple SMTP authentication mechanisms
* Allow forcing of a specific auth ([bf2adca](https://github.com/lettre/lettre/commit/bf2adca)) * Allow providing a custom message id
* Add `build_body` ([e927d0b](https://github.com/lettre/lettre/commit/e927d0b)) * Allow sending raw emails
#### Changes #### Breaking Changes
* Move CI to Github Actions ([3eef024](https://github.com/lettre/lettre/commit/3eef024)) * Merge `lettre_email` into `lettre`
* MSRV is now 1.36 ([d227cd4](https://github.com/lettre/lettre/commit/d227cd4)) * Merge `Email` and `SendableEmail` into `lettre::message::Email`
* Merged `lettre_email` into `lettre` ([0f3f27f](https://github.com/lettre/lettre/commit/0f3f27f)) * SmtpTransport is now an high level SMTP client. It provides connection pooling and shortcuts for building clients using commonly desired values
* Rename `serde-impls` feature to `serde` ([aac3e00](https://github.com/lettre/lettre/commit/aac3e00)) * Refactor `TlsParameters` implementation to not expose the internal TLS library
* Use criterion for benchmarks ([eda7fc1](https://github.com/lettre/lettre/commit/eda7fc1)) * `FileTransport` writes emails into `.eml` instead of `.json`
* Update to nom 5 ([5bc1cba](https://github.com/lettre/lettre/commit/5bc1cba)) * 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)
* Change website url schemes to https ([6014f5c](https://github.com/lettre/lettre/commit/6014f5c))
* Use serde's `derive` feature instead of the `serde_derive` crate ([4fbe700](https://github.com/lettre/lettre/commit/4fbe700))
* Merge `Email` and `SendableEmail` into `lettre::Email` ([ce37464](https://github.com/lettre/lettre/commit/ce37464))
* 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 `new` method of `ClientId` is deprecated * The `new` method of `ClientId` is deprecated
* Rename `serde-impls` feature to `serde`
#### Bug Fixes #### Bug Fixes
* Timeout bug causing infinite hang ([6eff9d3](https://github.com/lettre/lettre/commit/6eff9d3)) * Fix argument injection in `SendmailTransport` (see [RUSTSEC-2020-0069](https://github.com/RustSec/advisory-db/blob/master/crates/lettre/RUSTSEC-2020-0069.md))
* Fix doc tests in website ([947af0a](https://github.com/lettre/lettre/commit/947af0a)) * Correctly encode header values containing non-ASCII characters
* Fix docs for `domain` field ([0e05e0e](https://github.com/lettre/lettre/commit/0e05e0e)) * 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
<a name="v0.9.2"></a> <a name="v0.9.2"></a>
### v0.9.2 (2019-06-11) ### v0.9.2 (2019-06-11)