jsonwebtoken/CHANGELOG.md

125 lines
3.4 KiB
Markdown
Raw Permalink Normal View History

2017-04-10 23:40:01 -04:00
# Changelog
2022-02-03 14:50:31 -05:00
## 8.0.1 (2022-02-03)
- Fix documentation of leeway
2022-02-01 17:31:44 -05:00
## 8.0.0 (2022-02-02)
2020-11-17 08:28:07 -05:00
- Add EdDSA algorithm
- `sign`/`verify` now takes a `&[u8]` instead of `&str` to be more flexible
2021-02-20 04:00:51 -05:00
- `DecodingKey` now own its data
- Remove deprecated `dangerous_unsafe_decode`
2021-02-25 05:22:12 -05:00
- `Validation::iss` is now a `HashSet` instead of a single value
- `decode` will now error if `Validation::algorithms` is empty
- Add JWKs types for easy interop with various Oauth provider, see `examples/auth0.rs` for an example
2021-09-28 15:26:52 -04:00
- Removed `decode_*` functions in favour of using the `Validation` struct
- Allow float values for `exp` and `nbf`, yes it's in the spec... floats will be rounded and converted to u64
2021-11-19 14:11:17 -05:00
- Error now implements Clone/Eq
- Change default leeway from 0s to 60s
2021-12-15 13:54:54 -05:00
- Add `Validation::require_spec_claims` to validate presence of the spec claims
2022-01-28 16:37:40 -05:00
- Add default feature for pem decoding named `use_pem` that can be disabled to avoid 2 dependencies
2020-11-17 08:28:07 -05:00
2020-06-30 15:25:25 -04:00
## 7.2.0 (2020-06-30)
- Add `dangerous_insecure_decode` to replace `dangerous_unsafe_decode`, which is now deprecated
- Add `dangerous_insecure_decode_with_validation`
2020-06-16 06:07:08 -04:00
## 7.1.2 (2020-06-16)
- Derive `Hash` for `Header` and `Algorithm`
2020-06-09 16:00:37 -04:00
## 7.1.1 (2020-06-09)
- Update dependencies
## 7.1.0 (2020-03-01)
2020-03-01 13:58:18 -05:00
- Add `into_static` to `DecodingKey` for easier re-use
2020-01-28 21:18:21 -05:00
# 7.0.0 (2020-01-28)
2019-05-25 11:51:31 -04:00
2019-06-16 12:03:21 -04:00
- Add support for PS256, PS384 and PS512
2019-07-13 11:43:44 -04:00
- Add support for verifying with modulus/exponent components for RSA
2019-07-06 14:36:32 -04:00
- Update to 2018 edition
2019-10-27 15:16:43 -04:00
- Changed aud field type in Validation to `Option<HashSet<String>>`. Audience
validation now tests for "any-of-these" audience membership.
2019-11-03 10:36:19 -05:00
- Add support for keys in PEM format
2020-01-28 21:18:21 -05:00
- Add EncodingKey/DecodingKey API to improve performance and UX
2019-06-16 12:03:21 -04:00
2019-05-10 19:49:31 -04:00
## 6.0.1 (2019-05-10)
- Fix Algorithm mapping in FromStr for RSA
2019-04-21 04:13:32 -04:00
## 6.0.0 (2019-04-21)
2019-02-04 12:35:39 -05:00
2019-02-04 12:39:46 -05:00
- Update Ring to 0.14
- Remove `iat` check to match the JWT spec
2019-03-22 04:40:08 -04:00
- Add ES256 and ES384 signing decoding
2019-02-04 12:35:39 -05:00
2018-09-10 06:43:45 -04:00
## 5.0.1 (2018-09-10)
- Add implementation of FromStr for Algorithm
2018-08-13 10:06:55 -04:00
## 5.0.0 (2018-08-13)
2018-07-25 08:43:58 -04:00
- Update ring
- Change error handling to be based on simple struct/enum rather than error-chain
- Fix validations not being called properly in some cases
- Default validation is not checking `iat` and `nbf` anymore
2018-07-25 08:43:58 -04:00
2018-03-19 07:30:37 -04:00
## 4.0.1 (2018-03-19)
2018-07-25 08:43:58 -04:00
- Add method to decode a token without signature verification
2017-11-22 11:25:46 -05:00
## 4.0.0 (2017-11-22)
### Breaking changes
- Make it mandatory to specify the algorithm in `decode`
2017-09-08 03:23:15 -04:00
## 3.0.0 (2017-09-08)
2017-11-22 11:25:46 -05:00
### Breaking changes
2017-09-07 03:46:40 -04:00
- Remove `validate_signature` from `Validation`, use `decode_header` instead if you don't know the alg used
2017-08-25 04:51:44 -04:00
- Make `typ` optional in header, some providers apparently don't use it
2017-08-30 05:09:57 -04:00
### Others
2017-09-07 03:46:40 -04:00
- Update ring & error-chain
2017-08-30 05:09:57 -04:00
- Fix documentation about `leeway` being in seconds and not milliseconds
- Add `decode_header` to only decode the header: replaces the use case of `validate_signature`
2017-07-18 07:38:46 -04:00
## 2.0.3 (2017-07-18)
- Make `TokenData` public
2017-06-24 02:18:07 -04:00
## 2.0.2 (2017-06-24)
- Update ring & chrono
2017-05-09 02:49:39 -04:00
## 2.0.1 (2017-05-09)
- Update ring
2017-04-23 01:14:26 -04:00
## 2.0.0 (2017-04-23)
2017-04-10 23:40:01 -04:00
- Use Serde instead of rustc_serialize
- Add RSA support
2017-04-23 01:14:26 -04:00
- API overhaul, see README for new usage
- Add validation
- Update all dependencies
2017-04-10 23:40:01 -04:00
## Previous
- 1.1.7: update ring
- 1.1.6: update ring
- 1.1.5: update ring version
- 1.1.4: use ring instead of rust-crypto
- 1.1.3: Make sign and verify public
- 1.1.2: Update rust-crypto to 0.2.35
- 1.1.1: Don't serialize empty fields in header
- 1.1.0: Impl Error for jsonwebtoken errors
- 1.0: Initial release