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)
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)
Fixes using the (non-default) read_buf feature with Rust nightly newer than nightly-2023-11-01 by opting in to the core_io_borrowed_buf feature and updated BorrowedBuf, BorrowedCursor types.
What's Changed
Fix build: new feature needed for std::io::BorrowedBuf et al. by @ctz in rustls/rustls#1582
Fixes ConnectionCommon::complete_io() to flush writers before potentially expecting a response.
Upgrades *ring* to 0.17 - Note: *ring* 0.17 when built with gcc will experience slower X25519 and Ed25519 operations compared to previous releases.
Upgrades rustls-webpki to 0.101.7 to match *ring* 0.17 dependency
Tls12CipherSuite::hash_algorithm() and Tls13CipherSuite::hash_algorithm() are now crate-internal. This is a small breaking change to remove unintended exposure of underlying *ring* types in the public API.
Fixes interoperability bug where Rustls servers would not properly echo the session_id in HelloRetryRequest messages as was done for ServerHello messages.
WebPkiVerifier now stores an Arc<RootCertStore>.
Documentation for the computational expense required to build client and server configurations has been clarified to emphasize this is cheap with the exception of gathering certificates from a platform trust root store.
What's Changed
Backport Arc server roots + non-expensive configs to rel-0.21 by @djc in rustls/rustls#1416
This is a new patch release that fixes a search regression where incorrect
matches could be reported.
Bug fixes:
[BUG #1110](rust-lang/regex#1110):
Revert broadening of reverse suffix literal optimization introduced in 1.10.1.
1.10.1 (2023-10-14)
This is a new patch release with a minor increase in the number of valid
patterns and a broadening of some literal optimizations.
New features:
FEATURE 04f5d7be:
Loosen ASCII-compatible rules such that regexes like (?-u:☃) are now allowed.
Performance improvements:
PERF 8a8d599f:
Broader the reverse suffix optimization to apply in more cases.
1.10.0 (2023-10-09)
This is a new minor release of regex that adds support for start and end
word boundary assertions. That is, \< and \>. The minimum supported Rust
version has also been raised to 1.65, which was released about one year ago.
The new word boundary assertions are:
\< or \b{start}: a Unicode start-of-word boundary (\W|\A on the left,
\w on the right).
Bumps the minor group with 11 updates:
0.2.7
0.13.1
0.2.1
0.9.1
0.10.0
0.10.4
0.43.0
0.48.0
0.43.0
0.48.0
0.16.0
0.21.10
0.4.3
0.6.0
0.19.0
0.23.1
0.12.0
0.12.1
0.6.0
0.8.0
1.9.4
1.10.3
Updates
aws_lambda_events
from 0.2.7 to 0.13.1Release notes
Sourced from aws_lambda_events's releases.
... (truncated)
Commits
Updates
lambda_runtime
from 0.2.1 to 0.9.1Release notes
Sourced from lambda_runtime's releases.
... (truncated)
Commits
Updates
lettre
from 0.10.0 to 0.10.4Release notes
Sourced from lettre's releases.
... (truncated)
Changelog
Sourced from lettre's changelog.
... (truncated)
Commits
ce36327
Prepare 0.10.4 (#871)e59ecc2
Bump rustls to 0.21 (#867)4fb67a7
Prepare 0.10.3 (#860)9041f21
Add Content-Type to all examples sending a basic text/plain message (#859)77b7d40
mailbox: replace serialize_str(&self.to_string()) with collect_str(self) (#858)2b6d457
clippy: deny str_to_string and empty_structs_with_brackets (#857)952c1b3
Add support for rustls-native-certs (#843)7ecb87f
Prepare 0.10.2 (#853)fd700b1
cargo: switch to crates.io release of email-encoding v0.2 (#854)f8f19d6
clippy: fix latest warnings (#855)Updates
rusoto_core
from 0.43.0 to 0.48.0Release notes
Sourced from rusoto_core's releases.
... (truncated)
Changelog
Sourced from rusoto_core's changelog.
... (truncated)
Commits
0df121f
v0.48.0bd9f3f1
fix misspelling of default-features529f6dd
remove crates for dead(!) services19924ce
Merge pull request #1977 from rusoto/hyper-rustlsf7c92c3
add the new hyper-rustls default features37bac10
Merge pull request #1976 from svc-93/patch-1ae7f34e
Include ap-southeast-3 in AWS Regionsdf31792
Upgrade hyper-rustlse9d9214
Add Clone derived trait to TlsError9081eaa
Support building rustls without native certs, to eliminate openssl-probeUpdates
rusoto_s3
from 0.43.0 to 0.48.0Release notes
Sourced from rusoto_s3's releases.
... (truncated)
Changelog
Sourced from rusoto_s3's changelog.
... (truncated)
Commits
0df121f
v0.48.0bd9f3f1
fix misspelling of default-features529f6dd
remove crates for dead(!) services19924ce
Merge pull request #1977 from rusoto/hyper-rustlsf7c92c3
add the new hyper-rustls default features37bac10
Merge pull request #1976 from svc-93/patch-1ae7f34e
Include ap-southeast-3 in AWS Regionsdf31792
Upgrade hyper-rustlse9d9214
Add Clone derived trait to TlsError9081eaa
Support building rustls without native certs, to eliminate openssl-probeUpdates
rustls
from 0.16.0 to 0.21.10Release notes
Sourced from rustls's releases.
... (truncated)
Commits
cf6aa80
Cargo: version 0.21.9 -> 0.21.104ee33ae
version: allow manual_non_exhaustivef628518
remove the TLS 1.2 session ticket on DecryptErrorbbd9abc
Cargo: v0.21.8 -> v0.21.95edc126
UseBorrowedCursor
&BorrowedBuf
from core::io7abd73f
Opt in to feature(core_io_borrowed_buf)c34477a
Cargo: 0.21.7 -> 0.21.88cf2594
sign: fix clippy get-first warningecc6cde
Flush writers before potentially expecting a response53adb9d
docs: adjust ring platform compatibilityUpdates
stderrlog
from 0.4.3 to 0.6.0Release notes
Sourced from stderrlog's releases.
Changelog
Sourced from stderrlog's changelog.
Commits
57bc1d6
chore: Release stderrlog version 0.6.05fdb499
Merge pull request #59 from cardoe/delehef-master85550fb
Only style the level labelc4c36ea
no-op pty closed tests on non-Linux85ae008
Merge pull request #54 from Allen-Webb/crashb5b515e
Do not panic in the log statement when the tty closes.d6a7e18
Add test for pty closing.de6760a
Merge pull request #55 from kenoss/fix-clap-error2ec0593
fix: Clap error in examples/timestampaf1941b
Merge pull request #58 from cardoe/maybe-fix-ciUpdates
webpki-roots
from 0.19.0 to 0.23.1Commits
9a85698
0.23.1: update from upstreama3ac1f3
Fix compatibility with openssl 3.xe3cc7e9
Remove authors from Cargo metadata (per RFC 3052)b5a9e38
Bump version to 0.23.0f6998ac
usr rustls-webpki instead of webpki3ab9952
CI: replace actions-rs w/ dtolnay/rust-toolchain.4941921
CI: actions/checkout@v2 -> v3.e605723
CI: configure Dependabot to monitor GitHub actions.aa4fe55
Upgrade to GitHub-native Dependabot659cc3c
0.22.6: update from upstreamUpdates
itertools
from 0.12.0 to 0.12.1Changelog
Sourced from itertools's changelog.
Commits
98d3978
Prepare v0.12.1 releasedffac1f
Bump obi1kenobi/cargo-semver-checks-action from 2.2 to 2.300998a4
CoalesceBy
: missing field inDebug
a0411d6
CombinationsWithReplacement
: use a boxed slice internally8dd75f1
Permutations
: use boxed slices internallyb785403
ExactlyOneError
: implement Debug differently7a1c22b
FlattenOk
: Debug with macro94452e3
GroupingMapBy
: fix Debug implementation2e325a0
TakeWhileInclusive
: missing field inDebug
a48c5b4
WithPosition
: implement DebugUpdates
notmuch
from 0.6.0 to 0.8.0Commits
Updates
regex
from 1.9.4 to 1.10.3Changelog
Sourced from regex's changelog.
... (truncated)
Commits
0c09903
1.10.3653bb59
deps: bump regex-automata to 0.4.4e7b5401
regex-automata-0.4.41bc667d
changelog: 1.10.3fbd2537
safety: guard in Input::new against incorrect AsRef implementations027eebd
cargo: set 'default-features = false' for memchr and aho-corasickLooks like these dependencies are updatable in another way, so this is no longer needed.