8000 chore: release v3.0.0 by alexrudy-bot[bot] · Pull Request #78 · alexrudy/jaws · GitHub
[go: up one dir, main page]

Skip to content

chore: release v3.0.0 - #78

Open
alexrudy-bot[bot] wants to merge 1 commit into
mainfrom
release-plz-2026-11-22T18-39-26Z
Open

alexrudy-bot[bot] wants to merge 1 commit into
mainfrom
release-plz-2026-11-22T18-39-26Z

Conversation

@alexrudy-bot
@alexrudy-bot alexrudy-bot Bot commented Nov 22, 2026 •
Copy link
Copy Markdown
Contributor

🤖 New release

  • jaws: 2.1.2 -> 3.0.0 (⚠ API breaking changes)

⚠ jaws breaking changes

--- failure constructible_struct_adds_field: struct exhaustively constructible through public API adds field ---

Description:
A pub struct that could be exhaustively constructed with a literal using only public API has a new pub field, breaking existing exhaustive literals.
        ref: https://doc.rust-lang.org/reference/expressions/struct-expr.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/constructible_struct_adds_field.ron

Failed in:
  field Restricted.inner in /tmp/.tmp6I2frP/jaws/src/key/restricted.rs:38

--- failure enum_changed_kind: pub enum changed kind ---

Description:
A public enum has been replaced by a different kind of item at the same path, which breaks code that relied on the enum's variants and representation.
        ref: https://github.com/obi1kenobi/cargo-semver-checks/issues/302
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/enum_changed_kind.ron

Failed in:
  enum jaws::token::TokenVerifyingError became struct in /tmp/.tmp6I2frP/jaws/src/token/mod.rs:746

--- failure inherent_method_missing: pub method removed or renamed ---

Description:
A publicly-visible method or associated fn is no longer available under its prior name. It may have been renamed or removed entirely.
    
8000
    ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/inherent_method_missing.ron

Failed in:
  PrivateWebKey::into_algorithm, previously in file /tmp/.tmpHx2TYV/jaws/src/key/jwk.rs:152
  PublicWebKey::into_algorithm, previously in file /tmp/.tmpHx2TYV/jaws/src/key/jwk.rs:408

--- failure method_receiver_mut_ref_became_owned: method receiver changed from mutable reference to owned value ---

Description:
A method's receiver changed from a mutable reference to an owned value. Ownership is transferred as part of the call, which is a breaking change.
        ref: https://doc.rust-lang.org/reference/items/associated-items.html#methods
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/method_receiver_mut_ref_became_owned.ron

Failed in:
  jaws::jose::HeaderAccessMut::custom now takes Self, not &mut Self, in /tmp/.tmp6I2frP/jaws/src/jose/mod.rs:523
  jaws::jose::HeaderAccessMut::jwk_set_url now takes Self, not &mut Self, in /tmp/.tmp6I2frP/jaws/src/jose/mod.rs:528
  jaws::jose::HeaderAccessMut::type now takes Self, not &mut Self, in /tmp/.tmp6I2frP/jaws/src/jose/mod.rs:533
  jaws::jose::HeaderAccessMut::key_id now takes Self, not &mut Self, in /tmp/.tmp6I2frP/jaws/src/jose/mod.rs:538
  jaws::jose::HeaderAccessMut::certificate_url now takes Self, not &mut Self, in /tmp/.tmp6I2frP/jaws/src/jose/mod.rs:543
  jaws::jose::HeaderAccessMut::certificate_chain now takes Self, not &mut Self, in /tmp/.tmp6I2frP/jaws/src/jose/mod.rs:548
  jaws::jose::HeaderAccessMut::content_type now takes Self, not &mut Self, in /tmp/.tmp6I2frP/jaws/src/jose/mod.rs:553
  jaws::jose::HeaderAccessMut::critical now takes Self, not &mut Self, in /tmp/.tmp6I2frP/jaws/src/jose/mod.rs:558
  jaws::jose::HeaderAccessMut::key now takes Self, not &mut Self, in /tmp/.tmp6I2frP/jaws/src/jose/mod.rs:571
  jaws::jose::HeaderAccessMut::thumbprint now takes Self, not &mut Self, in /tmp/.tmp6I2frP/jaws/src/jose/mod.rs:576
  jaws::jose::HeaderAccessMut::thumbprint_sha256 now takes Self, not &mut Self, in /tmp/.tmp6I2frP/jaws/src/jose/mod.rs:581

--- failure struct_pub_field_missing: pub struct's pub field removed or renamed ---

Description:
A publicly-visible struct has at least one public field that is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/struct_pub_field_missing.ron

Failed in:
  field key of struct Restricted, previously in file /tmp/.tmpHx2TYV/jaws/src/key/restricted.rs:35

--- failure trait_requires_more_generic_type_params: trait now requires more generic type parameters ---

Description:
A trait now requires more generic type parameters than it used to. Uses of this trait that supplied the previously-required number of generic types will be broken. To fix this, consider supplying default values for newly-added generic types.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#trait-new-parameter-no-default
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.51.0/src/lints/trait_requires_more_generic_type_params.ron

Failed in:
  trait TokenVerifyingError (0 -> 3 required generic types) in /tmp/.tmp6I2frP/jaws/src/token/mod.rs:746
Changelog

3.0.0 - 2026-11-22

Added

  • add support for claim validation
  • Validate JWKSets when restricted.
  • Validate tokens using a JWKS

Other

  • cargo clippy
  • Fixup doctests
  • Fix feature dependencies for tests/claims
  • Move claims behind a feature
  • jiff wrapper type for serde
  • migrate from chrono to jiff
  • Merge pull request Rust Edition 2024 #79 from alexrudy/chore/rust-2024
  • Merge pull request Expose the chrono serde implementation for JWTs #76 from alexrudy/bugfix/numeric-date
  • clippy fix for rust 2024
  • fmt change for 2024
  • upgrade to rust 2024
  • fixes
  • Review follow-ups
  • Header lifetimes come from token
  • Expose the chrono serde implementation for JWTs


This PR was generated with release-plz.

@alexrudy-bot
alexrudy-bot Bot force-pushed the release-plz-2026-11-22T18-39-26Z branch 2 times, most recently from e5536da to 13bb239 Compare November 22, 2026 18:48
@alexrudy-bot
alexrudy-bot Bot force-pushed the release-plz-2026-11-22T18-39-26Z branch from 13bb239 to 9372252 Compare November 22, 2026 21:10

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants

0