Skip to content

Commit

Permalink
docs: update links, v3.x notice
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed Nov 11, 2020
1 parent c803d1b commit 85c9f23
Showing 1 changed file with 32 additions and 11 deletions.
43 changes: 32 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@
<p align="center"><img src="/img/demo.gif?raw=true"/></p>

## New major version is available

`v2.x` continues being supported. It will continue receiving
bug fixes until 2022-04-30. It will not be receiving any new
features.

`v3.x` is [available](https://github.com/panva/jose) with

- Revised API
- No dependencies
- Browser support
- Promise-based API
- experimental (non-blocking 🎉) Node.js libuv thread pool based runtime

## Implemented specs & features

The following specifications are implemented by `jose`
Expand Down Expand Up @@ -49,7 +63,7 @@ is also supported.
Installing `jose`

```console
npm install jose
npm install jose@2
```

Usage
Expand Down Expand Up @@ -303,9 +317,9 @@ jose.JWE.decrypt(

| JWT profile validation | Supported | Stable profile | |
| -- | -- | -- | -- |
| JWT Access Tokens - [JWT Profile for OAuth 2.0 Access Tokens][draft-ietf-oauth-access-token-jwt] || ✕<sup>5</sup> | see [`JWT.AccessToken.verify`](/docs/README.md#jwtaccesstokenverifytoken-keyorstore-options) |
| ID Token - [OpenID Connect Core 1.0][spec-oidc-id_token] ||| see [`JWT.IdToken.verify`](/docs/README.md#jwtidtokenverifytoken-keyorstore-options) |
| Logout Token - [OpenID Connect Back-Channel Logout 1.0][spec-oidc-logout_token] || ✕<sup>5</sup> | see [`JWT.LogoutToken.verify`](/docs/README.md#jwtlogouttokenverifytoken-keyorstore-options) |
| JWT Access Tokens - [JWT Profile for OAuth 2.0 Access Tokens][draft-ietf-oauth-access-token-jwt] || ✕<sup>5</sup> | see [`JWT.AccessToken.verify`]([/docs/README.md](https://github.com/panva/jose/blob/v2.x/docs/README.md)#jwtaccesstokenverifytoken-keyorstore-options) |
| ID Token - [OpenID Connect Core 1.0][spec-oidc-id_token] ||| see [`JWT.IdToken.verify`]([/docs/README.md](https://github.com/panva/jose/blob/v2.x/docs/README.md)#jwtidtokenverifytoken-keyorstore-options) |
| Logout Token - [OpenID Connect Back-Channel Logout 1.0][spec-oidc-logout_token] || ✕<sup>5</sup> | see [`JWT.LogoutToken.verify`]([/docs/README.md](https://github.com/panva/jose/blob/v2.x/docs/README.md)#jwtlogouttokenverifytoken-keyorstore-options) |
| JARM - [JWT Secured Authorization Response Mode for OAuth 2.0][draft-jarm] ||||
| [JWT Response for OAuth Token Introspection][draft-jwtintrospection] ||||
| [OAuth 2.0 DPoP][draft-dpop] ||||
Expand All @@ -327,6 +341,13 @@ attention to changelog and the drafts themselves.

## FAQ

#### Supported Versions

| Version | Bug Fixes 🐞 | New Features ⭐ |
| ------- | --------- | -------- |
| [3.x.x](https://github.com/panva/jose) |||
| [2.x.x](https://github.com/panva/jose/tree/v2.x) | ✅ until 2022-04-30 ||

#### Semver?

**Yes.** Everything that's either exported in the TypeScript definitions file or
Expand Down Expand Up @@ -377,13 +398,13 @@ in terms of performance and API (not having well defined errors).

&plus; this was an amazing opportunity to learn JOSE as a whole

[documentation-jwe]: /docs/README.md#jwe-json-web-encryption
[documentation-jwk]: /docs/README.md#jwk-json-web-key
[documentation-jwks]: /docs/README.md#jwks-json-web-key-set
[documentation-jws]: /docs/README.md#jws-json-web-signature
[documentation-jwt]: /docs/README.md#jwt-json-web-token
[documentation-none]: /docs/README.md#jwknone
[documentation]: /docs/README.md
[documentation-jwe]: https://github.com/panva/jose/blob/v2.x/docs/README.md#jwe-json-web-encryption
[documentation-jwk]: https://github.com/panva/jose/blob/v2.x/docs/README.md#jwk-json-web-key
[documentation-jwks]: https://github.com/panva/jose/blob/v2.x/docs/README.md#jwks-json-web-key-set
[documentation-jws]: https://github.com/panva/jose/blob/v2.x/docs/README.md#jws-json-web-signature
[documentation-jwt]: https://github.com/panva/jose/blob/v2.x/docs/README.md#jwt-json-web-token
[documentation-none]: https://github.com/panva/jose/blob/v2.x/docs/README.md#jwknone
[documentation]: https://github.com/panva/jose/blob/v2.x/docs/README.md
[node-jose]: https://github.com/cisco/node-jose
[spec-b64]: https://tools.ietf.org/html/rfc7797
[spec-cookbook]: https://tools.ietf.org/html/rfc7520
Expand Down

0 comments on commit 85c9f23

Please sign in to comment.