Skip to content

Releases: kinde-oss/kinde-auth-nextjs

Release 2.6.1

09 Apr 22:40
d221023
Compare
Choose a tag to compare
  • fix: typos in organisation properties type (fbf308d)

Release 2.6.0

09 Apr 11:03
4a1bb93
Compare
Choose a tag to compare

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

24 Mar 23:54
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.5.5...v2.5.6

Release 2.5.5

24 Mar 21:08
e798f3a
Compare
Choose a tag to compare

What's Changed

  • fix: getFlag result

Full Changelog: v2.5.4...v2.5.5

Release 2.5.4

21 Mar 18:58
c3800ed
Compare
Choose a tag to compare
  • 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

27 Feb 15:09
Compare
Choose a tag to compare

fix: export the correct type declaration (0066f44)

Release 2.5.2

25 Feb 17:39
5aee414
Compare
Choose a tag to compare
  • 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

13 Feb 09:52
Compare
Choose a tag to compare
  • fix: don't require org name to return org object (1bc3239)

Release 2.5.0

07 Feb 11:04
Compare
Choose a tag to compare

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.

Release 2.4.6

07 Nov 00:11
Compare
Choose a tag to compare
  • fix: remove noisy error log (5fe4622)
  • fix: upgrade cookie from 1.0.0 to 1.0.1 (b387e60)