Skip to content

Commit

Permalink
chore(release): 5.9.6
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Oct 20, 2024
1 parent 2ef3a52 commit 27d26a4
Show file tree
Hide file tree
Showing 13 changed files with 51 additions and 44 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [5.9.6](https://github.com/panva/jose/compare/v5.9.5...v5.9.6) (2024-10-20)


### Reverts

* Revert "refactor(build): simplify package exports" ([2ef3a52](https://github.com/panva/jose/commit/2ef3a5266e2f903aab2f8c9d43437151d7da0122))

## [5.9.5](https://github.com/panva/jose/compare/v5.9.4...v5.9.5) (2024-10-20)


Expand Down
2 changes: 1 addition & 1 deletion dist/browser/index.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -3118,7 +3118,7 @@ function isCloudflareWorkers() {
var USER_AGENT;
if (typeof navigator === "undefined" || !navigator.userAgent?.startsWith?.("Mozilla/5.0 ")) {
const NAME = "jose";
const VERSION = "v5.9.5";
const VERSION = "v5.9.6";
USER_AGENT = `${NAME}/${VERSION}`;
}
var jwksCache = Symbol();
Expand Down
2 changes: 1 addition & 1 deletion dist/browser/index.bundle.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/browser/index.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -3124,7 +3124,7 @@ ${newlined}
var USER_AGENT;
if (typeof navigator === "undefined" || !navigator.userAgent?.startsWith?.("Mozilla/5.0 ")) {
const NAME = "jose";
const VERSION = "v5.9.5";
const VERSION = "v5.9.6";
USER_AGENT = `${NAME}/${VERSION}`;
}
var jwksCache = Symbol();
Expand Down
2 changes: 1 addition & 1 deletion dist/browser/index.umd.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/browser/jwks/remote.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function isCloudflareWorkers() {
let USER_AGENT;
if (typeof navigator === 'undefined' || !navigator.userAgent?.startsWith?.('Mozilla/5.0 ')) {
const NAME = 'jose';
const VERSION = 'v5.9.5';
const VERSION = 'v5.9.6';
USER_AGENT = `${NAME}/${VERSION}`;
}
export const jwksCache = Symbol();
Expand Down
64 changes: 32 additions & 32 deletions dist/deno/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,75 +20,75 @@ Support from the community to continue maintaining and improving this module is

**`example`** Deno import
```js
import * as jose from 'https://deno.land/x/[email protected].5/index.ts'
import * as jose from 'https://deno.land/x/[email protected].6/index.ts'
```

### JSON Web Tokens (JWT)

The `jose` module supports JSON Web Tokens (JWT) and provides functionality for signing and verifying tokens, as well as their JWT Claims Set validation.

- [JWT Claims Set Validation & Signature Verification](https://github.com/panva/jose/blob/v5.9.5/docs/jwt/verify/functions/jwtVerify.md) using the `jwtVerify` function
- [Using a remote JSON Web Key Set (JWKS)](https://github.com/panva/jose/blob/v5.9.5/docs/jwks/remote/functions/createRemoteJWKSet.md)
- [Using a local JSON Web Key Set (JWKS)](https://github.com/panva/jose/blob/v5.9.5/docs/jwks/local/functions/createLocalJWKSet.md)
- [Signing](https://github.com/panva/jose/blob/v5.9.5/docs/jwt/sign/classes/SignJWT.md) using the `SignJWT` class
- [JWT Claims Set Validation & Signature Verification](https://github.com/panva/jose/blob/v5.9.6/docs/jwt/verify/functions/jwtVerify.md) using the `jwtVerify` function
- [Using a remote JSON Web Key Set (JWKS)](https://github.com/panva/jose/blob/v5.9.6/docs/jwks/remote/functions/createRemoteJWKSet.md)
- [Using a local JSON Web Key Set (JWKS)](https://github.com/panva/jose/blob/v5.9.6/docs/jwks/local/functions/createLocalJWKSet.md)
- [Signing](https://github.com/panva/jose/blob/v5.9.6/docs/jwt/sign/classes/SignJWT.md) using the `SignJWT` class
- Utility functions
- [Decoding Token's Protected Header](https://github.com/panva/jose/blob/v5.9.5/docs/util/decode_protected_header/functions/decodeProtectedHeader.md)
- [Decoding JWT Claims Set](https://github.com/panva/jose/blob/v5.9.5/docs/util/decode_jwt/functions/decodeJwt.md) prior to its validation
- [Decoding Token's Protected Header](https://github.com/panva/jose/blob/v5.9.6/docs/util/decode_protected_header/functions/decodeProtectedHeader.md)
- [Decoding JWT Claims Set](https://github.com/panva/jose/blob/v5.9.6/docs/util/decode_jwt/functions/decodeJwt.md) prior to its validation

### Encrypted JSON Web Tokens

The `jose` module supports encrypted JSON Web Tokens and provides functionality for encrypting and decrypting tokens, as well as their JWT Claims Set validation.

- [Decryption & JWT Claims Set Validation](https://github.com/panva/jose/blob/v5.9.5/docs/jwt/decrypt/functions/jwtDecrypt.md) using the `jwtDecrypt` function
- [Encryption](https://github.com/panva/jose/blob/v5.9.5/docs/jwt/encrypt/classes/EncryptJWT.md) using the `EncryptJWT` class
- [Decryption & JWT Claims Set Validation](https://github.com/panva/jose/blob/v5.9.6/docs/jwt/decrypt/functions/jwtDecrypt.md) using the `jwtDecrypt` function
- [Encryption](https://github.com/panva/jose/blob/v5.9.6/docs/jwt/encrypt/classes/EncryptJWT.md) using the `EncryptJWT` class
- Utility functions
- [Decoding Token's Protected Header](https://github.com/panva/jose/blob/v5.9.5/docs/util/decode_protected_header/functions/decodeProtectedHeader.md)
- [Decoding Token's Protected Header](https://github.com/panva/jose/blob/v5.9.6/docs/util/decode_protected_header/functions/decodeProtectedHeader.md)

### Key Utilities

The `jose` module supports importing, exporting, and generating keys and secrets in various formats, including PEM formats like SPKI, X.509 certificate, and PKCS #8, as well as JSON Web Key (JWK).

- Key Import Functions
- [JWK Import](https://github.com/panva/jose/blob/v5.9.5/docs/key/import/functions/importJWK.md)
- [Public Key Import (SPKI)](https://github.com/panva/jose/blob/v5.9.5/docs/key/import/functions/importSPKI.md)
- [Public Key Import (X.509 Certificate)](https://github.com/panva/jose/blob/v5.9.5/docs/key/import/functions/importX509.md)
- [Private Key Import (PKCS #8)](https://github.com/panva/jose/blob/v5.9.5/docs/key/import/functions/importPKCS8.md)
- [JWK Import](https://github.com/panva/jose/blob/v5.9.6/docs/key/import/functions/importJWK.md)
- [Public Key Import (SPKI)](https://github.com/panva/jose/blob/v5.9.6/docs/key/import/functions/importSPKI.md)
- [Public Key Import (X.509 Certificate)](https://github.com/panva/jose/blob/v5.9.6/docs/key/import/functions/importX509.md)
- [Private Key Import (PKCS #8)](https://github.com/panva/jose/blob/v5.9.6/docs/key/import/functions/importPKCS8.md)
- Key and Secret Generation Functions
- [Asymmetric Key Pair Generation](https://github.com/panva/jose/blob/v5.9.5/docs/key/generate_key_pair/functions/generateKeyPair.md)
- [Symmetric Secret Generation](https://github.com/panva/jose/blob/v5.9.5/docs/key/generate_secret/functions/generateSecret.md)
- [Asymmetric Key Pair Generation](https://github.com/panva/jose/blob/v5.9.6/docs/key/generate_key_pair/functions/generateKeyPair.md)
- [Symmetric Secret Generation](https://github.com/panva/jose/blob/v5.9.6/docs/key/generate_secret/functions/generateSecret.md)
- Key Export Functions
- [JWK Export](https://github.com/panva/jose/blob/v5.9.5/docs/key/export/functions/exportJWK.md)
- [Private Key Export](https://github.com/panva/jose/blob/v5.9.5/docs/dkey/export/functions/exportPKCS8.md)
- [Public Key Export](https://github.com/panva/jose/blob/v5.9.5/docs/dkey/export/functions/exportSPKI.md)
- [JWK Export](https://github.com/panva/jose/blob/v5.9.6/docs/key/export/functions/exportJWK.md)
- [Private Key Export](https://github.com/panva/jose/blob/v5.9.6/docs/dkey/export/functions/exportPKCS8.md)
- [Public Key Export](https://github.com/panva/jose/blob/v5.9.6/docs/dkey/export/functions/exportSPKI.md)

### JSON Web Signature (JWS)

The `jose` module supports signing and verification of JWS messages with arbitrary payloads in Compact, Flattened JSON, and General JSON serialization syntaxes.

- Signing - [Compact](https://github.com/panva/jose/blob/v5.9.5/docs/jws/compact/sign/classes/CompactSign.md), [Flattened JSON](https://github.com/panva/jose/blob/v5.9.5/docs/jws/flattened/sign/classes/FlattenedSign.md), [General JSON](https://github.com/panva/jose/blob/v5.9.5/docs/jws/general/sign/classes/GeneralSign.md)
- Verification - [Compact](https://github.com/panva/jose/blob/v5.9.5/docs/jws/compact/verify/functions/compactVerify.md), [Flattened JSON](https://github.com/panva/jose/blob/v5.9.5/docs/jws/flattened/verify/functions/flattenedVerify.md), [General JSON](https://github.com/panva/jose/blob/v5.9.5/docs/jws/general/verify/functions/generalVerify.md)
- [Using a remote JSON Web Key Set (JWKS)](https://github.com/panva/jose/blob/v5.9.5/docs/jwks/remote/functions/createRemoteJWKSet.md)
- [Using a local JSON Web Key Set (JWKS)](https://github.com/panva/jose/blob/v5.9.5/docs/jwks/local/functions/createLocalJWKSet.md)
- Signing - [Compact](https://github.com/panva/jose/blob/v5.9.6/docs/jws/compact/sign/classes/CompactSign.md), [Flattened JSON](https://github.com/panva/jose/blob/v5.9.6/docs/jws/flattened/sign/classes/FlattenedSign.md), [General JSON](https://github.com/panva/jose/blob/v5.9.6/docs/jws/general/sign/classes/GeneralSign.md)
- Verification - [Compact](https://github.com/panva/jose/blob/v5.9.6/docs/jws/compact/verify/functions/compactVerify.md), [Flattened JSON](https://github.com/panva/jose/blob/v5.9.6/docs/jws/flattened/verify/functions/flattenedVerify.md), [General JSON](https://github.com/panva/jose/blob/v5.9.6/docs/jws/general/verify/functions/generalVerify.md)
- [Using a remote JSON Web Key Set (JWKS)](https://github.com/panva/jose/blob/v5.9.6/docs/jwks/remote/functions/createRemoteJWKSet.md)
- [Using a local JSON Web Key Set (JWKS)](https://github.com/panva/jose/blob/v5.9.6/docs/jwks/local/functions/createLocalJWKSet.md)
- Utility functions
- [Decoding Token's Protected Header](https://github.com/panva/jose/blob/v5.9.5/docs/util/decode_protected_header/functions/decodeProtectedHeader.md)
- [Decoding Token's Protected Header](https://github.com/panva/jose/blob/v5.9.6/docs/util/decode_protected_header/functions/decodeProtectedHeader.md)

### JSON Web Encryption (JWE)

The `jose` module supports encryption and decryption of JWE messages with arbitrary plaintext in Compact, Flattened JSON, and General JSON serialization syntaxes.

- Encryption - [Compact](https://github.com/panva/jose/blob/v5.9.5/docs/jwe/compact/encrypt/classes/CompactEncrypt.md), [Flattened JSON](https://github.com/panva/jose/blob/v5.9.5/docs/jwe/flattened/encrypt/classes/FlattenedEncrypt.md), [General JSON](https://github.com/panva/jose/blob/v5.9.5/docs/jwe/general/encrypt/classes/GeneralEncrypt.md)
- Decryption - [Compact](https://github.com/panva/jose/blob/v5.9.5/docs/jwe/compact/decrypt/functions/compactDecrypt.md), [Flattened JSON](https://github.com/panva/jose/blob/v5.9.5/docs/jwe/flattened/decrypt/functions/flattenedDecrypt.md), [General JSON](https://github.com/panva/jose/blob/v5.9.5/docs/jwe/general/decrypt/functions/generalDecrypt.md)
- Encryption - [Compact](https://github.com/panva/jose/blob/v5.9.6/docs/jwe/compact/encrypt/classes/CompactEncrypt.md), [Flattened JSON](https://github.com/panva/jose/blob/v5.9.6/docs/jwe/flattened/encrypt/classes/FlattenedEncrypt.md), [General JSON](https://github.com/panva/jose/blob/v5.9.6/docs/jwe/general/encrypt/classes/GeneralEncrypt.md)
- Decryption - [Compact](https://github.com/panva/jose/blob/v5.9.6/docs/jwe/compact/decrypt/functions/compactDecrypt.md), [Flattened JSON](https://github.com/panva/jose/blob/v5.9.6/docs/jwe/flattened/decrypt/functions/flattenedDecrypt.md), [General JSON](https://github.com/panva/jose/blob/v5.9.6/docs/jwe/general/decrypt/functions/generalDecrypt.md)
- Utility functions
- [Decoding Token's Protected Header](https://github.com/panva/jose/blob/v5.9.5/docs/util/decode_protected_header/functions/decodeProtectedHeader.md)
- [Decoding Token's Protected Header](https://github.com/panva/jose/blob/v5.9.6/docs/util/decode_protected_header/functions/decodeProtectedHeader.md)

### Other

The following are additional features and utilities provided by the `jose` module:

- [Calculating JWK Thumbprint](https://github.com/panva/jose/blob/v5.9.5/docs/jwk/thumbprint/functions/calculateJwkThumbprint.md)
- [Calculating JWK Thumbprint URI](https://github.com/panva/jose/blob/v5.9.5/docs/jwk/thumbprint/functions/calculateJwkThumbprintUri.md)
- [Verification using a JWK Embedded in a JWS Header](https://github.com/panva/jose/blob/v5.9.5/docs/jwk/embedded/functions/EmbeddedJWK.md)
- [Unsecured JWT](https://github.com/panva/jose/blob/v5.9.5/docs/jwt/unsecured/classes/UnsecuredJWT.md)
- [JOSE Errors](https://github.com/panva/jose/blob/v5.9.5/docs/util/errors/README.md)
- [Calculating JWK Thumbprint](https://github.com/panva/jose/blob/v5.9.6/docs/jwk/thumbprint/functions/calculateJwkThumbprint.md)
- [Calculating JWK Thumbprint URI](https://github.com/panva/jose/blob/v5.9.6/docs/jwk/thumbprint/functions/calculateJwkThumbprintUri.md)
- [Verification using a JWK Embedded in a JWS Header](https://github.com/panva/jose/blob/v5.9.6/docs/jwk/embedded/functions/EmbeddedJWK.md)
- [Unsecured JWT](https://github.com/panva/jose/blob/v5.9.6/docs/jwt/unsecured/classes/UnsecuredJWT.md)
- [JOSE Errors](https://github.com/panva/jose/blob/v5.9.6/docs/util/errors/README.md)

[sponsor-auth0]: https://auth0.com/signup?utm_source=external_sites&utm_medium=panva&utm_campaign=devn_signup
2 changes: 1 addition & 1 deletion dist/deno/jwks/remote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ let USER_AGENT: string
// @ts-ignore
if (typeof navigator === 'undefined' || !navigator.userAgent?.startsWith?.('Mozilla/5.0 ')) {
const NAME = 'jose'
const VERSION = 'v5.9.5'
const VERSION = 'v5.9.6'
USER_AGENT = `${NAME}/${VERSION}`
}

Expand Down
2 changes: 1 addition & 1 deletion dist/node/cjs/jwks/remote.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function isCloudflareWorkers() {
let USER_AGENT;
if (typeof navigator === 'undefined' || !navigator.userAgent?.startsWith?.('Mozilla/5.0 ')) {
const NAME = 'jose';
const VERSION = 'v5.9.5';
const VERSION = 'v5.9.6';
USER_AGENT = `${NAME}/${VERSION}`;
}
exports.jwksCache = Symbol();
Expand Down
2 changes: 1 addition & 1 deletion dist/node/esm/jwks/remote.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function isCloudflareWorkers() {
let USER_AGENT;
if (typeof navigator === 'undefined' || !navigator.userAgent?.startsWith?.('Mozilla/5.0 ')) {
const NAME = 'jose';
const VERSION = 'v5.9.5';
const VERSION = 'v5.9.6';
USER_AGENT = `${NAME}/${VERSION}`;
}
export const jwksCache = Symbol();
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jose",
"version": "5.9.5",
"version": "5.9.6",
"description": "JWA, JWS, JWE, JWT, JWK, JWKS for Node.js, Browser, Cloudflare Workers, Deno, Bun, and other Web-interoperable runtimes",
"keywords": [
"browser",
Expand Down
2 changes: 1 addition & 1 deletion src/jwks/remote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ let USER_AGENT: string
// @ts-ignore
if (typeof navigator === 'undefined' || !navigator.userAgent?.startsWith?.('Mozilla/5.0 ')) {
const NAME = 'jose'
const VERSION = 'v5.9.5'
const VERSION = 'v5.9.6'
USER_AGENT = `${NAME}/${VERSION}`
}

Expand Down

0 comments on commit 27d26a4

Please sign in to comment.