Releases: workos/authkit-nextjs
Releases · workos/authkit-nextjs
v0.12.0
v0.11.2
v0.11.1
v0.11.0
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 toNEXT_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 towithAuth
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
- Bump path-to-regexp from 6.2.2 to 6.3.0 by @dependabot in #88
- Add getSession by @PaulAsjes in #91
- Build package using esm over cjs by @lucasmotta in #87
- Allow for dynamically set redirect URIs by @PaulAsjes in #82
New Contributors
- @dependabot made their first contribution in #88
Full Changelog: v0.10.1...v0.11.0
v0.10.1
What's Changed
- Make onSessionExpired default to false by @PaulAsjes in #86
Full Changelog: v0.10.0...v0.10.1
v0.10.0
What's Changed
- Check for valid session when tab becomes active by @lucasmotta in #75
- Version bump by @PaulAsjes in #81
New Contributors
- @lucasmotta made their first contribution in #75
Full Changelog: v0.9.0...v0.10.0
v0.9.0
What's Changed
- Allow setting cookie
Domain
attribute by @cmatheson in #74 - Add support for
organizationId
parameter when signing in or refreshing session by @mthadley in #73
Full Changelog: v0.8.2...v0.9.0
v0.8.2
v0.8.1
What's Changed
- Preserve search params on return by @PaulAsjes in #67
Full Changelog: v0.8.0...v0.8.1