Skip to content

Latest commit

 

History

History
1315 lines (809 loc) · 73.9 KB

CHANGELOG.md

File metadata and controls

1315 lines (809 loc) · 73.9 KB

Changelog

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

Generated by auto-changelog.

  • fix: remove noisy error log #239
  • [Snyk] Upgrade cookie from 1.0.0 to 1.0.1 #236
  • fix: upgrade cookie from 1.0.0 to 1.0.1 b387e60

5 November 2024

  • fix: get id token (await getSessionItem) #234
  • [Snyk] Upgrade @babel/preset-env from 7.25.4 to 7.25.7 #230
  • fix: upgrade @babel/preset-env from 7.25.4 to 7.25.7 28a60ad

28 October 2024

  • types: allow void for generic type #227
  • chore: release v2.4.4 f2d783f

23 October 2024

23 October 2024

  • Next 15 support #226
  • feat: nextjs 15 support, update cookie 544f3d7
  • fix: PR review updates 7d5ab3e
  • feat: await cookies 9be52c3

22 October 2024

22 October 2024

  • fix: validate token on isAuthenticated #223
  • [Snyk] Upgrade @babel/preset-env from 7.24.4 to 7.25.4 #221
  • fix: upgrade @babel/preset-env from 7.24.4 to 7.25.4 a9cf9bb
  • fix: remove left over jwt-decode 7edd1d2
  • chore: release v2.3.12 52de96c

10 October 2024

  • Fix: coalesce nulls when Hasura claims don't exist #217
  • chore: update cookie library #218
  • npm audit fix a28efb1
  • chore: release v2.3.11 0f43965
  • Coalesce nulls when Hasura claims don't exist 0b6d306

3 October 2024

  • fix/remove-dormant-tokens #216
  • chore: release v2.3.10 4b83d80

3 October 2024

  • fix/remove-api-token-from-cookies #215
  • chore(deps): bump next from 14.1.4 to 14.2.12 #210
  • chore: release v2.3.9 e946305

29 August 2024

  • fix: setup get user object + to ts #205
  • chore: release v2.3.8 6d92f1a

28 August 2024

  • Peter/fix/isauthenticated usekindeauth #202
  • chore: fix callback error #203
  • feat: user object to contain custom properties #200
  • chore: update version 5873f1a
  • tests: generateUserObject 99d8f5d
  • chore: updating KindeUser type abdf68c

19 August 2024

  • chore: linting and build #199
  • chore: warn getuser #195
  • chore: update framework tracking #196
  • chore: callback error 3ab16c8
  • chore: console warn to debug 3b506f1

28 July 2024

  • Next JS SDK - Update readme.md #194
  • Update readme.md 215b14c

22 July 2024

  • fix: Post logout redirect URL #192
  • Peter/fix/istokenvalid check audience #189
  • chore: release v2.3.6 99a07f1
  • feat: middleware in playground 27f300e
  • fix: audience check 22d2e85

15 July 2024

  • fix: isReturnToCurrentPage #190
  • chore: release v2.3.5 7c62a2b

8 July 2024

  • feat: KINDE_SCOPE + getUser upgrades #186
  • chore: release v2.3.4 999dda6

27 June 2024

  • fix: env variables #185
  • chore: release v2.3.3 105f4d3

27 June 2024

  • feat: config in handle auth fn #183
  • chore: release v2.3.2 8ccfe22

17 June 2024

17 June 2024

  • feature: implenment aunthentication function to protect Page components #154
  • feat: on error callback fn #179
  • feat: adding refreshData #180
  • feature: add same authentication function with api routes 76d4e2c
  • use config.status code and correct formatting changes b74442d
  • chore: add error handiling 0e852a5

28 May 2024

  • fix: failing null check #177
  • chore: release v2.2.13 e355f55

28 May 2024

  • fix: use host/environment variable if relative postLoginRedirectURL supplied #176
  • chore: release v2.2.12 935ec01
  • Update src/components/LoginLink.js c6eadf2

