Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 3.2.0 #239

Merged
merged 5 commits into from
Sep 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,11 @@ runs:
using: composite

steps:
- name: Set Ruby version
run: ruby -e 'puts RUBY_VERSION' | tee .ruby-version
shell: bash

- name: Set up Ruby
uses: ruby/setup-ruby@0cde4689ba33c09f1b890c1725572ad96751a3fc # pinned to version v1.178.0
uses: ruby/setup-ruby@52753b7da854d5c07df37391a986c76ab4615999 # pinned to version v1.191.0
with:
ruby-version: '3.1.0'
bundler-cache: true
cache-version: 1

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:

- name: Upload coverage report
if: ${{ matrix.platform.os == 'iOS' }}
uses: codecov/codecov-action@ab904c41d6ece82784817410c45d8b8c02684457
uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # [email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}

Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Change Log

## [3.2.0](https://github.com/auth0/JWTDecode.swift/tree/3.2.0) (2024-09-16)
[Full Changelog](https://github.com/auth0/JWTDecode.swift/compare/3.1.0...3.2.0)

**Added**
- feat: added support for visionOS platform [\#231](https://github.com/auth0/JWTDecode.swift/pull/231) ([desusai7](https://github.com/desusai7))

**Changed**
- Update Platforms Support Policy in README [\#214](https://github.com/auth0/JWTDecode.swift/pull/214) ([Widcket](https://github.com/Widcket))

## [3.2.0-beta.0](https://github.com/auth0/JWTDecode.swift/tree/3.2.0-beta.0) (2024-07-04)
[Full Changelog](https://github.com/auth0/JWTDecode.swift/compare/3.1.0...3.2.0-beta.0)

Expand Down
69 changes: 35 additions & 34 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,17 @@ GEM
base64
nkf
rexml
activesupport (7.1.3.4)
activesupport (7.2.1)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
concurrent-ruby (~> 1.0, >= 1.3.1)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
logger (>= 1.4.2)
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
algoliasearch (1.27.5)
Expand All @@ -23,20 +24,20 @@ GEM
artifactory (3.0.17)
atomos (0.1.3)
aws-eventstream (1.3.0)
aws-partitions (1.951.0)
aws-sdk-core (3.201.0)
aws-partitions (1.975.0)
aws-sdk-core (3.205.0)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.651.0)
aws-sigv4 (~> 1.8)
aws-sigv4 (~> 1.9)
jmespath (~> 1, >= 1.6.1)
aws-sdk-kms (1.88.0)
aws-sdk-core (~> 3, >= 3.201.0)
aws-sdk-kms (1.91.0)
aws-sdk-core (~> 3, >= 3.205.0)
aws-sigv4 (~> 1.5)
aws-sdk-s3 (1.156.0)
aws-sdk-core (~> 3, >= 3.201.0)
aws-sdk-s3 (1.162.0)
aws-sdk-core (~> 3, >= 3.205.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.5)
aws-sigv4 (1.8.0)
aws-sigv4 (1.9.1)
aws-eventstream (~> 1, >= 1.0.2)
babosa (1.0.4)
base64 (0.2.0)
Expand Down Expand Up @@ -84,7 +85,7 @@ GEM
colored2 (3.1.2)
commander (4.6.0)
highline (~> 2.0.0)
concurrent-ruby (1.3.3)
concurrent-ruby (1.3.4)
connection_pool (2.4.1)
declarative (0.0.20)
digest-crc (0.6.5)
Expand All @@ -96,7 +97,7 @@ GEM
escape (0.0.4)
ethon (0.16.0)
ffi (>= 1.15.0)
excon (0.110.0)
excon (0.111.0)
faraday (1.10.3)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
Expand All @@ -118,15 +119,15 @@ GEM
faraday-httpclient (1.0.1)
faraday-multipart (1.0.4)
multipart-post (~> 2)
faraday-net_http (1.0.1)
faraday-net_http (1.0.2)
faraday-net_http_persistent (1.2.0)
faraday-patron (1.0.0)
faraday-rack (1.0.0)
faraday-retry (1.0.3)
faraday_middleware (1.2.0)
faraday (~> 1.0)
fastimage (2.3.1)
fastlane (2.221.1)
fastlane (2.222.0)
CFPropertyList (>= 2.3, < 4.0.0)
addressable (>= 2.8, < 3.0.0)
artifactory (~> 3.0)
Expand Down Expand Up @@ -190,7 +191,7 @@ GEM
google-apis-core (>= 0.11.0, < 2.a)
google-apis-storage_v1 (0.31.0)
google-apis-core (>= 0.11.0, < 2.a)
google-cloud-core (1.7.0)
google-cloud-core (1.7.1)
google-cloud-env (>= 1.0, < 3.a)
google-cloud-errors (~> 1.0)
google-cloud-env (1.6.0)
Expand All @@ -211,48 +212,48 @@ GEM
os (>= 0.9, < 2.0)
signet (>= 0.16, < 2.a)
highline (2.0.3)
http-cookie (1.0.6)
http-cookie (1.0.7)
domain_name (~> 0.5)
httpclient (2.8.3)
i18n (1.14.5)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
jmespath (1.6.2)
json (2.7.2)
jwt (2.8.2)
jwt (2.9.0)
base64
mini_magick (4.13.1)
logger (1.6.1)
mini_magick (4.13.2)
mini_mime (1.1.5)
minitest (5.24.1)
minitest (5.25.1)
molinillo (0.8.0)
multi_json (1.15.0)
multipart-post (2.4.1)
mutex_m (0.2.0)
nanaimo (0.3.0)
nap (1.1.0)
naturally (2.2.1)
netrc (0.11.0)
nkf (0.2.0)
nokogiri (1.16.6-arm64-darwin)
nokogiri (1.16.7-arm64-darwin)
racc (~> 1.4)
nokogiri (1.16.6-x86_64-darwin)
nokogiri (1.16.7-x86_64-darwin)
racc (~> 1.4)
optparse (0.5.0)
os (1.1.4)
plist (3.7.1)
public_suffix (4.0.7)
racc (1.8.0)
racc (1.8.1)
rake (13.2.1)
representable (3.2.0)
declarative (< 0.1.0)
trailblazer-option (>= 0.1.1, < 0.2.0)
uber (< 0.2.0)
retriable (3.1.2)
rexml (3.2.9)
strscan
rexml (3.3.7)
rouge (2.0.7)
ruby-macho (2.5.1)
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
securerandom (0.3.1)
security (0.1.5)
semantic (1.6.1)
signet (0.19.0)
Expand All @@ -263,13 +264,12 @@ GEM
simctl (1.6.10)
CFPropertyList
naturally
slather (2.8.2)
slather (2.8.4)
CFPropertyList (>= 2.2, < 4)
activesupport
clamp (~> 1.3)
nokogiri (>= 1.14.3)
xcodeproj (~> 1.21)
strscan (3.1.0)
xcodeproj (~> 1.25)
terminal-notifier (2.0.0)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
Expand All @@ -283,15 +283,15 @@ GEM
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
uber (0.1.0)
unicode-display_width (2.5.0)
unicode-display_width (2.6.0)
word_wrap (1.0.0)
xcodeproj (1.24.0)
xcodeproj (1.25.0)
CFPropertyList (>= 2.3.3, < 4.0)
atomos (~> 0.1.3)
claide (>= 1.0.2, < 2.0)
colored2 (~> 3.1)
nanaimo (~> 0.3.0)
rexml (~> 3.2.4)
rexml (>= 3.3.2, < 4.0)
xcpretty (0.3.0)
rouge (~> 2.0.7)
xcpretty-travis-formatter (1.0.1)
Expand All @@ -300,6 +300,7 @@ GEM
PLATFORMS
arm64-darwin-22
arm64-darwin-23
x86_64-darwin-19
x86_64-darwin-20

DEPENDENCIES
Expand Down
2 changes: 1 addition & 1 deletion JWTDecode.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'JWTDecode'
s.version = '3.2.0-beta.0'
s.version = '3.2.0'
s.summary = 'A JWT decoder for iOS, macOS, tvOS, and watchOS'
s.description = <<-DESC
Easily decode a JWT and access the claims it contains.
Expand Down
2 changes: 1 addition & 1 deletion JWTDecode/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>3.2.0-beta.0</string>
<string>3.2.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
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 @@
{"topicSections":[{"identifiers":["doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/JWT"],"title":"Protocols"},{"identifiers":["doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/Claim"],"title":"Structures"},{"identifiers":["doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/decode(jwt:)"],"title":"Functions"},{"identifiers":["doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/JWTDecodeError"],"title":"Enumerations"}],"sections":[],"schemaVersion":{"major":0,"patch":0,"minor":3},"kind":"symbol","variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/jwtdecode"]}],"hierarchy":{"paths":[[]]},"metadata":{"role":"collection","modules":[{"name":"JWTDecode"}],"roleHeading":"Framework","title":"JWTDecode","externalID":"JWTDecode","symbolKind":"module"},"identifier":{"url":"doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode","interfaceLanguage":"swift"},"references":{"doc://com.auth0.JWTDecode/documentation/JWTDecode/JWTDecodeError":{"abstract":[{"text":"A decoding error due to a malformed JWT.","type":"text"}],"identifier":"doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/JWTDecodeError","url":"\/documentation\/jwtdecode\/jwtdecodeerror","role":"symbol","navigatorTitle":[{"kind":"identifier","text":"JWTDecodeError"}],"fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWTDecodeError"}],"type":"topic","kind":"symbol","title":"JWTDecodeError"},"doc://com.auth0.JWTDecode/documentation/JWTDecode/Claim":{"kind":"symbol","fragments":[{"kind":"keyword","text":"struct"},{"text":" ","kind":"text"},{"text":"Claim","kind":"identifier"}],"type":"topic","navigatorTitle":[{"text":"Claim","kind":"identifier"}],"url":"\/documentation\/jwtdecode\/claim","role":"symbol","abstract":[{"text":"A JWT claim.","type":"text"}],"identifier":"doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/Claim","title":"Claim"},"doc://com.auth0.JWTDecode/documentation/JWTDecode":{"identifier":"doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode","title":"JWTDecode","url":"\/documentation\/jwtdecode","role":"collection","kind":"symbol","abstract":[],"type":"topic"},"doc://com.auth0.JWTDecode/documentation/JWTDecode/decode(jwt:)":{"type":"topic","fragments":[{"text":"func","kind":"keyword"},{"kind":"text","text":" "},{"text":"decode","kind":"identifier"},{"text":"(","kind":"text"},{"text":"jwt","kind":"externalParam"},{"text":": ","kind":"text"},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"kind":"text","text":" -> "},{"text":"JWT","kind":"typeIdentifier","preciseIdentifier":"s:9JWTDecode3JWTP"}],"title":"decode(jwt:)","identifier":"doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/decode(jwt:)","abstract":[{"text":"Decodes a JWT into an object that holds the decoded body, along with the header and signature.","type":"text"}],"role":"symbol","url":"\/documentation\/jwtdecode\/decode(jwt:)","kind":"symbol"},"doc://com.auth0.JWTDecode/documentation/JWTDecode/JWT":{"kind":"symbol","abstract":[{"type":"text","text":"A decoded JWT."}],"identifier":"doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/JWT","title":"JWT","url":"\/documentation\/jwtdecode\/jwt","fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"text":"JWT","kind":"identifier"}],"role":"symbol","type":"topic","navigatorTitle":[{"text":"JWT","kind":"identifier"}]}}}
{"sections":[],"hierarchy":{"paths":[[]]},"variants":[{"paths":["\/documentation\/jwtdecode"],"traits":[{"interfaceLanguage":"swift"}]}],"identifier":{"url":"doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode","interfaceLanguage":"swift"},"metadata":{"externalID":"JWTDecode","modules":[{"name":"JWTDecode"}],"title":"JWTDecode","symbolKind":"module","roleHeading":"Framework","role":"collection"},"schemaVersion":{"patch":0,"minor":3,"major":0},"kind":"symbol","topicSections":[{"identifiers":["doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/JWT"],"title":"Protocols"},{"identifiers":["doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/Claim"],"title":"Structures"},{"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/Claim":{"identifier":"doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/Claim","url":"\/documentation\/jwtdecode\/claim","fragments":[{"text":"struct","kind":"keyword"},{"kind":"text","text":" "},{"text":"Claim","kind":"identifier"}],"type":"topic","abstract":[{"type":"text","text":"A JWT claim."}],"title":"Claim","kind":"symbol","navigatorTitle":[{"kind":"identifier","text":"Claim"}],"role":"symbol"},"doc://com.auth0.JWTDecode/documentation/JWTDecode/JWT":{"title":"JWT","abstract":[{"type":"text","text":"A decoded JWT."}],"url":"\/documentation\/jwtdecode\/jwt","navigatorTitle":[{"text":"JWT","kind":"identifier"}],"fragments":[{"text":"protocol","kind":"keyword"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWT"}],"identifier":"doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/JWT","type":"topic","kind":"symbol","role":"symbol"},"doc://com.auth0.JWTDecode/documentation/JWTDecode/decode(jwt:)":{"title":"decode(jwt:)","abstract":[{"type":"text","text":"Decodes a JWT into an object that holds the decoded body, along with the header and signature."}],"url":"\/documentation\/jwtdecode\/decode(jwt:)","fragments":[{"text":"func","kind":"keyword"},{"text":" ","kind":"text"},{"text":"decode","kind":"identifier"},{"text":"(","kind":"text"},{"text":"jwt","kind":"externalParam"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"kind":"text","text":") "},{"text":"throws","kind":"keyword"},{"text":" -> ","kind":"text"},{"preciseIdentifier":"s:9JWTDecode3JWTP","text":"JWT","kind":"typeIdentifier"}],"identifier":"doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/decode(jwt:)","type":"topic","kind":"symbol","role":"symbol"},"doc://com.auth0.JWTDecode/documentation/JWTDecode/JWTDecodeError":{"kind":"symbol","abstract":[{"text":"A decoding error due to a malformed JWT.","type":"text"}],"title":"JWTDecodeError","type":"topic","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"text":" ","kind":"text"},{"kind":"identifier","text":"JWTDecodeError"}],"identifier":"doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode\/JWTDecodeError","navigatorTitle":[{"kind":"identifier","text":"JWTDecodeError"}],"url":"\/documentation\/jwtdecode\/jwtdecodeerror"},"doc://com.auth0.JWTDecode/documentation/JWTDecode":{"kind":"symbol","role":"collection","type":"topic","title":"JWTDecode","url":"\/documentation\/jwtdecode","identifier":"doc:\/\/com.auth0.JWTDecode\/documentation\/JWTDecode","abstract":[]}}}
Loading
Loading