Releases: kinde-oss/kinde-auth-nextjs
Release 2.8.3
- fix: replace prefetch skipped 200 with null as returning the 200 causes it to appear for users (9bc5920)
- fix: preserve url search params when
isReturnToCurrentPage
is set to true inwithAuth
middleware (1b36073) - refactor: update the public path regex check structure (367240d)
- feat: improve protection of subnav page value (4bda15e)
- chore(deps): update dependency globals to v16.3.0 (04b42ee)
- chore(deps): update dependency vite to v6.2.7 [security] (69b0bc1)
- chore(deps): update react monorepo (904e682)
- chore(deps): update dependency vite-plugin-dts to v4.5.4 (d684147)
- chore(deps): update dependency @vitejs/plugin-react to v4.6.0 (0e92e8f)
- chore(deps): update dependency happy-dom to v17.6.3 (a2f9cc9)
- chore(deps): update dependency changelogen to v0.6.2 (cab2b8f)
- chore(deps): update vitest monorepo to v3.2.4 (2aa95b8)
- chore(deps): update dependency prettier to v3.6.2 (54002b0)
- chore(deps): update dependency eslint-config-prettier to v10.1.5 (d5ff877)
- chore(deps): update dependency @testing-library/react to v16.3.0 (7b56993)
- chore(deps): update dependency @eslint/eslintrc to v3.3.1 (49893de)
- chore(deps): update dependency typescript to v5.8.3 (e12dfbb)
Release 2.8.2
- deps: update kinde TS sdk (122bffb)
Release 2.8.1
- deps: update kinde TS SDK (420dce1)
Release 2.8.0
- feat: Add RegExp support to publicPaths in authMiddleware
Release 2.7.0
Release 2.6.2
- fix: update state check regex (ee96e04)
- fix: set cookie options for
refresh_token
in middleware req/resp (cd3082d) - chore: enhance return type of
getStandardCookieOptions
(e26f1e6) - chore: make
getSplitCookies
use newgetStandardCookieOptions
fn (d3f78b7) - feat: create new function for getting std cookie opts (a95126d)
- fix: split refresh proccess and don't run middleware on setup route (8969ff7)
- feat: queue setup requests (f4ce88d)
- chore: remote duplicate file (9e971f4)
- fix: typos in organisation properties type (fbf308d)
- ci: add workflow_dispatch to action (eb8d671)
- depts: add tslib (4a3f893)
- ci: add CI workflow (707fa32)
- chore: add eslint config (bcbb09a)
- chore(deps): bump next from 15.1.7 to 15.2.3 (1bcf32b)
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)