28 May 2024

  • fix: use NextResponse redirect #173
  • chore(deps): bump next from 14.1.4 to 14.2.3 #164
  • chore: release v2.2.11 49ea635

17 May 2024

  • fix: add optional chainings to handleMiddleware function to avoid raising a TypeError #166
  • chore: release v2.2.10 28d4507

17 May 2024

  • chore: update TS SDK version #167
  • chore: release v2.2.9 7d03b2f

15 May 2024

  • feat: add redirectURLBase to options #165
  • chore: release v2.2.8 20cc7fe

14 May 2024

  • fix: correct import path #163
  • fix: session index error with missing config #162
  • chore: release v2.2.7 c3b43bd

9 May 2024

  • fix: getUserOrganizations returning null incorrectly. #158
  • chore: release v2.2.6 55de0ca
  • chore: add logging 87c17e1

6 May 2024

  • chore: error handling for decoded tokens 6556634
  • chore: release v2.2.5 2c3f7e5

2 May 2024

  • fix: setup map undefined #157
  • chore: release v2.2.5-2 f51e66e

1 May 2024

  • Peter/remove user cookie dependency #156
  • chore: use latest TS version 7da3a4a
  • chore: release v2.2.5-1 9bbb461
  • fix: remove user cookie dependency 005ed76

30 April 2024

  • feat: custom claim & properties helper #152
  • fix: getOrganization to return specified type #155
  • chore: release v2.2.5-0 6a515fb
  • fix: update handlers to match new types ec1ceed
  • chore: remove logs 13d7bf4

23 April 2024

  • [Snyk] Upgrade cookie from 0.5.0 to 0.6.0 #145
  • fix: getPermission & getUser #146
  • feat: new playground implement basics of pnpm workspace #141
  • feat: add playground bfd1105
  • chore: release v2.2.4 c0f0af1
  • Update src/frontend/KindeBrowserClient.js 98709d6

2 April 2024

28 March 2024

  • Peter/fix imports #139
  • fix: permissions.some #142
  • fix: exports 2deaa47
  • chore: release v2.2.2 6b486bf
  • fix: include middleware in exports 9a967e2

27 March 2024

  • fix: clearing cookies when domain is set in pages router #140
  • chore: release v2.2.1 dae0a60

21 March 2024

25 March 2024

  • fix: include middleware in exports 9a967e2
  • chore: update version 767df43

25 March 2024

  • Peter/feat refresh tokens #137
  • Added properties to KindeAccessToken type #134
  • deps: update TS SDK and use validateClientSecret #133
  • fix: exports 2deaa47
  • fix: error handling refreshTokens 5c845fd
  • chore: upgrade TS SDK version 77458ce

26 February 2024

  • Update TTL #131
  • fix: move router type definitions #130
  • chore: release v2.1.15 059547d
  • feat: update TTL 9fe5889

23 February 2024

  • fix: Cookie settings and code clean #129
  • chore: release v2.1.14 6d780de

16 February 2024

16 February 2024

  • feat: health check endpoint #126
  • deps: security update socks 2.7.1 > 2.7.3 #127
  • chore: release v2.1.12 f2148fb

14 February 2024

  • feat: middleware to return to current page #125
  • chore(release): v2.1.10 97e1bae
  • chore: update version fa80849

9 February 2024

  • fix: remove cookies from root domain #124
  • chore(release): v2.1.9 6c3394c
  • chore(release): v2.1.10 cf6bd83
  • chore(release): v2.1.9 c41cc6a

8 February 2024

  • Peter/remove trailing slashes #122
  • fix: removing cookies across domains #123
  • Peter/tests/base path #120
  • chore: bump version #121
  • test: apiPath browser client dae1b88
  • chore: remove traliing slashes for urls b48705e
  • tests: remove trailing slashes 2fea4d0

5 February 2024

