Skip to content

Commit ae951b0

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

1 file changed

Lines changed: 25 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
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: `Jwk.thumbprint` now returns a `Result<_>`
9+
- BREAKING: `Header.extras` is now a struct that allows for deserialization to any `T`
10+
- BREAKING: Implicit features resulting from optional crates have been removed
11+
- BREAKING: `Validation.insecure_disable_signature_validation` has been removed, use `dangerous::insecure_decode` instead
12+
- BREAKING: `EncodingKey.inner` has been renamed to `as_bytes`, `try_get_hmac_secret` has been removed
13+
- BREAKING: `DecodingKey.as_bytes` and `try_get_hmac_secret` have been removed, use `try_get_as_bytes` instead
14+
15+
### Changes for `CryptoProvider`s
16+
17+
- When constructing HMAC signers, the algorithm family must now be verified on construction
18+
- `JwkUtils` has been renamed to `KeyUtils`
19+
- `compute_digest` now returns a `Result<_>`
20+
- `extract_rsa_public_key_components` has been renamed to `rsa_pub_components_from_private_key`
21+
- `rsa_pub_components_from_public_key` has been added
22+
- `extract_ec_public_key_coordinates` has been renamed to `ec_pub_components_from_private_key`
23+
- `ed_pub_components_from_private_key` has been added
24+
325
## 10.4.0 (2026-05-11)
426

527
- Fix incorrect encoding for Ed25519 JWK thumbprints
@@ -45,7 +67,6 @@
4567

4668
- Supports deserialization of unsupported algorithms for JWKs
4769

48-
4970
## 9.0.0 (2023-10-16)
5071

5172
- Update ring
@@ -56,13 +77,11 @@
5677
- Update base64
5778
- Implement Clone for TokenData<T> if T impls Clone
5879

59-
6080
## 8.2.0 (2022-12-03)
6181

6282
- Add DecodingKey::from_jwk
6383
- Can now use PEM certificates if you have the `use_pem` feature enabled
6484

65-
6685
## 8.1.1 (2022-06-17)
6786

6887
- Fix invalid field name on OctetKeyParameters
@@ -76,9 +95,8 @@
7695

7796
- Fix documentation of leeway
7897

79-
8098
## 8.0.0 (2022-02-02)
81-
99+
82100
- Add EdDSA algorithm
83101
- `sign`/`verify` now takes a `&[u8]` instead of `&str` to be more flexible
84102
- `DecodingKey` now own its data
@@ -115,7 +133,7 @@
115133
- Add support for PS256, PS384 and PS512
116134
- Add support for verifying with modulus/exponent components for RSA
117135
- Update to 2018 edition
118-
- Changed aud field type in Validation to `Option<HashSet<String>>`. Audience
136+
- Changed aud field type in Validation to `Option<HashSet<String>>`. Audience
119137
validation now tests for "any-of-these" audience membership.
120138
- Add support for keys in PEM format
121139
- Add EncodingKey/DecodingKey API to improve performance and UX
@@ -154,6 +172,7 @@
154172
## 3.0.0 (2017-09-08)
155173

156174
### Breaking changes
175+
157176
- Remove `validate_signature` from `Validation`, use `decode_header` instead if you don't know the alg used
158177
- Make `typ` optional in header, some providers apparently don't use it
159178

0 commit comments

Comments
 (0)