Skip to content

Commit 4f3a77a

Browse files
committed
Merge branch 'master' into pr-analyser
* master: feat: add Claude Code PR Review workflow for enhanced pull request an… (#1317) feat: enhance Auth0Provider with platform-specific initialization and error handling (#1313) feat(web): Simplify Setup, Add Session Check & Fix Missing Refresh Token (#1303) Fix clearSession operation order to prevent premature user state clearing (#1309) Release v5.0.0-beta.6 (#1306) fix: concurrent credential storage errors by preventing unnecessary state updates (#1302) chore(deps): bump actions/checkout from 4 to 5 (#1272) chore(deps): bump actions/download-artifact from 4 to 5 (#1294) chore(deps): bump codecov/codecov-action from 5.5.0 to 5.5.1 (#1296) fix(docs): added back the docs folder (#1291) Release v5.0.0-beta.5 (#1290) fix(docs): organize exports into namespaces for better typedocs (#1269) fix: add missing clearSession native options (#1289) fix(android): add pathPrefix to Android manifest for proper App Links functionality (#1288) feat: add organization parameter support to resetPassword API (#1286) feat(auth): add `saveCredentials` method to `useAuth0` hook (#1285) feat: unify and improve error handling across platforms (#1261) chore(deps): bump codecov/codecov-action from 5.4.3 to 5.5.0 (#1279)
2 parents 70e96ce + 3432f06 commit 4f3a77a

205 files changed

Lines changed: 70991 additions & 7889 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/claude-code-review.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: Claude Code PR Review
22

33
on:
44
issue_comment:
5-
types: [ created ]
5+
types: [created]
66
pull_request_review_comment:
7-
types: [ created ]
7+
types: [created]
88
pull_request_review:
9-
types: [ submitted ]
9+
types: [submitted]
1010

1111
jobs:
1212
claude-review:

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
22+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
2323

2424
- name: Setup
2525
uses: ./.github/actions/setup
@@ -28,6 +28,6 @@ jobs:
2828
run: yarn test:ci
2929

3030
- name: Upload coverage report
31-
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24
31+
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7
3232
with:
3333
directory: coverage

.github/workflows/npm-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
steps:
2222
# Checkout the code
23-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@v5
2424
with:
2525
fetch-depth: 0
2626

.github/workflows/publish-docs.yml

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
name: PUBLISH DOCS
2+
on:
3+
workflow_dispatch:
4+
workflow_call:
5+
# or set up your own custom triggers
6+
permissions:
7+
contents: write # allows the 'Commit' step without tokens
8+
9+
jobs:
10+
get_history: # create an artifact from the existing documentation builds
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: get the gh-pages repo
14+
uses: actions/checkout@v5
15+
with:
16+
ref: gh-pages
17+
18+
- name: tar the existing docs
19+
run: |
20+
mkdir -p ./docs
21+
tar -cvf documentation.tar ./docs
22+
23+
- name: create a document artifact
24+
uses: actions/upload-artifact@v4
25+
with:
26+
name: documentation
27+
path: documentation.tar
28+
29+
build: # builds the distribution and then the documentation
30+
needs: get_history
31+
runs-on: ubuntu-latest
32+
steps:
33+
- name: Checkout src
34+
uses: actions/checkout@v5
35+
36+
- run: mkdir -p ./docs
37+
- name: Download the existing documents artifact
38+
uses: actions/download-artifact@v5
39+
with:
40+
name: documentation
41+
- run: tar -xf documentation.tar -C ./docs
42+
43+
- name: Setup
44+
uses: ./.github/actions/setup
45+
46+
- name: Build documents
47+
run: yarn docs #set up 'docs' build script in your package.json
48+
49+
- name: Run cleanup and manage document versions
50+
run: node scripts/manage-doc-versions.js
51+
52+
- name: tar the new docs
53+
run: tar -cvf newdocumentation.tar ./docs
54+
55+
- name: create a new document artifact
56+
uses: actions/upload-artifact@v4
57+
with:
58+
name: newdocumentation
59+
path: newdocumentation.tar
60+
61+
commit: # commit the old and new merged documents to gh-pages/docs
62+
needs: build
63+
runs-on: ubuntu-latest
64+
steps:
65+
- name: checkout the gh-pages repo
66+
uses: actions/checkout@v5
67+
with:
68+
ref: gh-pages
69+
70+
- run: mkdir -p ./docs
71+
- name: Download the new documents artifact
72+
uses: actions/download-artifact@v5
73+
with:
74+
name: newdocumentation
75+
- run: tar -xf newdocumentation.tar -C ./docs
76+
77+
- name: commit
78+
run: |
79+
git config --global user.email "username@users.noreply.github.com"
80+
git config --global user.name "Continuous Integration"
81+
git add .
82+
git commit -m "CI updated the documentation"
83+
git push

.github/workflows/release.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
permissions:
1010
contents: write
1111
id-token: write # For publishing to npm using --provenance
12+
pages: write # For publishing documentation
1213

1314
### TODO: Replace instances of './.github/workflows/' w/ `auth0/dx-sdk-actions/workflows/` and append `@latest` after the common `dx-sdk-actions` repo is made public.
1415
### TODO: Also remove `get-prerelease`, `get-release-notes`, `get-version`, `npm-publish`, `release-create`, and `tag-exists` actions from this repo's .github/actions folder once the repo is public.
@@ -20,3 +21,12 @@ jobs:
2021
secrets:
2122
npm-token: ${{ secrets.NPM_TOKEN }}
2223
github-token: ${{ secrets.GITHUB_TOKEN }}
24+
25+
publish-docs:
26+
needs: release
27+
if: success()
28+
uses: ./.github/workflows/publish-docs.yml
29+
permissions:
30+
contents: write
31+
pages: write
32+
id-token: write

.github/workflows/snyk.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- if: github.actor == 'dependabot[bot]' || github.event_name == 'merge_group'
3030
run: exit 0 # Skip unnecessary test runs for dependabot and merge queues. Artifically flag as successful, as this is a required check for branch protection.
3131

32-
- uses: actions/checkout@v4
32+
- uses: actions/checkout@v5
3333
with:
3434
ref: ${{ github.event.pull_request.head.sha || github.ref }}
3535

.shiprc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22
"files": {
33
"src/core/utils/telemetry.ts": [],
44
".version": []
5-
},
6-
"postbump": "node scripts/jsdocs.js"
5+
}
76
}

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v5.0.0-beta.4
1+
v5.0.0-beta.6

