-
e888a7c: add error handler to handleAuthRoutes
You can now pass a custom error handler to handleAuthRoutes. This will allow you to handle errors in a way that makes sense for your application.
- 917158c: support custom redirectUri for handleSignIn function in Server Actions.
- @logto/[email protected]
- cf524a0: Export type LogtoNextConfig
- Updated dependencies [957a1c9]
- @logto/[email protected]
- @logto/[email protected]
- @logto/[email protected]
- @logto/[email protected]
- 24d1680: fix: clear access token storage on sign-in
- Updated dependencies [24d1680]
- @logto/[email protected]
- 76d113f: export more typescript types
- Updated dependencies [76d113f]
- @logto/[email protected]
- aad00ee: Add error handler to Next.js SDK's withLogtoApiRoute.
- @logto/[email protected]
- @logto/[email protected]
- 10f1075: In Next.js SDK, if cookie secure config is set to true, will add "SameSite=Lax"
- 3575c5c: Add built-in signIn, handleSignIn, singOut, getLogtoContext and other helpers
-
26619ed: remove explicit crypto module imports since Node now has global WebCrypto variable by default
Marking this as a major change since it may break current code if you are using Node 18. It should be fine if you are using Node LTS. See https://nodejs.org/api/globals.html#crypto_1 for more information.
- b71e7c7: The page router SDK will now update cookie when access token changed
- 26619ed: use TypeScript 5.3.3
- Updated dependencies [88495b2]
- Updated dependencies [864caab]
- Updated dependencies [864caab]
- Updated dependencies [26619ed]
- @logto/[email protected]
- c22000a: Add method of getting Logto Node Client in order to access organization features.
- 9225576: export useful members from dependency sdk packages
- Updated dependencies [9225576]
- @logto/[email protected]
- 1fb7878: Fix Next.js edge SDK's getContext, pass config to get access token
- 5cc1342: Add Next.js Server Actions support
-
f9ff6f4: Align the js SDK error type exports.
- @logto/react: add
LogtoRequestError
export - @logto/vue: add
LogtoRequestError
export - @logto/express: add logto errors export
- @logto/next: add logto errors export
- @logto/react: add
-
Updated dependencies [f9ff6f4]
- @logto/[email protected]
- 2ec9146: Fix potential request url mismatch bug
-
90ef48f: add well-known cache support (unstable)
- client: support
unstable_cache
inClientAdapter
- browser, react: add
unstable_enableCache
option to enable asessionStorage
cache for well-known data
- client: support
- 77480ae: Skip token decode for opaque access token
- Updated dependencies [77480ae]
- @logto/[email protected]
- 0a533f6: Full edge runtime support
- Updated dependencies [0a533f6]
- Updated dependencies [a839b08]
- @logto/[email protected]
- 3aa0913: set package type to ESM, keep CJS build for compatibility (#477)
- 3aa0913: support nextjs edge runtime
- Updated dependencies [3aa0913]
- @logto/[email protected]
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
1.1.2 (2023-04-24)
Note: Version bump only for package @logto/next
1.1.1 (2023-04-11)
Note: Version bump only for package @logto/next
1.1.0 (2023-03-19)
- js: add interactionMode props to signIn method (ea763a5)
- js: add sign-up route handler (7660524)
1.0.0 (2023-02-28)
Note: Version bump only for package @logto/next
1.0.0-rc.0 (2023-02-03)
- remove core-kit dependency and update
engines
(8a24a87)
1.0.0-beta.15 (2023-01-12)
1.0.0-beta.14 (2022-12-12)
Note: Version bump only for package @logto/next
1.0.0-beta.13 (2022-11-08)
1.0.0-beta.12 (2022-11-02)
Note: Version bump only for package @logto/next
1.0.0-beta.11 (2022-10-26)
1.0.0-beta.10 (2022-10-21)
Note: Version bump only for package @logto/next
1.0.0-beta.9 (2022-10-19)
1.0.0-beta.8 (2022-09-23)
Note: Version bump only for package @logto/next
1.0.0-beta.7 (2022-09-20)
1.0.0-beta.6 (2022-09-17)
Note: Version bump only for package @logto/next
1.0.0-beta.5 (2022-09-13)
Note: Version bump only for package @logto/next
1.0.0-beta.4 (2022-09-09)
Note: Version bump only for package @logto/next
1.0.0-beta.3 (2022-08-22)
Note: Version bump only for package @logto/next
1.0.0-beta.2 (2022-08-08)
1.0.0-beta.1 (2022-07-25)
1.0.0-beta.0 (2022-07-21)
- client: persist access token (#359) (10fb181)
- next: add sign in callback route (#348) (80c9e34)
- next: grant access token and check expiration (#361) (3171b58)
- next: init and sign in route (#339) (f17364a)
- next: set getAccessToken as an option (#364) (e27577c)
- next: sign out (#358) (f773ce0)
- next: ssr support (#363) (886e260)
- next: with logto api route (#355) (60eb143)