Skip to content

Commit

Permalink
Release 3.0.0 (#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
Widcket authored Jul 20, 2022
1 parent 47a1074 commit f6181fa
Show file tree
Hide file tree
Showing 40 changed files with 82 additions and 64 deletions.
25 changes: 23 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,28 @@
# Change Log

## [3.0.0-fa.0](https://github.com/auth0/JWTDecode.swift/tree/3.0.0-fa.0) (2022-06-24)
[Full Changelog](https://github.com/auth0/JWTDecode.swift/compare/2.6.3...3.0.0-fa.0)
## [3.0.0](https://github.com/auth0/JWTDecode.swift/tree/3.0.0) (2022-07-20)
[Full Changelog](https://github.com/auth0/JWTDecode.swift/compare/2.6.3...3.0.0)

[Migration Guide](V3_MIGRATION_GUIDE.md)

**⚠️ BREAKING CHANGES**
- Rename `DecodeError` and error case [\#162](https://github.com/auth0/JWTDecode.swift/pull/162) ([Widcket](https://github.com/Widcket))
- Drop support for Objective-C [SDK-3405] [\#149](https://github.com/auth0/JWTDecode.swift/pull/149) ([Widcket](https://github.com/Widcket))
- Remove ID token validator [SDK-3395] [\#145](https://github.com/auth0/JWTDecode.swift/pull/145) ([Widcket](https://github.com/Widcket))
- Drop support for old platform versions [SDK-3386] [\#143](https://github.com/auth0/JWTDecode.swift/pull/143) ([Widcket](https://github.com/Widcket))
- Drop support for old Swift versions [SDK-3394] [\#142](https://github.com/auth0/JWTDecode.swift/pull/142) ([Widcket](https://github.com/Widcket))

**Added**
- Add subscript getter for claims [SDK-3421] [\#156](https://github.com/auth0/JWTDecode.swift/pull/156) ([Widcket](https://github.com/Widcket))

**Changed**
- Apply recommended Xcode 14 settings [\#159](https://github.com/auth0/JWTDecode.swift/pull/159) ([Widcket](https://github.com/Widcket))
- Improve display of `DecodeError` [SDK-3427] [\#158](https://github.com/auth0/JWTDecode.swift/pull/158) ([Widcket](https://github.com/Widcket))

## [3.0.0-fa](https://github.com/auth0/JWTDecode.swift/tree/3.0.0-fa) (2022-06-24)
[Full Changelog](https://github.com/auth0/JWTDecode.swift/compare/2.6.3...3.0.0-fa)

[Migration Guide](V3_MIGRATION_GUIDE.md)

**⚠️ BREAKING CHANGES**
- Rename `DecodeError` and error case [\#162](https://github.com/auth0/JWTDecode.swift/pull/162) ([Widcket](https://github.com/Widcket))
Expand Down
40 changes: 20 additions & 20 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ GEM
specs:
CFPropertyList (3.0.5)
rexml
activesupport (6.1.6)
activesupport (6.1.6.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
Expand All @@ -17,20 +17,20 @@ GEM
artifactory (3.0.15)
atomos (0.1.3)
aws-eventstream (1.2.0)
aws-partitions (1.601.0)
aws-sdk-core (3.131.2)
aws-partitions (1.608.0)
aws-sdk-core (3.131.3)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.525.0)
aws-sigv4 (~> 1.1)
jmespath (~> 1, >= 1.6.1)
aws-sdk-kms (1.57.0)
aws-sdk-kms (1.58.0)
aws-sdk-core (~> 3, >= 3.127.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.114.0)
aws-sdk-core (~> 3, >= 3.127.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.4)
aws-sigv4 (1.5.0)
aws-sigv4 (1.5.1)
aws-eventstream (~> 1, >= 1.0.2)
babosa (1.0.4)
claide (1.1.0)
Expand Down Expand Up @@ -117,7 +117,7 @@ GEM
faraday_middleware (1.2.0)
faraday (~> 1.0)
fastimage (2.2.6)
fastlane (2.206.2)
fastlane (2.208.0)
CFPropertyList (>= 2.3, < 4.0.0)
addressable (>= 2.8, < 3.0.0)
artifactory (~> 3.0)
Expand Down Expand Up @@ -162,9 +162,9 @@ GEM
fourflusher (2.3.1)
fuzzy_match (2.0.4)
gh_inspector (1.1.3)
google-apis-androidpublisher_v3 (0.22.0)
google-apis-core (>= 0.5, < 2.a)
google-apis-core (0.6.0)
google-apis-androidpublisher_v3 (0.25.0)
google-apis-core (>= 0.7, < 2.a)
google-apis-core (0.7.0)
addressable (~> 2.5, >= 2.5.1)
googleauth (>= 0.16.2, < 2.a)
httpclient (>= 2.8.1, < 3.a)
Expand All @@ -173,19 +173,19 @@ GEM
retriable (>= 2.0, < 4.a)
rexml
webrick
google-apis-iamcredentials_v1 (0.12.0)
google-apis-core (>= 0.6, < 2.a)
google-apis-playcustomapp_v1 (0.9.0)
google-apis-core (>= 0.6, < 2.a)
google-apis-storage_v1 (0.15.0)
google-apis-core (>= 0.5, < 2.a)
google-apis-iamcredentials_v1 (0.13.0)
google-apis-core (>= 0.7, < 2.a)
google-apis-playcustomapp_v1 (0.10.0)
google-apis-core (>= 0.7, < 2.a)
google-apis-storage_v1 (0.18.0)
google-apis-core (>= 0.7, < 2.a)
google-cloud-core (1.6.0)
google-cloud-env (~> 1.0)
google-cloud-errors (~> 1.0)
google-cloud-env (1.6.0)
faraday (>= 0.17.3, < 3.0)
google-cloud-errors (1.2.0)
google-cloud-storage (1.36.2)
google-cloud-storage (1.37.0)
addressable (~> 2.8)
digest-crc (~> 0.4)
google-apis-iamcredentials_v1 (~> 0.1)
Expand All @@ -204,7 +204,7 @@ GEM
http-cookie (1.0.5)
domain_name (~> 0.5)
httpclient (2.8.3)
i18n (1.10.0)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
jmespath (1.6.1)
json (2.6.2)
Expand All @@ -213,15 +213,15 @@ GEM
mini_magick (4.11.0)
mini_mime (1.1.2)
mini_portile2 (2.8.0)
minitest (5.16.1)
minitest (5.16.2)
molinillo (0.8.0)
multi_json (1.15.0)
multipart-post (2.0.0)
nanaimo (0.3.0)
nap (1.1.0)
naturally (2.2.1)
netrc (0.11.0)
nokogiri (1.13.6)
nokogiri (1.13.7)
mini_portile2 (~> 2.8.0)
racc (~> 1.4)
optparse (0.1.1)
Expand Down Expand Up @@ -266,7 +266,7 @@ GEM
tty-cursor (~> 0.7)
typhoeus (1.4.0)
ethon (>= 0.9.0)
tzinfo (2.0.4)
tzinfo (2.0.5)
concurrent-ruby (~> 1.0)
uber (0.1.0)
unf (0.1.4)
Expand Down
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ Easily decode a [JWT](https://jwt.io/) and access the claims it contains.

---

> 📣 **The [First Availability](https://auth0.com/docs/troubleshoot/product-lifecycle/product-release-stages) release of JWTDecode.swift 3.0.0 is out**
<br>The GA release is planned for the third week of July. See [#171](https://github.com/auth0/JWTDecode.swift/issues/171) for more information.
## Table of Contents

- [**Requirements**](#requirements)
Expand Down Expand Up @@ -196,10 +193,10 @@ For general support or usage questions, use the [Auth0 Community](https://commun

Auth0 helps you to:

- Add authentication with [multiple sources](https://auth0.com/docs/authenticate/identity-providers), either social identity providers such as **Google, Facebook, Microsoft Account, LinkedIn, GitHub, Twitter, Box, Salesforce** (amongst others), or enterprise identity systems like **Windows Azure AD, Google Apps, Active Directory, ADFS, or any SAML Identity Provider**.
- Add authentication with [multiple sources](https://auth0.com/docs/authenticate/identity-providers), either social identity providers such as **Google, Facebook, Microsoft Account, LinkedIn, GitHub, Twitter, Box, Salesforce** (amongst others), or enterprise identity systems like **Windows Azure AD, Google Apps, Active Directory, ADFS, or any SAML identity provider**.
- Add authentication through more traditional **[username/password databases](https://auth0.com/docs/authenticate/database-connections/custom-db)**.
- Add support for **[linking different user accounts](https://auth0.com/docs/manage-users/user-accounts/user-account-linking)** with the same user.
- Support for generating signed [JSON Web Tokens](https://auth0.com/docs/secure/tokens/json-web-tokens) to call your APIs and **flow the user identity** securely.
- Support for generating signed [JSON web tokens](https://auth0.com/docs/secure/tokens/json-web-tokens) to call your APIs and **flow the user identity** securely.
- Analytics of how, when, and where users are logging in.
- Pull data from other sources and add it to the user profile through [JavaScript Actions](https://auth0.com/docs/customize/actions).

Expand Down
2 changes: 1 addition & 1 deletion docs/data/documentation/jwtdecode.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"variants":[{"paths":["\/documentation\/jwtdecode"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":""}],"kind":"symbol","metadata":{"roleHeading":"Framework","externalID":"JWTDecode","title":"JWTDecode","symbolKind":"module","role":"collection","modules":[{"name":"JWTDecode"}]},"hierarchy":{"paths":[[]]},"topicSections":[{"title":"Protocols","identifiers":["doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/JWT"]},{"title":"Structures","identifiers":["doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/Claim"]},{"title":"Functions","identifiers":["doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/decode(jwt:)"]},{"title":"Enumerations","identifiers":["doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/JWTDecodeError"]}],"references":{"doc://com.auth0.JWTDecode/documentation/JWTDecode/JWT":{"role":"symbol","title":"JWT","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWT"}],"abstract":[{"type":"text","text":"A decoded JWT."},{"type":"text","text":" "},{"type":"text","text":"See "},{"type":"reference","isActive":true,"identifier":"https:\/\/jwt.io\/"},{"type":"text","text":" for more information on JWTs."}],"identifier":"doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/JWT","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"JWT"}],"url":"\/documentation\/jwtdecode\/jwt"},"doc://com.auth0.JWTDecode/documentation/JWTDecode/JWTDecodeError":{"role":"symbol","title":"JWTDecodeError","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWTDecodeError"}],"abstract":[{"type":"text","text":"A decoding error due to a malformed JWT."}],"identifier":"doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/JWTDecodeError","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"JWTDecodeError"}],"url":"\/documentation\/jwtdecode\/jwtdecodeerror"},"doc://com.auth0.JWTDecode/documentation/JWTDecode/Claim":{"role":"symbol","title":"Claim","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Claim"}],"abstract":[{"type":"text","text":"A JWT claim."}],"identifier":"doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/Claim","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Claim"}],"url":"\/documentation\/jwtdecode\/claim"},"doc://com.auth0.JWTDecode/documentation/JWTDecode/decode(jwt:)":{"role":"symbol","title":"decode(jwt:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"decode"},{"kind":"text","text":"("},{"kind":"externalParam","text":"jwt"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"JWT","preciseIdentifier":"s:9JWTDecode3JWTP"}],"abstract":[{"type":"text","text":"Decodes a JWT into an object that holds the decoded body, along with the header and signature."}],"identifier":"doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/decode(jwt:)","kind":"symbol","type":"topic","url":"\/documentation\/jwtdecode\/decode(jwt:)"},"https://jwt.io/":{"title":"jwt.io","titleInlineContent":[{"type":"text","text":"jwt.io"}],"type":"link","identifier":"https:\/\/jwt.io\/","url":"https:\/\/jwt.io\/"},"doc://com.auth0.JWTDecode/documentation/JWTDecode":{"role":"collection","title":"JWTDecode","abstract":[],"identifier":"doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode","kind":"symbol","type":"topic","url":"\/documentation\/jwtdecode"}}}
{"variants":[{"paths":["\/documentation\/jwtdecode"],"traits":[{"interfaceLanguage":"swift"}]}],"schemaVersion":{"major":0,"minor":2,"patch":0},"sections":[],"identifier":{"url":"doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode","interfaceLanguage":"swift"},"abstract":[{"type":"text","text":""}],"kind":"symbol","metadata":{"roleHeading":"Framework","externalID":"JWTDecode","title":"JWTDecode","symbolKind":"module","role":"collection","modules":[{"name":"JWTDecode"}]},"hierarchy":{"paths":[[]]},"topicSections":[{"title":"Protocols","identifiers":["doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/JWT"]},{"title":"Structures","identifiers":["doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/Claim"]},{"title":"Functions","identifiers":["doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/decode(jwt:)"]},{"title":"Enumerations","identifiers":["doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/JWTDecodeError"]}],"references":{"doc://com.auth0.JWTDecode/documentation/JWTDecode/decode(jwt:)":{"role":"symbol","title":"decode(jwt:)","fragments":[{"kind":"keyword","text":"func"},{"kind":"text","text":" "},{"kind":"identifier","text":"decode"},{"kind":"text","text":"("},{"kind":"externalParam","text":"jwt"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":") "},{"kind":"keyword","text":"throws"},{"kind":"text","text":" -> "},{"kind":"typeIdentifier","text":"JWT","preciseIdentifier":"s:9JWTDecode3JWTP"}],"abstract":[{"type":"text","text":"Decodes a JWT into an object that holds the decoded body, along with the header and signature."}],"identifier":"doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/decode(jwt:)","kind":"symbol","type":"topic","url":"\/documentation\/jwtdecode\/decode(jwt:)"},"doc://com.auth0.JWTDecode/documentation/JWTDecode/JWTDecodeError":{"role":"symbol","title":"JWTDecodeError","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWTDecodeError"}],"abstract":[{"type":"text","text":"A decoding error due to a malformed JWT."}],"identifier":"doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/JWTDecodeError","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"JWTDecodeError"}],"url":"\/documentation\/jwtdecode\/jwtdecodeerror"},"https://jwt.io/":{"title":"jwt.io","titleInlineContent":[{"type":"text","text":"jwt.io"}],"type":"link","identifier":"https:\/\/jwt.io\/","url":"https:\/\/jwt.io\/"},"doc://com.auth0.JWTDecode/documentation/JWTDecode/JWT":{"role":"symbol","title":"JWT","fragments":[{"kind":"keyword","text":"protocol"},{"kind":"text","text":" "},{"kind":"identifier","text":"JWT"}],"abstract":[{"type":"text","text":"A decoded JWT."},{"type":"text","text":" "},{"type":"text","text":"See "},{"type":"reference","isActive":true,"identifier":"https:\/\/jwt.io\/"},{"type":"text","text":" for more information on JWTs."}],"identifier":"doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/JWT","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"JWT"}],"url":"\/documentation\/jwtdecode\/jwt"},"doc://com.auth0.JWTDecode/documentation/JWTDecode/Claim":{"role":"symbol","title":"Claim","fragments":[{"kind":"keyword","text":"struct"},{"kind":"text","text":" "},{"kind":"identifier","text":"Claim"}],"abstract":[{"type":"text","text":"A JWT claim."}],"identifier":"doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/Claim","kind":"symbol","type":"topic","navigatorTitle":[{"kind":"identifier","text":"Claim"}],"url":"\/documentation\/jwtdecode\/claim"},"doc://com.auth0.JWTDecode/documentation/JWTDecode":{"role":"collection","title":"JWTDecode","abstract":[],"identifier":"doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode","kind":"symbol","type":"topic","url":"\/documentation\/jwtdecode"}}}
Loading

0 comments on commit f6181fa

Please sign in to comment.