6 February 2024

  • Peter/tests/base path #120
  • chore: bump version #121
  • add login hint to the auth urls #117
  • test: apiPath browser client dae1b88
  • feat: api path from env and as prop 3997b85
  • chore: remove unused import e8cf1f9

30 January 2024

25 January 2024

  • Peter/chore/update ts version #112
  • chore(release): v2.1.4 3067cf6
  • chore(release): v2.1.5 e4775f7
  • chore: update TS SDK version 961e1e4

24 January 2024

  • Peter/fix/refresh token client side #110
  • feat: multiple audiences #111
  • feat: set cookie path to / 83ef427
  • fix: handle remove cookies on pages router fbbb772
  • feat: support multiple apps 3b31a69

17 January 2024

17 January 2024

22 January 2024

  • feat: support multiple apps 3b31a69
  • chore(release): v2.1.3-alpha.1 6231079
  • chore(release): v2.1.3-alpha.0 47982a1

17 January 2024

  • feat: raw access token and raw id token available via helpers #106
  • Peter/feat/audience not for management api #109
  • feat: set cookie path to / 83ef427
  • chore(release): v2.1.0 83e21ed
  • chore(release): v2.1.3 f1ccfaa

16 January 2024

16 January 2024

  • chore: bump TS dependency #108
  • chore(release): v2.1.1 2f9685f
  • chore(release): v2.0.13 1261b3b

19 December 2023

  • feat: add post logout redirect url #87
  • feat: cookie domain #104
  • fix: remove payload cookies #103
  • Peter/upgrade ts sdk version #102
  • chore: upgrade ts sdk versino 5a8f5ac
  • refactor: simplify url params bab3150
  • chore: version bump 7efd078

18 December 2023

  • feat: support multiple apps 3b31a69

13 December 2023

7 December 2023

  • Peter/fix middleware #101
  • chore: upgrade ts sdk versino 5a8f5ac

6 December 2023

20 November 2023

  • fix: encoding of unicode characters #98
  • Peter/v2 hot fixes #99
  • versino e8f76eb
  • fix: handleAuth types f08543c

17 November 2023

16 November 2023

16 November 2023

16 November 2023

16 November 2023

16 November 2023

  • rollup trying to get pages router working e686968

16 November 2023

  • require and import in package.json 6c79ceb

16 November 2023

16 November 2023

  • trying node resolve in server d234114

16 November 2023

15 November 2023

13 November 2023

13 November 2023

13 November 2023

10 November 2023

9 November 2023

  • Peter/rollup exports #90
  • Peter/d.ts rollup #89
  • chore: simplify rollup 1ae510f
  • fix: pacakge exports & middleware 4058d92
  • fix: type files bundles with dts 3b5504b

8 November 2023

  • chore: update rollup + add dts 5c94667
  • chore: remove unused types + include types.d.ts a764898
  • fix: types 5e74a1a

8 November 2023

17 November 2023

  • fix: NextResponse not imported 8561467

17 November 2023

  • Peter/fix/nextresponse #95
  • Fix cookie on edge #93
  • Peter/rollup exports #90
  • Peter/d.ts rollup #89
  • feat: add playground #85
  • Peter/v2 hot fixes #84
  • types: KindeServerSession TS #82
  • fix: kindeServerSession export a168e8d
  • chore: update rollup + add dts 5c94667
  • types: auth provider + some bug fixes 089cda6

17 November 2023

17 November 2023

17 November 2023

17 November 2023

17 November 2023

17 November 2023

6 November 2023

9 November 2023

  • fix: type files bundles with dts 3b5504b

9 November 2023

  • fix: pacakge exports & middleware 4058d92

9 November 2023

8 November 2023

8 November 2023

8 November 2023

8 November 2023

8 November 2023

  • chore: remove unused types + include types.d.ts a764898

