-
MultiIssuertype for verifying tokens from multiple issuers. -
rust_cryptofeature that enables therust_cryptobackend ofjsonwebtokenfor verifying tokens. This is enabled by default. -
aws_lc_rsfeature that enables theaws_lc_rsbackend ofjsonwebtokenfor verifying tokens. This is disabled by default. -
A request timeout of 30 seconds is now used when fetching keys.
-
Added the following dependencies:
- async-std [1.13.0]
- url [2.5.8]
- thiserror [2.0.19]
-
Migrated to the 2024 edition.
-
MSRV is now 1.88.0
-
Audience validation now only applies when an audience has been specified.
-
The
issclaim is required to be present in the token. -
The keys will now be fetched again when a token presents a key id that was not found.
-
A failed key request will now return an error instead of attempting to parse the response.
-
Errors are now returned using the
Errortype of the crate instead of anyhow. -
Moved anyhow to the dev-dependencies.
-
Tokens are now only decoded once when a client_id is set.
-
add_audiencenow applies the audience when one has already been set. -
Updated the minimum versions of the following dependencies:
- jsonwebtoken [11.1.0]
- reqwest [0.13.5]
- reqwest-middleware [0.5.2]
- http-cache-surf [0.15.0]
- http-cache-reqwest [1.0.0-alpha.9]
- jwt-simple [0.15.0]
-
Removed the following dependencies:
- async-trait
-
Disabled the default features for reqwest.
-
Updated the minimum versions of the following dependencies:
- reqwest [0.12.12]
- reqwest-middleware [0.4.0]
- http-cache-surf [0.14.1]
- http-cache-reqwest [0.15.1]
validate_audfield and method toVerifierfor overriding the validation of the audience claim. This is set totrueby default.validate_expfield and method toVerifierfor overriding the validation of the expiration claim. This is set totrueby default.validate_nbffield and method toVerifierfor overriding the validation of the not before claim. This is set tofalseby default.
-
client-reqwestfeature is now enabled by default. -
client-surffeature is now disabled by default. -
MSRV is now 1.73.0
-
Updated the minimum versions of the following dependencies:
- jsonwebtoken [9.3.0]
- reqwest [0.12.8]
- reqwest-middleware [0.3.3]
- http-cache-surf [0.13.0]
- http-cache-reqwest [0.14.0]
-
Removed the following dependencies:
- jsonwebkey
client-surffeature that enables thesurfclient for remote requests. This is enabled by default.cache-surffeature that enables cache on disk to store keys when using thesurfclient. This is disabled by default.client-reqwestfeature that enables thereqwestclient for remote requests. This is disabled by default.cache-reqwestfeature that enables cache on disk to store keys when using thereqwestclient. This is disabled by default.
-
MSRV is now 1.65.0
-
Updated the minimum versions of the following dependencies:
- async-trait [0.1.72]
- serde [1.0.178]
- serde_json [1.0.104]
- http-cache-surf [0.11.2]
- Updated the minimum versions of the following dependencies:
- anyhow [1.0.72]
- async-trait [0.1.71]
- serde [1.0.171]
- serde_json [1.0.103]
- http-cache-surf [0.11.0]
- jwt-simple [0.11.6]
- mockito [1.1.0]
keys_endpointfield inConfigstruct set to public
new_with_configmethod that allows for overriding the default configurationConfigstruct for options passed to thenew_with_configmethod
-
MSRV is now 1.63.0
-
Updated the minimum versions of the following dependencies:
- anyhow [1.0.70]
- jsonwebtoken [8.3.0]
- async-trait [0.1.68]
- serde [1.0.160]
- serde_json [1.0.96]
- http-cache-surf [0.9.0]
- jwt-simple [0.11.4]
- mockito [1.0.2]
-
MSRV is now 1.60.0
-
Edition is now 2021
-
Updated the minimum versions of the following dependencies:
- anyhow [1.0.69]
- jsonwebtoken [8.2.0]
- async-trait [0.1.64]
- serde [1.0.152]
- serde_json [1.0.92]
- http-cache-surf [0.6.0]
- jwt-simple [0.11.3]
- mockito [0.31.1]
- Updated the minimum versions of the following dependencies:
- async-trait [0.1.58]
- anyhow [0.1.66]
- http-cache-surf [0.5.2]
- jsonwebtoken [8.1.1]
- jwt-simple [0.11.2]
- serde [1.0.147]
- serde_json [1.0.87]
- async-std [1.12.0]
- Updated the minimum versions of the following dependencies:
- async-trait [0.1.56]
- http-cache-surf [0.5.0]
- jsonwebtoken [8.1.1]
- serde [1.0.137]
- serde_json [1.0.81]
- This changelog to keep a record of notable changes to the project.
- Updated the minimum versions of the following dependencies:
- jsonwebtoken [8.1.0]
- async-std [1.11.0]
- mockito [0.31.0]
- async-trait [0.1.53]
- jwt-simple [0.11.0]
- http-cache-surf [0.4.6]
- serde_json [1.0.79]
- jsonwebkey [0.3.5]
- anyhow [1.0.57]