Skip to content

Releases: clerk/javascript

@clerk/[email protected]

17 Oct 15:09
1647b9e
Compare
Choose a tag to compare

@clerk/[email protected]

17 Oct 15:09
1647b9e
Compare
Choose a tag to compare

Minor Changes

  • The "Restricted access" screen has been improved for visual consistency and the ability to contact support. The displayed texts have been made more clear and the sign-in button has been moved to the bottom. (#4335) by @nikospapcom

Patch Changes

@clerk/[email protected]

17 Oct 16:01
bf83dd5
Compare
Choose a tag to compare

Patch Changes

@clerk/[email protected]

17 Oct 15:09
1647b9e
Compare
Choose a tag to compare

@clerk/[email protected]

17 Oct 16:01
bf83dd5
Compare
Choose a tag to compare

Patch Changes

@clerk/[email protected]

17 Oct 15:09
1647b9e
Compare
Choose a tag to compare

Minor Changes

  • Export authenticateRequest method from @clerk/express (in case you want to go low-level and implement flows to your specific needs). You can use it like so: (#4340) by @jescalan

    import { authenticateRequest } from "@clerk/express";

    This function is adapted to Express' Request wrapper and as such notably different to the exported function from @clerk/backend. If you need to use it, be sure to import from @clerk/express.

Patch Changes

@clerk/[email protected]

17 Oct 15:09
1647b9e
Compare
Choose a tag to compare

Patch Changes

@clerk/[email protected]

17 Oct 16:02
bf83dd5
Compare
Choose a tag to compare

Patch Changes

@clerk/[email protected]

17 Oct 15:10
1647b9e
Compare
Choose a tag to compare

@clerk/[email protected]

17 Oct 15:10
1647b9e
Compare
Choose a tag to compare

Minor Changes

  • Introducing experimental asProvider, asStandalone, and <X.Outlet /> for <UserButton /> and <OrganizationSwitcher /> components. (#4042) by @panteliselef

    • asProvider converts <UserButton /> and <OrganizationSwitcher /> to a provider that defers rendering until <Outlet /> is mounted.
    • <Outlet /> also accepts a asStandalone prop. It will skip the trigger of these components and display only the UI which was previously inside the popover. This allows developers to create their own triggers.

    Example usage:

    <UserButton __experimental_asProvider afterSignOutUrl="/">
      <UserButton.UserProfilePage label="Custom Page" url="/custom-page">
        <h1> This is my page available to all children </h1>
      </UserButton.UserProfilePage>
      <UserButton.__experimental_Outlet __experimental_asStandalone />
    </UserButton>
    <OrganizationSwitcher __experimental_asProvider afterSignOutUrl="/">
      <OrganizationSwitcher.OrganizationProfilePage
        label="Custom Page"
        url="/custom-page"
      >
        <h1> This is my page available to all children </h1>
      </OrganizationSwitcher.OrganizationProfilePage>
      <OrganizationSwitcher.__experimental_Outlet __experimental_asStandalone />
    </OrganizationSwitcher>

Patch Changes