- 1fb33d0: force bump for republish
- Updated dependencies [1fb33d0]
- @logto/[email protected]
- @logto/[email protected]
- 28bc32e: force bump for republish
- Updated dependencies [28bc32e]
- @logto/[email protected]
- 9fa75c6: drop CommonJS support and become pure ESM
- Updated dependencies [9fa75c6]
- @logto/[email protected]
- @logto/[email protected]
- @logto/[email protected]
- @logto/[email protected]
- @logto/[email protected]
- @logto/[email protected]
- @logto/[email protected]
- @logto/[email protected]
- @logto/[email protected]
- @logto/[email protected]
- 3e28e29: add new method "clearAllTokens()" to clear all cached tokens from storage
- @logto/[email protected]
- bc86d46: export "clearAccessToken()" method from Client SDK
- @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
- e0d20a3: allow overriding
LogtoClient
class forLogtoProvider
- Updated dependencies [e0d20a3]
- Updated dependencies [76d113f]
- @logto/[email protected]
-
e6c8ec5: fix
signIn()
typeNow it can correctly infer the overload signatures.
- @logto/[email protected]
- @logto/[email protected]
- cf96cb8: for bump version to publish the package
-
204cdcd: refactor LogtoContextProps and LogtoContext
This version marks as major because it changes the exported
LogtoContextProps
type. In most cases, this should not affect you.- Removed
loadingCount
andsetLoadingCount
fromLogtoContextProps
. - Added
isLoading
andsetIsLoading
toLogtoContextProps
. - Export
LogtoContext
.
- Removed
- 26619ed: use TypeScript 5.3.3
- Updated dependencies [26619ed]
- @logto/[email protected]
- 867b357: Add Node v20 LTS support
- Updated dependencies [867b357]
- @logto/[email protected]
- bump
@logto/browser
version
-
3a0713d: refactor
useHandleSignInCallback()
- check
isLoading
anderror
before calling the client callback handler to prevent unnecessary calls (e.g. in React strict mode)
- check
- 46b3662: memorize hook methods to reduce unnecessary updates
-
8d693a3: export useful members from dependency sdk packages
-
8d693a3: add organizations support
useLogto()
now exportsgetOrganizationToken()
andgetOrganizationTokenClaims()
useLogto()
also exportsgetRefreshToken()
,getAccessTokenClaims()
, andgetIdToken()
- Updated dependencies [8d693a3]
- @logto/[email protected]
-
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]
- fbdcb0b: Fix potential infinite loop when handling sign-in callback in React and Vue SDKs
-
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
- Updated dependencies [90ef48f]
- @logto/[email protected]
- 922d385: Fixed a potential infinite loop in React and Vue SDKs in some edge cases
- 3aa0913: set package type to ESM, keep CJS build for compatibility (#477)
- 0839bf1: Fix potential issue on handling sign-in callback in React and Vue SDKs
- 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)
1.1.1 (2023-04-11)
Note: Version bump only for package @logto/react
1.1.0 (2023-03-19)
- js: add interactionMode props to signIn method (ea763a5)
1.0.0 (2023-02-28)
Note: Version bump only for package @logto/react
1.0.0-rc.0 (2023-02-03)
Note: Version bump only for package @logto/react
1.0.0-beta.15 (2023-01-12)
Note: Version bump only for package @logto/react
1.0.0-beta.14 (2022-12-12)
Note: Version bump only for package @logto/react
1.0.0-beta.13 (2022-11-08)
1.0.0-beta.12 (2022-11-02)
Note: Version bump only for package @logto/react
1.0.0-beta.11 (2022-10-26)
Note: Version bump only for package @logto/react
1.0.0-beta.10 (2022-10-21)
Note: Version bump only for package @logto/react
1.0.0-beta.9 (2022-10-19)
Note: Version bump only for package @logto/react
1.0.0-beta.8 (2022-09-23)
Note: Version bump only for package @logto/react
1.0.0-beta.7 (2022-09-20)
Note: Version bump only for package @logto/react
1.0.0-beta.6 (2022-09-17)
- browser,react,vue: enable userinfo endpoint (cae6eff)
- bump to essentials v1.2.1 to use utf-8 on decoding base64 (5a4ad09)
1.0.0-beta.5 (2022-09-13)
1.0.0-beta.4 (2022-09-09)
- react,vue: fix mis-handled isAuthenticated state in react and vue sdks (9fe790d)
1.0.0-beta.3 (2022-08-22)
Note: Version bump only for package @logto/react
1.0.0-beta.2 (2022-08-08)
Note: Version bump only for package @logto/react
1.0.0-beta.0 (2022-07-21)
Note: Version bump only for package @logto/react
1.0.0-alpha.3 (2022-07-08)
Note: Version bump only for package @logto/react
1.0.0-alpha.2 (2022-07-08)
Note: Version bump only for package @logto/react
1.0.0-alpha.1 (2022-07-07)
Note: Version bump only for package @logto/react
1.0.0-alpha.0 (2022-07-07)
0.2.2 (2022-06-30)
Note: Version bump only for package @logto/react
0.2.1 (2022-06-30)
Note: Version bump only for package @logto/react
0.2.0 (2022-06-30)
0.1.18 (2022-06-29)
Note: Version bump only for package @logto/react
0.1.17 (2022-06-29)
Note: Version bump only for package @logto/react
0.1.16 (2022-06-14)
Note: Version bump only for package @logto/react
0.1.15 (2022-06-08)
Note: Version bump only for package @logto/react
0.1.14 (2022-06-02)
Note: Version bump only for package @logto/react
0.1.13 (2022-06-01)
Note: Version bump only for package @logto/react
0.1.12 (2022-05-31)
- react: calling getIdTokenClaims will not cause infinite loop (10a5caa)
0.1.11 (2022-05-28)
Note: Version bump only for package @logto/react
0.1.10 (2022-05-28)
Note: Version bump only for package @logto/react
0.1.9 (2022-05-27)
- 'LogtoClientError' should be exported as class instead of type (85fc983)
0.1.8 (2022-05-27)
Note: Version bump only for package @logto/react
0.1.7 (2022-05-17)
Note: Version bump only for package @logto/react
0.1.6 (2022-05-17)
- react: add error prop to useLogto context (ebe9e96)
0.1.5 (2022-05-05)
0.1.4 (2022-03-18)
Note: Version bump only for package @logto/react
0.1.3 (2022-03-16)
Note: Version bump only for package @logto/react
0.1.2 (2022-03-10)
Note: Version bump only for package @logto/react
0.1.2-rc.1 (2022-03-10)
Note: Version bump only for package @logto/react
0.1.2-rc.0 (2022-03-10)
0.1.1-rc.0 (2022-03-10)
- add
publishConfig
to packages (a809e25)
- lint: add lint-stage to all packages (1289e3e)
- protected route (#84) (d28db7c)
- react-playground: implement react-playground (897911d)
- react-playground: make encrypted user login info in url invisible (#109) (13df814)
- react-sdk: update react sdk (951d316)
- react: auto handle callback (#92) (58ee454)
- react: init provider & hook (#74) (b30e993)
- react: react SDK with context provider (1be502d)