github clerk/javascript @clerk/clerk-js@5.62.0

latest releases: @clerk/types@4.92.0, @clerk/clerk-js@5.99.0, @clerk/fastify@2.4.37...
6 months ago

Minor Changes

  • Introduce Clerk.status for tracking the state of the clerk singleton. (#5476) by @panteliselef

    Possible values for Clerk.status are:

    • "loading": Set during initialization
    • "error": Set when hotloading clerk-js failed or Clerk.load() failed
    • "ready": Set when Clerk is fully operational
    • "degraded": Set when Clerk is partially operational

    The computed value of Clerk.loaded is:

    • true when Clerk.status is either "ready" or "degraded".
    • false when Clerk.status is "loading" or "error".
  • Introduce clerk.legacy.browser.js for legacy browser support. (#5495) by @dstaley

Patch Changes

  • Fix duplicate checkout calls when clicking Get Started buttons (#5664) by @aeliox

  • Remove the experimental commerce flag (#5666) by @aeliox

    • Adds support for collecting and verifying user email (when they don't already have one associated with their payer) during checkout (#5671) by @aeliox

    • Fixes incorrect org invoices endpoint.

    • Extracts plan CTA button styling, labeling, and selecting into context methods.

    • Adds UserProfile / OrgProfile specific scrollbox IDs for drawer portal-ing (fixes issue where both could be open)

    • Fixes incorrect button action in SubscriptionList for active but expiring subscriptions.

  • Rollback change to lazy-loading suspense wrapper (#5670) by @aeliox

  • Add <SubscriptionsList /> to both UserProfile and OrgProfile components. (#5658) by @alexcarpenter

    Introduce experimental method for opening <SubscriptionDetails /> component.

    clerk.__experimental_openSubscriptionDetails(...)
  • Updated dependencies [68dc2b6, 33201bf, 4334598, 0ae0403]:

    • @clerk/localizations@3.13.13
    • @clerk/types@4.55.0
    • @clerk/shared@3.7.3

Don't miss a new javascript release

NewReleases is sending notifications on new releases.