8 November 2023

  • feat: add playground #85
  • Peter/v2 hot fixes #84
  • types: KindeServerSession TS #82
  • fix: register takes you to register page (not login) #80
  • chore: revert version #79
  • chore: next-14 peer dep #78
  • Peter/backwards compatibilty get token #77
  • chore(deps): bump crypto-js from 4.1.1 to 4.2.0 #74
  • NEXT.JS SDK V2 #75
  • Allow org switching #73
  • chore(deps-dev): bump @babel/traverse from 7.22.5 to 7.23.2 #72
  • Make sure always a single slash between domain and path in callbacks #71
  • Replace node:crypto with uncrypto #70
  • chore: update rollup + add dts 5c94667
  • feat: authUrlParams for LoginLink and RegisterLink bb541d1
  • types: auth provider + some bug fixes 089cda6

30 October 2023

31 October 2023

  • chore(deps): bump crypto-js from 4.1.1 to 4.2.0 #74
  • NEXT.JS SDK V2 #75
  • Allow org switching #73
  • chore(deps-dev): bump @babel/traverse from 7.22.5 to 7.23.2 #72
  • Make sure always a single slash between domain and path in callbacks #71
  • Replace node:crypto with uncrypto #70
  • feat: authUrlParams for LoginLink and RegisterLink bb541d1
  • chore: remove breaking changes 9ef1fcf
  • post login redirect 1b6911d

12 October 2023

12 October 2023

12 October 2023

3 October 2024

  • chore: release v1.10.2 f15d83e
  • fix(v1): remove api token from cookies 12a9663

24 June 2024

  • fix: logout clear cookie domain #182
  • chore: release v1.10.1 61cdffc

16 May 2024

  • chore: release v1.10.0 1f2dd62
  • feat: add support for custom login pages b8a7490

13 May 2024

  • feat: cookie domain #160
  • chore: release v1.9.4 eb26ef7
  • update release-it for version 1 fdd858b
  • chore: update release-it for v1 2804c59

2 May 2024

16 April 2024

5 February 2024

  • chore(release): v1.9.2 5a636ae
  • fix: add nullish check on url params 175dea0

1 February 2024

25 October 2023

  • Allow org switching #73
  • chore(deps-dev): bump @babel/traverse from 7.22.5 to 7.23.2 #72
  • chore: release v1.8.25 543fa35
  • fix: prevent login screen always being shown 20e1953

19 October 2023

  • Make sure always a single slash between domain and path in callbacks #71
  • feat: make sure always a single slash between domain and path daa9204
  • chore: release v1.8.24 5ed01e0
  • fix: if logout url is undefined df148b2

15 October 2023

  • Replace node:crypto with uncrypto #70
  • chore: release v1.8.23 ee1ade9
  • Add prepare script for npm installs from github f13c771

5 October 2023

  • fix: reletting the api token #68
  • chore: release v1.8.22 6cdef72

28 September 2023

  • fix: strict equals #66
  • chore: release v1.8.21 a5aa962

28 September 2023

  • post login redirect for app router #64
  • Update README with starter kit link #63
  • Login + register link search params 7230211
  • query params b2e9f7a
  • chore: release v1.8.20 5066c69

22 September 2023

  • Api Client #61
  • Aud checking was using === instead of == #59
  • apli client works for pages router 547ef32
  • remove tsconfig a31ed4e
  • aud check 078dc1d

5 September 2023

  • Allow custom callback_url #53
  • Add sanitize function 6722ce0
  • Rename postLoginURL to postLoginRedirectURL cdc0a0c
  • chore: release v1.8.18 9539c02

4 September 2023

  • Allow custom API path #55
  • chore: release v1.8.17 ef070a2
  • Update env var to KINDE_AUTH_API_PATH fb89818

31 August 2023

31 August 2023

  • isTokenValid helper for pages router #51
  • feat: isTokenValid helper for pages router 48037ec
  • chore: release v1.8.15 29b24be

30 August 2023

  • bug: configure samesite and lax to work on safari #50
  • chore: release v1.8.14 0894e54

