Skip to content

Latest commit

 

History

History
2022 lines (1498 loc) · 40.1 KB

CHANGELOG.md

File metadata and controls

2022 lines (1498 loc) · 40.1 KB

Changelog

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

Generated by auto-changelog.

v2.3.8

  • fix: setup get user object + to ts

v2.3.7

28 August 2024

  • 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

19 August 2024

  • chore: linting and build
  • chore: warn getuser
  • chore: update framework tracking
  • chore: callback error
  • chore: console warn to debug

v2.3.7-beta.20

28 July 2024

  • Next JS SDK - Update readme.md
  • Update readme.md

v2.3.6

22 July 2024

  • 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

15 July 2024

  • fix: isReturnToCurrentPage
  • chore: release v2.3.5

v2.3.4

8 July 2024

  • feat: KINDE_SCOPE + getUser upgrades
  • chore: release v2.3.4

v2.3.3

27 June 2024

  • fix: env variables
  • chore: release v2.3.3

v2.3.2

27 June 2024

  • feat: config in handle auth fn
  • chore: release v2.3.2

v2.3.1

17 June 2024

  • chore: release v2.3.1
  • fix: infinate loop

v2.3.0

17 June 2024

  • 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

28 May 2024

  • fix: failing null check
  • chore: release v2.2.13

v2.2.12

28 May 2024

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

v2.2.11

28 May 2024

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

v2.2.10

17 May 2024

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

v2.2.9

17 May 2024

  • chore: update TS SDK version
  • chore: release v2.2.9

v2.2.8

15 May 2024

  • feat: add redirectURLBase to options
  • chore: release v2.2.8

v2.2.7

14 May 2024

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

v2.2.6

9 May 2024

  • fix: getUserOrganizations returning null incorrectly.
  • chore: release v2.2.6
  • chore: add logging

v2.2.5

6 May 2024

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

v2.2.5-2

2 May 2024

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

v2.2.5-1

1 May 2024

  • 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

30 April 2024

  • 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

