unstale

pypi / joserfc

joserfc

What changed in joserfc 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-12-05.

18 breaking13 security9 new APIs and options3 behavior and defaults12 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.3.1 on npm

joserfc 155 changes

Breaking changes 18

Security 13

New APIs and options 9

  • Adds a derive_key method to ECKey.

    1.6.0release notes

  • Adds a derive_key method to OKPKey.

    1.6.0release notes

  • The algorithm parameter is optional when picking a random key.

    1.6.0release notes

  • Adds the Ed25519 algorithm for JWS.

    1.5.0release notes

  • Adds the Ed448 algorithm for JWS.

    1.5.0release notes

  • Allows jwt.encode to set a default typ value.

    1.5.0release notes

  • Bytes and str keys can be imported without specifying a key type.

    1.4.3release notes

  • Adds a base ClaimError for claim-related errors.

    1.4.1release notes

  • Boolean types were added for registry value and values options, allowing developers to use boolean values with those options.

    1.0.0release notes

Behavior and default changes 3

  • The function supports KeySet objects as input.

    1.6.0release notes

  • The names parameter defaults to all algorithms, so callers can omit it to include all algorithms.

    1.6.0release notes

  • Bindings now check ssh_type and cryptography key types.

    1.4.3release notes

Fixes and other changes 12

  • Typing use was improved.

    1.7.7release notes

  • Reports the correct claim name when the iss claim is invalid.

    1.7.6release notes

  • Handles equality comparisons with unrelated types.

    1.7.6release notes

  • Ignores unknown kty values when importing a key set, as specified by RFC 7517 §5.

    1.7.5release notes

  • JWE decryption uses the original AAD base64 value.

    1.6.9, 1.7.1release notesrelease notes

  • The accepted type for algorithms now includes any Collection, rather than only list.

    1.6.7release notes

  • Adding a JWE recipient automatically adds its kid, including when a kid exists.

    1.6.2release notes

  • BaseClaimsRegistry.essential_keys is now a property.

    1.6.0release notes

  • JWK key import now accepts cryptography native key types.

    1.6.0release notes

  • Generating an ECKey with an invalid crv raises InvalidKeyCurveError.

    1.6.0release notes

  • The RFC9864 key-checking logic is improved.

    1.6.0release notes

  • Groups key-related errors with KeyParameterError.

    1.5.0release notes