Lettre Versions Save

a mailer library for Rust

v0.11.7

3 weeks ago

v0.11.7 (2024-04-23)

Misc

  • Bump hostname to v0.4 (#956)
  • Fix tracing message consistency (#960)
  • Bump minimum required rustls to v0.23.5 (#958)
  • Dropped use of ref syntax in the entire project (#959)

v0.11.6

1 month ago

Bug fixes

  • Upgraded email-encoding to v0.3 - fixing multiple encoding bugs in the process (#952)

Misc

  • Updated copyright year in license (#954)

v0.11.5

1 month ago

Features

  • Support SMTP SASL draft login challenge (#911)
  • Add conversion from SMTP response code to integer (#941)

Misc

  • Upgrade rustls to v0.23 (#950)
  • Bump base64 to v0.22 (#945)
  • Fix typos in documentation (#943, #944)
  • Add Cargo.lock (#942)

v0.11.4

1 month ago

Bug fixes

  • Percent decode credentials in SMTP connect URL (#932, #934)
  • Fix mimebody DKIM body-hash computation (#923)

v0.11.3

4 months ago

Features

  • Derive Clone for FileTransport and AsyncFileTransport (#924)
  • Derive Debug for SmtpTransport (#925)

Misc

  • Upgrade rustls to v0.22 (#921)
  • Drop once_cell dependency in favor of OnceLock from std (#928)

v0.11.2

5 months ago

Upgrade notes

  • MSRV is now 1.70 (#916)

Misc

  • Bump idna to v0.5 (#918)
  • Bump boring and tokio-boring to v4 (#915)

v0.11.1

6 months ago

Bug fixes

  • Fix webpki-roots certificate store setup (#909)

v0.11.0

7 months ago

While this release technically contains breaking changes, we expect most projects to be able to upgrade by only bumping the version in Cargo.toml.

Upgrade notes

  • MSRV is now 1.65 (#869 and #881)
  • AddressError is now marked as #[non_exhaustive] (#839)

Features

  • Improve mailbox parsing (#839)
  • Add construction of SMTP transport from URL (#901)
  • Add From<Address> implementation for Mailbox (#879)

Misc

  • Bump socket2 to v0.5 (#868)
  • Bump idna to v0.4, fastrand to v2, quoted_printable to v0.5, rsa to v0.9 (#882)
  • Bump webpki-roots to v0.25 (#884 and #890)
  • Bump ed25519-dalek to v2 fixing RUSTSEC-2022-0093 (#896)
  • Bump boringssl crates to v3 (#897)

v0.10.4

1 year ago

Misc

  • Bumped rustls to 0.21 and all related dependencies (#867)

v0.10.3

1 year ago

Announcements

It was found that what had been used until now as a basic lettre 0.10 MessageBuilder::body example failed to mention that for maximum compatibility with various email clients a Content-Type header should always be present in the message.

Before
Message::builder()
  // [...] some headers skipped for brevity
  .body(String::from("A plaintext or html body"))?
Patch
 Message::builder()
   // [...] some headers skipped for brevity
+  .header(ContentType::TEXT_PLAIN) // or `TEXT_HTML` if the body is html
   .body(String::from("A plaintext or html body"))?

Features

  • Add support for rustls-native-certs when using rustls (#843)