Minor Changes
-
Add support for feature or plan based authorization (#5582) by @panteliselef
Plan
Clerk.session.checkAuthorization({ plan: "my-plan" })
Feature
Clerk.session.checkAuthorization({ feature: "my-feature" })
Scoped per user or per org
Clerk.session.checkAuthorization({ feature: "org:my-feature" })Clerk.session.checkAuthorization({ feature: "user:my-feature" })Clerk.session.checkAuthorization({ plan: "user:my-plan" })Clerk.session.checkAuthorization({ plan: "org:my-plan" })
Patch Changes
-
Nest existing commerce settings under
billing. (#5612) by @panteliselef -
Rename the
sendCaptchaTokento__internal_sendCaptchaToken. (#5581) by @anagstef -
Ensure Organization slugs contain at least one alphanumeric character (#5586) by @jacekradko
-
Ensure Stripe dependencies aren't bundled for non-RHC environments (#5594) by @tmilewski
-
Fix issue where truncated text was wraping within line items. (#5616) by @alexcarpenter
-
Fully strip @stripe/stripe-js from non-RHC builds (#5597) by @tmilewski
-
Add
PaymentSourceRowfor displaying payment sources (#5570) by @aeliox -
Bug fix: Invalidate cached checkout on checkout drawer unmount (#5602) by @aeliox
-
Updated dependencies [
e4d04ae,431a821,93068ea,431a821,431a821,103bc03,48438b4,196dcb4]:- @clerk/types@4.54.0
- @clerk/shared@3.7.0
- @clerk/localizations@3.13.10