Skip to content

Commit f6181fa

Browse files
authored
Release 3.0.0 (#181)
1 parent 47a1074 commit f6181fa

40 files changed

+82
-64
lines changed

CHANGELOG.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,28 @@
11
# Change Log
22

3-
## [3.0.0-fa.0](https://github.com/auth0/JWTDecode.swift/tree/3.0.0-fa.0) (2022-06-24)
4-
[Full Changelog](https://github.com/auth0/JWTDecode.swift/compare/2.6.3...3.0.0-fa.0)
3+
## [3.0.0](https://github.com/auth0/JWTDecode.swift/tree/3.0.0) (2022-07-20)
4+
[Full Changelog](https://github.com/auth0/JWTDecode.swift/compare/2.6.3...3.0.0)
5+
6+
[Migration Guide](V3_MIGRATION_GUIDE.md)
7+
8+
**⚠️ BREAKING CHANGES**
9+
- Rename `DecodeError` and error case [\#162](https://github.com/auth0/JWTDecode.swift/pull/162) ([Widcket](https://github.com/Widcket))
10+
- Drop support for Objective-C [SDK-3405] [\#149](https://github.com/auth0/JWTDecode.swift/pull/149) ([Widcket](https://github.com/Widcket))
11+
- Remove ID token validator [SDK-3395] [\#145](https://github.com/auth0/JWTDecode.swift/pull/145) ([Widcket](https://github.com/Widcket))
12+
- Drop support for old platform versions [SDK-3386] [\#143](https://github.com/auth0/JWTDecode.swift/pull/143) ([Widcket](https://github.com/Widcket))
13+
- Drop support for old Swift versions [SDK-3394] [\#142](https://github.com/auth0/JWTDecode.swift/pull/142) ([Widcket](https://github.com/Widcket))
14+
15+
**Added**
16+
- Add subscript getter for claims [SDK-3421] [\#156](https://github.com/auth0/JWTDecode.swift/pull/156) ([Widcket](https://github.com/Widcket))
17+
18+
**Changed**
19+
- Apply recommended Xcode 14 settings [\#159](https://github.com/auth0/JWTDecode.swift/pull/159) ([Widcket](https://github.com/Widcket))
20+
- Improve display of `DecodeError` [SDK-3427] [\#158](https://github.com/auth0/JWTDecode.swift/pull/158) ([Widcket](https://github.com/Widcket))
21+
22+
## [3.0.0-fa](https://github.com/auth0/JWTDecode.swift/tree/3.0.0-fa) (2022-06-24)
23+
[Full Changelog](https://github.com/auth0/JWTDecode.swift/compare/2.6.3...3.0.0-fa)
24+
25+
[Migration Guide](V3_MIGRATION_GUIDE.md)
526

627
**⚠️ BREAKING CHANGES**
728
- Rename `DecodeError` and error case [\#162](https://github.com/auth0/JWTDecode.swift/pull/162) ([Widcket](https://github.com/Widcket))

Gemfile.lock

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ GEM
33
specs:
44
CFPropertyList (3.0.5)
55
rexml
6-
activesupport (6.1.6)
6+
activesupport (6.1.6.1)
77
concurrent-ruby (~> 1.0, >= 1.0.2)
88
i18n (>= 1.6, < 2)
99
minitest (>= 5.1)
@@ -17,20 +17,20 @@ GEM
1717
artifactory (3.0.15)
1818
atomos (0.1.3)
1919
aws-eventstream (1.2.0)
20-
aws-partitions (1.601.0)
21-
aws-sdk-core (3.131.2)
20+
aws-partitions (1.608.0)
21+
aws-sdk-core (3.131.3)
2222
aws-eventstream (~> 1, >= 1.0.2)
2323
aws-partitions (~> 1, >= 1.525.0)
2424
aws-sigv4 (~> 1.1)
2525
jmespath (~> 1, >= 1.6.1)
26-
aws-sdk-kms (1.57.0)
26+
aws-sdk-kms (1.58.0)
2727
aws-sdk-core (~> 3, >= 3.127.0)
2828
aws-sigv4 (~> 1.1)
2929
aws-sdk-s3 (1.114.0)
3030
aws-sdk-core (~> 3, >= 3.127.0)
3131
aws-sdk-kms (~> 1)
3232
aws-sigv4 (~> 1.4)
33-
aws-sigv4 (1.5.0)
33+
aws-sigv4 (1.5.1)
3434
aws-eventstream (~> 1, >= 1.0.2)
3535
babosa (1.0.4)
3636
claide (1.1.0)
@@ -117,7 +117,7 @@ GEM
117117
faraday_middleware (1.2.0)
118118
faraday (~> 1.0)
119119
fastimage (2.2.6)
120-
fastlane (2.206.2)
120+
fastlane (2.208.0)
121121
CFPropertyList (>= 2.3, < 4.0.0)
122122
addressable (>= 2.8, < 3.0.0)
123123
artifactory (~> 3.0)
@@ -162,9 +162,9 @@ GEM
162162
fourflusher (2.3.1)
163163
fuzzy_match (2.0.4)
164164
gh_inspector (1.1.3)
165-
google-apis-androidpublisher_v3 (0.22.0)
166-
google-apis-core (>= 0.5, < 2.a)
167-
google-apis-core (0.6.0)
165+
google-apis-androidpublisher_v3 (0.25.0)
166+
google-apis-core (>= 0.7, < 2.a)
167+
google-apis-core (0.7.0)
168168
addressable (~> 2.5, >= 2.5.1)
169169
googleauth (>= 0.16.2, < 2.a)
170170
httpclient (>= 2.8.1, < 3.a)
@@ -173,19 +173,19 @@ GEM
173173
retriable (>= 2.0, < 4.a)
174174
rexml
175175
webrick
176-
google-apis-iamcredentials_v1 (0.12.0)
177-
google-apis-core (>= 0.6, < 2.a)
178-
google-apis-playcustomapp_v1 (0.9.0)
179-
google-apis-core (>= 0.6, < 2.a)
180-
google-apis-storage_v1 (0.15.0)
181-
google-apis-core (>= 0.5, < 2.a)
176+
google-apis-iamcredentials_v1 (0.13.0)
177+
google-apis-core (>= 0.7, < 2.a)
178+
google-apis-playcustomapp_v1 (0.10.0)
179+
google-apis-core (>= 0.7, < 2.a)
180+
google-apis-storage_v1 (0.18.0)
181+
google-apis-core (>= 0.7, < 2.a)
182182
google-cloud-core (1.6.0)
183183
google-cloud-env (~> 1.0)
184184
google-cloud-errors (~> 1.0)
185185
google-cloud-env (1.6.0)
186186
faraday (>= 0.17.3, < 3.0)
187187
google-cloud-errors (1.2.0)
188-
google-cloud-storage (1.36.2)
188+
google-cloud-storage (1.37.0)
189189
addressable (~> 2.8)
190190
digest-crc (~> 0.4)
191191
google-apis-iamcredentials_v1 (~> 0.1)
@@ -204,7 +204,7 @@ GEM
204204
http-cookie (1.0.5)
205205
domain_name (~> 0.5)
206206
httpclient (2.8.3)
207-
i18n (1.10.0)
207+
i18n (1.12.0)
208208
concurrent-ruby (~> 1.0)
209209
jmespath (1.6.1)
210210
json (2.6.2)
@@ -213,15 +213,15 @@ GEM
213213
mini_magick (4.11.0)
214214
mini_mime (1.1.2)
215215
mini_portile2 (2.8.0)
216-
minitest (5.16.1)
216+
minitest (5.16.2)
217217
molinillo (0.8.0)
218218
multi_json (1.15.0)
219219
multipart-post (2.0.0)
220220
nanaimo (0.3.0)
221221
nap (1.1.0)
222222
naturally (2.2.1)
223223
netrc (0.11.0)
224-
nokogiri (1.13.6)
224+
nokogiri (1.13.7)
225225
mini_portile2 (~> 2.8.0)
226226
racc (~> 1.4)
227227
optparse (0.1.1)
@@ -266,7 +266,7 @@ GEM
266266
tty-cursor (~> 0.7)
267267
typhoeus (1.4.0)
268268
ethon (>= 0.9.0)
269-
tzinfo (2.0.4)
269+
tzinfo (2.0.5)
270270
concurrent-ruby (~> 1.0)
271271
uber (0.1.0)
272272
unf (0.1.4)

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ Easily decode a [JWT](https://jwt.io/) and access the claims it contains.
1313

1414
---
1515

16-
> 📣 **The [First Availability](https://auth0.com/docs/troubleshoot/product-lifecycle/product-release-stages) release of JWTDecode.swift 3.0.0 is out**
17-
<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.
18-
1916
## Table of Contents
2017

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

197194
Auth0 helps you to:
198195

199-
- 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**.
196+
- 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**.
200197
- Add authentication through more traditional **[username/password databases](https://auth0.com/docs/authenticate/database-connections/custom-db)**.
201198
- Add support for **[linking different user accounts](https://auth0.com/docs/manage-users/user-accounts/user-account-linking)** with the same user.
202-
- 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.
199+
- 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.
203200
- Analytics of how, when, and where users are logging in.
204201
- Pull data from other sources and add it to the user profile through [JavaScript Actions](https://auth0.com/docs/customize/actions).
205202

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +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"}}}
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/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"}}}

0 commit comments

Comments
 (0)