Skip to content

v0.11.0

Compare
Choose a tag to compare
@PaulAsjes PaulAsjes released this 26 Sep 13:03
· 24 commits to main since this release
be9e4fe

This update includes breaking changes to 0.10.1, including renaming getUser to withAuth and changing how the redirect URI is set in environment variables. Please read the release notes carefully before upgrading.

Release notes

  • Environment variable WORKOS_REDIRECT_URI has been renamed to NEXT_PUBLIC_WORKOS_REDIRECT_URI to make Vercel preview deployments viable
  • Additionally, the redirect URI can now be configured directly in the middleware at runtime via the new redirectUri parameter
  • getUser has been renamed to withAuth as the former was an increasingly inaccurate name
  • authkit-nextjs now uses ESM over CJS to build
  • getSession allows you to retrieve the session data from server side routes
  • Cookie name is now configurable via the WORKOS_COOKIE_NAME environment variable

What's Changed

New Contributors

Full Changelog: v0.10.1...v0.11.0