Releases: clerk/javascript
Releases · clerk/javascript
@clerk/[email protected]
Patch Changes
- Updated dependencies [
ce40ff6f0
,e81d45b72
,752ce9bfa
,99cdf9b67
,ce40ff6f0
,fb7ba1f34
,2102052c0
]:- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
@clerk/[email protected]
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
-
Remove typos from pl-PL (#4319) by @pmichalski98
-
Updated dependencies [
e81d45b72
,99cdf9b67
,ce40ff6f0
,2102052c0
]:- @clerk/[email protected]
@clerk/[email protected]
Patch Changes
- Updated dependencies [
e1a26547a
]:- @clerk/[email protected]
@clerk/[email protected]
Patch Changes
- Updated dependencies [
e81d45b72
,752ce9bfa
,99cdf9b67
,ce40ff6f0
,fb7ba1f34
,2102052c0
]:- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
@clerk/[email protected]
Patch Changes
- Updated dependencies [
e1a26547a
]:- @clerk/[email protected]
@clerk/[email protected]
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 @jescalanimport { 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
- Updated dependencies [
e81d45b72
,752ce9bfa
,99cdf9b67
,ce40ff6f0
,fb7ba1f34
,2102052c0
]:- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
@clerk/[email protected]
Patch Changes
- Updated dependencies [
e81d45b72
,99cdf9b67
,ce40ff6f0
,2102052c0
]:- @clerk/[email protected]
@clerk/[email protected]
Patch Changes
- Updated dependencies [
e1a26547a
]:- @clerk/[email protected]
@clerk/[email protected]
Patch Changes
- Updated dependencies [
e81d45b72
,752ce9bfa
,99cdf9b67
,ce40ff6f0
,fb7ba1f34
,2102052c0
]:- @clerk/[email protected]
- @clerk/[email protected]
- @clerk/[email protected]
@clerk/[email protected]
Minor Changes
-
Introducing experimental
asProvider
,asStandalone
, and<X.Outlet />
for<UserButton />
and<OrganizationSwitcher />
components. (#4042) by @panteliselefasProvider
converts<UserButton />
and<OrganizationSwitcher />
to a provider that defers rendering until<Outlet />
is mounted.<Outlet />
also accepts aasStandalone
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
- Updated dependencies [
e81d45b72
,752ce9bfa
,99cdf9b67
,ce40ff6f0
,2102052c0
]:- @clerk/[email protected]
- @clerk/[email protected]