Skip to content

Commit 48aaa04

Browse files
Merge branch 'main' into fix/handle-expired
2 parents bdac51a + a063a8d commit 48aaa04

File tree

111 files changed

+2392
-869
lines changed

Some content is hidden

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

111 files changed

+2392
-869
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ jobs:
5454
key: ${{ env.CACHE_KEY }}
5555

5656
coverage:
57-
needs: build
5857
name: Run Coverage Tests
5958
runs-on: ubuntu-latest
6059

@@ -77,11 +76,8 @@ jobs:
7776
node-version: ${{ matrix.node }}
7877
cache: "pnpm"
7978

80-
- name: Restore build artifacts
81-
uses: actions/cache/restore@v4
82-
with:
83-
path: .
84-
key: ${{ env.CACHE_KEY }}
79+
- name: Install dependencies
80+
run: pnpm install --frozen-lockfile
8581

8682
- name: Run Test Coverage
8783
run: pnpm test:coverage
@@ -92,8 +88,6 @@ jobs:
9288
token: ${{ secrets.CODECOV_TOKEN }}
9389

9490
lint:
95-
needs: build # Require build to complete before running tests
96-
9791
name: Lint Code
9892
runs-on: ubuntu-latest
9993

@@ -112,11 +106,8 @@ jobs:
112106
node-version: 22
113107
cache: "pnpm"
114108

115-
- name: Restore build artifacts
116-
uses: actions/cache/restore@v4
117-
with:
118-
path: .
119-
key: ${{ env.CACHE_KEY }}
109+
- name: Install dependencies
110+
run: pnpm install --frozen-lockfile
120111

121112
- name: Run Lint
122113
run: pnpm run lint

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v4.6.1
1+
v4.8.0

CHANGELOG.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
# Change Log
22

3+
## [v4.8.0](https://github.com/auth0/nextjs-auth0/tree/v4.8.0) (2025-07-03)
4+
[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v4.7.0...v4.8.0)
5+
6+
**Added**
7+
- feat: Add alternate logout strategy [\#2203](https://github.com/auth0/nextjs-auth0/pull/2203) ([tusharpandey13](https://github.com/tusharpandey13))
8+
- feat: add `withPageAuthRequired` for protecting pages client side [\#2193](https://github.com/auth0/nextjs-auth0/pull/2193) ([guabu](https://github.com/guabu))
9+
10+
**Fixed**
11+
- Use `max-age=0` to delete cookie [\#2200](https://github.com/auth0/nextjs-auth0/pull/2200) ([guabu](https://github.com/guabu))
12+
- feat: update id_token when a new Access Token is fetched [\#2189](https://github.com/auth0/nextjs-auth0/pull/2189) ([tusharpandey13](https://github.com/tusharpandey13))
13+
14+
## [v4.7.0](https://github.com/auth0/nextjs-auth0/tree/v4.7.0) (2025-06-20)
15+
[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v4.6.1...v4.7.0)
16+
17+
**Added**
18+
- feat: support basePath configuration [\#2167](https://github.com/auth0/nextjs-auth0/pull/2167) ([guabu](https://github.com/guabu))
19+
20+
**Fixed**
21+
- fix: typo in warning message [\#2169](https://github.com/auth0/nextjs-auth0/pull/2169) ([J-Amberg](https://github.com/J-Amberg))
22+
- fix: handle authorization code grant request errors [\#2175](https://github.com/auth0/nextjs-auth0/pull/2175) ([guabu](https://github.com/guabu))
23+
- fix: Properly configure SDK to be distributed as ESM [\#2171](https://github.com/auth0/nextjs-auth0/pull/2171) ([frederikprijck](https://github.com/frederikprijck))
24+
- fix: consistently treat returnTo parameter as an absolute path [\#2185](https://github.com/auth0/nextjs-auth0/pull/2185) ([guabu](https://github.com/guabu))
25+
26+
**Changed**
27+
- Export filterDefaultIdTokenClaims and update beforeSessionSaved docs [\#2119](https://github.com/auth0/nextjs-auth0/pull/2119) ([frederikprijck](https://github.com/frederikprijck))
28+
- return a 204 from the profile endpoint when unauthenticated (opt-in) [\#2159](https://github.com/auth0/nextjs-auth0/pull/2159) ([guabu](https://github.com/guabu))
29+
- remove unnecessary error logs [\#2179](https://github.com/auth0/nextjs-auth0/pull/2179) ([guabu](https://github.com/guabu))
30+
- Bump msw from 2.7.5 to 2.9.0 [\#2139](https://github.com/auth0/nextjs-auth0/pull/2139) ([dependabot](https://github.com/dependabot))
31+
- Bump msw from 2.9.0 to 2.10.2 [\#2153](https://github.com/auth0/nextjs-auth0/pull/2153) ([dependabot](https://github.com/dependabot))
32+
- Bump oauth4webapi from 3.5.1 to 3.5.2 [\#2154](https://github.com/auth0/nextjs-auth0/pull/2154) ([dependabot](https://github.com/dependabot))
33+
- Bump oauth4webapi from 3.5.2 to 3.5.3 [\#2177](https://github.com/auth0/nextjs-auth0/pull/2177) ([dependabot](https://github.com/dependabot))
34+
335
## [v4.6.1](https://github.com/auth0/nextjs-auth0/tree/v4.6.1) (2025-06-04)
436
[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v4.6.0...v4.6.1)
537

@@ -148,7 +180,7 @@ We will continue to add features and security upgrades in V4 going further. Plea
148180

149181
**⚠️ BREAKING CHANGES**.
150182

151-
Significant updates have been introduced in this release. Please refer to the V3 → V4 [MIGRATION GUIDE](https://github.com/auth0/nextjs-auth0/blob/v4/V4_MIGRATION_GUIDE.md) for details on upgrading.
183+
Significant updates have been introduced in this release. Please refer to the V3 → V4 [MIGRATION GUIDE](./V4_MIGRATION_GUIDE.md) for details on upgrading.
152184

153185
**Fixed**
154186

0 commit comments

Comments
 (0)