29 August 2023

15 August 2023

  • Return orgCodes as expected from helper #45
  • fix: no longer have phantom user after logging out #43
  • chore: release v1.8.12 51721bd
  • fix: remove extra req cf92411

7 August 2023

  • fix: release-it to dev Dep #42
  • chore(deps): bump word-wrap from 1.2.3 to 1.2.4 #41
  • update package-lock c756eb2
  • chore: release v1.8.11 370a56d
  • fix: prettier to devdep eb9e81d

20 July 2023

  • fix: default value default #39
  • chore(deps): bump semver from 6.3.0 to 6.3.1 #38
  • chore: release v1.8.10 7bd8ec0
  • fix: check flag exists bc3f97e
  • fix: check the flag 8b5e010

6 July 2023

  • updated package.json version to fix failed release #37
  • chore: release v1.8.9 37f450f

5 July 2023

  • fix: get feature flags #36
  • chore: release v1.8.8 d40f374

29 June 2023

  • Create org with pages router #35
  • chore: Update readme.md 456de5e
  • fix: create org with pages router 2ac8f77
  • chore: release v1.8.7 9258689

26 June 2023

  • fix: typo in post login url - allow both versions #34
  • chore: release v1.8.6 17aec0e

22 June 2023

  • Redirects in middleware #33
  • feat: redirects in middleware 01f7164
  • chore: release v1.8.5 6a6dcfe

22 June 2023

  • Add auth link components #32
  • feat: add auth link components 712e86f
  • chore: release v1.8.4 744bb7b

20 June 2023

  • Full server side App Router support #31
  • Fix: Give getToken an init value #30
  • Peter/issues/28 #29
  • Bump vm2 from 3.9.17 to 3.9.19 #27
  • feat: basic types b324dba
  • feat: make app router first class citizen cf7c9f6
  • feat: add types for helper functions 3e24f68

10 May 2023

  • Fix: handle create org when audience is undefined #25
  • chore: release v1.8.2 55d17c0

4 May 2023

  • ci: add release it #24
  • CICD setup #23
  • Add missing token types #22
  • Post login redirect config option #16
  • Add permission and feature flag helpers to frontend #21
  • Dave/rollback esm #20
  • style: eslint formatting 6974a5c
  • style: run prettier over codebase 9f37e82
  • add helpers to frontend 00db101

17 April 2023

  • Peter/provider type #19
  • remove module version #18
  • Add Feature flags #17
  • make the challenge last for 15 mins #15
  • Bump json5 from 2.2.1 to 2.2.3 #11
  • Bump @sideway/formula from 3.0.0 to 3.0.1 #12
  • add custom header for SDK version c91510f
  • add feature flag helpers 69a7635
  • add types for flags a8138a1

4 April 2023

  • cookie expiry to match token expiry #14
  • remove some code 4f349ed
  • update epiry 5ad0ad3

15 December 2022

13 December 2022

8 December 2022

  • new functions #8
  • Peter/fix aud #7
  • Peter/audience and claim checking #6
  • fix aud e693796
  • declare function types c2ec48d

14 November 2022

14 November 2022

26 September 2022

  • Bump terser from 5.13.1 to 5.15.0 #4
  • Peter/check iss and alg #3
  • types and imports #2
  • Peter/get token #1
  • check issuer and alg 9c05736
  • get token 5aeef9b
  • update types d22678b

1 July 2022

28 June 2022

31 May 2022

31 May 2022

30 May 2022

30 May 2022

30 May 2022

30 May 2022

30 May 2022

28 May 2022

26 May 2022

25 May 2022

25 May 2022

25 May 2022

19 May 2022

19 May 2022

19 May 2022

19 May 2022

19 May 2022

19 May 2022

19 May 2022

19 May 2022

19 May 2022

19 May 2022

19 May 2022

v1.0.0-beta.1

19 May 2022