A0Auth0.podspec

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ Pod::Spec.new do |s|
1616
s.source_files = 'ios/**/*.{h,m,mm,swift}'
1717
s.requires_arc = true
1818

19-
s.dependency 'Auth0', '2.10'
20-
s.dependency 'JWTDecode', '3.2.0'
21-
s.dependency 'SimpleKeychain', '1.2.0'
19+
s.dependency 'Auth0', '2.13'
2220

2321
install_modules_dependencies(s)
2422
end

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# Change Log
22

3+
## [v5.0.0-beta.6](https://github.com/auth0/react-native-auth0/tree/v5.0.0-beta.6) (2025-09-16)
4+
[Full Changelog](https://github.com/auth0/react-native-auth0/compare/v5.0.0-beta.5...v5.0.0-beta.6)
5+
6+
**Fixed**
7+
- fix: concurrent credential storage errors by preventing unnecessary state updates [\#1302](https://github.com/auth0/react-native-auth0/pull/1302) ([subhankarmaiti](https://github.com/subhankarmaiti))
8+
9+
## [v5.0.0-beta.5](https://github.com/auth0/react-native-auth0/tree/v5.0.0-beta.5) (2025-09-03)
10+
11+
[Full Changelog](https://github.com/auth0/react-native-auth0/compare/v5.0.0-beta.4...v5.0.0-beta.5)
12+
13+
**Added**
14+
15+
- feat: add organization parameter support to resetPassword API [\#1286](https://github.com/auth0/react-native-auth0/pull/1286) ([subhankarmaiti](https://github.com/subhankarmaiti))
16+
- feat(auth): add `saveCredentials` method to `useAuth0` hook [\#1285](https://github.com/auth0/react-native-auth0/pull/1285) ([subhankarmaiti](https://github.com/subhankarmaiti))
17+
- feat: unify and improve error handling across platforms [\#1261](https://github.com/auth0/react-native-auth0/pull/1261) ([subhankarmaiti](https://github.com/subhankarmaiti))
18+
- fix(auth): Added back clearCredentials method [\#1256](https://github.com/auth0/react-native-auth0/pull/1256) ([subhankarmaiti](https://github.com/subhankarmaiti))
19+
- Add `screen_hint` usage for login/signup in FAQ and fix usage in EXAMPLES.md [\#1253](https://github.com/auth0/react-native-auth0/pull/1253) ([subhankarmaiti](https://github.com/subhankarmaiti))
20+
- refactor(android): Migrate native module from Java to Kotlin [\#1239](https://github.com/auth0/react-native-auth0/pull/1239) ([subhankarmaiti](https://github.com/subhankarmaiti))
21+
- Add Web Callback/Logout URL Configuration to React Native Web Setup Guide [\#1250](https://github.com/auth0/react-native-auth0/pull/1250) ([subhankarmaiti](https://github.com/subhankarmaiti))
22+
23+
**Fixed**
24+
25+
- fix(docs): organize exports into namespaces for better typedocs [\#1269](https://github.com/auth0/react-native-auth0/pull/1269) ([subhankarmaiti](https://github.com/subhankarmaiti))
26+
- fix: add missing clearSession native options [\#1289](https://github.com/auth0/react-native-auth0/pull/1289) ([burriedu2](https://github.com/burriedu2))
27+
- fix(android): add pathPrefix to Android manifest for proper App Links functionality [\#1288](https://github.com/auth0/react-native-auth0/pull/1288) ([subhankarmaiti](https://github.com/subhankarmaiti))
28+
- fix(ios): Ensure useSFSafariViewController: true correctly opens SFSafariViewController [\#1257](https://github.com/auth0/react-native-auth0/pull/1257) ([subhankarmaiti](https://github.com/subhankarmaiti))
29+
30+
**Security**
31+
32+
- chore(deps): update fetch-mock and node-fetch to latest versions [\#1243](https://github.com/auth0/react-native-auth0/pull/1243) ([subhankarmaiti](https://github.com/subhankarmaiti))
33+
334
## [v5.0.0-beta.4](https://github.com/auth0/react-native-auth0/tree/v5.0.0-beta.4) (2025-07-21)
435

536
[Full Changelog](https://github.com/auth0/react-native-auth0/compare/v5.0.0-beta.3...v5.0.0-beta.4)

0 commit comments

Comments
 (0)