Releases: kinde-oss/kinde-auth-nextjs
Release 2.6.1
- fix: typos in organisation properties type (fbf308d)
Release 2.6.0
New Features
Organization Code Middleware: Added orgCode middleware option for enhanced organization handling (c3abc5b)
Token Refresh System: Implemented new refresh tokens server action for on-demand refreshing from client (077be32, a93240b)
State Management: Introduced custom useSyncState hook for immediate state updates in the same render cycle (3cc897d, d02a45e)
Important Fixes
Type System Overhaul: Comprehensive update to session types, organization types, and return types throughout the codebase (6de8b59, 8bdeb4e, b35f1ce, 6f78dac, 61ec913)
Organization Properties: Fixed organization property handling including default properties and compatibility (758dc5e, bb7c37b)
Refresh Token Handling: Improved refresh token flow without committing session changes (c0944cb, c034acc)
Build System
Vite Migration: Switched from Rollup to Vite for build system (9fbb093, 1cf738e, 26efb0c)
Module Resolution: Updated tsconfig module and moduleResolution settings for better compatibility (9e2e302, 408f2b7)
Maintenance
Dependency Updates (f75ecec, 1bccb2d)
Code Cleanup (e9c7ae5, 0b7016f)
Release 2.5.6
Release 2.5.5
Release 2.5.4
- fix: remove unused cookie import (e1d6ae2)
- fix: update cookie import for >v1.0 of cookie (00b02a9)
- fix: sync eslint vsn with @eslint/js (e9bce04)
- fix: un-js all next core imports (85d3fee)
- fix: rollup config imports (11dff50)
- chore: migrate to eslint9 (13697b1)
- fix: mjs rollup configs (d25d8f9)
- fix: remove type: "module" (436cca9)
- fix: postLoginRedirectURL logic (2c4a7fb)
Release 2.5.3
fix: export the correct type declaration (0066f44)
Release 2.5.2
- fix: helpers when hasura mapping used (e562f77)
- refactor: rework redirection url handling (28ba3c7)
- feat: pass state back on auth completion (f4be277)
Full Changelog: v2.5.1...v2.5.2
Release 2.5.1
- fix: don't require org name to return org object (1bc3239)
Release 2.5.0
Features
feat: Allow full customisation of the Kinde api routes
feat: overhaul to refresh token handling and route protection.
feat: support to validate the post login route using regex
Fixes
fix: 500 error being thrown from setup route in some configurations
fix: prevent prefetching of auth endpoints when Kinde components are not used.
fix: login failed when access or id tokens were large in size
fix: custom validation of tokens, prevented full validation occuring.
Further small fixes and type improvements.
Big shout out to Discord Kinde insider Bailey for contributions on this release.