diff --git a/CHANGELOG.md b/CHANGELOG.md index bf94ba8..699e261 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,1265 +4,2067 @@ All notable changes to this project will be documented in this file. Dates are d Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). -#### [v2.3.12](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.3.11...v2.3.12) +#### v2.3.13 -- fix: validate token on isAuthenticated [`#223`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/223) -- [Snyk] Upgrade @babel/preset-env from 7.24.4 to 7.25.4 [`#221`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/221) -- fix: upgrade @babel/preset-env from 7.24.4 to 7.25.4 [`a9cf9bb`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/a9cf9bb8d84a7f9cb98a95625f702886a7021d7a) -- fix: remove left over jwt-decode [`7edd1d2`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/7edd1d2adf2d8b5eebe26c88f5b6fee7ac79e2ce) -- chore: update rollup config [`2915750`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/2915750e050303e8d422cd36ab7a847c2fd6c61c) +- fix: sessionManager import -#### [v2.3.11](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.3.10...v2.3.11) +#### v2.3.12 + +> 22 October 2024 + +- fix: validate token on isAuthenticated +- [Snyk] Upgrade @babel/preset-env from 7.24.4 to 7.25.4 +- fix: upgrade @babel/preset-env from 7.24.4 to 7.25.4 +- fix: remove left over jwt-decode +- chore: release v2.3.12 + +#### v2.3.11 > 10 October 2024 -- Fix: coalesce nulls when Hasura claims don't exist [`#217`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/217) -- chore: update cookie library [`#218`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/218) -- npm audit fix [`a28efb1`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/a28efb13259148998c9e525a41f754103540ec5a) -- chore: release v2.3.11 [`0f43965`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/0f43965fd11b33963994ce71d204587a1a1c561d) -- Coalesce nulls when Hasura claims don't exist [`0b6d306`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/0b6d3064e2bed299f91e93388e0ee24ebfcb39c5) +- Fix: coalesce nulls when Hasura claims don't exist +- chore: update cookie library +- npm audit fix +- chore: release v2.3.11 +- Coalesce nulls when Hasura claims don't exist -#### [v2.3.10](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.3.9...v2.3.10) +#### v2.3.10 > 3 October 2024 -- fix/remove-dormant-tokens [`#216`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/216) -- chore: release v2.3.10 [`4b83d80`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/4b83d80dbe3c2c2b56ad0a7c0a8d75ab56bc35b5) +- fix/remove-dormant-tokens +- chore: release v2.3.10 -#### [v2.3.9](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.3.8...v2.3.9) +#### v2.3.9 > 3 October 2024 -- fix/remove-api-token-from-cookies [`#215`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/215) -- chore(deps): bump next from 14.1.4 to 14.2.12 [`#210`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/210) -- chore: release v2.3.9 [`e946305`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/e9463050d52afc217ecd2a060ce4f9c9d11aed39) +- fix/remove-api-token-from-cookies +- chore(deps): bump next from 14.1.4 to 14.2.12 +- chore: release v2.3.9 -#### [v2.3.8](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.3.7...v2.3.8) +#### v2.3.8 > 29 August 2024 -- fix: setup get user object + to ts [`#205`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/205) -- chore: release v2.3.8 [`6d92f1a`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/6d92f1a374b48895309aabda1c0b44e31f3875bc) +- fix: setup get user object + to ts +- chore: release v2.3.8 -#### [v2.3.7](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.3.7-beta.21...v2.3.7) +#### v2.3.7 > 28 August 2024 -- Peter/fix/isauthenticated usekindeauth [`#202`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/202) -- chore: fix callback error [`#203`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/203) -- feat: user object to contain custom properties [`#200`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/200) -- chore: update version [`5873f1a`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/5873f1a2fbffc5de8c2701d669c671092fcc4f3e) -- tests: generateUserObject [`99d8f5d`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/99d8f5d3fa3803a0248aa258684c1d4fd996f874) -- chore: updating KindeUser type [`abdf68c`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/abdf68c1befb5c1e730e2038dd52606b9ffd4f6c) +- Peter/fix/isauthenticated usekindeauth +- chore: fix callback error +- feat: user object to contain custom properties +- chore: update version +- tests: generateUserObject +- chore: updating KindeUser type -#### [v2.3.7-beta.21](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.3.7-beta.20...v2.3.7-beta.21) +#### v2.3.7-beta.21 > 19 August 2024 -- chore: linting and build [`#199`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/199) -- chore: warn getuser [`#195`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/195) -- chore: update framework tracking [`#196`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/196) -- chore: callback error [`3ab16c8`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/3ab16c8a18d2a8256b08676b624f64ea287b2733) -- chore: console warn to debug [`3b506f1`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/3b506f11bac06824bd30323c100c251d32dfb7bf) +- chore: linting and build +- chore: warn getuser +- chore: update framework tracking +- chore: callback error +- chore: console warn to debug -#### [v2.3.7-beta.20](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.3.6...v2.3.7-beta.20) +#### v2.3.7-beta.20 > 28 July 2024 -- Next JS SDK - Update readme.md [`#194`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/194) -- Update readme.md [`215b14c`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/215b14c211b5e2ab44fe054f0d07b7aa7fdd3821) +- Next JS SDK - Update readme.md +- Update readme.md -#### [v2.3.6](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.3.5...v2.3.6) +#### v2.3.6 > 22 July 2024 -- fix: Post logout redirect URL [`#192`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/192) -- Peter/fix/istokenvalid check audience [`#189`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/189) -- chore: release v2.3.6 [`99a07f1`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/99a07f13652dc4136ac51234a0a80fd72ab03499) -- feat: middleware in playground [`27f300e`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/27f300e7c024aaa1e6908b29140f822fbbdd4a18) -- fix: audience check [`22d2e85`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/22d2e851ef20168a3b7702396a99072393b82d7c) +- fix: Post logout redirect URL +- Peter/fix/istokenvalid check audience +- chore: release v2.3.6 +- feat: middleware in playground +- fix: audience check -#### [v2.3.5](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.3.4...v2.3.5) +#### v2.3.5 > 15 July 2024 -- fix: isReturnToCurrentPage [`#190`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/190) -- chore: release v2.3.5 [`7c62a2b`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/7c62a2b2b07c8569ca1208370be62d6929cf741f) +- fix: isReturnToCurrentPage +- chore: release v2.3.5 -#### [v2.3.4](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.3.3...v2.3.4) +#### v2.3.4 > 8 July 2024 -- feat: KINDE_SCOPE + getUser upgrades [`#186`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/186) -- chore: release v2.3.4 [`999dda6`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/999dda6fcca6b8f727b21e8e092a4ab973a901f4) +- feat: KINDE_SCOPE + getUser upgrades +- chore: release v2.3.4 -#### [v2.3.3](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.3.2...v2.3.3) +#### v2.3.3 > 27 June 2024 -- fix: env variables [`#185`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/185) -- chore: release v2.3.3 [`105f4d3`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/105f4d34cc1e01a0a69148b3f8f04d0e84b0d061) +- fix: env variables +- chore: release v2.3.3 -#### [v2.3.2](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.3.1...v2.3.2) +#### v2.3.2 > 27 June 2024 -- feat: config in handle auth fn [`#183`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/183) -- chore: release v2.3.2 [`8ccfe22`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/8ccfe22f739257935d46ac6534d322c54b861f08) +- feat: config in handle auth fn +- chore: release v2.3.2 -#### [v2.3.1](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.3.0...v2.3.1) +#### v2.3.1 > 17 June 2024 -- chore: release v2.3.1 [`a9ddacb`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/a9ddacb9f5e7d39bcb2e0134d7b1eb20b636d67b) -- fix: infinate loop [`047f32e`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/047f32e4e5c81eb546b621dbb304ddd5427074bc) +- chore: release v2.3.1 +- fix: infinate loop -#### [v2.3.0](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.2.13...v2.3.0) +#### v2.3.0 > 17 June 2024 -- feature: implenment aunthentication function to protect Page components [`#154`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/154) -- feat: on error callback fn [`#179`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/179) -- feat: adding refreshData [`#180`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/180) -- feature: add same authentication function with api routes [`76d4e2c`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/76d4e2cbca6f384a7fda70ca75b0e8d09d250b7b) -- use config.status code and correct formatting changes [`b74442d`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/b74442d0abccc09f10aa66fb49e98051339d4973) -- chore: add error handiling [`0e852a5`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/0e852a56b7bc7b2166cfefa6649c2867ee397b41) +- feature: implenment aunthentication function to protect Page components +- feat: on error callback fn +- feat: adding refreshData +- feature: add same authentication function with api routes +- use config.status code and correct formatting changes +- chore: add error handiling -#### [v2.2.13](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.2.12...v2.2.13) +#### v2.2.13 > 28 May 2024 -- fix: failing null check [`#177`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/177) -- chore: release v2.2.13 [`e355f55`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/e355f55716fcb496121d05f5a38b3221f07588c5) +- fix: failing null check +- chore: release v2.2.13 -#### [v2.2.12](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.2.11...v2.2.12) +#### v2.2.12 > 28 May 2024 -- fix: use host/environment variable if relative postLoginRedirectURL supplied [`#176`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/176) -- chore: release v2.2.12 [`935ec01`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/935ec0181d77706a8206281eb54c08311bb8d918) -- Update src/components/LoginLink.js [`c6eadf2`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/c6eadf275787916077930967c29d8ca1d64c663e) +- fix: use host/environment variable if relative postLoginRedirectURL supplied +- chore: release v2.2.12 +- Update src/components/LoginLink.js -#### [v2.2.11](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.2.10...v2.2.11) +#### v2.2.11 > 28 May 2024 -- fix: use NextResponse redirect [`#173`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/173) -- chore(deps): bump next from 14.1.4 to 14.2.3 [`#164`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/164) -- chore: release v2.2.11 [`49ea635`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/49ea635e278bb872ef1ce4e5fda1679a18016850) +- fix: use NextResponse redirect +- chore(deps): bump next from 14.1.4 to 14.2.3 +- chore: release v2.2.11 -#### [v2.2.10](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.2.9...v2.2.10) +#### v2.2.10 > 17 May 2024 -- fix: add optional chainings to handleMiddleware function to avoid raising a TypeError [`#166`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/166) -- chore: release v2.2.10 [`28d4507`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/28d45074473054df92d3340f9e60f83e3ca6c70f) +- fix: add optional chainings to handleMiddleware function to avoid raising a TypeError +- chore: release v2.2.10 -#### [v2.2.9](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.2.8...v2.2.9) +#### v2.2.9 > 17 May 2024 -- chore: update TS SDK version [`#167`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/167) -- chore: release v2.2.9 [`7d03b2f`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/7d03b2fa5fe55b040d78f624840f62f345058996) +- chore: update TS SDK version +- chore: release v2.2.9 -#### [v2.2.8](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.2.7...v2.2.8) +#### v2.2.8 > 15 May 2024 -- feat: add redirectURLBase to options [`#165`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/165) -- chore: release v2.2.8 [`20cc7fe`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/20cc7fe894305318f7b369ce78eea1e9e2179445) +- feat: add redirectURLBase to options +- chore: release v2.2.8 -#### [v2.2.7](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.2.6...v2.2.7) +#### v2.2.7 > 14 May 2024 -- fix: correct import path [`#163`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/163) -- fix: session index error with missing config [`#162`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/162) -- chore: release v2.2.7 [`c3b43bd`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/c3b43bd3f131031782f8f896573edf870a478030) +- fix: correct import path +- fix: session index error with missing config +- chore: release v2.2.7 -#### [v2.2.6](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.2.5...v2.2.6) +#### v2.2.6 > 9 May 2024 -- fix: getUserOrganizations returning null incorrectly. [`#158`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/158) -- chore: release v2.2.6 [`55de0ca`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/55de0cae4618fb83bb27d23faa616ec9cebbbff0) -- chore: add logging [`87c17e1`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/87c17e17c812eaa1353314e97881b6a28cd24fba) +- fix: getUserOrganizations returning null incorrectly. +- chore: release v2.2.6 +- chore: add logging -#### [v2.2.5](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.2.5-2...v2.2.5) +#### v2.2.5 > 6 May 2024 -- chore: error handling for decoded tokens [`6556634`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/65566347574fcbe318db62233602eb956b1769da) -- chore: release v2.2.5 [`2c3f7e5`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/2c3f7e5ecf710a09ba7719bcd754156c7336e822) +- chore: error handling for decoded tokens +- chore: release v2.2.5 -#### [v2.2.5-2](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.2.5-1...v2.2.5-2) +#### v2.2.5-2 > 2 May 2024 -- fix: setup map undefined [`#157`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/157) -- chore: release v2.2.5-2 [`f51e66e`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/f51e66e8d02a01458cc81ae6b9ec1dbe1361bba9) +- fix: setup map undefined +- chore: release v2.2.5-2 -#### [v2.2.5-1](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.2.5-0...v2.2.5-1) +#### v2.2.5-1 > 1 May 2024 -- Peter/remove user cookie dependency [`#156`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/156) -- chore: use latest TS version [`7da3a4a`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/7da3a4a15d2efcd1dbf179019e24164c7d17466e) -- chore: release v2.2.5-1 [`9bbb461`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/9bbb461468b9dd8a03f8ffb0d526a1bedc694962) -- fix: remove user cookie dependency [`005ed76`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/005ed768a38b49fd9d2f3f2c790f0c325491e1d8) +- Peter/remove user cookie dependency +- chore: use latest TS version +- chore: release v2.2.5-1 +- fix: remove user cookie dependency -#### [v2.2.5-0](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.2.4...v2.2.5-0) +#### v2.2.5-0 > 30 April 2024 -- feat: custom claim & properties helper [`#152`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/152) -- fix: getOrganization to return specified type [`#155`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/155) -- chore: release v2.2.5-0 [`6a515fb`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/6a515fbdfa1bd225c112935c1cc1a8638f27253e) -- fix: update handlers to match new types [`ec1ceed`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/ec1ceedf3f6788ab4026ddf073851c3086b941e8) -- chore: remove logs [`13d7bf4`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/13d7bf4370158c1c3884108b1ed887c810a97571) +- feat: custom claim & properties helper +- fix: getOrganization to return specified type +- chore: release v2.2.5-0 +- fix: update handlers to match new types +- chore: remove logs -#### [v2.2.4](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.2.3...v2.2.4) +#### v2.2.4 > 23 April 2024 -- [Snyk] Upgrade cookie from 0.5.0 to 0.6.0 [`#145`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/145) -- fix: getPermission & getUser [`#146`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/146) -- feat: new playground implement basics of pnpm workspace [`#141`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/141) -- feat: add playground [`bfd1105`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/bfd1105fc9a8de81769400b44f90df176f8bb277) -- chore: release v2.2.4 [`c0f0af1`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/c0f0af15fff0827d255b3584b2773c0ff2dc589d) -- Update src/frontend/KindeBrowserClient.js [`98709d6`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/98709d699376b73003c8d9d9815f38209d39eca3) +- [Snyk] Upgrade cookie from 0.5.0 to 0.6.0 +- fix: getPermission & getUser +- feat: new playground implement basics of pnpm workspace +- feat: add playground +- chore: release v2.2.4 +- Update src/frontend/KindeBrowserClient.js -#### [v2.2.3](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.2.2...v2.2.3) +#### v2.2.3 > 2 April 2024 -- fix: types export [`#144`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/144) -- chore: release v2.2.3 [`c30ceb6`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/c30ceb694074b313a23361e081a5065a1982077a) +- fix: types export +- chore: release v2.2.3 -#### [v2.2.2](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.2.1...v2.2.2) +#### v2.2.2 > 28 March 2024 -- Peter/fix imports [`#139`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/139) -- fix: permissions.some [`#142`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/142) -- fix: exports [`2deaa47`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/2deaa47b95a96e1f2d211f0d62d6b29c6b6b3b7d) -- chore: release v2.2.2 [`6b486bf`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/6b486bf3b87c2d9f17c876ce65ab888307475ea1) -- fix: include middleware in exports [`9a967e2`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/9a967e2af68cd292b6e7a54fe05df00e3873035b) +- Peter/fix imports +- fix: permissions.some +- fix: exports +- chore: release v2.2.2 +- fix: include middleware in exports -#### [v2.2.1](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.2.0...v2.2.1) +#### v2.2.1 > 27 March 2024 -- fix: clearing cookies when domain is set in pages router [`#140`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/140) -- chore: release v2.2.1 [`dae0a60`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/dae0a60d082f3a4605613ac569eb37867e7c9a32) +- fix: clearing cookies when domain is set in pages router +- chore: release v2.2.1 -#### [v2.2.0](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.2.0-alpha.1...v2.2.0) +#### v2.2.0 > 21 March 2024 -- chore: release v2.2.0 [`971d231`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/971d2319c455e0b471c628eb1ff1dd58fec1cb2c) +- chore: release v2.2.0 -#### [v2.2.0-alpha.1](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.2.0-alpha.0...v2.2.0-alpha.1) +#### v2.2.0-alpha.1 > 25 March 2024 -- fix: include middleware in exports [`9a967e2`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/9a967e2af68cd292b6e7a54fe05df00e3873035b) -- chore: update version [`767df43`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/767df436d520a5ef36d203d4f63f7afdcb218de7) +- fix: include middleware in exports +- chore: update version -#### [v2.2.0-alpha.0](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.15...v2.2.0-alpha.0) +#### v2.2.0-alpha.0 > 25 March 2024 -- Peter/feat refresh tokens [`#137`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/137) -- Added properties to KindeAccessToken type [`#134`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/134) -- deps: update TS SDK and use validateClientSecret [`#133`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/133) -- fix: exports [`2deaa47`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/2deaa47b95a96e1f2d211f0d62d6b29c6b6b3b7d) -- fix: error handling refreshTokens [`5c845fd`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/5c845fd44f199a9928aa369653ed32cad828b220) -- chore: upgrade TS SDK version [`77458ce`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/77458ceb5e37c18da13970879c502167e92041d3) +- Peter/feat refresh tokens +- Added properties to KindeAccessToken type +- deps: update TS SDK and use validateClientSecret +- fix: exports +- fix: error handling refreshTokens +- chore: upgrade TS SDK version -#### [v2.1.15](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.14...v2.1.15) +#### v2.1.15 > 26 February 2024 -- Update TTL [`#131`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/131) -- fix: move router type definitions [`#130`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/130) -- chore: release v2.1.15 [`059547d`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/059547d6b6eb88b808aab04c653a380ecdb30ab3) -- feat: update TTL [`9fe5889`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/9fe5889527d3fd2c0021ed5f8534c0784c159da7) +- Update TTL +- fix: move router type definitions +- chore: release v2.1.15 +- feat: update TTL -#### [v2.1.14](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.13...v2.1.14) +#### v2.1.14 > 23 February 2024 -- fix: Cookie settings and code clean [`#129`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/129) -- chore: release v2.1.14 [`6d780de`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/6d780de6d85ecffdd5739d3ac4f3b7c9e0579373) +- fix: Cookie settings and code clean +- chore: release v2.1.14 -#### [v2.1.13](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.12...v2.1.13) +#### v2.1.13 > 16 February 2024 -- chore: release v2.1.13 [`de5627c`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/de5627cb6e09ac92347240ed36963e36e3211ec7) +- chore: release v2.1.13 -#### [v2.1.12](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.11...v2.1.12) +#### v2.1.12 > 16 February 2024 -- feat: health check endpoint [`#126`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/126) -- deps: security update socks 2.7.1 > 2.7.3 [`#127`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/127) -- chore: release v2.1.12 [`f2148fb`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/f2148fb0b9bd4068960a788e1e016ac593fdf065) +- feat: health check endpoint +- deps: security update socks 2.7.1 > 2.7.3 +- chore: release v2.1.12 -#### [v2.1.11](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.10...v2.1.11) +#### v2.1.11 > 14 February 2024 -- feat: middleware to return to current page [`#125`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/125) -- chore(release): v2.1.10 [`97e1bae`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/97e1bae31ab6b3b93504e34c5339b86e075ebdb9) -- chore: update version [`fa80849`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/fa80849825a139fc13cf8b28beeaaaeb9b3ced16) +- feat: middleware to return to current page +- chore(release): v2.1.10 +- chore: update version -#### [v2.1.10](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.9...v2.1.10) +#### v2.1.10 > 9 February 2024 -- fix: remove cookies from root domain [`#124`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/124) -- chore(release): v2.1.9 [`6c3394c`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/6c3394ca43e8595076c2735be82b5a9b5a86fa25) -- chore(release): v2.1.10 [`cf6bd83`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/cf6bd8319ef189f31804fd97e8b51c0d4f0d98df) -- chore(release): v2.1.9 [`c41cc6a`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/c41cc6a3aaa6b07d7ac774bcddbdf2a4c23a35c7) +- fix: remove cookies from root domain +- chore(release): v2.1.9 +- chore(release): v2.1.10 +- chore(release): v2.1.9 -#### [v2.1.9](https://github.com/kinde-oss/kinde-auth-nextjs/compare/2.1.7...v2.1.9) +#### v2.1.9 > 8 February 2024 -- Peter/remove trailing slashes [`#122`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/122) -- fix: removing cookies across domains [`#123`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/123) -- Peter/tests/base path [`#120`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/120) -- chore: bump version [`#121`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/121) -- test: apiPath browser client [`dae1b88`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/dae1b8867b23e79beb688a72c08656f75e456ee4) -- chore: remove traliing slashes for urls [`b48705e`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/b48705e2ec8f22e6c4f8726cc4b64a7b6c72a9ff) -- tests: remove trailing slashes [`2fea4d0`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/2fea4d092a8ccf5574efce22863530b8c8a24ed5) +- Peter/remove trailing slashes +- fix: removing cookies across domains +- Peter/tests/base path +- chore: bump version +- add login hint to the auth urls +- fix: setup +- Peter/chore/update ts version +- Peter/fix/refresh token client side +- feat: multiple audiences +- feat: raw access token and raw id token available via helpers +- Peter/feat/audience not for management api +- chore: bump TS dependency +- feat: add post logout redirect url +- feat: cookie domain +- fix: remove payload cookies +- Peter/upgrade ts sdk version +- Peter/fix middleware +- fix: encoding of unicode characters +- Peter/v2 hot fixes +- Peter/fix/nextresponse +- Fix cookie on edge +- Peter/rollup exports +- Peter/d.ts rollup +- feat: add playground +- Peter/v2 hot fixes +- types: KindeServerSession TS +- fix: register takes you to register page (not login) +- chore: revert version +- chore: next-14 peer dep +- Peter/backwards compatibilty get token +- chore(deps): bump crypto-js from 4.1.1 to 4.2.0 +- NEXT.JS SDK V2 +- Allow org switching +- chore(deps-dev): bump @babel/traverse from 7.22.5 to 7.23.2 +- Make sure always a single slash between domain and path in callbacks +- Replace node:crypto with uncrypto +- fix: reletting the api token +- fix: strict equals +- post login redirect for app router +- Update README with starter kit link +- Api Client +- Aud checking was using === instead of == +- Allow custom callback_url +- Allow custom API path +- Token payload +- isTokenValid helper for pages router +- bug: configure samesite and lax to work on safari +- fix: samesite lax +- Return orgCodes as expected from helper +- fix: no longer have phantom user after logging out +- fix: release-it to dev Dep +- chore(deps): bump word-wrap from 1.2.3 to 1.2.4 +- fix: default value default +- chore(deps): bump semver from 6.3.0 to 6.3.1 +- updated package.json version to fix failed release +- fix: get feature flags +- Create org with pages router +- fix: typo in post login url - allow both versions +- Redirects in middleware +- Add auth link components +- Full server side App Router support +- Fix: Give getToken an init value +- Peter/issues/28 +- Bump vm2 from 3.9.17 to 3.9.19 +- Fix: handle create org when audience is undefined +- ci: add release it +- CICD setup +- Add missing token types +- Post login redirect config option +- Add permission and feature flag helpers to frontend +- Dave/rollback esm +- Peter/provider type +- remove module version +- Add Feature flags +- make the challenge last for 15 mins +- Bump json5 from 2.2.1 to 2.2.3 +- Bump @sideway/formula from 3.0.0 to 3.0.1 +- cookie expiry to match token expiry +- Peter/update license +- Create LICENSE +- new functions +- Peter/fix aud +- Peter/audience and claim checking +- Peter/profile v2 +- Bump terser from 5.13.1 to 5.15.0 +- Peter/check iss and alg +- types and imports +- Peter/get token +- test: apiPath browser client +- feat: basic types +- style: eslint formatting + +#### v2.1.8 -#### [2.1.7](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.7...2.1.7) +> 6 February 2024 + +- Peter/tests/base path +- chore: bump version +- add login hint to the auth urls +- fix: setup +- Peter/chore/update ts version +- Peter/fix/refresh token client side +- feat: multiple audiences +- feat: raw access token and raw id token available via helpers +- Peter/feat/audience not for management api +- chore: bump TS dependency +- feat: add post logout redirect url +- feat: cookie domain +- fix: remove payload cookies +- Peter/upgrade ts sdk version +- Peter/fix middleware +- fix: encoding of unicode characters +- Peter/v2 hot fixes +- Peter/fix/nextresponse +- Fix cookie on edge +- Peter/rollup exports +- Peter/d.ts rollup +- feat: add playground +- Peter/v2 hot fixes +- types: KindeServerSession TS +- fix: register takes you to register page (not login) +- chore: revert version +- chore: next-14 peer dep +- Peter/backwards compatibilty get token +- chore(deps): bump crypto-js from 4.1.1 to 4.2.0 +- NEXT.JS SDK V2 +- Allow org switching +- chore(deps-dev): bump @babel/traverse from 7.22.5 to 7.23.2 +- Make sure always a single slash between domain and path in callbacks +- Replace node:crypto with uncrypto +- fix: reletting the api token +- fix: strict equals +- post login redirect for app router +- Update README with starter kit link +- Api Client +- Aud checking was using === instead of == +- Allow custom callback_url +- Allow custom API path +- Token payload +- isTokenValid helper for pages router +- bug: configure samesite and lax to work on safari +- fix: samesite lax +- Return orgCodes as expected from helper +- fix: no longer have phantom user after logging out +- fix: release-it to dev Dep +- chore(deps): bump word-wrap from 1.2.3 to 1.2.4 +- fix: default value default +- chore(deps): bump semver from 6.3.0 to 6.3.1 +- updated package.json version to fix failed release +- fix: get feature flags +- Create org with pages router +- fix: typo in post login url - allow both versions +- Redirects in middleware +- Add auth link components +- Full server side App Router support +- Fix: Give getToken an init value +- Peter/issues/28 +- Bump vm2 from 3.9.17 to 3.9.19 +- Fix: handle create org when audience is undefined +- ci: add release it +- CICD setup +- Add missing token types +- Post login redirect config option +- Add permission and feature flag helpers to frontend +- Dave/rollback esm +- Peter/provider type +- remove module version +- Add Feature flags +- make the challenge last for 15 mins +- Bump json5 from 2.2.1 to 2.2.3 +- Bump @sideway/formula from 3.0.0 to 3.0.1 +- cookie expiry to match token expiry +- Peter/update license +- Create LICENSE +- new functions +- Peter/fix aud +- Peter/audience and claim checking +- Peter/profile v2 +- Bump terser from 5.13.1 to 5.15.0 +- Peter/check iss and alg +- types and imports +- Peter/get token +- test: apiPath browser client +- feat: basic types +- style: eslint formatting + +#### 2.1.7 > 5 February 2024 -#### [v2.1.7](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.6...v2.1.7) +#### v2.1.7 > 6 February 2024 -- Peter/tests/base path [`#120`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/120) -- chore: bump version [`#121`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/121) -- add login hint to the auth urls [`#117`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/117) -- test: apiPath browser client [`dae1b88`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/dae1b8867b23e79beb688a72c08656f75e456ee4) -- feat: api path from env and as prop [`3997b85`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/3997b85d604fb0aa86010b49f34d1bbf0993a121) -- chore: remove unused import [`e8cf1f9`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/e8cf1f915a20e2afc01a5ca9cbcf2fd64e4e4cb5) +- Peter/tests/base path +- chore: bump version +- add login hint to the auth urls +- test: apiPath browser client +- feat: api path from env and as prop +- chore: remove unused import -#### [v2.1.6](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.5...v2.1.6) +#### v2.1.6 > 30 January 2024 -- fix: setup [`#115`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/115) -- chore: update version [`b06d9f2`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/b06d9f2a099b60a891225239c195b3a795a919e4) +- fix: setup +- chore: update version -#### [v2.1.5](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.4...v2.1.5) +#### v2.1.5 > 25 January 2024 -- Peter/chore/update ts version [`#112`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/112) -- chore(release): v2.1.4 [`3067cf6`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/3067cf628b57355676e255780cc913b5c0176c4b) -- chore(release): v2.1.5 [`e4775f7`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/e4775f7c620c8c19088fa7293d0ea01a50bf20c2) -- chore: update TS SDK version [`961e1e4`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/961e1e4f01972adfa4d30520624fc28d175a73c6) +- Peter/chore/update ts version +- chore(release): v2.1.4 +- chore(release): v2.1.5 +- chore: update TS SDK version -#### [v2.1.4](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.3...v2.1.4) +#### v2.1.4 > 24 January 2024 -- Peter/fix/refresh token client side [`#110`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/110) -- feat: multiple audiences [`#111`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/111) -- feat: set cookie path to / [`83ef427`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/83ef42787ebcd016d854b6271dc49233f4c44d70) -- fix: handle remove cookies on pages router [`fbbb772`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/fbbb772e3cbf97afdf970443220642676b635335) -- feat: support multiple apps [`3b31a69`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/3b31a6950b9379edeaeb977155c765ae36f5b787) +- Peter/fix/refresh token client side +- feat: multiple audiences +- feat: set cookie path to / +- fix: handle remove cookies on pages router +- feat: support multiple apps -#### [v2.1.3](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.3-alpha.2...v2.1.3) +#### v2.1.3 > 17 January 2024 -#### [v2.1.3-alpha.2](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.3-alpha.1...v2.1.3-alpha.2) +#### v2.1.3-alpha.2 > 17 January 2024 -#### [v2.1.3-alpha.1](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.3-alpha.0...v2.1.3-alpha.1) +#### v2.1.3-alpha.1 > 22 January 2024 -- feat: support multiple apps [`3b31a69`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/3b31a6950b9379edeaeb977155c765ae36f5b787) -- chore(release): v2.1.3-alpha.1 [`6231079`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/623107999bd252d3cc0ce6e98cf71f3e9a293925) -- chore(release): v2.1.3-alpha.0 [`47982a1`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/47982a1599500b3d6a27c998bc3f46899f1ee03b) +- feat: support multiple apps +- chore(release): v2.1.3-alpha.1 +- chore(release): v2.1.3-alpha.0 -#### [v2.1.3-alpha.0](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.2...v2.1.3-alpha.0) +#### v2.1.3-alpha.0 > 17 January 2024 -- feat: raw access token and raw id token available via helpers [`#106`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/106) -- Peter/feat/audience not for management api [`#109`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/109) -- feat: set cookie path to / [`83ef427`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/83ef42787ebcd016d854b6271dc49233f4c44d70) -- chore(release): v2.1.0 [`83e21ed`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/83e21ed8d747d80c58bf8318291fc4eeb9501b92) -- chore(release): v2.1.3 [`f1ccfaa`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/f1ccfaa27db4228940185022c302d5883422285c) +- feat: raw access token and raw id token available via helpers +- Peter/feat/audience not for management api +- feat: set cookie path to / +- chore(release): v2.1.0 +- chore(release): v2.1.3 -#### [v2.1.2](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.1...v2.1.2) +#### v2.1.2 > 16 January 2024 -- chore(release): v2.1.1 [`aec29a6`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/aec29a6171facd0e1971456f65f620fd8899bb6f) -- chore(release): v2.1.2 [`57171e8`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/57171e8bd20e965a38cb15cf9c8b8449edc842cc) -- chore: update version [`635b77b`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/635b77bb75921eaf7ab5144604c8cb162f3264e1) +- chore(release): v2.1.1 +- chore(release): v2.1.2 +- chore: update version -#### [v2.1.1](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.0...v2.1.1) +#### v2.1.1 > 16 January 2024 -- chore: bump TS dependency [`#108`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/108) -- chore(release): v2.1.1 [`2f9685f`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/2f9685f934faa7cd9770a08711cb8732223ffe67) -- chore(release): v2.0.13 [`1261b3b`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/1261b3be53fc290487b0fb15324838027283660b) +- chore: bump TS dependency +- chore(release): v2.1.1 +- chore(release): v2.0.13 -#### [v2.1.0](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.0-beta.1...v2.1.0) +#### v2.1.0 > 19 December 2023 -- feat: add post logout redirect url [`#87`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/87) -- feat: cookie domain [`#104`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/104) -- fix: remove payload cookies [`#103`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/103) -- Peter/upgrade ts sdk version [`#102`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/102) -- chore: upgrade ts sdk versino [`5a8f5ac`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/5a8f5ac606ed664346c7cf343f08d578b2f5d706) -- refactor: simplify url params [`bab3150`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/bab315097096556bc58831c7a7aed7a025303b43) -- chore: version bump [`7efd078`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/7efd078359bfa346f9a95e72cd6f6afb1cac0427) +- feat: add post logout redirect url +- feat: cookie domain +- fix: remove payload cookies +- Peter/upgrade ts sdk version +- chore: upgrade ts sdk versino +- refactor: simplify url params +- chore: version bump -#### [v2.1.0-beta.1](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.0-beta.0...v2.1.0-beta.1) +#### v2.1.0-beta.1 > 18 December 2023 -- feat: support multiple apps [`3b31a69`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/3b31a6950b9379edeaeb977155c765ae36f5b787) +- feat: support multiple apps -#### [v2.1.0-beta.0](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.12...v2.1.0-beta.0) +#### v2.1.0-beta.0 > 13 December 2023 -- feat: cookie domain [`2dad216`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/2dad21686e0a1eafc3904ef43a50d29da9aeec99) - -#### [v2.0.12](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.11...v2.0.12) +- Peter/fix middleware +- fix: encoding of unicode characters +- Peter/v2 hot fixes +- Peter/fix/nextresponse +- Fix cookie on edge +- Peter/rollup exports +- Peter/d.ts rollup +- feat: add playground +- Peter/v2 hot fixes +- types: KindeServerSession TS +- fix: register takes you to register page (not login) +- chore: revert version +- chore: next-14 peer dep +- Peter/backwards compatibilty get token +- chore(deps): bump crypto-js from 4.1.1 to 4.2.0 +- NEXT.JS SDK V2 +- Allow org switching +- chore(deps-dev): bump @babel/traverse from 7.22.5 to 7.23.2 +- Make sure always a single slash between domain and path in callbacks +- Replace node:crypto with uncrypto +- fix: reletting the api token +- fix: strict equals +- post login redirect for app router +- Update README with starter kit link +- Api Client +- Aud checking was using === instead of == +- Allow custom callback_url +- Allow custom API path +- Token payload +- isTokenValid helper for pages router +- bug: configure samesite and lax to work on safari +- fix: samesite lax +- Return orgCodes as expected from helper +- fix: no longer have phantom user after logging out +- fix: release-it to dev Dep +- chore(deps): bump word-wrap from 1.2.3 to 1.2.4 +- fix: default value default +- chore(deps): bump semver from 6.3.0 to 6.3.1 +- updated package.json version to fix failed release +- fix: get feature flags +- Create org with pages router +- fix: typo in post login url - allow both versions +- Redirects in middleware +- Add auth link components +- Full server side App Router support +- Fix: Give getToken an init value +- Peter/issues/28 +- Bump vm2 from 3.9.17 to 3.9.19 +- Fix: handle create org when audience is undefined +- ci: add release it +- CICD setup +- Add missing token types +- Post login redirect config option +- Add permission and feature flag helpers to frontend +- Dave/rollback esm +- Peter/provider type +- remove module version +- Add Feature flags +- make the challenge last for 15 mins +- Bump json5 from 2.2.1 to 2.2.3 +- Bump @sideway/formula from 3.0.0 to 3.0.1 +- cookie expiry to match token expiry +- Peter/update license +- Create LICENSE +- new functions +- Peter/fix aud +- Peter/audience and claim checking +- Peter/profile v2 +- Bump terser from 5.13.1 to 5.15.0 +- Peter/check iss and alg +- types and imports +- Peter/get token +- feat: basic types +- style: eslint formatting +- fix: kindeServerSession export + +#### v2.1.0-alpha.0 + +> 20 December 2023 + +- feat: support multiple apps +- feat: cookie expiry +- feat: cookie domain + +#### v2.0.13 + +> 8 December 2023 + +- Peter/fix middleware +- fix: encoding of unicode characters +- Peter/v2 hot fixes +- Peter/fix/nextresponse +- Fix cookie on edge +- Peter/rollup exports +- Peter/d.ts rollup +- feat: add playground +- Peter/v2 hot fixes +- types: KindeServerSession TS +- fix: register takes you to register page (not login) +- chore: revert version +- chore: next-14 peer dep +- Peter/backwards compatibilty get token +- chore(deps): bump crypto-js from 4.1.1 to 4.2.0 +- NEXT.JS SDK V2 +- Allow org switching +- chore(deps-dev): bump @babel/traverse from 7.22.5 to 7.23.2 +- Make sure always a single slash between domain and path in callbacks +- Replace node:crypto with uncrypto +- fix: reletting the api token +- fix: strict equals +- post login redirect for app router +- Update README with starter kit link +- Api Client +- Aud checking was using === instead of == +- Allow custom callback_url +- Allow custom API path +- Token payload +- isTokenValid helper for pages router +- bug: configure samesite and lax to work on safari +- fix: samesite lax +- Return orgCodes as expected from helper +- fix: no longer have phantom user after logging out +- fix: release-it to dev Dep +- chore(deps): bump word-wrap from 1.2.3 to 1.2.4 +- fix: default value default +- chore(deps): bump semver from 6.3.0 to 6.3.1 +- updated package.json version to fix failed release +- fix: get feature flags +- Create org with pages router +- fix: typo in post login url - allow both versions +- Redirects in middleware +- Add auth link components +- Full server side App Router support +- Fix: Give getToken an init value +- Peter/issues/28 +- Bump vm2 from 3.9.17 to 3.9.19 +- Fix: handle create org when audience is undefined +- ci: add release it +- CICD setup +- Add missing token types +- Post login redirect config option +- Add permission and feature flag helpers to frontend +- Dave/rollback esm +- Peter/provider type +- remove module version +- Add Feature flags +- make the challenge last for 15 mins +- Bump json5 from 2.2.1 to 2.2.3 +- Bump @sideway/formula from 3.0.0 to 3.0.1 +- cookie expiry to match token expiry +- Peter/update license +- Create LICENSE +- new functions +- Peter/fix aud +- Peter/audience and claim checking +- Peter/profile v2 +- Bump terser from 5.13.1 to 5.15.0 +- Peter/check iss and alg +- types and imports +- Peter/get token +- feat: basic types +- style: eslint formatting +- fix: kindeServerSession export + +#### v2.0.12 > 7 December 2023 -- Peter/fix middleware [`#101`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/101) -- chore: upgrade ts sdk versino [`5a8f5ac`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/5a8f5ac606ed664346c7cf343f08d578b2f5d706) +- Peter/fix middleware +- chore: upgrade ts sdk versino -#### [v2.0.11](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.10...v2.0.11) +#### v2.0.11 > 6 December 2023 -- fix: decode the accessTokenValue [`b8d1216`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/b8d121656146d26004c1fa2d98948acdf10b789d) -- version [`72b380c`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/72b380ce58b9f7989714fab01ba4ad35788ae089) +- fix: decode the accessTokenValue +- version -#### [v2.0.10](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.9...v2.0.10) +#### v2.0.10 > 20 November 2023 -- fix: encoding of unicode characters [`#98`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/98) -- Peter/v2 hot fixes [`#99`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/99) -- versino [`e8f76eb`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/e8f76eb265f2bc809add1bbb8edd968c16d4393c) -- fix: handleAuth types [`f08543c`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/f08543cf67e7afe12eec49d5f114d90930145028) +- fix: encoding of unicode characters +- Peter/v2 hot fixes +- versino +- fix: handleAuth types -#### [v2.0.9](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.8...v2.0.9) +#### v2.0.9 > 17 November 2023 -- Peter/fix/nextresponse [`#95`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/95) -- fix: kindeServerSession export [`a168e8d`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/a168e8d1055d12f60b813043234e4e8b95688f73) -- types [`800db5c`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/800db5c8cdddc353b9262fe3a489cdf3fa94a526) -- types: auth provider [`3518521`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/35185214bbda2fa3f1659703b38f0978a1d687b1) +- Peter/fix/nextresponse +- fix: kindeServerSession export +- types +- types: auth provider -#### [v2.0.8](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.8-beta.8...v2.0.8) +#### v2.0.8 > 16 November 2023 -#### [v2.0.8-beta.8](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.8-beta.7...v2.0.8-beta.8) +- Fix cookie on edge +- Peter/rollup exports +- Peter/d.ts rollup +- feat: add playground +- Peter/v2 hot fixes +- types: KindeServerSession TS +- fix: register takes you to register page (not login) +- chore: revert version +- chore: next-14 peer dep +- Peter/backwards compatibilty get token +- chore(deps): bump crypto-js from 4.1.1 to 4.2.0 +- NEXT.JS SDK V2 +- Allow org switching +- chore(deps-dev): bump @babel/traverse from 7.22.5 to 7.23.2 +- Make sure always a single slash between domain and path in callbacks +- Replace node:crypto with uncrypto +- fix: reletting the api token +- fix: strict equals +- post login redirect for app router +- Update README with starter kit link +- Api Client +- Aud checking was using === instead of == +- Allow custom callback_url +- Allow custom API path +- Token payload +- isTokenValid helper for pages router +- bug: configure samesite and lax to work on safari +- fix: samesite lax +- Return orgCodes as expected from helper +- fix: no longer have phantom user after logging out +- fix: release-it to dev Dep +- chore(deps): bump word-wrap from 1.2.3 to 1.2.4 +- fix: default value default +- chore(deps): bump semver from 6.3.0 to 6.3.1 +- updated package.json version to fix failed release +- fix: get feature flags +- Create org with pages router +- fix: typo in post login url - allow both versions +- Redirects in middleware +- Add auth link components +- Full server side App Router support +- Fix: Give getToken an init value +- Peter/issues/28 +- Bump vm2 from 3.9.17 to 3.9.19 +- Fix: handle create org when audience is undefined +- ci: add release it +- CICD setup +- Add missing token types +- Post login redirect config option +- Add permission and feature flag helpers to frontend +- Dave/rollback esm +- Peter/provider type +- remove module version +- Add Feature flags +- make the challenge last for 15 mins +- Bump json5 from 2.2.1 to 2.2.3 +- Bump @sideway/formula from 3.0.0 to 3.0.1 +- cookie expiry to match token expiry +- Peter/update license +- Create LICENSE +- new functions +- Peter/fix aud +- Peter/audience and claim checking +- Peter/profile v2 +- Bump terser from 5.13.1 to 5.15.0 +- Peter/check iss and alg +- types and imports +- Peter/get token +- feat: basic types +- style: eslint formatting +- chore: update rollup + add dts + +#### v2.0.8-beta.16 + +> 17 November 2023 + +- remove exports + +#### v2.0.8-beta.15 + +> 17 November 2023 + +- types to dist + +#### v2.0.8-beta.14 + +> 17 November 2023 + +- remove dts + +#### v2.0.8-beta.13 + +> 17 November 2023 + +- noderesolve + +#### v2.0.8-beta.12 > 16 November 2023 -- version [`aabbb53`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/aabbb53dc382e4e84a27a113b43738d01e216904) +- rollup types + fixes -#### [v2.0.8-beta.7](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.8-beta.6...v2.0.8-beta.7) +#### v2.0.8-beta.11 > 16 November 2023 -- version [`fe4072e`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/fe4072ed9048f2e8d3841d799c1144b903d24edb) +- dts -#### [v2.0.8-beta.6](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.8-beta.5...v2.0.8-beta.6) +#### v2.0.8-beta.10 > 16 November 2023 -- version [`c4864af`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/c4864afd883c1d5a62424164a0c9267fe3de69e6) +- version -#### [v2.0.8-beta.5](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.8-beta.4...v2.0.8-beta.5) +#### v2.0.8-beta.9 > 16 November 2023 -- rollup trying to get pages router working [`e686968`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/e686968eaa7c6928ef023f9aa22cd08947ccb67c) +- types: KindeServerSession TS +- fix: register takes you to register page (not login) +- chore: revert version +- chore: next-14 peer dep +- Peter/backwards compatibilty get token +- chore(deps): bump crypto-js from 4.1.1 to 4.2.0 +- NEXT.JS SDK V2 +- Allow org switching +- chore(deps-dev): bump @babel/traverse from 7.22.5 to 7.23.2 +- Make sure always a single slash between domain and path in callbacks +- Replace node:crypto with uncrypto +- fix: reletting the api token +- fix: strict equals +- post login redirect for app router +- Update README with starter kit link +- Api Client +- Aud checking was using === instead of == +- Allow custom callback_url +- Allow custom API path +- Token payload +- isTokenValid helper for pages router +- bug: configure samesite and lax to work on safari +- fix: samesite lax +- Return orgCodes as expected from helper +- fix: no longer have phantom user after logging out +- fix: release-it to dev Dep +- chore(deps): bump word-wrap from 1.2.3 to 1.2.4 +- fix: default value default +- chore(deps): bump semver from 6.3.0 to 6.3.1 +- updated package.json version to fix failed release +- fix: get feature flags +- Create org with pages router +- fix: typo in post login url - allow both versions +- Redirects in middleware +- Add auth link components +- Full server side App Router support +- Fix: Give getToken an init value +- Peter/issues/28 +- Bump vm2 from 3.9.17 to 3.9.19 +- Fix: handle create org when audience is undefined +- ci: add release it +- CICD setup +- Add missing token types +- Post login redirect config option +- Add permission and feature flag helpers to frontend +- Dave/rollback esm +- Peter/provider type +- remove module version +- Add Feature flags +- make the challenge last for 15 mins +- Bump json5 from 2.2.1 to 2.2.3 +- Bump @sideway/formula from 3.0.0 to 3.0.1 +- cookie expiry to match token expiry +- Peter/update license +- Create LICENSE +- new functions +- Peter/fix aud +- Peter/audience and claim checking +- Peter/profile v2 +- Bump terser from 5.13.1 to 5.15.0 +- Peter/check iss and alg +- types and imports +- Peter/get token +- feat: basic types +- style: eslint formatting +- feat: authUrlParams for LoginLink and RegisterLink + +#### v2.0.8-beta.8 + +> 16 November 2023 -#### [v2.0.8-beta.4](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.8-beta.3...v2.0.8-beta.4) +- version + +#### v2.0.8-beta.7 + +> 16 November 2023 + +- version + +#### v2.0.8-beta.6 + +> 16 November 2023 + +- version + +#### v2.0.8-beta.5 > 16 November 2023 -- require and import in package.json [`6c79ceb`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/6c79ceb4c5c9997a7602e20cae6ece776770d663) +- rollup trying to get pages router working -#### [v2.0.8-beta.3](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.8-beta.2...v2.0.8-beta.3) +#### v2.0.8-beta.4 > 16 November 2023 -- cjs stuff [`a865e96`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/a865e9678a81e43975d626bfc648337272bcc5c6) +- require and import in package.json -#### [v2.0.8-beta.2](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.8-beta.1...v2.0.8-beta.2) +#### v2.0.8-beta.3 > 16 November 2023 -- trying node resolve in server [`d234114`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/d23411426af16a6e3a05cf29aec0277f46af3960) +- cjs stuff -#### [v2.0.8-beta.1](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.7...v2.0.8-beta.1) +#### v2.0.8-beta.2 > 16 November 2023 -- fix: pages router [`3fc4e59`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/3fc4e597cd55d3fcbe8849adc78df2406704a953) -- rollup: node resolve [`7cac676`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/7cac676abf37ce8c03c7a013894576e0a9926026) -- version [`d085302`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/d0853023220451fdfce62fd5a315062eb0b6c57f) +- trying node resolve in server + +#### v2.0.8-beta.1 + +> 16 November 2023 -#### [v2.0.7](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.6...v2.0.7) +- fix: pages router +- rollup: node resolve +- version + +#### v2.0.7 > 15 November 2023 -- Fix cookie on edge [`#93`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/93) -- remove unused files [`923ef1f`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/923ef1fb12bf96c7bd560ec42539c1961184d83b) -- rollup: externals [`6b9a701`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/6b9a7011a1cace81c385679d835f13ce9ebd8c7f) -- type: imports [`edac647`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/edac64790eb8df8c08aa4448f16a5ead50873d8c) +- Fix cookie on edge +- remove unused files +- rollup: externals +- type: imports -#### [v2.0.6](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.6-beta.1...v2.0.6) +#### v2.0.6 > 13 November 2023 -#### [v2.0.6-beta.1](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.6-beta.0...v2.0.6-beta.1) +#### v2.0.6-beta.1 > 13 November 2023 -- version [`3b50d9a`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/3b50d9a272b3048f501a2824ec7dcbb344521680) +- version -#### [v2.0.6-beta.0](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.5...v2.0.6-beta.0) +#### v2.0.6-beta.0 > 13 November 2023 -- Fix cookie on edge [`#93`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/93) -- remove unused files [`923ef1f`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/923ef1fb12bf96c7bd560ec42539c1961184d83b) -- types: RouterClient + Response [`afab467`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/afab467877557b3fd8843024a8d17630ec9bca16) -- rollup: externals [`6b9a701`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/6b9a7011a1cace81c385679d835f13ce9ebd8c7f) +- Fix cookie on edge +- remove unused files +- types: RouterClient + Response +- rollup: externals -#### [v2.0.5](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.4...v2.0.5) +#### v2.0.5 > 10 November 2023 -#### [v2.0.4](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.3...v2.0.4) +#### v2.0.4 > 9 November 2023 -- Peter/rollup exports [`#90`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/90) -- Peter/d.ts rollup [`#89`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/89) -- chore: simplify rollup [`1ae510f`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/1ae510f77d828da9257191150d12c4d9545e8d85) -- fix: pacakge exports & middleware [`4058d92`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/4058d92a6ac0ca45dbed960a6ba4d73d59ecfaa8) -- fix: type files bundles with dts [`3b5504b`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/3b5504bc7392db4896425c537e60dd108974c7c7) +- Peter/rollup exports +- Peter/d.ts rollup +- chore: simplify rollup +- fix: pacakge exports & middleware +- fix: type files bundles with dts -#### [v2.0.3](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.2...v2.0.3) +#### v2.0.3 > 8 November 2023 -- chore: update rollup + add dts [`5c94667`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/5c94667b2c6bb62b3d1a08d061a3e85b2b652482) -- chore: remove unused types + include types.d.ts [`a764898`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/a7648985b08d7fd6040e4f303f7275f0ae6e1202) -- fix: types [`5e74a1a`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/5e74a1adf4270e2d4384645022a8d6612e9c0863) +- chore: update rollup + add dts +- chore: remove unused types + include types.d.ts +- fix: types -#### [v2.0.2](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.2-beta.10...v2.0.2) +#### v2.0.2 > 8 November 2023 -#### [v2.0.2-beta.10](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.2-beta.9...v2.0.2-beta.10) +#### v2.0.2-beta.10 > 17 November 2023 -- fix: NextResponse not imported [`8561467`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/85614677b9fc180a3ec4d209cc8cabc95e941441) +- fix: NextResponse not imported + +#### v2.0.2-beta.9 + +> 17 November 2023 -#### [v2.0.2-beta.9](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.2-beta.6...v2.0.2-beta.9) +- Peter/fix/nextresponse +- Fix cookie on edge +- Peter/rollup exports +- Peter/d.ts rollup +- feat: add playground +- Peter/v2 hot fixes +- types: KindeServerSession TS +- fix: register takes you to register page (not login) +- chore: revert version +- chore: next-14 peer dep +- Peter/backwards compatibilty get token +- chore(deps): bump crypto-js from 4.1.1 to 4.2.0 +- NEXT.JS SDK V2 +- Allow org switching +- chore(deps-dev): bump @babel/traverse from 7.22.5 to 7.23.2 +- Make sure always a single slash between domain and path in callbacks +- Replace node:crypto with uncrypto +- fix: reletting the api token +- fix: strict equals +- post login redirect for app router +- Update README with starter kit link +- Api Client +- Aud checking was using === instead of == +- Allow custom callback_url +- Allow custom API path +- Token payload +- isTokenValid helper for pages router +- bug: configure samesite and lax to work on safari +- fix: samesite lax +- Return orgCodes as expected from helper +- fix: no longer have phantom user after logging out +- fix: release-it to dev Dep +- chore(deps): bump word-wrap from 1.2.3 to 1.2.4 +- fix: default value default +- chore(deps): bump semver from 6.3.0 to 6.3.1 +- updated package.json version to fix failed release +- fix: get feature flags +- Create org with pages router +- fix: typo in post login url - allow both versions +- Redirects in middleware +- Add auth link components +- Full server side App Router support +- Fix: Give getToken an init value +- Peter/issues/28 +- Bump vm2 from 3.9.17 to 3.9.19 +- Fix: handle create org when audience is undefined +- ci: add release it +- CICD setup +- Add missing token types +- Post login redirect config option +- Add permission and feature flag helpers to frontend +- Dave/rollback esm +- Peter/provider type +- remove module version +- Add Feature flags +- make the challenge last for 15 mins +- Bump json5 from 2.2.1 to 2.2.3 +- Bump @sideway/formula from 3.0.0 to 3.0.1 +- cookie expiry to match token expiry +- Peter/update license +- Create LICENSE +- new functions +- Peter/fix aud +- Peter/audience and claim checking +- Peter/profile v2 +- Bump terser from 5.13.1 to 5.15.0 +- Peter/check iss and alg +- types and imports +- Peter/get token +- feat: basic types +- style: eslint formatting +- fix: kindeServerSession export + +#### v2.0.2-beta.8 > 17 November 2023 -- Peter/fix/nextresponse [`#95`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/95) -- Fix cookie on edge [`#93`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/93) -- Peter/rollup exports [`#90`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/90) -- Peter/d.ts rollup [`#89`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/89) -- feat: add playground [`#85`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/85) -- Peter/v2 hot fixes [`#84`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/84) -- types: KindeServerSession TS [`#82`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/82) -- fix: kindeServerSession export [`a168e8d`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/a168e8d1055d12f60b813043234e4e8b95688f73) -- chore: update rollup + add dts [`5c94667`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/5c94667b2c6bb62b3d1a08d061a3e85b2b652482) -- types: auth provider + some bug fixes [`089cda6`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/089cda615f5238246204a148333ac8c3887a4f24) +- type module -#### [v2.0.2-beta.6](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.2-beta.5...v2.0.2-beta.6) +#### v2.0.2-beta.7 > 17 November 2023 -- fix: bugs [`0d955b8`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/0d955b89192f424117b5e11ad18cc444198bdbbf) +- fix: register takes you to register page (not login) +- chore: revert version +- chore: next-14 peer dep +- Peter/backwards compatibilty get token +- chore(deps): bump crypto-js from 4.1.1 to 4.2.0 +- NEXT.JS SDK V2 +- Allow org switching +- chore(deps-dev): bump @babel/traverse from 7.22.5 to 7.23.2 +- Make sure always a single slash between domain and path in callbacks +- Replace node:crypto with uncrypto +- fix: reletting the api token +- fix: strict equals +- post login redirect for app router +- Update README with starter kit link +- Api Client +- Aud checking was using === instead of == +- Allow custom callback_url +- Allow custom API path +- Token payload +- isTokenValid helper for pages router +- bug: configure samesite and lax to work on safari +- fix: samesite lax +- Return orgCodes as expected from helper +- fix: no longer have phantom user after logging out +- fix: release-it to dev Dep +- chore(deps): bump word-wrap from 1.2.3 to 1.2.4 +- fix: default value default +- chore(deps): bump semver from 6.3.0 to 6.3.1 +- updated package.json version to fix failed release +- fix: get feature flags +- Create org with pages router +- fix: typo in post login url - allow both versions +- Redirects in middleware +- Add auth link components +- Full server side App Router support +- Fix: Give getToken an init value +- Peter/issues/28 +- Bump vm2 from 3.9.17 to 3.9.19 +- Fix: handle create org when audience is undefined +- ci: add release it +- CICD setup +- Add missing token types +- Post login redirect config option +- Add permission and feature flag helpers to frontend +- Dave/rollback esm +- Peter/provider type +- remove module version +- Add Feature flags +- make the challenge last for 15 mins +- Bump json5 from 2.2.1 to 2.2.3 +- Bump @sideway/formula from 3.0.0 to 3.0.1 +- cookie expiry to match token expiry +- Peter/update license +- Create LICENSE +- new functions +- Peter/fix aud +- Peter/audience and claim checking +- Peter/profile v2 +- Bump terser from 5.13.1 to 5.15.0 +- Peter/check iss and alg +- types and imports +- Peter/get token +- feat: basic types +- style: eslint formatting +- feat: authUrlParams for LoginLink and RegisterLink + +#### v2.0.2-beta.6 + +> 17 November 2023 -#### [v2.0.2-beta.5](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.2-beta.4...v2.0.2-beta.5) +- fix: bugs + +#### v2.0.2-beta.5 > 17 November 2023 -- clean up [`f7ca5d0`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/f7ca5d02bb6ff939b01721256345731283dd15b3) +- clean up -#### [v2.0.2-beta.4](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.2-beta.3...v2.0.2-beta.4) +#### v2.0.2-beta.4 > 17 November 2023 -- version [`b403ead`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/b403ead3268ae090ca8468257527022a5a305592) +- version -#### [v2.0.2-beta.3](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.2-beta.2...v2.0.2-beta.3) +#### v2.0.2-beta.3 > 17 November 2023 -- fix: types [`7dcb236`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/7dcb23699b61a9a7e5b4c6a8897f5066b36b3fb6) +- fix: types -#### [v2.0.2-beta.2](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.2-beta.1...v2.0.2-beta.2) +#### v2.0.2-beta.2 > 17 November 2023 -- build [`ccafd48`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/ccafd487cba2de9b3b669a3a7d2aa142124eebd8) -- provider type [`383d6b3`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/383d6b3717f8a9901cefb57e4270f92c5f631cda) +- build +- provider type -#### [v2.0.2-beta.1](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.1...v2.0.2-beta.1) +#### v2.0.2-beta.1 > 17 November 2023 -- types [`800db5c`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/800db5c8cdddc353b9262fe3a489cdf3fa94a526) -- types: auth provider [`3518521`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/35185214bbda2fa3f1659703b38f0978a1d687b1) -- types: handlers [`73a07f3`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/73a07f3792b6e103e2989a03a1e98d3600fd49e3) +- types +- types: auth provider +- types: handlers -#### [v2.0.1](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.1-beta.10...v2.0.1) +#### v2.0.1 > 6 November 2023 -#### [v2.0.1-beta.10](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.1-beta.9...v2.0.1-beta.10) +#### v2.0.1-beta.10 > 9 November 2023 -- fix: type files bundles with dts [`3b5504b`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/3b5504bc7392db4896425c537e60dd108974c7c7) +- fix: type files bundles with dts -#### [v2.0.1-beta.9](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.1-beta.8...v2.0.1-beta.9) +#### v2.0.1-beta.9 > 9 November 2023 -- fix: pacakge exports & middleware [`4058d92`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/4058d92a6ac0ca45dbed960a6ba4d73d59ecfaa8) +- fix: pacakge exports & middleware -#### [v2.0.1-beta.8](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.1-beta.6...v2.0.1-beta.8) +#### v2.0.1-beta.8 > 9 November 2023 -- Peter/d.ts rollup [`#89`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/89) -- chore: simplify rollup [`1ae510f`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/1ae510f77d828da9257191150d12c4d9545e8d85) -- chore: trying to get rollup to work [`3fa7d89`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/3fa7d895578b9194be1d43fd43a523d5b1cc1aab) -- version [`79c8d8c`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/79c8d8c65bc2f3db21b033f53e81a218c82069cc) +- Peter/d.ts rollup +- chore: simplify rollup +- chore: trying to get rollup to work +- version -#### [v2.0.1-beta.6](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.1-beta.5...v2.0.1-beta.6) +#### v2.0.1-beta.6 > 8 November 2023 -- fix: esm [`9097ff4`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/9097ff445851ae67b3f8574c894ce12a2aba1455) +- fix: esm -#### [v2.0.1-beta.5](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.1-beta.4...v2.0.1-beta.5) +#### v2.0.1-beta.5 > 8 November 2023 -- fix: types [`5e74a1a`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/5e74a1adf4270e2d4384645022a8d6612e9c0863) +- fix: types -#### [v2.0.1-beta.4](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.1-beta.3...v2.0.1-beta.4) +#### v2.0.1-beta.4 > 8 November 2023 -- fix: types [`ae5673a`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/ae5673a1908c5dccc0bc5761c799d39121a08c73) +- fix: types -#### [v2.0.1-beta.3](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.1-beta.2...v2.0.1-beta.3) +#### v2.0.1-beta.3 > 8 November 2023 -- fix: esm + cjs mixup [`a970510`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/a97051090a734d1e2467d1eb0ece37a75db2101a) +- fix: esm + cjs mixup -#### [v2.0.1-beta.2](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.1-beta.1...v2.0.1-beta.2) +#### v2.0.1-beta.2 > 8 November 2023 -- chore: remove unused types + include types.d.ts [`a764898`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/a7648985b08d7fd6040e4f303f7275f0ae6e1202) +- chore: remove unused types + include types.d.ts -#### [v2.0.1-beta.1](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.0...v2.0.1-beta.1) +#### v2.0.1-beta.1 > 8 November 2023 -- feat: add playground [`#85`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/85) -- Peter/v2 hot fixes [`#84`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/84) -- types: KindeServerSession TS [`#82`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/82) -- fix: register takes you to register page (not login) [`#80`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/80) -- chore: revert version [`#79`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/79) -- chore: next-14 peer dep [`#78`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/78) -- Peter/backwards compatibilty get token [`#77`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/77) -- chore(deps): bump crypto-js from 4.1.1 to 4.2.0 [`#74`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/74) -- NEXT.JS SDK V2 [`#75`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/75) -- Allow org switching [`#73`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/73) -- chore(deps-dev): bump @babel/traverse from 7.22.5 to 7.23.2 [`#72`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/72) -- Make sure always a single slash between domain and path in callbacks [`#71`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/71) -- Replace node:crypto with uncrypto [`#70`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/70) -- chore: update rollup + add dts [`5c94667`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/5c94667b2c6bb62b3d1a08d061a3e85b2b652482) -- feat: authUrlParams for LoginLink and RegisterLink [`bb541d1`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/bb541d1facf19c31130bca85a40905906679ff1a) -- types: auth provider + some bug fixes [`089cda6`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/089cda615f5238246204a148333ac8c3887a4f24) - -### [v2.0.0](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.0-alpha.3...v2.0.0) +- feat: add playground +- Peter/v2 hot fixes +- types: KindeServerSession TS +- fix: register takes you to register page (not login) +- chore: revert version +- chore: next-14 peer dep +- Peter/backwards compatibilty get token +- chore(deps): bump crypto-js from 4.1.1 to 4.2.0 +- NEXT.JS SDK V2 +- Allow org switching +- chore(deps-dev): bump @babel/traverse from 7.22.5 to 7.23.2 +- Make sure always a single slash between domain and path in callbacks +- Replace node:crypto with uncrypto +- chore: update rollup + add dts +- feat: authUrlParams for LoginLink and RegisterLink +- types: auth provider + some bug fixes + +#### v2.0.0 > 30 October 2023 -#### [v2.0.0-alpha.3](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.0-alpha.2...v2.0.0-alpha.3) +#### v2.0.0-alpha.3 > 31 October 2023 -- chore(deps): bump crypto-js from 4.1.1 to 4.2.0 [`#74`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/74) -- NEXT.JS SDK V2 [`#75`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/75) -- Allow org switching [`#73`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/73) -- chore(deps-dev): bump @babel/traverse from 7.22.5 to 7.23.2 [`#72`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/72) -- Make sure always a single slash between domain and path in callbacks [`#71`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/71) -- Replace node:crypto with uncrypto [`#70`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/70) -- feat: authUrlParams for LoginLink and RegisterLink [`bb541d1`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/bb541d1facf19c31130bca85a40905906679ff1a) -- chore: remove breaking changes [`9ef1fcf`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/9ef1fcf811f60460b296ba7e215bb9331d015bdb) -- post login redirect [`1b6911d`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/1b6911de643e6932a9a12b8fbdfcc6d6b5f7d840) +- chore(deps): bump crypto-js from 4.1.1 to 4.2.0 +- NEXT.JS SDK V2 +- Allow org switching +- chore(deps-dev): bump @babel/traverse from 7.22.5 to 7.23.2 +- Make sure always a single slash between domain and path in callbacks +- Replace node:crypto with uncrypto +- feat: authUrlParams for LoginLink and RegisterLink +- chore: remove breaking changes +- post login redirect -#### [v2.0.0-alpha.2](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.0-alpha.1...v2.0.0-alpha.2) +#### v2.0.0-alpha.2 > 12 October 2023 -- new version [`72bd1c9`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/72bd1c9cec558d8debb5f069421c29cb00fb0acf) +- new version -#### [v2.0.0-alpha.1](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.0-alpha.0...v2.0.0-alpha.1) +#### v2.0.0-alpha.1 > 12 October 2023 -- version [`c210901`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/c21090144b6daad90edbe5138d1dcd0f64900459) +- version -#### [v2.0.0-alpha.0](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.10.2...v2.0.0-alpha.0) +#### v2.0.0-alpha.0 > 12 October 2023 -- types and api [`9a9b9e0`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/9a9b9e01cef0f9ff7970255ed0990cdef12262f8) -- handlers [`d768cbf`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/d768cbf214a7ead75730f1444578e35d45f00e75) -- session functions [`186b0ff`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/186b0ff9ac539573c0a1f9ae13ef40fa1594444f) +- types and api +- handlers +- session functions -#### [v1.10.2](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.10.1...v1.10.2) +#### v1.10.2 > 3 October 2024 -- chore: release v1.10.2 [`f15d83e`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/f15d83e9c6c394323212d7d6555eb41b1bd373d5) -- fix(v1): remove api token from cookies [`12a9663`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/12a966377b6f40efbf9ad525068131b1cd5eee89) +- chore: release v1.10.2 +- fix(v1): remove api token from cookies -#### [v1.10.1](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.10.0...v1.10.1) +#### v1.10.1 > 24 June 2024 -- fix: logout clear cookie domain [`#182`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/182) -- chore: release v1.10.1 [`61cdffc`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/61cdffc8e804fb73e9aae15c3422333723b35fe2) +- fix: logout clear cookie domain +- chore: release v1.10.1 -#### [v1.10.0](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.9.4...v1.10.0) +#### v1.10.0 > 16 May 2024 -- chore: release v1.10.0 [`1f2dd62`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/1f2dd6200491f8855ae39d0500251a96c5119f10) -- feat: add support for custom login pages [`b8a7490`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/b8a74905ee8b6300590139c5dd2608d484b63764) +- chore: release v1.10.0 +- feat: add support for custom login pages -#### [v1.9.4](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.9.4-omega...v1.9.4) +#### v1.9.4 > 13 May 2024 -- feat: cookie domain [`#160`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/160) -- chore: release v1.9.4 [`eb26ef7`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/eb26ef70410b99cebc2ed1d3790cdbd3434b83d8) -- update release-it for version 1 [`fdd858b`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/fdd858b8df5b81ccd00bb6fa910436109ff4b58a) -- chore: update release-it for v1 [`2804c59`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/2804c592ed8409a547b207a2c0b96166768702cd) +- feat: cookie domain +- chore: release v1.9.4 +- update release-it for version 1 +- chore: update release-it for v1 -#### [v1.9.4-omega](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.9.3...v1.9.4-omega) +#### v1.9.4-omega > 2 May 2024 -- fix: v1 & v2 sync [`36649d8`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/36649d8f41799c98a7e595ffc03ed674879b4169) +- fix: v1 & v2 sync -#### [v1.9.3](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.9.2...v1.9.3) +#### v1.9.3 > 16 April 2024 -- feat: cookie domain [`5d0bac6`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/5d0bac68d83e1f347784cc0b2e6410d6f9699670) +- feat: cookie domain -#### [1.9.2](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.9.1...1.9.2) +#### 1.9.2 > 5 February 2024 -- chore(release): v1.9.2 [`5a636ae`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/5a636ae18423371ea9966c54c56cc6a1a0113a9a) -- fix: add nullish check on url params [`175dea0`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/175dea0bf81df764a410888328dd3df7051ece2b) +- chore(release): v1.9.2 +- fix: add nullish check on url params -#### [v1.9.1](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.25...v1.9.1) +#### v1.9.1 > 1 February 2024 -- chore(release): v1.9.0 [`30b37df`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/30b37df50d6c9598c1c632400f51685599caaef5) -- chore(release): v1.9.1 [`b4029d2`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/b4029d2e15468f8a03dfd4191352fe0fd113e59c) -- feat: auth url params [`ed46bf6`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/ed46bf6cfbd609f585ba7bf8d0cf0078ab79f184) - -#### [1.8.25](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.24...1.8.25) +- Allow org switching +- chore(deps-dev): bump @babel/traverse from 7.22.5 to 7.23.2 +- Make sure always a single slash between domain and path in callbacks +- Replace node:crypto with uncrypto +- fix: reletting the api token +- fix: strict equals +- post login redirect for app router +- Update README with starter kit link +- Api Client +- Aud checking was using === instead of == +- Allow custom callback_url +- Allow custom API path +- Token payload +- isTokenValid helper for pages router +- bug: configure samesite and lax to work on safari +- fix: samesite lax +- Return orgCodes as expected from helper +- fix: no longer have phantom user after logging out +- fix: release-it to dev Dep +- chore(deps): bump word-wrap from 1.2.3 to 1.2.4 +- fix: default value default +- chore(deps): bump semver from 6.3.0 to 6.3.1 +- updated package.json version to fix failed release +- fix: get feature flags +- Create org with pages router +- fix: typo in post login url - allow both versions +- Redirects in middleware +- Add auth link components +- Full server side App Router support +- Fix: Give getToken an init value +- Peter/issues/28 +- Bump vm2 from 3.9.17 to 3.9.19 +- Fix: handle create org when audience is undefined +- ci: add release it +- CICD setup +- Add missing token types +- Post login redirect config option +- Add permission and feature flag helpers to frontend +- Dave/rollback esm +- Peter/provider type +- remove module version +- Add Feature flags +- make the challenge last for 15 mins +- Bump json5 from 2.2.1 to 2.2.3 +- Bump @sideway/formula from 3.0.0 to 3.0.1 +- cookie expiry to match token expiry +- Peter/update license +- Create LICENSE +- new functions +- Peter/fix aud +- Peter/audience and claim checking +- Peter/profile v2 +- Bump terser from 5.13.1 to 5.15.0 +- Peter/check iss and alg +- types and imports +- Peter/get token +- feat: basic types +- style: eslint formatting +- feat: make app router first class citizen + +#### v1.9.0 + +> 12 January 2024 + +#### v1.9.0-beta.1 + +> 12 January 2024 + +- chore(release): v1.9.0 +- fix: include client secret + +#### v1.9.0-beta.0 + +> 12 January 2024 + +- fix: reletting the api token +- fix: strict equals +- post login redirect for app router +- Update README with starter kit link +- Api Client +- Aud checking was using === instead of == +- Allow custom callback_url +- Allow custom API path +- Token payload +- isTokenValid helper for pages router +- bug: configure samesite and lax to work on safari +- fix: samesite lax +- Return orgCodes as expected from helper +- fix: no longer have phantom user after logging out +- fix: release-it to dev Dep +- chore(deps): bump word-wrap from 1.2.3 to 1.2.4 +- fix: default value default +- chore(deps): bump semver from 6.3.0 to 6.3.1 +- updated package.json version to fix failed release +- fix: get feature flags +- Create org with pages router +- fix: typo in post login url - allow both versions +- Redirects in middleware +- Add auth link components +- Full server side App Router support +- Fix: Give getToken an init value +- Peter/issues/28 +- Bump vm2 from 3.9.17 to 3.9.19 +- Fix: handle create org when audience is undefined +- ci: add release it +- CICD setup +- Add missing token types +- Post login redirect config option +- Add permission and feature flag helpers to frontend +- Dave/rollback esm +- Peter/provider type +- remove module version +- Add Feature flags +- make the challenge last for 15 mins +- Bump json5 from 2.2.1 to 2.2.3 +- Bump @sideway/formula from 3.0.0 to 3.0.1 +- cookie expiry to match token expiry +- Peter/update license +- Create LICENSE +- new functions +- Peter/fix aud +- Peter/audience and claim checking +- Peter/profile v2 +- Bump terser from 5.13.1 to 5.15.0 +- Peter/check iss and alg +- types and imports +- Peter/get token +- feat: basic types +- style: eslint formatting +- feat: make app router first class citizen + +#### 1.8.25 > 25 October 2023 -- Allow org switching [`#73`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/73) -- chore(deps-dev): bump @babel/traverse from 7.22.5 to 7.23.2 [`#72`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/72) -- chore: release v1.8.25 [`543fa35`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/543fa3589ab16682ed42e68df3651936e8248b2e) -- fix: prevent login screen always being shown [`20e1953`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/20e1953c24063519b941f38b3c02d7ddc3e9d2ca) +- Allow org switching +- chore(deps-dev): bump @babel/traverse from 7.22.5 to 7.23.2 +- chore: release v1.8.25 +- fix: prevent login screen always being shown -#### [1.8.24](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.23...1.8.24) +#### 1.8.24 > 19 October 2023 -- Make sure always a single slash between domain and path in callbacks [`#71`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/71) -- feat: make sure always a single slash between domain and path [`daa9204`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/daa920497b681674d768df1a3088f8522093af3b) -- chore: release v1.8.24 [`5ed01e0`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/5ed01e00085df0e5a5a96e815cf3ef2ba57caf1c) -- fix: if logout url is undefined [`df148b2`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/df148b28f13f1459c83052522a15e2e005b450fc) +- Make sure always a single slash between domain and path in callbacks +- feat: make sure always a single slash between domain and path +- chore: release v1.8.24 +- fix: if logout url is undefined -#### [1.8.23](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.22...1.8.23) +#### 1.8.23 > 15 October 2023 -- Replace node:crypto with uncrypto [`#70`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/70) -- chore: release v1.8.23 [`ee1ade9`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/ee1ade93ac8b4206a04ba0ee764890b45c95ed02) -- Add prepare script for npm installs from github [`f13c771`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/f13c7718270892f5c0df017872cf66e7b839ff59) +- Replace node:crypto with uncrypto +- chore: release v1.8.23 +- Add prepare script for npm installs from github -#### [1.8.22](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.21...1.8.22) +#### 1.8.22 > 5 October 2023 -- fix: reletting the api token [`#68`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/68) -- chore: release v1.8.22 [`6cdef72`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/6cdef7262e151f0236000e117c1b8e68f2d30008) +- fix: reletting the api token +- chore: release v1.8.22 -#### [1.8.21](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.20...1.8.21) +#### 1.8.21 > 28 September 2023 -- fix: strict equals [`#66`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/66) -- chore: release v1.8.21 [`a5aa962`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/a5aa96232617b5f7eb48207f434b079a3c022013) +- fix: strict equals +- chore: release v1.8.21 -#### [1.8.20](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.19...1.8.20) +#### 1.8.20 > 28 September 2023 -- post login redirect for app router [`#64`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/64) -- Update README with starter kit link [`#63`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/63) -- Login + register link search params [`7230211`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/7230211874251246bc29169269a1bde8b2ed1e15) -- query params [`b2e9f7a`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/b2e9f7ac3d2871bf277d749a5099e94225de15e0) -- chore: release v1.8.20 [`5066c69`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/5066c69468f9eaf5f67146ce3209c142f14715db) +- post login redirect for app router +- Update README with starter kit link +- Login + register link search params +- query params +- chore: release v1.8.20 -#### [1.8.19](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.18...1.8.19) +#### 1.8.19 > 22 September 2023 -- Api Client [`#61`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/61) -- Aud checking was using === instead of == [`#59`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/59) -- apli client works for pages router [`547ef32`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/547ef327a666964b252cd14091a3d79347dff4c0) -- remove tsconfig [`a31ed4e`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/a31ed4e17aac2b09b06a15077fa2c93c13376a94) -- aud check [`078dc1d`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/078dc1d9842f3d0a94ae4d623364252f05e38c8c) +- Api Client +- Aud checking was using === instead of == +- apli client works for pages router +- remove tsconfig +- aud check -#### [1.8.18](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.17...1.8.18) +#### 1.8.18 > 5 September 2023 -- Allow custom callback_url [`#53`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/53) -- Add sanitize function [`6722ce0`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/6722ce0dca1507a405837516d4d40f900cf0f264) -- Rename postLoginURL to postLoginRedirectURL [`cdc0a0c`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/cdc0a0c8e0f747de86e468db536bbd5271238300) -- chore: release v1.8.18 [`9539c02`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/9539c02b1f94a2baf524d8c539a4b1082ee7e5f4) +- Allow custom callback_url +- Add sanitize function +- Rename postLoginURL to postLoginRedirectURL +- chore: release v1.8.18 -#### [1.8.17](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.16...1.8.17) +#### 1.8.17 > 4 September 2023 -- Allow custom API path [`#55`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/55) -- chore: release v1.8.17 [`ef070a2`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/ef070a2b633cec8a6cc636d0ddd6f95496939bcf) -- Update env var to KINDE_AUTH_API_PATH [`fb89818`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/fb89818bfc4e91c0950e193669cd68bf310f2c92) +- Allow custom API path +- chore: release v1.8.17 +- Update env var to KINDE_AUTH_API_PATH -#### [1.8.16](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.15...1.8.16) +#### 1.8.16 > 31 August 2023 -- Token payload [`#52`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/52) -- chore: release v1.8.16 [`f6897ff`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/f6897ffa7c770b9446dc5a491c4afce7c3851b17) -- fix: define payload [`912ad3b`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/912ad3b54a2fad10e6bad60453b43ec8261a479a) -- fix: jwt decode dep [`c612fcb`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/c612fcbe06a24d6d0254909b617fe76952174404) +- Token payload +- chore: release v1.8.16 +- fix: define payload +- fix: jwt decode dep -#### [1.8.15](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.14...1.8.15) +#### 1.8.15 > 31 August 2023 -- isTokenValid helper for pages router [`#51`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/51) -- feat: isTokenValid helper for pages router [`48037ec`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/48037ec5b15eb018bd470898942d6819092a0531) -- chore: release v1.8.15 [`29b24be`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/29b24be358f404ef951d0967dc0de5a6067315ef) +- isTokenValid helper for pages router +- feat: isTokenValid helper for pages router +- chore: release v1.8.15 -#### [1.8.14](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.13...1.8.14) +#### 1.8.14 > 30 August 2023 -- bug: configure samesite and lax to work on safari [`#50`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/50) -- chore: release v1.8.14 [`0894e54`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/0894e54d076d32ad1b1e00f3cd70752f0229d072) +- bug: configure samesite and lax to work on safari +- chore: release v1.8.14 -#### [1.8.13](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.12...1.8.13) +#### 1.8.13 > 29 August 2023 -- fix: samesite lax [`#49`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/49) -- chore: release v1.8.13 [`7019ffb`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/7019ffb08f022c180db3e63ad541509527891313) -- samesite lax [`f703729`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/f70372936792869ce90722cf8207dcbd2825f813) +- fix: samesite lax +- chore: release v1.8.13 +- samesite lax -#### [1.8.12](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.11...1.8.12) +#### 1.8.12 > 15 August 2023 -- Return orgCodes as expected from helper [`#45`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/45) -- fix: no longer have phantom user after logging out [`#43`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/43) -- chore: release v1.8.12 [`51721bd`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/51721bd6a4bf36ebe62f3bb19c9743f4bdaef56d) -- fix: remove extra req [`cf92411`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/cf92411a75f14aad105e107c80bd4aa7d529518c) +- Return orgCodes as expected from helper +- fix: no longer have phantom user after logging out +- chore: release v1.8.12 +- fix: remove extra req -#### [1.8.11](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.10...1.8.11) +#### 1.8.11 > 7 August 2023 -- fix: release-it to dev Dep [`#42`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/42) -- chore(deps): bump word-wrap from 1.2.3 to 1.2.4 [`#41`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/41) -- update package-lock [`c756eb2`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/c756eb27d602ccfed2be80122c651bbbe9e90188) -- chore: release v1.8.11 [`370a56d`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/370a56d11f141f7b00d28a5bf733ac1a5a387770) -- fix: prettier to devdep [`eb9e81d`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/eb9e81db38cffa9bd4611b6636609de9eab402db) +- fix: release-it to dev Dep +- chore(deps): bump word-wrap from 1.2.3 to 1.2.4 +- update package-lock +- chore: release v1.8.11 +- fix: prettier to devdep -#### [1.8.10](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.9...1.8.10) +#### 1.8.10 > 20 July 2023 -- fix: default value default [`#39`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/39) -- chore(deps): bump semver from 6.3.0 to 6.3.1 [`#38`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/38) -- chore: release v1.8.10 [`7bd8ec0`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/7bd8ec0645565cf49e75793d640903439fdbd3e1) -- fix: check flag exists [`bc3f97e`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/bc3f97ed53028fe29159c1d22655d5cd9168db75) -- fix: check the flag [`8b5e010`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/8b5e010b69e858bb769354654948d51a2afb696c) +- fix: default value default +- chore(deps): bump semver from 6.3.0 to 6.3.1 +- chore: release v1.8.10 +- fix: check flag exists +- fix: check the flag -#### [1.8.9](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.8...1.8.9) +#### 1.8.9 > 6 July 2023 -- updated package.json version to fix failed release [`#37`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/37) -- chore: release v1.8.9 [`37f450f`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/37f450f95f76507b4cd92761af6abf54f8a667b3) +- updated package.json version to fix failed release +- chore: release v1.8.9 -#### [1.8.8](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.7...1.8.8) +#### 1.8.8 > 5 July 2023 -- fix: get feature flags [`#36`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/36) -- chore: release v1.8.8 [`d40f374`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/d40f374103fd72d4fea1195cb88c82a7353f2c79) +- fix: get feature flags +- chore: release v1.8.8 -#### [1.8.7](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.6...1.8.7) +#### 1.8.7 > 29 June 2023 -- Create org with pages router [`#35`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/35) -- chore: Update readme.md [`456de5e`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/456de5e7d4de12e0b9450f29b8ac14a6c7b7d0af) -- fix: create org with pages router [`2ac8f77`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/2ac8f77f4ee57c6c35f90bfdd0344a6c2b95d390) -- chore: release v1.8.7 [`9258689`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/9258689393a44966baebd3477ed25d60a638ff6b) +- Create org with pages router +- chore: Update readme.md +- fix: create org with pages router +- chore: release v1.8.7 -#### [1.8.6](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.5...1.8.6) +#### 1.8.6 > 26 June 2023 -- fix: typo in post login url - allow both versions [`#34`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/34) -- chore: release v1.8.6 [`17aec0e`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/17aec0ec8384b835d43862688dfdbd3b4fd63138) +- fix: typo in post login url - allow both versions +- chore: release v1.8.6 -#### [1.8.5](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.4...1.8.5) +#### 1.8.5 > 22 June 2023 -- Redirects in middleware [`#33`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/33) -- feat: redirects in middleware [`01f7164`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/01f716459d52439459df13319a47f0e6b7e74196) -- chore: release v1.8.5 [`6a6dcfe`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/6a6dcfeb9f6a48a1dc8d570b6c817bb9ff707713) +- Redirects in middleware +- feat: redirects in middleware +- chore: release v1.8.5 -#### [1.8.4](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.3...1.8.4) +#### 1.8.4 > 22 June 2023 -- Add auth link components [`#32`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/32) -- feat: add auth link components [`712e86f`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/712e86f37e51a70978d91b2439bd1153d29a5fbb) -- chore: release v1.8.4 [`744bb7b`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/744bb7bd45cae501b974fec2f336f5cc3dbad9df) +- Add auth link components +- feat: add auth link components +- chore: release v1.8.4 -#### [1.8.3](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.2...1.8.3) +#### 1.8.3 > 20 June 2023 -- Full server side App Router support [`#31`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/31) -- Fix: Give getToken an init value [`#30`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/30) -- Peter/issues/28 [`#29`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/29) -- Bump vm2 from 3.9.17 to 3.9.19 [`#27`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/27) -- feat: basic types [`b324dba`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/b324dbadb353a42ed59641536398056c42641be4) -- feat: make app router first class citizen [`cf7c9f6`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/cf7c9f6d2f21b77b08c812d3527f97c8ff539030) -- feat: add types for helper functions [`3e24f68`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/3e24f68861ffd1bf974457e8433383be268ba114) +- Full server side App Router support +- Fix: Give getToken an init value +- Peter/issues/28 +- Bump vm2 from 3.9.17 to 3.9.19 +- feat: basic types +- feat: make app router first class citizen +- feat: add types for helper functions -#### [1.8.2](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.1...1.8.2) +#### 1.8.2 > 10 May 2023 -- Fix: handle create org when audience is undefined [`#25`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/25) -- chore: release v1.8.2 [`55d17c0`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/55d17c00a4d2c5413012e3240541accb5a6206f3) +- Fix: handle create org when audience is undefined +- chore: release v1.8.2 -#### [1.8.1](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.3.1...1.8.1) +#### 1.8.1 > 4 May 2023 -- ci: add release it [`#24`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/24) -- CICD setup [`#23`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/23) -- Add missing token types [`#22`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/22) -- Post login redirect config option [`#16`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/16) -- Add permission and feature flag helpers to frontend [`#21`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/21) -- Dave/rollback esm [`#20`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/20) -- style: eslint formatting [`6974a5c`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/6974a5cad11c8505010008d7bb68775b511a2166) -- style: run prettier over codebase [`9f37e82`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/9f37e82ea4bc450db7f9158f9745ddc64b86e536) -- add helpers to frontend [`00db101`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/00db101c7bb4ac12f4c0db69f5218c7200ce8cba) +- ci: add release it +- CICD setup +- Add missing token types +- Post login redirect config option +- Add permission and feature flag helpers to frontend +- Dave/rollback esm +- style: eslint formatting +- style: run prettier over codebase +- add helpers to frontend -#### [v1.3.1](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.1.0...v1.3.1) +#### v1.3.1 > 17 April 2023 -- Peter/provider type [`#19`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/19) -- remove module version [`#18`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/18) -- Add Feature flags [`#17`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/17) -- make the challenge last for 15 mins [`#15`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/15) -- Bump json5 from 2.2.1 to 2.2.3 [`#11`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/11) -- Bump @sideway/formula from 3.0.0 to 3.0.1 [`#12`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/12) -- add custom header for SDK version [`c91510f`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/c91510f21779d44957fd4552a9f74b26eee3a825) -- add feature flag helpers [`69a7635`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/69a76353f3251d900df37eae56171b16c6530cf5) -- add types for flags [`a8138a1`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/a8138a19c434eb08a826ee168447f54afbdcb7d4) +- Peter/provider type +- remove module version +- Add Feature flags +- make the challenge last for 15 mins +- Bump json5 from 2.2.1 to 2.2.3 +- Bump @sideway/formula from 3.0.0 to 3.0.1 +- add custom header for SDK version +- add feature flag helpers +- add types for flags -#### [v1.1.0](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.8...v1.1.0) +#### v1.1.0 > 4 April 2023 -- cookie expiry to match token expiry [`#14`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/14) -- remove some code [`4f349ed`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/4f349ed1ee45bcd954d9e1aee830752714134a8e) -- update epiry [`5ad0ad3`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/5ad0ad372614805744a192ed8aa3684d46648366) +- cookie expiry to match token expiry +- remove some code +- update epiry -#### [v1.0.8](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.7...v1.0.8) +#### v1.0.8 > 15 December 2022 -- Peter/update license [`#10`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/10) -- Create LICENSE [`#9`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/9) -- Create SECURITY.md [`f13bc65`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/f13bc656fd2bf99808aa6eb1818d788792c68225) -- mit license [`c4b4c48`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/c4b4c48192715094875680a00c711539569760cd) +- Peter/update license +- Create LICENSE +- Create SECURITY.md +- mit license -#### [v1.0.7](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.7-beta.0...v1.0.7) +#### v1.0.7 > 13 December 2022 -#### [v1.0.7-beta.0](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.6...v1.0.7-beta.0) +#### v1.0.7-beta.0 > 8 December 2022 -- new functions [`#8`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/8) -- Peter/fix aud [`#7`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/7) -- Peter/audience and claim checking [`#6`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/6) -- fix aud [`e693796`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/e6937962771c4bd957d1e89c1c4e0d3e0970355a) -- declare function types [`c2ec48d`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/c2ec48d12835d3b0ca65707138b4fd180b5fd33f) +- new functions +- Peter/fix aud +- Peter/audience and claim checking +- fix aud +- declare function types -#### [v1.0.6](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.5...v1.0.6) +#### v1.0.6 > 14 November 2022 -- Peter/profile v2 [`#5`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/5) -- init [`71aee8e`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/71aee8e03cfe22055876110c92715b34bb66e57c) -- logout if error [`3b92f56`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/3b92f56219b32d24eec4a26f6e0c8f4f962e9323) +- Peter/profile v2 +- init +- logout if error -#### [v1.0.5](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.4...v1.0.5) +#### v1.0.5 > 14 November 2022 -- update config [`d82d5d2`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/d82d5d29e4577092a392c86b8eb8a0d02fe5b17f) +- update config -#### [v1.0.4](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.3-beta.2...v1.0.4) +#### v1.0.4 > 26 September 2022 -- Bump terser from 5.13.1 to 5.15.0 [`#4`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/4) -- Peter/check iss and alg [`#3`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/3) -- types and imports [`#2`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/2) -- Peter/get token [`#1`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/1) -- check issuer and alg [`9c05736`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/9c0573627c5140353524b93f04fcfcffaedd1e23) -- get token [`5aeef9b`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/5aeef9b40f8c33a5ce46a0e7a97e4cf1e8bbf412) -- update types [`d22678b`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/d22678b037dbbb80c168fced999e6f3dd4956180) +- Bump terser from 5.13.1 to 5.15.0 +- Peter/check iss and alg +- types and imports +- Peter/get token +- check issuer and alg +- update types +- cookie security + +#### v1.0.3-beta.3 + +> 14 September 2022 + +- get token -#### [v1.0.3-beta.2](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.3-beta.1...v1.0.3-beta.2) +#### v1.0.3-beta.2 > 1 July 2022 -- create org [`3484f9a`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/3484f9a915c6d8a41c960a378cce8aeab8bf6091) +- create org -#### [v1.0.3-beta.1](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.3-beta.0...v1.0.3-beta.1) +#### v1.0.3-beta.1 > 28 June 2022 -- Org id and start page [`209e0d4`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/209e0d4b8696922258af66d198e3e6c24f01f69a) +- Org id and start page -#### [v1.0.3-beta.0](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.2-beta.6...v1.0.3-beta.0) +#### v1.0.3-beta.0 > 31 May 2022 -- readme update [`842d2c4`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/842d2c4fe2979dcab15375239ba6a2e02ef8ef32) -- rename env variables [`31f386f`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/31f386f05fe5cc231328d76d1157147f61a634b1) -- config update [`d3c05cb`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/d3c05cba9647ba384dc137678e5be8c9a2ced666) +- readme update +- rename env variables +- config update -#### [v1.0.2-beta.6](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.2-beta.5...v1.0.2-beta.6) +#### v1.0.2-beta.6 > 31 May 2022 -- logout redirect [`56a4ab9`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/56a4ab951ced09d899d0df90d410d479f2f1fdd2) +- logout redirect -#### [v1.0.2-beta.5](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.2-beta.4...v1.0.2-beta.5) +#### v1.0.2-beta.5 > 30 May 2022 -- isAuthenticated again [`f30e250`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/f30e250259b68da6a32c9a113371d715acdffca9) +- isAuthenticated again -#### [v1.0.2-beta.4](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.2-beta.3...v1.0.2-beta.4) +#### v1.0.2-beta.4 > 30 May 2022 -- isAUth again [`7f108d9`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/7f108d903ec02ab99bbd4a77c11051e5658b7872) -- isAuth [`49c27b8`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/49c27b836b1d2c5844eb3c234aab544467f6965f) +- isAUth again +- isAuth -#### [v1.0.2-beta.3](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.2-beta.2...v1.0.2-beta.3) +#### v1.0.2-beta.3 > 30 May 2022 -- Fix isAuthenticated [`500c1fb`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/500c1fbc08ba488518e5328397c0edf341f68b57) +- Fix isAuthenticated -#### [v1.0.2-beta.2](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.2-beta.1...v1.0.2-beta.2) +#### v1.0.2-beta.2 > 30 May 2022 -- forgot to build lol [`b1f0456`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/b1f0456ece6f498b0d11deab9fec23c52c38e776) +- forgot to build lol -#### [v1.0.2-beta.1](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.2-beta.0...v1.0.2-beta.1) +#### v1.0.2-beta.1 > 30 May 2022 -- isAuthenticated update [`b9dc559`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/b9dc5599b62f7b33869d80fb7b8c7b0e8ceafa1b) +- isAuthenticated update -#### [v1.0.2-beta.0](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.1-beta.3...v1.0.2-beta.0) +#### v1.0.2-beta.0 > 28 May 2022 -- update readme [`35ef342`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/35ef3428e3c9e52e40acc597452e18ee66e808f1) -- useKindeAuth rename [`eb35616`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/eb356165cdf570b55607ee1d44686b31c56d661e) +- update readme +- useKindeAuth rename -#### [v1.0.1-beta.3](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.1-beta.2...v1.0.1-beta.3) +#### v1.0.1-beta.3 > 26 May 2022 -- config update [`9fdc056`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/9fdc056adae46807c1141f7e3776c6add4f557a1) +- config update -#### [v1.0.1-beta.2](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.1-beta.1...v1.0.1-beta.2) +#### v1.0.1-beta.2 > 25 May 2022 -- read me [`9646926`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/9646926e4a66003b80cffee702bdc5935126bb1d) +- read me -#### [v1.0.1-beta.1](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.1-beta.0...v1.0.1-beta.1) +#### v1.0.1-beta.1 > 25 May 2022 -- error checking [`65e542a`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/65e542a988c9a21c39896df5332fee6f0e099d97) +- error checking -#### [v1.0.1-beta.0](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.0-beta.13...v1.0.1-beta.0) +#### v1.0.1-beta.0 > 25 May 2022 -- login [`00cbe01`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/00cbe01849798b8d4a7e6cd779b04eb2b07d092d) -- handleAuth [`c97acd4`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/c97acd4299ea5a9d9e076bbfe6fd24f1172c8cc0) -- logout, register and me [`dda4d6e`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/dda4d6ee73730827953209119cce292b521dad94) +- login +- handleAuth +- logout, register and me -#### [v1.0.0-beta.13](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.0-beta.11...v1.0.0-beta.13) +#### v1.0.0-beta.13 > 19 May 2022 -- fix route [`b5833ba`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/b5833ba6ead9fbe9ca34ded8822365659f17bd4f) -- dont return function [`29606d6`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/29606d66484f932a13ab0ff3704b224b2cf8a502) -- build [`7f59169`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/7f591698c61c87139fe53a9a0e89f7b025b9d916) +- fix route +- dont return function +- build -#### [v1.0.0-beta.11](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.0-beta.10...v1.0.0-beta.11) +#### v1.0.0-beta.11 > 19 May 2022 -- log route [`b584631`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/b5846314fc36f7f815cbfb863d28d29f43f40e34) +- log route -#### [v1.0.0-beta.10](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.0-beta.9...v1.0.0-beta.10) +#### v1.0.0-beta.10 > 19 May 2022 -- more logs [`ea560fc`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/ea560fc999dacced81fcace79c6532d3dea01dcc) +- more logs -#### [v1.0.0-beta.9](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.0-beta.8...v1.0.0-beta.9) +#### v1.0.0-beta.9 > 19 May 2022 -- console log [`c5044e4`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/c5044e40e695692e4cc920aed764952663166dac) +- console log -#### [v1.0.0-beta.8](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.0-beta.7...v1.0.0-beta.8) +#### v1.0.0-beta.8 > 19 May 2022 -- return function [`67986ac`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/67986ac37415328c3baec4d87bbd7e1b165a4ff8) +- return function -#### [v1.0.0-beta.7](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.0-beta.6...v1.0.0-beta.7) +#### v1.0.0-beta.7 > 19 May 2022 -- bug fixing [`b4438ab`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/b4438ab55d85001b1bc175ebbbeb1ca610cbd3a6) -- build [`391c5c2`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/391c5c262f1ff5812dd9604d7e5420d653266f33) +- bug fixing +- build -#### [v1.0.0-beta.6](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.0-beta.5...v1.0.0-beta.6) +#### v1.0.0-beta.6 > 19 May 2022 -- res end to login [`66fac65`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/66fac65d306c644a7103d707f855039478ff7dae) +- res end to login -#### [v1.0.0-beta.5](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.0-beta.4...v1.0.0-beta.5) +#### v1.0.0-beta.5 > 19 May 2022 -- handleAuth [`87f52c6`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/87f52c68dc093e2cdd708726de25885210c3b88e) +- handleAuth -#### [v1.0.0-beta.4](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.0-beta.3...v1.0.0-beta.4) +#### v1.0.0-beta.4 > 19 May 2022 -- fix useEffect [`e466324`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/e466324b390edeb6e2521d21305d8e00d213b753) +- fix useEffect -#### [v1.0.0-beta.3](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.0-beta.2...v1.0.0-beta.3) +#### v1.0.0-beta.3 > 19 May 2022 -- cjs [`04a557c`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/04a557cc4fa54e831b44a40924dcd4d22ac565c4) +- cjs -#### [v1.0.0-beta.2](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.0.0-beta.1...v1.0.0-beta.2) +#### v1.0.0-beta.2 > 19 May 2022 -- trying to get it to work [`b959cea`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/b959ceafd669dfd629cc540ab7aed35bd4522ba0) +- trying to get it to work #### v1.0.0-beta.1 diff --git a/package-lock.json b/package-lock.json index 3d3548a..b0c7f1d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@kinde-oss/kinde-auth-nextjs", - "version": "2.3.12", + "version": "2.3.13", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@kinde-oss/kinde-auth-nextjs", - "version": "2.3.12", + "version": "2.3.13", "dependencies": { "@babel/preset-env": "^7.25.4", "@kinde-oss/kinde-typescript-sdk": "2.9.1", diff --git a/package.json b/package.json index 9f303b5..69c13e9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kinde-oss/kinde-auth-nextjs", - "version": "2.3.12", + "version": "2.3.13", "description": "Kinde Auth SDK for NextJS", "main": "dist/cjs/index.js", "module": "dist/index.js", diff --git a/src/session/isAuthenticated.js b/src/session/isAuthenticated.js index c1bd492..7c8bbf6 100644 --- a/src/session/isAuthenticated.js +++ b/src/session/isAuthenticated.js @@ -1,5 +1,6 @@ import {isTokenValid} from '../utils/pageRouter/isTokenValid'; import {getUserFactory} from './getUser'; +import {sessionManager} from './sessionManager'; /** * diff --git a/src/utils/version.js b/src/utils/version.js index 02c1ced..f1e8fb5 100644 --- a/src/utils/version.js +++ b/src/utils/version.js @@ -1,2 +1,2 @@ // Generated by genversion. -export const version = '2.3.12' +export const version = '2.3.13'