Skip to content

Releases: auth0/nextjs-auth0

v3.6.0

31 Jan 11:37
51ae671
Compare
Choose a tag to compare

v3.6.0 (2025-01-31)

This is a maintainance release for V3 of the SDK.
V4 supports Next.JS 15 and React 19 and is published on npm!
We will continue to add features and security upgrades in V4 going further. Please migrate to V4 for a better experience.

Security

v4.0.0

30 Jan 15:09
f456baf
Compare
Choose a tag to compare

🛠️ Changes

⚠️ This is a major release with breaking changes.

  • Significant updates have been introduced in this release. Please refer to the V3 → V4 MIGRATION GUIDE for details on upgrading.

What's Changed

New Contributors

Full Changelog: v3.5.0...v4.0.0

v4.0.0-beta.14

06 Jan 09:58
1703914
Compare
Choose a tag to compare
v4.0.0-beta.14 Pre-release
Pre-release

🛠️ Changes

  • fix: propagate session data updates within the same request (fixes: #1841)
  • chore: export SessionDataStore and LogoutToken types (closes: #1852)
  • feat: add generateSessionCookie testing helper (closes: #1857)

v4.0.0-beta.13

20 Dec 05:51
92df43b
Compare
Choose a tag to compare
v4.0.0-beta.13 Pre-release
Pre-release

🛠️ Changes

  • chore: refresh the token set when calling getAccessToken instead of the middleware (fixes: #1851 and #1841)
  • feat: add idToken to beforeSessionSaved hook (closes: #1840)
  • fix: ensure builds succeed without AUTH0_DOMAIN set (closes: #1849)
  • chore: allow specifying client assertion config via env vars

v4.0.0-beta.12

18 Dec 06:18
5bd9a1e
Compare
Choose a tag to compare
v4.0.0-beta.12 Pre-release
Pre-release

🛠️ Changes

  • chore: add note about RP-Initiated logout
  • chore: warn instead of throwing error when using insecure requests flag in prod (closes: #1846)
  • chore: remove warning for prod env with non-https (closes: #1847)

v4.0.0-beta.11

17 Dec 11:23
1e482a4
Compare
Choose a tag to compare
v4.0.0-beta.11 Pre-release
Pre-release

🛠️ Changes

  • feat: introduce updateSession helper (closes: #1836)
  • feat: private_key_jwt authentication method
  • fix: peerDependencies for React 19 (closes: #1844)
  • chore: allowInsecureRequests for mock OIDC server during development (closes: #1846)

v4.0.0-beta.10

10 Dec 12:33
fed3bf4
Compare
Choose a tag to compare
v4.0.0-beta.10 Pre-release
Pre-release

🛠️ Changes

  • chore: add more description in error log on discovery errors (closes: #1832)
  • chore: migration guide
  • chore: include typeVersions for type resolution (fixes: #1816)
  • fix: only dist files should be published (fixes: #1825)
  • feat: add PAR support
  • feat: allow customizing auth routes (closes: #1834)
  • chore: set secure cookie attribute based on app base URL protocol (closes: #1821)

v4.0.0-beta.9

03 Dec 07:39
726a8ed
Compare
Choose a tag to compare
v4.0.0-beta.9 Pre-release
Pre-release

🛠️ Changes

  • fix: clear session before redirecting to /v2/logout (closes #1826)
  • feature: add Auth0Provider to pass initialUser (closes: #1823)
  • fix: getAccessToken types should not return null (closes: #1831)

v4.0.0-beta.8

25 Nov 08:40
7a8e677
Compare
Choose a tag to compare
v4.0.0-beta.8 Pre-release
Pre-release

🛠️ Changes

  • Fixes documentation for allowed logout URL
  • Falls back to /v2/logout endpoint when the end_session_endpoint is not enabled for a tenant
  • Adds docs about default claims from ID token populated in the user object
  • Prevent revalidation when user is not authenticated in useUser() hook
  • Fix error handling in useUser() hook (closes #1817)
  • Export types under /types sub-module (closes #1824 and #1810)
  • Exports errors under /errors sub-module
  • getAccessToken() method throws an error when an access token could not be obtained to allow handling by the caller (closes #1820 and #1819)
  • Add warning when cookie size exceeds 4096 bytes

v4.0.0-beta.7

19 Nov 11:38
3afedbd
Compare
Choose a tag to compare
v4.0.0-beta.7 Pre-release
Pre-release

🛠️ Changes

  • Updated README.md
  • Bumped up the version