This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
@logto/js@3.0.0
Major Changes
8d693a3: allow arbitrary key access for IdTokenClaims
Achieve it by appending & Record<string, unknown> to the type of IdTokenClaims. This usually doesn't break things, but it may cause some type errors when iterating over the object values (e.g. Object.values(claims)). Mark it as a breaking change just in case.
Minor Changes
8d693a3: sync update from @logto/core-kit
add TSDoc comments to keys for better developer experience
add organizations support in types and fetchTokenByRefreshToken()
@logto/browser@2.2.0
Minor Changes
8d693a3: export useful members from dependency sdk packages
Patch Changes
Updated dependencies [8d693a3]
@logto/client@2.3.0
@logto/capacitor@1.1.0
Minor Changes
9225576: export useful members from dependency sdk packages
Patch Changes
Updated dependencies [8d693a3]
@logto/browser@2.2.0
@logto/client@2.3.0
Minor Changes
8d693a3: add organizations support
add getOrganizationToken() and getOrganizationTokenClaims() to LogtoClient
automatically add organization resource to configuration when `scopes`` contains organization scope
Patch Changes
Updated dependencies [8d693a3]
Updated dependencies [8d693a3]
@logto/js@3.0.0
@logto/express@2.2.0
Minor Changes
9225576: export useful members from dependency sdk packages
Patch Changes
Updated dependencies [9225576]
@logto/node@2.2.0
@logto/next@2.3.0
Minor Changes
9225576: export useful members from dependency sdk packages
Patch Changes
Updated dependencies [9225576]
@logto/node@2.2.0
@logto/node@2.2.0
Minor Changes
9225576: export useful members from dependency sdk packages
Patch Changes
Updated dependencies [8d693a3]
@logto/client@2.3.0
@logto/react@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
Updated dependencies [8d693a3]
@logto/browser@2.2.0
@logto/remix@2.1.0
Minor Changes
9225576: export useful members from dependency sdk packages
Patch Changes
Updated dependencies [9225576]
@logto/node@2.2.0
@logto/vue@2.1.0
Minor Changes
9225576: export useful members from dependency sdk packages
Patch Changes
Updated dependencies [8d693a3]
@logto/browser@2.2.0
@logto/react-sample@2.1.0
Minor Changes
8d693a3: add organizations page to display organizations and fetch organization tokens
Patch Changes
Updated dependencies [8d693a3]
Updated dependencies [8d693a3]
@logto/react@2.2.0
@logto/next-app-dir-sample@2.1.1
Patch Changes
8d693a3: explicitly cast claim value type to adopt the new claim type definition
Updated dependencies [9225576]
@logto/next@2.3.0
@logto/next-sample@2.1.1
Patch Changes
8d693a3: explicitly cast claim value type to adopt the new claim type definition
Updated dependencies [9225576]
@logto/next@2.3.0
@logto/next-server-actions-sample@2.1.3
Patch Changes
8d693a3: explicitly cast claim value type to adopt the new claim type definition
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.
Releases
@logto/js@3.0.0
Major Changes
8d693a3: allow arbitrary key access for
IdTokenClaims
Achieve it by appending
& Record<string, unknown>
to the type ofIdTokenClaims
. This usually doesn't break things, but it may cause some type errors when iterating over the object values (e.g.Object.values(claims)
). Mark it as a breaking change just in case.Minor Changes
8d693a3: sync update from
@logto/core-kit
fetchTokenByRefreshToken()
@logto/browser@2.2.0
Minor Changes
Patch Changes
@logto/capacitor@1.1.0
Minor Changes
Patch Changes
@logto/client@2.3.0
Minor Changes
8d693a3: add organizations support
getOrganizationToken()
andgetOrganizationTokenClaims()
toLogtoClient
Patch Changes
@logto/express@2.2.0
Minor Changes
Patch Changes
@logto/next@2.3.0
Minor Changes
Patch Changes
@logto/node@2.2.0
Minor Changes
Patch Changes
@logto/react@2.2.0
Minor Changes
8d693a3: add organizations support
useLogto()
now exportsgetOrganizationToken()
andgetOrganizationTokenClaims()
useLogto()
also exportsgetRefreshToken()
,getAccessTokenClaims()
, andgetIdToken()
Patch Changes
@logto/remix@2.1.0
Minor Changes
Patch Changes
@logto/vue@2.1.0
Minor Changes
Patch Changes
@logto/react-sample@2.1.0
Minor Changes
Patch Changes
@logto/next-app-dir-sample@2.1.1
Patch Changes
@logto/next-sample@2.1.1
Patch Changes
@logto/next-server-actions-sample@2.1.3
Patch Changes