gotham-rs / gotham

A flexible web framework that promotes stability, safety, security and speed.
https://gotham.rs
Other
2.24k stars 125 forks source link

Update jsonwebtoken requirement from 8.0 to 9.0 #629

Closed dependabot[bot] closed 11 months ago

dependabot[bot] commented 11 months ago

Updates the requirements on jsonwebtoken to permit the latest version.

Changelog

Sourced from jsonwebtoken's changelog.

9.0.0 (2023-10-16)

  • Update ring
  • Rejects JWTs containing audiences when the Validation doesn't contain any

8.3.0 (2023-03-15)

  • Update base64
  • Implement Clone for TokenData if T impls Clone

8.2.0 (2022-12-03)

  • Add DecodingKey::from_jwk
  • Can now use PEM certificates if you have the use_pem feature enabled

8.1.1 (2022-06-17)

  • Fix invalid field name on OctetKeyParameters

8.1.0 (2022-04-12)

  • Make optional fields in the spec really optional
  • Implements Hash for Header

8.0.1 (2022-02-03)

  • Fix documentation of leeway

8.0.0 (2022-02-02)

  • Add EdDSA algorithm
  • sign/verify now takes a &[u8] instead of &str to be more flexible
  • DecodingKey now own its data
  • Remove deprecated dangerous_unsafe_decode
  • 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
  • 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
  • Error now implements Clone/Eq
  • Change default leeway from 0s to 60s
  • Add Validation::require_spec_claims to validate presence of the spec claims
  • Add default feature for pem decoding named use_pem that can be disabled to avoid 2 dependencies

7.2.0 (2020-06-30)

  • Add dangerous_insecure_decode to replace dangerous_unsafe_decode, which is now deprecated

... (truncated)

Commits


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
codecov[bot] commented 11 months ago

Codecov Report

Merging #629 (41c67d2) into main (7ea4025) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #629   +/-   ##
=======================================
  Coverage   78.73%   78.73%           
=======================================
  Files          72       72           
  Lines        2088     2088           
=======================================
  Hits         1644     1644           
  Misses        444      444           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

dependabot[bot] commented 11 months ago

Superseded by #630.