From 108983adb9bd6a92249fc69be2a0337ee5e0a326 Mon Sep 17 00:00:00 2001 From: est31 Date: Sat, 16 Dec 2023 01:04:05 +0100 Subject: [PATCH 1/3] Changelog for 0.12.0 --- rcgen/CHANGELOG.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/rcgen/CHANGELOG.md b/rcgen/CHANGELOG.md index aa82e9fb..542aa123 100644 --- a/rcgen/CHANGELOG.md +++ b/rcgen/CHANGELOG.md @@ -1,10 +1,13 @@ # Changes -## Unreleased +## Release 0.12.0 - December 16, 2023 -- Rename `RcgenError` to `Error` to avoid stuttering when used fully-qualified via `rcgen::`. -- Upgrade to `ring` `v0.17`. +- Rename `RcgenError` to `Error`. Contributed by [thomaseizinger](https://github.com/thomaseizinger). +- Lock down the `From` impls for `Error` and make it future-proof. +- Upgrade to `ring` `v0.17`. Contributed by [thomaseizinger](https://github.com/thomaseizinger). +- Make dependency on `ring` optional and allow usage of `aws_lc_rs`. Contributed by [BiagioFesta](https://github.com/BiagioFesta). +- Add `Ia5String` support for `DistinguishedName`s. ## Release 0.11.3 - October 1, 2023 From ecb296b7426961b284c008c9f18bf602be921189 Mon Sep 17 00:00:00 2001 From: est31 Date: Sat, 16 Dec 2023 22:28:31 +0100 Subject: [PATCH 2/3] Apply suggestions from code review Co-authored-by: Daniel McCarney --- rcgen/CHANGELOG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rcgen/CHANGELOG.md b/rcgen/CHANGELOG.md index 542aa123..76ffac52 100644 --- a/rcgen/CHANGELOG.md +++ b/rcgen/CHANGELOG.md @@ -4,9 +4,9 @@ ## Release 0.12.0 - December 16, 2023 - Rename `RcgenError` to `Error`. Contributed by [thomaseizinger](https://github.com/thomaseizinger). -- Lock down the `From` impls for `Error` and make it future-proof. +- `Error::PemError` has been changed to hold a `String` value. The `From<_>` traits for external error types have been removed. This allows rcgen to update dependent crates without impacting API consumers. - Upgrade to `ring` `v0.17`. Contributed by [thomaseizinger](https://github.com/thomaseizinger). -- Make dependency on `ring` optional and allow usage of `aws_lc_rs`. Contributed by [BiagioFesta](https://github.com/BiagioFesta). +- Make dependency on `ring` optional and allow usage of `aws-lc-rs`. Ring continues to be used as the default. You may opt-in to using `aws-lc-rs` instead by disabling default features and specifying the `aws_lc_rs` feature. Contributed by [BiagioFesta](https://github.com/BiagioFesta). - Add `Ia5String` support for `DistinguishedName`s. ## Release 0.11.3 - October 1, 2023 From 1162c27aa7df230766fe7dc54fe9e28537859e12 Mon Sep 17 00:00:00 2001 From: est31 Date: Sat, 16 Dec 2023 22:42:13 +0100 Subject: [PATCH 3/3] Some improvements, add missing point --- rcgen/CHANGELOG.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rcgen/CHANGELOG.md b/rcgen/CHANGELOG.md index 76ffac52..0b906d8b 100644 --- a/rcgen/CHANGELOG.md +++ b/rcgen/CHANGELOG.md @@ -4,10 +4,11 @@ ## Release 0.12.0 - December 16, 2023 - Rename `RcgenError` to `Error`. Contributed by [thomaseizinger](https://github.com/thomaseizinger). -- `Error::PemError` has been changed to hold a `String` value. The `From<_>` traits for external error types have been removed. This allows rcgen to update dependent crates without impacting API consumers. +- The public interface of `Error` has been made not expose external library types: `Error::PemError` now holds a `String` value, and the `Error` type doesn't support `From<_>` based conversion any more. This allows rcgen to update dependencies without impacting downstream users. - Upgrade to `ring` `v0.17`. Contributed by [thomaseizinger](https://github.com/thomaseizinger). -- Make dependency on `ring` optional and allow usage of `aws-lc-rs`. Ring continues to be used as the default. You may opt-in to using `aws-lc-rs` instead by disabling default features and specifying the `aws_lc_rs` feature. Contributed by [BiagioFesta](https://github.com/BiagioFesta). +- Make dependency on `ring` optional and allow usage of `aws-lc-rs` via a cargo feature. Ring remains the default. Contributed by [BiagioFesta](https://github.com/BiagioFesta). - Add `Ia5String` support for `DistinguishedName`s. +- Add a `KeyIdMethod::PreSpecified` variant to set, and not generate the SKI. `CertificateParams::from_ca_cert_pem` now uses it when building params from an existing CA certificate. Contributed by [Brocar](https://github.com/Brocar). ## Release 0.11.3 - October 1, 2023