23 April 2024

  • [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

2 April 2024

  • fix: types export
  • chore: release v2.2.3

v2.2.2

28 March 2024

  • Peter/fix imports
  • fix: permissions.some
  • fix: exports
  • chore: release v2.2.2
  • fix: include middleware in exports

v2.2.1

27 March 2024

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

v2.2.0

21 March 2024

  • chore: release v2.2.0

v2.2.0-alpha.1

25 March 2024

  • fix: include middleware in exports
  • chore: update version

v2.2.0-alpha.0

25 March 2024

  • 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

26 February 2024

  • Update TTL
  • fix: move router type definitions
  • chore: release v2.1.15
  • feat: update TTL

v2.1.14

23 February 2024

  • fix: Cookie settings and code clean
  • chore: release v2.1.14

v2.1.13

16 February 2024

  • chore: release v2.1.13

v2.1.12

16 February 2024

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

v2.1.11

14 February 2024

  • feat: middleware to return to current page
  • chore(release): v2.1.10
  • chore: update version

v2.1.10

9 February 2024

  • fix: remove cookies from root domain
  • chore(release): v2.1.9
  • chore(release): v2.1.10
  • chore(release): v2.1.9

v2.1.9

8 February 2024

  • 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

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

6 February 2024

  • 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

30 January 2024

  • fix: setup
  • chore: update version

v2.1.5

25 January 2024

  • Peter/chore/update ts version
  • chore(release): v2.1.4
  • chore(release): v2.1.5
  • chore: update TS SDK version

v2.1.4

24 January 2024

  • 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

17 January 2024

v2.1.3-alpha.2

17 January 2024

v2.1.3-alpha.1

22 January 2024

  • feat: support multiple apps
  • chore(release): v2.1.3-alpha.1
  • chore(release): v2.1.3-alpha.0

v2.1.3-alpha.0

17 January 2024

  • 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

16 January 2024

  • chore(release): v2.1.1
  • chore(release): v2.1.2
  • chore: update version

v2.1.1

16 January 2024

  • chore: bump TS dependency
  • chore(release): v2.1.1
  • chore(release): v2.0.13

v2.1.0

19 December 2023

  • 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

18 December 2023

  • feat: support multiple apps

v2.1.0-beta.0

13 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.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
  • chore: upgrade ts sdk versino

v2.0.11

6 December 2023

  • fix: decode the accessTokenValue
  • version

v2.0.10

20 November 2023

  • fix: encoding of unicode characters
  • Peter/v2 hot fixes
  • versino
  • fix: handleAuth types

v2.0.9

17 November 2023

  • Peter/fix/nextresponse
  • fix: kindeServerSession export
  • types
  • types: auth provider

v2.0.8

16 November 2023

  • 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

  • rollup types + fixes

v2.0.8-beta.11

16 November 2023

  • dts

v2.0.8-beta.10

16 November 2023

  • version

v2.0.8-beta.9

16 November 2023

  • 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

  • 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

  • rollup trying to get pages router working

v2.0.8-beta.4

16 November 2023

  • require and import in package.json

v2.0.8-beta.3

16 November 2023

  • cjs stuff

v2.0.8-beta.2

16 November 2023

  • trying node resolve in server

v2.0.8-beta.1

16 November 2023

  • fix: pages router
  • rollup: node resolve
  • version

v2.0.7

15 November 2023

  • Fix cookie on edge
  • remove unused files
  • rollup: externals
  • type: imports

v2.0.6

13 November 2023

v2.0.6-beta.1

13 November 2023

  • version

v2.0.6-beta.0

13 November 2023

  • Fix cookie on edge
  • remove unused files
  • types: RouterClient + Response
  • rollup: externals

v2.0.5

10 November 2023

v2.0.4

9 November 2023

  • Peter/rollup exports
  • Peter/d.ts rollup
  • chore: simplify rollup
  • fix: pacakge exports & middleware
  • fix: type files bundles with dts

v2.0.3

8 November 2023

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

v2.0.2

8 November 2023

v2.0.2-beta.10

17 November 2023

  • fix: NextResponse not imported

v2.0.2-beta.9

17 November 2023

  • 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

  • type module

v2.0.2-beta.7

17 November 2023

  • 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

  • fix: bugs

v2.0.2-beta.5

17 November 2023

  • clean up

v2.0.2-beta.4

17 November 2023

  • version

v2.0.2-beta.3

17 November 2023

  • fix: types

v2.0.2-beta.2

17 November 2023

  • build
  • provider type

v2.0.2-beta.1

17 November 2023

  • types
  • types: auth provider
  • types: handlers

v2.0.1

6 November 2023

v2.0.1-beta.10

9 November 2023

  • fix: type files bundles with dts

v2.0.1-beta.9

9 November 2023

  • fix: pacakge exports & middleware

v2.0.1-beta.8

9 November 2023

  • Peter/d.ts rollup
  • chore: simplify rollup
  • chore: trying to get rollup to work
  • version

v2.0.1-beta.6

8 November 2023

  • fix: esm

v2.0.1-beta.5

8 November 2023

  • fix: types

v2.0.1-beta.4

8 November 2023

  • fix: types

v2.0.1-beta.3

8 November 2023

  • fix: esm + cjs mixup

v2.0.1-beta.2

8 November 2023

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

v2.0.1-beta.1

8 November 2023

  • 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

31 October 2023

  • 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

12 October 2023

  • new version

v2.0.0-alpha.1

12 October 2023

  • version

v2.0.0-alpha.0

12 October 2023

  • types and api
  • handlers
  • session functions

v1.10.1

24 June 2024

  • fix: logout clear cookie domain
  • chore: release v1.10.1

v1.10.0

16 May 2024

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

v1.9.4

13 May 2024

  • feat: cookie domain
  • chore: release v1.9.4
  • update release-it for version 1
  • chore: update release-it for v1

v1.9.4-omega

2 May 2024

  • fix: v1 & v2 sync

v1.9.3

16 April 2024

  • feat: cookie domain

1.9.2

5 February 2024

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

v1.9.1

1 February 2024

  • 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
  • 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

19 October 2023

  • 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

15 October 2023

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

1.8.22

5 October 2023

  • fix: reletting the api token
  • chore: release v1.8.22

1.8.21

28 September 2023

  • fix: strict equals
  • chore: release v1.8.21

1.8.20

28 September 2023

  • 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

22 September 2023

  • Api Client
  • Aud checking was using === instead of ==
  • apli client works for pages router
  • remove tsconfig
  • aud check

1.8.18

5 September 2023

  • Allow custom callback_url
  • Add sanitize function
  • Rename postLoginURL to postLoginRedirectURL
  • chore: release v1.8.18

1.8.17

4 September 2023

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

1.8.16

31 August 2023

  • Token payload
  • chore: release v1.8.16
  • fix: define payload
  • fix: jwt decode dep

1.8.15

31 August 2023

  • isTokenValid helper for pages router
  • feat: isTokenValid helper for pages router
  • chore: release v1.8.15

1.8.14

30 August 2023

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

1.8.13

29 August 2023

  • fix: samesite lax
  • chore: release v1.8.13
  • samesite lax

1.8.12

15 August 2023

  • 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

7 August 2023

  • 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

20 July 2023

  • 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

6 July 2023

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

1.8.8

5 July 2023

  • fix: get feature flags
  • chore: release v1.8.8

1.8.7

29 June 2023

  • Create org with pages router
  • chore: Update readme.md
  • fix: create org with pages router
  • chore: release v1.8.7

1.8.6

26 June 2023

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

1.8.5

22 June 2023

  • Redirects in middleware
  • feat: redirects in middleware
  • chore: release v1.8.5

1.8.4

22 June 2023

  • Add auth link components
  • feat: add auth link components
  • chore: release v1.8.4

1.8.3

20 June 2023

  • 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

10 May 2023

  • Fix: handle create org when audience is undefined
  • chore: release v1.8.2

1.8.1

4 May 2023

  • 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

17 April 2023

  • 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

4 April 2023

  • cookie expiry to match token expiry
  • remove some code
  • update epiry

v1.0.8

15 December 2022

  • Peter/update license
  • Create LICENSE
  • Create SECURITY.md
  • mit license

v1.0.7

13 December 2022

v1.0.7-beta.0

8 December 2022

  • new functions
  • Peter/fix aud
  • Peter/audience and claim checking
  • fix aud
  • declare function types

v1.0.6

14 November 2022

  • Peter/profile v2
  • init
  • logout if error

v1.0.5

14 November 2022

  • update config

v1.0.4

26 September 2022

  • 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

1 July 2022

  • create org

v1.0.3-beta.1

28 June 2022

  • Org id and start page

v1.0.3-beta.0

31 May 2022

  • readme update
  • rename env variables
  • config update

v1.0.2-beta.6

31 May 2022

  • logout redirect

v1.0.2-beta.5

30 May 2022

  • isAuthenticated again

v1.0.2-beta.4

30 May 2022

  • isAUth again
  • isAuth

v1.0.2-beta.3

30 May 2022

  • Fix isAuthenticated

v1.0.2-beta.2

30 May 2022

  • forgot to build lol

v1.0.2-beta.1

30 May 2022

  • isAuthenticated update

v1.0.2-beta.0

28 May 2022

  • update readme
  • useKindeAuth rename

v1.0.1-beta.3

26 May 2022

  • config update

v1.0.1-beta.2

25 May 2022

  • read me

v1.0.1-beta.1

25 May 2022

  • error checking

v1.0.1-beta.0

25 May 2022

  • login
  • handleAuth
  • logout, register and me

v1.0.0-beta.13

19 May 2022

  • fix route
  • dont return function
  • build

v1.0.0-beta.11

19 May 2022

  • log route

v1.0.0-beta.10

19 May 2022

  • more logs

v1.0.0-beta.9

19 May 2022

  • console log

v1.0.0-beta.8

19 May 2022

  • return function

v1.0.0-beta.7

19 May 2022

  • bug fixing
  • build

v1.0.0-beta.6

19 May 2022

  • res end to login

v1.0.0-beta.5

19 May 2022

  • handleAuth

v1.0.0-beta.4

19 May 2022

  • fix useEffect

v1.0.0-beta.3

19 May 2022

  • cjs

v1.0.0-beta.2

19 May 2022

  • trying to get it to work

v1.0.0-beta.1

19 May 2022