Releases: clerk/javascript
@clerk/[email protected]
Minor Changes
- Introduce
<RedirectToTask />
component (#6416) by @LauraBeatris
Patch Changes
- Updated dependencies [
e404456
,2803133
,f1d9d34
,d58b959
,822ba1f
,d4d2612
]:- @clerk/[email protected]
- @clerk/[email protected]
@clerk/[email protected]
Minor Changes
-
[Billing Beta]: Replace
org
fororganization
as payer type for billing APIs. (#6423) by @panteliselefThis applies for all billing APIs, except the resources classes that represent data from Frontend API.
-
Refactor base theme approach to enable opting into simple theme. (#6371) by @alexcarpenter
appearance={{ theme: 'simple' // removes Clerk base theme }}
Patch Changes
-
Update JSDocs for
SessionTask
to align with Clerk documentation (#6396) by @LauraBeatris -
Make
.finalize()
from useCheckout to return a Promise. (#6422) by @panteliselef
@clerk/[email protected]
Patch Changes
- Updated dependencies [
e404456
,d58b959
,822ba1f
,d4d2612
]:- @clerk/[email protected]
@clerk/[email protected]
Patch Changes
- Updated dependencies [
e404456
,2803133
,f1d9d34
,0bdd0df
,d58b959
,232d7d3
,822ba1f
,af615b8
,d4d2612
]:- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
@clerk/[email protected]
Patch Changes
- Updated dependencies [
e404456
,2803133
,f1d9d34
,0bdd0df
,d58b959
,232d7d3
,f6375f0
,822ba1f
,af615b8
,d4d2612
]:- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
@clerk/[email protected]
Minor Changes
-
[Billing Beta]: Replace
org
fororganization
as payer type for billing APIs. (#6423) by @panteliselefThis applies for all billing APIs, except the resources classes that represent data from Frontend API.
Patch Changes
-
Improve layout behaviour with
<PaymentElement fallback={} />
. (#6387) by @panteliselef- Disables Stripe's loader, and promotes the usage of the
fallback
prop.
- Disables Stripe's loader, and promotes the usage of the
-
Fixes an issue where cookies were not properly cleared on sign out when using non-default cookie attributes. (#6368) by @brkalow
-
Updated dependencies [
e404456
,d58b959
,822ba1f
,d4d2612
]:- @clerk/[email protected]
@clerk/[email protected]
Patch Changes
- Updated dependencies [
e404456
,2803133
,f1d9d34
,0bdd0df
,d58b959
,232d7d3
,f6375f0
,822ba1f
,af615b8
,d4d2612
]:- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
@clerk/[email protected]
Patch Changes
- Updated dependencies [
e404456
,2803133
,f1d9d34
,0bdd0df
,d58b959
,232d7d3
,f6375f0
,822ba1f
,af615b8
,d4d2612
]:- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
@clerk/[email protected]
Minor Changes
-
Introduces machine authentication, supporting four token types:
api_key
,oauth_token
,machine_token
, andsession_token
. For backwards compatibility,session_token
remains the default when no token type is specified. This enables machine-to-machine authentication and use cases such as API keys and OAuth integrations. Existing applications continue to work without modification. (#6391) by @wobsorianoYou can specify which token types are allowed by using the
acceptsToken
option in theevent.context.auth()
context. This option can be set to a specific type, an array of types, or'any'
to accept all supported tokens.Example usage:
export default eventHandler(event => { const auth = event.locals.auth({ acceptsToken: 'any' }); if (authObject.tokenType === 'session_token') { console.log('this is session token from a user'); } else { console.log('this is some other type of machine token'); console.log('more specifically, a ' + authObject.tokenType); } return {}; });
Patch Changes
- Updated dependencies [
e404456
,2803133
,f1d9d34
,0bdd0df
,d58b959
,232d7d3
,f6375f0
,822ba1f
,af615b8
,d4d2612
]:- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
@clerk/[email protected]
Minor Changes
- Introduce
<RedirectToTask />
component (#6416) by @LauraBeatris
Patch Changes
- Updated dependencies [
e404456
,2803133
,f1d9d34
,0bdd0df
,d58b959
,232d7d3
,f6375f0
,822ba1f
,af615b8
,d4d2612
]:- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]