Skip to content

Commit 7f04de4

Browse files
committed
Update changelog for v11
1 parent 366440b commit 7f04de4

1 file changed

Lines changed: 24 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# Changelog
22

3+
## 11.0.0 (unreleased)
4+
5+
- Add conversions between `Algorithm` and `KeyAlgorithm`
6+
- JWKs can now be created from `DecodingKey`s, creation from `EncodingKey` and `DecodingKey` supports Ed25519 now as well
7+
- BREAKING: `Algorithm` and `EllipticCurve` are now `non_exhaustive`
8+
- BREAKING: `Header.extras` is now a struct that allows for deserialization to any `T`
9+
- BREAKING: Implicit features resulting from optional crates have been removed
10+
- BREAKING: `Validation.insecure_disable_signature_validation` has been removed, use `dangerous::insecure_decode` instead
11+
- BREAKING: `EncodingKey.inner` has been renamed to `as_bytes`, `try_get_hmac_secret` has been removed
12+
- BREAKING: `DecodingKey.as_bytes` and `try_get_hmac_secret` have been removed, use `try_get_as_bytes` instead
13+
14+
### Changes for `CryptoProvider`s
15+
16+
- When constructing HMAC signers, the algorithm family must now be verified on construction
17+
- `JwkUtils` has been renamed to `KeyUtils`
18+
- `compute_digest` now returns a `Result<_>`
19+
- `extract_rsa_public_key_components` has been renamed to `rsa_pub_components_from_private_key`
20+
- `rsa_pub_components_from_public_key` has been added
21+
- `extract_ec_public_key_coordinates` has been renamed to `ec_pub_components_from_private_key`
22+
- `ed_pub_components_from_private_key` has been added
23+
324
## 10.4.0 (2026-05-11)
425

526
- Fix incorrect encoding for Ed25519 JWK thumbprints
@@ -45,7 +66,6 @@
4566

4667
- Supports deserialization of unsupported algorithms for JWKs
4768

48-
4969
## 9.0.0 (2023-10-16)
5070

5171
- Update ring
@@ -56,13 +76,11 @@
5676
- Update base64
5777
- Implement Clone for TokenData<T> if T impls Clone
5878

59-
6079
## 8.2.0 (2022-12-03)
6180

6281
- Add DecodingKey::from_jwk
6382
- Can now use PEM certificates if you have the `use_pem` feature enabled
6483

65-
6684
## 8.1.1 (2022-06-17)
6785

6886
- Fix invalid field name on OctetKeyParameters
@@ -76,9 +94,8 @@
7694

7795
- Fix documentation of leeway
7896

79-
8097
## 8.0.0 (2022-02-02)
81-
98+
8299
- Add EdDSA algorithm
83100
- `sign`/`verify` now takes a `&[u8]` instead of `&str` to be more flexible
84101
- `DecodingKey` now own its data
@@ -115,7 +132,7 @@
115132
- Add support for PS256, PS384 and PS512
116133
- Add support for verifying with modulus/exponent components for RSA
117134
- Update to 2018 edition
118-
- Changed aud field type in Validation to `Option<HashSet<String>>`. Audience
135+
- Changed aud field type in Validation to `Option<HashSet<String>>`. Audience
119136
validation now tests for "any-of-these" audience membership.
120137
- Add support for keys in PEM format
121138
- Add EncodingKey/DecodingKey API to improve performance and UX
@@ -154,6 +171,7 @@
154171
## 3.0.0 (2017-09-08)
155172

156173
### Breaking changes
174+
157175
- Remove `validate_signature` from `Validation`, use `decode_header` instead if you don't know the alg used
158176
- Make `typ` optional in header, some providers apparently don't use it
159177

0 commit comments

Comments
 (0)