From 71d5e7aab769601d7b707ad8cc72a91e0d94e3b3 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Mon, 15 Nov 2021 11:22:42 +0100 Subject: [PATCH 1/4] Add some changelog notes --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d78d4ce..ed5e39e 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,9 @@ and the [hyper HTTP library](https://github.com/hyperium/hyper). [![Documentation](https://docs.rs/hyper-rustls/badge.svg)](https://docs.rs/hyper-rustls/) # Release history +- 0.23.0 (2021-11-16): + * Upgrade to rustls 0.20. Thanks to @g2p. + * Add new HttpsConnectorBuilder API. Thanks to @g2p. - 0.22.1 (2020-12-27): * Fixing docs.rs build; no other changes. - 0.22.0 (2020-12-26): @@ -41,4 +44,3 @@ hyper-rustls is distributed under the following three licenses: These are included as LICENSE-APACHE, LICENSE-MIT and LICENSE-ISC respectively. You may use this software under the terms of any of these licenses, at your option. - From b581b55b52b32322f209bbeef23cbc358bfac77a Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Mon, 15 Nov 2021 11:22:56 +0100 Subject: [PATCH 2/4] Bump version number to 0.23.0 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 863517c..0b88c3d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hyper-rustls" -version = "0.22.1" +version = "0.23.0" edition = "2018" authors = ["Joseph Birr-Pixton "] license = "Apache-2.0/ISC/MIT" From 5e80437fc3e10e905cc6089654cb7b2777a1cda4 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Mon, 15 Nov 2021 11:26:11 +0100 Subject: [PATCH 3/4] Add release process documentation Copied from rustls-native-certs. --- RELEASING.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 RELEASING.md diff --git a/RELEASING.md b/RELEASING.md new file mode 100644 index 0000000..bcc0a69 --- /dev/null +++ b/RELEASING.md @@ -0,0 +1,26 @@ +# Making a hyper-rustls release + +This is a checklist for steps to make before/after making a rustls release. + +1. Attend to the README.md: this appears on crates.io for the release, and can't be edited after + the fact. + - Ensure the version has a good set of release notes. Move old release notes to OLDCHANGES.md + if this is getting excessively long. + - Write the version and date of the release. +2. Run `cargo update` followed by `cargo outdated`, to check if we have any + dependency updates which are not already automatically taken by their semver specs. + - If we do, take them if possible with separate commits (but there should've been + dependabot PRs submitted for these already.) +3. Now run `cargo test --all-features` to ensure our tests continue to pass with the + updated dependencies. +4. Update `Cargo.toml` to set the correct version. +5. Make a commit with the above changes, something like 'Prepare $VERSION'. This + should not contain functional changes: just versions numbers, and markdown changes. +6. Do a dry run: check `cargo publish --dry-run` +7. Push the above commit. Wait for CI to confirm it as green. + - Any red _should_ naturally block the release. + - If rustc nightly is broken, this _may_ be acceptable if the reason is understood + and does not point to a defect. +8. Tag the released version: `git tag -m '0.20.0' v/0.20.0` +9. Push the tag: `git push --tags` +10. Do the release: `cargo publish`. From 0103fb3f52eb401e4bcf82e2865eae1899c1b750 Mon Sep 17 00:00:00 2001 From: Paolo Barbolini Date: Wed, 17 Nov 2021 08:22:28 +0100 Subject: [PATCH 4/4] Add new features to the changelog --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index ed5e39e..a69a22e 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ and the [hyper HTTP library](https://github.com/hyperium/hyper). - 0.23.0 (2021-11-16): * Upgrade to rustls 0.20. Thanks to @g2p. * Add new HttpsConnectorBuilder API. Thanks to @g2p. + * Add the tls12, logging, http1 and http2 features. Thanks to @g2p and @marwes. - 0.22.1 (2020-12-27): * Fixing docs.rs build; no other changes. - 0.22.0 (2020-12-26):