Skip to content

0.101.3 release prep#149

Merged
cpu merged 2 commits intorustls:rel-0.101from
cpu:cpu-148-deprecation-notes
Aug 8, 2023
Merged

0.101.3 release prep#149
cpu merged 2 commits intorustls:rel-0.101from
cpu:cpu-148-deprecation-notes

Conversation

@cpu
Copy link
Member

@cpu cpu commented Aug 8, 2023

0.101.3 release prep

This branch (that I should have named more generally, in retrospect) targets a base of rel-0.101, created from the v0.101.2 tag.

The deprecations mentioned in #148 were in the released 0.101.2, but main has already removed the deprecated elements. In order to improve the deprecation notes we'll need to start a release branch. I've gone ahead and done that roughly following the rustls guidance.

Proposed release notes

  • TlsServerTrustAnchors, TlsClientTrustAnchors, verify_is_valid_tls_server_cert and verify_is_valid_tls_client_cert deprecation notes improved.

trust_anchor/end_entity: rework deprecation notes.

In 0.101.2 we deprecated the TlsServerTrustAnchors and TlsClientTrustAnchors types along with the
EndEntity::verify_is_valid_tls_server_cert and
EndEntity::verify_is_valid_tls_client_cert functions that used them.

However, only the EndEntity deprecations had a note pointing to the preferred replacement, and the text was quite terse.

This commit adds notes to the trust anchor types that were missing these, and updates the end entity verification deprecation notes to be more user-friendly.

Thanks to @jsha for pointing out the omission in #148

Cargo: version 0.101.2 -> 0.101.3

Bumps the Cargo version for the release.

@cpu cpu self-assigned this Aug 8, 2023
@codecov
Copy link

codecov bot commented Aug 8, 2023

Codecov Report

Merging #149 (f3b66e9) into rel-0.101 (bef457f) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           rel-0.101     #149   +/-   ##
==========================================
  Coverage      94.75%   94.75%           
==========================================
  Files             15       15           
  Lines           3432     3432           
==========================================
  Hits            3252     3252           
  Misses           180      180           
Files Changed Coverage Δ
src/end_entity.rs 68.26% <ø> (ø)
src/trust_anchor.rs 92.72% <ø> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@cpu cpu changed the title trust_anchor/end_entity: rework deprecation notes. 0.101.3 release prep Aug 8, 2023
cpu added 2 commits August 8, 2023 08:39
In 0.101.2 we deprecated the `TlsServerTrustAnchors` and
`TlsClientTrustAnchors` types along with the
`EndEntity::verify_is_valid_tls_server_cert` and
`EndEntity::verify_is_valid_tls_client_cert` functions that used them.

However, only the `EndEntity` deprecations had a `note` pointing to the
preferred replacement, and the text was quite terse.

This commit adds notes to the trust anchor types that were missing
these, and updates the end entity verification deprecation notes to be
more user-friendly.
@cpu cpu force-pushed the cpu-148-deprecation-notes branch from 6796c4f to f3b66e9 Compare August 8, 2023 12:39
@cpu cpu requested a review from ctz August 8, 2023 13:28
@cpu cpu added this pull request to the merge queue Aug 8, 2023
Merged via the queue into rustls:rel-0.101 with commit 989ef02 Aug 8, 2023
@cpu cpu deleted the cpu-148-deprecation-notes branch August 8, 2023 13:47
@cpu
Copy link
Member Author

cpu commented Aug 8, 2023

  • Created v0.101.3 tag.
  • Published rustls-webpki v0.101.3 at registry crates-io
  • Created v0.101.3 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants