Skip to content

Latest commit

 

History

History
504 lines (273 loc) · 14.8 KB

CHANGELOG.md

File metadata and controls

504 lines (273 loc) · 14.8 KB

Change Log

4.0.3

Patch Changes

  • 1fb33d0: force bump for republish
  • Updated dependencies [1fb33d0]

4.0.2

Patch Changes

4.0.1

Patch Changes

  • 28bc32e: force bump for republish
  • Updated dependencies [28bc32e]

4.0.0

Major Changes

  • 9fa75c6: drop CommonJS support and become pure ESM

Patch Changes

3.0.17

Patch Changes

3.0.16

Patch Changes

3.0.15

Patch Changes

3.0.14

Patch Changes

3.0.13

Patch Changes

3.0.12

Patch Changes

3.0.11

Patch Changes

3.0.10

Patch Changes

3.0.9

Patch Changes

3.0.8

Patch Changes

  • 3e28e29: add new method "clearAllTokens()" to clear all cached tokens from storage

3.0.7

Patch Changes

3.0.6

Patch Changes

3.0.5

Patch Changes

  • 24d1680: fix: clear access token storage on sign-in
  • Updated dependencies [24d1680]

3.0.4

Patch Changes

  • 76d113f: export more typescript types
  • e0d20a3: allow overriding LogtoClient class for LogtoProvider
  • Updated dependencies [e0d20a3]
  • Updated dependencies [76d113f]

3.0.3

Patch Changes

  • e6c8ec5: fix signIn() type

    Now it can correctly infer the overload signatures.

3.0.2

Patch Changes

3.0.1

Patch Changes

  • cf96cb8: for bump version to publish the package

3.0.0

Major Changes

  • 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 and setLoadingCount from LogtoContextProps.
    • Added isLoading and setIsLoading to LogtoContextProps.
    • Export LogtoContext.

Patch Changes

2.2.4

Patch Changes

  • 867b357: Add Node v20 LTS support
  • Updated dependencies [867b357]

2.2.3

Patch Changes

  • bump @logto/browser version

2.2.2

Patch Changes

  • 3a0713d: refactor useHandleSignInCallback()

    • check isLoading and error before calling the client callback handler to prevent unnecessary calls (e.g. in React strict mode)

2.2.1

Patch Changes

  • 46b3662: memorize hook methods to reduce unnecessary updates

2.2.0

Minor Changes

  • 8d693a3: export useful members from dependency sdk packages

  • 8d693a3: add organizations support

    • useLogto() now exports getOrganizationToken() and getOrganizationTokenClaims()
    • useLogto() also exports getRefreshToken(), getAccessTokenClaims(), and getIdToken()

Patch Changes

2.1.2

Patch Changes

  • 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
  • Updated dependencies [f9ff6f4]

2.1.1

Patch Changes

  • fbdcb0b: Fix potential infinite loop when handling sign-in callback in React and Vue SDKs

2.1.0

Minor Changes

  • 90ef48f: add well-known cache support (unstable)

    • client: support unstable_cache in ClientAdapter
    • browser, react: add unstable_enableCache option to enable a sessionStorage cache for well-known data

Patch Changes

2.0.1

Patch Changes

  • 922d385: Fixed a potential infinite loop in React and Vue SDKs in some edge cases

2.0.0

Major Changes

  • 3aa0913: set package type to ESM, keep CJS build for compatibility (#477)

Patch Changes

  • 0839bf1: Fix potential issue on handling sign-in callback in React and Vue SDKs
  • Updated dependencies [3aa0913]

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

1.1.2 (2023-04-24)

Bug Fixes

  • react: only call handleSignInCallback when not loading (df6efe1)
  • test case (3a01748)

1.1.1 (2023-04-11)

Note: Version bump only for package @logto/react

1.1.0 (2023-03-19)

Features

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

Bug Fixes

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)

Features

  • browser,react,vue: enable userinfo endpoint (cae6eff)

Bug Fixes

  • bump to essentials v1.2.1 to use utf-8 on decoding base64 (5a4ad09)

1.0.0-beta.5 (2022-09-13)

Bug Fixes

  • react,vue: do not set loading to false after calling signIn (#403) (06b6060)

1.0.0-beta.4 (2022-09-09)

Bug Fixes

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

Bug Fixes

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)

Features

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)

Bug Fixes

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

Bug Fixes

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

Features

  • react: add error prop to useLogto context (ebe9e96)

0.1.5 (2022-05-05)

Bug Fixes

  • leverage root prepack lifecycle for publish (#235) (8e66d82)

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)

Bug Fixes

0.1.1-rc.0 (2022-03-10)

Bug Fixes

  • add publishConfig to packages (a809e25)

0.1.0 (2022-03-10)

Features

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

Bug Fixes