jose breaking changes
Updated December 4, 2026
On this page
Latest version 6.2.19, released November 30, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 5.0.0 to 6.2.19: 339 breaking changes in 15 versions.
- From 4.0.0 to 6.2.19: 394 breaking changes in 16 versions.
jose 6.2.19 breaking changes
- Behavior changed
Audience option values that are boxed objects (such as new String(...)) are now rejected. Pass primitive strings instead. github.com
jose 6.2.18 breaking changes
- Behavior changed
Passing a direct AKP key input without an alg is now rejected. Code that relied on omitting alg must set it explicitly. github.com
jose 6.2.17 breaking changes
- Behavior changed
jwt.maxTokenAge
Negative maxTokenAge values are now rejected instead of being accepted. Check that any maxTokenAge passed to JWT verification is non-negative. github.com
jose 6.2.15 breaking changes
- Behavior changed
A negative clockTolerance is no longer accepted during JWT validation. Code that passes a negative clockTolerance must use a non-negative value. github.com - Behavior changed
Negative cache durations are no longer accepted by the JWKS handling. Code that passes a negative cache duration must switch to a non-negative value. github.com
jose 6.2.11 breaking changes
- Removed
jwe/compact/decrypt:compactDecrypt
compactDecrypt was removed in jose 6.2.11 npmjs.com - Removed
jwe/compact/decrypt:CompactDecryptGetKey
CompactDecryptGetKey was removed in jose 6.2.11 npmjs.com - Removed
jwe/compact/encrypt:CompactEncrypt
CompactEncrypt was removed in jose 6.2.11 npmjs.com - Removed
jwe/flattened/decrypt:flattenedDecrypt
flattenedDecrypt was removed in jose 6.2.11 npmjs.com - Removed
jwe/flattened/decrypt:FlattenedDecryptGetKey
FlattenedDecryptGetKey was removed in jose 6.2.11 npmjs.com - Removed
jwe/flattened/encrypt:FlattenedEncrypt
FlattenedEncrypt was removed in jose 6.2.11 npmjs.com - Removed
jwe/general/decrypt:generalDecrypt
generalDecrypt was removed in jose 6.2.11 npmjs.com - Removed
jwe/general/decrypt:GeneralDecryptGetKey
GeneralDecryptGetKey was removed in jose 6.2.11 npmjs.com - Removed
jwe/general/encrypt:GeneralEncrypt
GeneralEncrypt was removed in jose 6.2.11 npmjs.com - Removed
jwe/general/encrypt:Recipient
Recipient was removed in jose 6.2.11 npmjs.com
And 114 more in this version. Sign up to see every change
jose 6.2.10 breaking changes
- Removed
EncryptJWT.constructor
new EncryptJWT() was removed in jose 6.2.10 npmjs.com - Removed
SignJWT.constructor
new SignJWT() was removed in jose 6.2.10 npmjs.com - Removed
UnsecuredJWT.constructor
new UnsecuredJWT() was removed in jose 6.2.10 npmjs.com - Signature changed
EncryptJWT
Was class EncryptJWT implements types.ProduceJWT; now class EncryptJWT extends EncryptJWT_base. npmjs.com - Signature changed
SignJWT
Was class SignJWT implements types.ProduceJWT; now class SignJWT extends SignJWT_base. npmjs.com - Signature changed
UnsecuredJWT
Was class UnsecuredJWT implements types.ProduceJWT; now class UnsecuredJWT extends UnsecuredJWT_base. npmjs.com
Older versions
11 older versions, each with its first changes. Sign up to see every change
Show 11 older versions
jose 6.2.9 breaking changes
- Behavior changed
JWE inputs whose generated Key Management Parameters collide are now rejected. Code that previously decrypted such tokens will now get an error. github.com
jose 6.2.8 breaking changes
- Behavior changed
JWE decryption using the dir or ECDH-ES algorithm now rejects tokens with more than one recipient, which previously could be processed. Make sure tokens you decrypt with these algorithms contain exactly one recipient. github.com - Behavior changed
An embedded JWK with a non-string "alg" member is now rejected, where it was previously accepted. Make sure embedded keys you pass in use a string "alg" value. github.com
jose 6.2.6 breaking changes
- Signature changed
CryptoKey.type
Was readonly type: 'private' | 'public' | 'secret'; now readonly type: string. npmjs.com - Signature changed
CryptoKey.usages
Was readonly usages: ('decrypt' | 'deriveBits' | 'deriveKey' | 'encrypt' | 'sign' | 'unwrapKey' | 'verify' | 'wrapKey')[]; now readonly usages: string[]. npmjs.com
And 1 more in this version.
jose 6.2.5 breaking changes
- Behavior changed
Inputs containing characters outside the Base64URL alphabet are now rejected. Code that passed such input and expected it to be accepted will now get an error. github.com - Behavior changed
JWS Compact Serialization now rejects tokens with an unencoded payload. Code that relied on accepting such tokens must handle the new error. github.com
And 73 more in this version.
jose 6.1.0 breaking changes
- Signature changed
JoseHeaderParameters.jwk
Was jwk?: Pick<JWK, 'kty' | 'crv' | 'x' | 'y' | 'e' | 'n'>; now jwk?: Pick<JWK, 'kty' | 'crv' | 'x' | 'y' | 'e' | 'n' | 'alg' | 'pub'>. npmjs.com - Signature changed
JWK_EC_Private
Was interface JWK_EC_Private extends JWK_EC_Public, JWKParameters; now interface JWK_EC_Private extends JWK_EC_Public. npmjs.com
And 3 more in this version.
jose 6.0.9 breaking changes
- Removed
ProduceJWT._payload
ProduceJWT._payload was removed in jose 6.0.9 npmjs.com - Removed
ProduceJWT.constructor
new ProduceJWT() was removed in jose 6.0.9 npmjs.com
And 4 more in this version.
jose 6.0.6 breaking changes
- Signature changed
base64url.decode
Was const decode: Base64UrlDecode; now function decode(input: Uint8Array | string): Uint8Array. npmjs.com - Signature changed
base64url.encode
Was const encode: Base64UrlEncode; now function encode(input: Uint8Array | string): string. npmjs.com
jose 6.0.5 breaking changes
- Signature changed
JWKParameters.kty
Was kty: string; now kty?: string. npmjs.com
jose 6.0.0 breaking changes
- Removed
RSA1_5 JWE support is removed. github.com - Removed
JWK key_ops and the CryptoKey usages unwrapKey, wrapKey and deriveKey are no longer supported. github.com
And 107 more in this version.
jose 5.0.0 breaking changes
- Removed
The JWE zip (Compression Algorithm) Header Parameter is no longer supported. Tokens that depend on compression will not work. github.com - Removed
End-of-life Node.js versions are no longer supported. Node.js 18, 20, 21 and later remain supported, so upgrade the runtime before using this release. github.com
And 53 more in this version.
jose 4.0.0 breaking changes
- Removed
All submodule default exports and named exports were removed in favour of named exports from 'jose'. Import everything from 'jose' instead. github.com - Removed
Type re-exports that were repeated have been removed from the TypeScript typings. github.com
And 120 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.