From 820fe2dcb77abd5f87be78719115a129a111e310 Mon Sep 17 00:00:00 2001 From: Daniel Rivers Date: Fri, 16 Feb 2024 17:40:29 +0000 Subject: [PATCH] chore: release v2.1.12 --- CHANGELOG.md | 418 ++++++++++++++++++++++++++++++------------- package-lock.json | 4 +- package.json | 4 +- src/utils/version.js | 2 +- 4 files changed, 301 insertions(+), 127 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 59f2132..87c98e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,204 +1,378 @@ -# Changelog +### Changelog -## v2.1.10 +All notable changes to this project will be documented in this file. Dates are displayed in UTC. -[compare changes](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.9...v2.1.10) +Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). -### 🩹 Fixes +#### [v2.1.12](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.11...v2.1.12) -- Remove cookies from root domain ([8d2a332](https://github.com/kinde-oss/kinde-auth-nextjs/commit/8d2a332)) +- 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 +#### [v2.1.11](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.10...v2.1.11) -- **release:** V2.1.9 ([c41cc6a](https://github.com/kinde-oss/kinde-auth-nextjs/commit/c41cc6a)) -- **release:** V2.1.10 ([cf6bd83](https://github.com/kinde-oss/kinde-auth-nextjs/commit/cf6bd83)) -- **release:** V2.1.9 ([6c3394c](https://github.com/kinde-oss/kinde-auth-nextjs/commit/6c3394c)) -- Bump version ([cd3c65d](https://github.com/kinde-oss/kinde-auth-nextjs/commit/cd3c65d)) +> 14 February 2024 -### ❤️ Contributors +- 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) -- Peter Phanouvong ([@peterphanouvong](http://github.com/peterphanouvong)) +#### [v2.1.10](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.9...v2.1.10) -## v2.1.9 +> 9 February 2024 -[compare changes](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.7...v2.1.9) +- 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) -### 🩹 Fixes +#### [v2.1.9](https://github.com/kinde-oss/kinde-auth-nextjs/compare/2.1.7...v2.1.9) -- Removing cookies across domains ([566c3f4](https://github.com/kinde-oss/kinde-auth-nextjs/commit/566c3f4)) +> 8 February 2024 -### 🏡 Chore +- 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) -- Bump v2.1.8 ([1cdd015](https://github.com/kinde-oss/kinde-auth-nextjs/commit/1cdd015)) -- Bump v2.1.8 ([54ec11b](https://github.com/kinde-oss/kinde-auth-nextjs/commit/54ec11b)) -- Remove traliing slashes for urls ([b48705e](https://github.com/kinde-oss/kinde-auth-nextjs/commit/b48705e)) -- **release:** V2.1.9 ([c41cc6a](https://github.com/kinde-oss/kinde-auth-nextjs/commit/c41cc6a)) -- **release:** V2.1.10 ([cf6bd83](https://github.com/kinde-oss/kinde-auth-nextjs/commit/cf6bd83)) +#### [2.1.7](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.7...2.1.7) -### ❤️ Contributors +> 5 February 2024 -- Peter Phanouvong ([@peterphanouvong](http://github.com/peterphanouvong)) +#### [v2.1.7](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.6...v2.1.7) -## v2.1.10 +> 6 February 2024 -[compare changes](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.7...v2.1.10) +- 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) -### 🩹 Fixes +#### [v2.1.6](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.4...v2.1.6) -- Removing cookies across domains ([566c3f4](https://github.com/kinde-oss/kinde-auth-nextjs/commit/566c3f4)) +> 30 January 2024 -### 🏡 Chore +- fix: setup [`#115`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/115) +- 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) -- Bump v2.1.8 ([1cdd015](https://github.com/kinde-oss/kinde-auth-nextjs/commit/1cdd015)) -- Bump v2.1.8 ([54ec11b](https://github.com/kinde-oss/kinde-auth-nextjs/commit/54ec11b)) -- Remove traliing slashes for urls ([b48705e](https://github.com/kinde-oss/kinde-auth-nextjs/commit/b48705e)) -- **release:** V2.1.9 ([c41cc6a](https://github.com/kinde-oss/kinde-auth-nextjs/commit/c41cc6a)) +#### [v2.1.4](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.3...v2.1.4) -### ❤️ Contributors +> 24 January 2024 -- Peter Phanouvong ([@peterphanouvong](http://github.com/peterphanouvong)) +- 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) -## v2.1.9 +#### [v2.1.3](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.3-alpha.2...v2.1.3) -[compare changes](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.7...v2.1.9) +> 17 January 2024 -### 🩹 Fixes +#### [v2.1.3-alpha.2](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.3-alpha.0...v2.1.3-alpha.2) -- Removing cookies across domains ([566c3f4](https://github.com/kinde-oss/kinde-auth-nextjs/commit/566c3f4)) +> 17 January 2024 -### 🏡 Chore +#### [v2.1.3-alpha.0](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.2...v2.1.3-alpha.0) -- Bump v2.1.8 ([1cdd015](https://github.com/kinde-oss/kinde-auth-nextjs/commit/1cdd015)) -- Bump v2.1.8 ([54ec11b](https://github.com/kinde-oss/kinde-auth-nextjs/commit/54ec11b)) -- Remove traliing slashes for urls ([b48705e](https://github.com/kinde-oss/kinde-auth-nextjs/commit/b48705e)) +> 17 January 2024 -### ❤️ Contributors +- 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) -- Peter Phanouvong ([@peterphanouvong](http://github.com/peterphanouvong)) +#### [v2.1.2](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.0...v2.1.2) -## v2.1.8 +> 16 January 2024 -[compare changes](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.7...v2.1.8) +- chore: bump TS dependency [`#108`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/108) +- 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) -## v2.1.5 +### [v2.1.0](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.9.2...v2.1.0) -[compare changes](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.4...v2.1.5) +> 19 December 2023 -### 🏡 Chore +- 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) +- Peter/fix middleware [`#101`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/101) +- 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) +- 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: 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) +- 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) +- feat: authUrlParams for LoginLink and RegisterLink [`bb541d1`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/bb541d1facf19c31130bca85a40905906679ff1a) -- Update version ([5356126](https://github.com/kinde-oss/kinde-auth-nextjs/commit/5356126)) -- Update TS SDK version ([961e1e4](https://github.com/kinde-oss/kinde-auth-nextjs/commit/961e1e4)) +#### [1.9.2](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v1.9.1...1.9.2) -### ❤️ Contributors +> 5 February 2024 -- Peter Phanouvong ([@peterphanouvong](http://github.com/peterphanouvong)) +- 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) -## v2.1.4 +#### [v1.9.1](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.25...v1.9.1) -[compare changes](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.3-alpha.1...v2.1.4) +> 1 February 2024 -### 🚀 Enhancements +- 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) -- Raw id and access tokens ([d094900](https://github.com/kinde-oss/kinde-auth-nextjs/commit/d094900)) -- Multiple audiences ([469cdc1](https://github.com/kinde-oss/kinde-auth-nextjs/commit/469cdc1)) +#### [1.8.25](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.24...1.8.25) -### 🩹 Fixes +> 25 October 2023 -- Typo ([adec5c9](https://github.com/kinde-oss/kinde-auth-nextjs/commit/adec5c9)) -- Handle remove cookies on pages router ([fbbb772](https://github.com/kinde-oss/kinde-auth-nextjs/commit/fbbb772)) +- 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) -### 🏡 Chore +#### [1.8.24](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.23...1.8.24) -- Remove comment ([b02bb50](https://github.com/kinde-oss/kinde-auth-nextjs/commit/b02bb50)) -- Bump version ([50a313f](https://github.com/kinde-oss/kinde-auth-nextjs/commit/50a313f)) -- Changelog revert ([7243dde](https://github.com/kinde-oss/kinde-auth-nextjs/commit/7243dde)) -- Revert changelog ([699a36b](https://github.com/kinde-oss/kinde-auth-nextjs/commit/699a36b)) -- **release:** V2.1.3-alpha.1 ([affdca4](https://github.com/kinde-oss/kinde-auth-nextjs/commit/affdca4)) -- **release:** V2.1.3-alpha.1 ([4b02c3a](https://github.com/kinde-oss/kinde-auth-nextjs/commit/4b02c3a)) -- **release:** V2.1.3-alpha.1 ([b2b55b3](https://github.com/kinde-oss/kinde-auth-nextjs/commit/b2b55b3)) -- **release:** V2.1.3-alpha.1 ([ce519ee](https://github.com/kinde-oss/kinde-auth-nextjs/commit/ce519ee)) -- **release:** V2.1.3-alpha.2 ([f148e26](https://github.com/kinde-oss/kinde-auth-nextjs/commit/f148e26)) +> 19 October 2023 -### ❤️ Contributors +- 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) -- Peter Phanouvong ([@peterphanouvong](http://github.com/peterphanouvong)) +#### [1.8.23](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.22...1.8.23) -## v2.1.3-alpha.2 +> 15 October 2023 -[compare changes](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.3-alpha.1...v2.1.3-alpha.2) +- 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) -### 🚀 Enhancements +#### [1.8.22](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.21...1.8.22) -- Raw id and access tokens ([d094900](https://github.com/kinde-oss/kinde-auth-nextjs/commit/d094900)) +> 5 October 2023 -### 🩹 Fixes +- 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) -- Typo ([adec5c9](https://github.com/kinde-oss/kinde-auth-nextjs/commit/adec5c9)) -- Handle remove cookies on pages router ([fbbb772](https://github.com/kinde-oss/kinde-auth-nextjs/commit/fbbb772)) +#### [1.8.21](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.20...1.8.21) -### 🏡 Chore +> 28 September 2023 -- Remove comment ([b02bb50](https://github.com/kinde-oss/kinde-auth-nextjs/commit/b02bb50)) -- Bump version ([50a313f](https://github.com/kinde-oss/kinde-auth-nextjs/commit/50a313f)) -- Changelog revert ([7243dde](https://github.com/kinde-oss/kinde-auth-nextjs/commit/7243dde)) -- Revert changelog ([699a36b](https://github.com/kinde-oss/kinde-auth-nextjs/commit/699a36b)) -- **release:** V2.1.3-alpha.1 ([affdca4](https://github.com/kinde-oss/kinde-auth-nextjs/commit/affdca4)) -- **release:** V2.1.3-alpha.1 ([4b02c3a](https://github.com/kinde-oss/kinde-auth-nextjs/commit/4b02c3a)) -- **release:** V2.1.3-alpha.1 ([b2b55b3](https://github.com/kinde-oss/kinde-auth-nextjs/commit/b2b55b3)) -- **release:** V2.1.3-alpha.1 ([ce519ee](https://github.com/kinde-oss/kinde-auth-nextjs/commit/ce519ee)) +- 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) -### ❤️ Contributors +#### [1.8.20](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.19...1.8.20) -- Peter Phanouvong ([@peterphanouvong](http://github.com/peterphanouvong)) +> 28 September 2023 -## v2.1.3 +- 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) -[compare changes](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.2...v2.1.3) +#### [1.8.19](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.18...1.8.19) -### 🚀 Enhancements +> 22 September 2023 -- Raw access token and raw id token available via helpers ([5b34a9f](https://github.com/kinde-oss/kinde-auth-nextjs/commit/5b34a9f)) -- Programmatically define kinde management api audience ([a8519e8](https://github.com/kinde-oss/kinde-auth-nextjs/commit/a8519e8)) +- 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) -### 🏡 Chore +#### [1.8.18](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.17...1.8.18) -- **release:** V2.1.0 ([83e21ed](https://github.com/kinde-oss/kinde-auth-nextjs/commit/83e21ed)) -- **release:** V2.0.13 ([1261b3b](https://github.com/kinde-oss/kinde-auth-nextjs/commit/1261b3b)) -- **release:** V2.1.1 ([2f9685f](https://github.com/kinde-oss/kinde-auth-nextjs/commit/2f9685f)) +> 5 September 2023 -### ❤️ Contributors +- 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) -- Peter Phanouvong ([@peterphanouvong](http://github.com/peterphanouvong)) +#### [1.8.17](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.16...1.8.17) -## v2.1.2 +> 4 September 2023 -[compare changes](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.0...v2.1.2) +- 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) -### 🏡 Chore +#### [1.8.16](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.15...1.8.16) -- Bump TS dependency ([65df558](https://github.com/kinde-oss/kinde-auth-nextjs/commit/65df558)) -- Update version ([635b77b](https://github.com/kinde-oss/kinde-auth-nextjs/commit/635b77b)) -- **release:** V2.1.1 ([aec29a6](https://github.com/kinde-oss/kinde-auth-nextjs/commit/aec29a6)) +> 31 August 2023 -### ❤️ Contributors +- 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) -- Peter Phanouvong ([@peterphanouvong](http://github.com/peterphanouvong)) -- Dave Berner +#### [1.8.15](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.14...1.8.15) -## v2.1.1 +> 31 August 2023 -[compare changes](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.1.0...v2.1.1) +- 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) -### 🏡 Chore +#### [1.8.14](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.13...1.8.14) -- Bump TS dependency ([65df558](https://github.com/kinde-oss/kinde-auth-nextjs/commit/65df558)) -- Update version ([635b77b](https://github.com/kinde-oss/kinde-auth-nextjs/commit/635b77b)) +> 30 August 2023 -### ❤️ Contributors +- 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) -- Peter Phanouvong ([@peterphanouvong](http://github.com/peterphanouvong)) -- Dave Berner +#### [1.8.13](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.12...1.8.13) -## v2.0.0 +> 29 August 2023 -[compare changes](https://github.com/kinde-oss/kinde-auth-nextjs/compare/v2.0.0-alpha.2...v2.0.0) +- 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) + +#### [1.8.12](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.11...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) + +#### [1.8.11](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.10...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) + +#### [1.8.10](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.9...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) + +#### [1.8.9](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.8...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) + +#### [1.8.8](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.7...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) + +#### [1.8.7](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.6...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) + +#### [1.8.6](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.5...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) + +#### [1.8.5](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.4...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) + +#### [1.8.4](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.3...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) + +#### [1.8.3](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.2...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) + +#### [1.8.2](https://github.com/kinde-oss/kinde-auth-nextjs/compare/1.8.1...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) + +#### 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) +- 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) +- cookie expiry to match token expiry [`#14`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/14) +- 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) +- 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) +- Peter/profile v2 [`#5`](https://github.com/kinde-oss/kinde-auth-nextjs/pull/5) +- 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) +- trying to get it to work [`b959cea`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/b959ceafd669dfd629cc540ab7aed35bd4522ba0) +- handleAuth [`87f52c6`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/87f52c68dc093e2cdd708726de25885210c3b88e) +- style: eslint formatting [`6974a5c`](https://github.com/kinde-oss/kinde-auth-nextjs/commit/6974a5cad11c8505010008d7bb68775b511a2166) diff --git a/package-lock.json b/package-lock.json index 04e5cf1..e219d3b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@kinde-oss/kinde-auth-nextjs", - "version": "2.1.10", + "version": "2.1.12", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@kinde-oss/kinde-auth-nextjs", - "version": "2.1.10", + "version": "2.1.12", "dependencies": { "@babel/preset-env": "^7.23.9", "@kinde-oss/kinde-typescript-sdk": "^2.6.2", diff --git a/package.json b/package.json index 35b0319..2106360 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@kinde-oss/kinde-auth-nextjs", - "version": "2.1.10", + "version": "2.1.12", "description": "Kinde Auth SDK for NextJS", "main": "dist/cjs/index.js", "module": "dist/index.js", @@ -74,4 +74,4 @@ "middleware", "types.d.ts" ] -} \ No newline at end of file +} diff --git a/src/utils/version.js b/src/utils/version.js index e1c0016..6de3eef 100644 --- a/src/utils/version.js +++ b/src/utils/version.js @@ -1,2 +1,2 @@ // Generated by genversion. -export const version = '2.1.10' +export const version = '2.1.12'