Official Javascript repository for Clerk authentication
MIT License
Published by clerk-cookie 5 months ago
cl-formattedDate__tableCell
css class. (#3465) by @panteliselef
Published by clerk-cookie 5 months ago
73e5d61e2
, b8e46328d
]:
Published by clerk-cookie 5 months ago
86a27f693
, 02bed2e00
, 73e5d61e2
, b8e46328d
]:
Published by clerk-cookie 5 months ago
Update js-cookie
from 3.0.1
to 3.0.5
. Update swr
from 2.2.0
to 2.2.5
. (#3493) by @renovate
Set @clerk/types
as a dependency for packages that had it as a dev dependency. (#3450) by @desiprisg
Updated dependencies [73e5d61e2
, b8e46328d
]:
Published by clerk-cookie 5 months ago
Set @clerk/types
as a dependency for packages that had it as a dev dependency. (#3450) by @desiprisg
Updated dependencies [86a27f693
, 02bed2e00
, 73e5d61e2
, b8e46328d
]:
Published by clerk-cookie 5 months ago
Support new redirect urls as environment variables or options to rootAuthLoader (#3442) by @panteliselef
As options
As environment variables
Set @clerk/types
as a dependency for packages that had it as a dev dependency. (#3450) by @desiprisg
Updated dependencies [86a27f693
, 35a0015f5
, 02bed2e00
, 73e5d61e2
, b8e46328d
]:
Published by clerk-cookie 5 months ago
Update SignUpButton
and SignInButton
to respect forceRedirect
and fallbackRedirect
props. Previously, these were getting ignored and successful completions of the flows would fallback to the default redirect URL. (#3508) by @BRKalow
Updated dependencies [86a27f693
, 02bed2e00
, 73e5d61e2
, b8e46328d
]:
Published by clerk-cookie 5 months ago
Update dependency path-to-regexp to v6.2.2 (#3490) by @renovate
Set @clerk/types
as a dependency for packages that had it as a dev dependency. (#3450) by @desiprisg
Updated the check ran against the error caught by buildRequestLike()
to re-throw Static Bailout errors thrown by React in the context of PPR (Partial Pre-Rendering), as these errors shouldn't be caught. This change was required as we have been checking the error message itself, but stopped working after the message was changed in a Next.js update a few months ago. (#3499) by @ceIia
Bug fix: Correctly update history state when on internal navigations. (#3480) by @panteliselef
Updated dependencies [86a27f693
, 35a0015f5
, 02bed2e00
, 73e5d61e2
, b8e46328d
]:
Published by clerk-cookie 5 months ago
Update profile primary button text and nav text in fr-FR & zh-CN (#3494) by @youshengCode
Set @clerk/types
as a dependency for packages that had it as a dev dependency. (#3450) by @desiprisg
Updates on ko-KR localization (#3454) by @jourmooney
Add passkeys localizations for the es-MX
locale (#3453) by @HugoCL
Updated dependencies [73e5d61e2
, b8e46328d
]:
Published by clerk-cookie 5 months ago
86a27f693
, 02bed2e00
, 73e5d61e2
, b8e46328d
]:
Published by clerk-cookie 5 months ago
Set @clerk/types
as a dependency for packages that had it as a dev dependency. (#3450) by @desiprisg
Updated dependencies [86a27f693
, 02bed2e00
, 73e5d61e2
, b8e46328d
]:
Published by clerk-cookie 5 months ago
Introduce getClerkInstance()
to avoid importing the Clerk class from clerk-js manually. (#3420) by @panteliselef
This enables developers to create and access a Clerk instance in their application outside of React.
import { ClerkProvider, getClerkInstance } from "@clerk/expo"
const clerkInstance = getClerkInstance({ publishableKey: 'xxxx' })
// Always pass the `publishableKey` to `ClerkProvider`
<ClerkProvider publishableKey={'xxxx'}>
...
</ClerkProvider>
// Somewhere in your code, outside of React you can do
const token = await clerkInstance.session?.getToken();
fetch('http://example.com/', {headers: {Authorization: token })
import { ClerkProvider, getClerkInstance } from "@clerk/expo"
// Always pass the `publishableKey` to `ClerkProvider`
<ClerkProvider publishableKey={'xxxx'}>
...
</ClerkProvider>
// If you sure that this code will run after the ClerkProvider has rendered then you can use `getClerkIntance` without options
const token = await getClerkInstance().session?.getToken();
fetch('http://example.com/', {headers: {Authorization: token })
Attention: If getClerkInstance
is called without a publishable key, and ClerkProvider has not rendered yet, an error will be thrown
Support EXPO_PUBLIC_
prefixes for env variables. (#3498) by @panteliselef
## .env
EXPO_PUBLIC_CLERK_PUBLISHABLE_KEY=xxxxxxxx
Set @clerk/types
as a dependency for packages that had it as a dev dependency. (#3450) by @desiprisg
Updated dependencies [89318f820
, a53622b05
, f31e38234
, 86a27f693
, 35a0015f5
, ec41bb73e
, 02bed2e00
, 35a0015f5
, c054dcb78
, 73e5d61e2
, b8e46328d
]:
Published by clerk-cookie 5 months ago
Adds virtual router to support modal scenarios (#3461) by @tmilewski
Adds routing
prop to SignIn.Root
and SignUp.Root
for handling virtual
routing
Better support for Account Portal redirect callback flows
Fix forms unable to submit upon re-mounting (#3473) by @tmilewski
Set @clerk/types
as a dependency for packages that had it as a dev dependency. (#3450) by @desiprisg
Ensure missing passwordSettings don't throw an error (#3474) by @tmilewski
Display hard to catch errors inside the sign-in verification step during development (when NODE_ENV
is set to development
). (#3517) by @LekoArts
Updated dependencies [73e5d61e2
, b8e46328d
]:
Published by clerk-cookie 5 months ago
cl-formattedDate__tableCell
css class. (#3465) by @panteliselef
In some instances your application logo (shown at the top of the sign-in/sign-up form of the prebuilt components) might have been distorted in browsers like Firefox. By applying object-fit: contain
to the image's CSS the logo now fills its bounding box without being distorted. (#3501) by @LekoArts
Support remounting ClerkProvider multiple times by making sure that the updateProps
call during the loading phase does not override any defaults set by Clerk.load()
for values that are missing (#3455) by @nikosdouvlis
Sms phone code verification lists available phone numbers on cancel. (#3479) by @panteliselef
Only render active sessions in the active devices section. Fixes the bug where a device with no information would render upon revoking. (#3497) by @desiprisg
Fixed a bug where Clerk components rendered in modals were wrapped with aria-hidden
. (#3508) by @BRKalow
Bug fix: statically loading a resource would result in an increase in bundle size for clerk.browser.js
. (#3519) by @panteliselef
Updated dependencies [86a27f693
, 478c49b41
, 02bed2e00
, cd424c590
, 73e5d61e2
, 68f247444
, b8e46328d
]:
Published by clerk-cookie 5 months ago
89318f820
, a53622b05
, f31e38234
, 86a27f693
, 35a0015f5
, ec41bb73e
, 02bed2e00
, 35a0015f5
, c054dcb78
, b8e46328d
]:
Published by clerk-cookie 5 months ago
Set @clerk/types
as a dependency for packages that had it as a dev dependency. (#3450) by @desiprisg
Updated dependencies [86a27f693
, 02bed2e00
, 73e5d61e2
, b8e46328d
]:
Published by clerk-cookie 5 months ago
Published by clerk-cookie 5 months ago
76a1087c3
]:
Published by clerk-cookie 5 months ago
76a1087c3
]:
Published by clerk-cookie 5 months ago
76a1087c3
]: