updated
Announcing the Beta Release of nextjs-auth0 SDK v4
Hello everyone,
We're thrilled to announce the beta release of nextjs-auth0 SDK v4! This new version brings significant improvements, new features, and fixes to enhance your development experience.
Important Notice About v3
As we move forward, we will not be updating v3 of the SDK to support Next.js 15. This allows us to focus on v4, which offers a wealth of new features and improvements. This will also enable us to support future releases of Next.js faster and with more confidence. We understand this may pose challenges, and we're here to help.
v3 will continue to receive critical security updates for 6 months after the GA of v4.
Highlights of v4 Beta
- Middleware-Based Authentication: Improved compatibility and reduced maintenance by moving to middleware-based handlers.
- Enhanced Security: Switched to encrypted cookies and removed outdated cookie logic.
- Resolved State Mismatch Issues: Fixed long-standing issues reported by the community.
- Improved Session Management: Implemented rolling sessions and eliminated cookie chunking.
- Improved Hooks and Helpers: Introduced useUser(), getAccessToken(), and getSession() for easier data fetching and session handling.
- Stateful Sessions with Custom Databases: Support for "Bring Your Own Database" (BYODB).
- Compatibility with Next.js 15, Turbopack, and React 19
- Simplified architecture, API, and configuration options
Try It Out and Provide Feedback
We invite you to explore the beta release and share your feedback to help us improve before the general availability release. We are currently targeting a general availability release by the end of December.
Beta Release: v4.0.0-beta.3
Need Help with Migration?
If you encounter challenges migrating to v4, please don't hesitate to open an issue and our team will assist you. We're committed to making the transition as smooth as possible.
Thank You for Your Support
We appreciate your understanding as we focus on making v4 the best it can be. Your feedback is invaluable, and we're here to support you every step of the way.
Happy coding! 🚀
— The Auth0 DX SDK Team