- Updated dependencies [
d74a6a7c0f291104c6bba722a8c432814d7b336e
,1a0c8fe665869e732d3c800bde0f5219fce54301
,0800fc3f1f4e1b6a1d13f5c02557001a283af6e8
]:- @clerk/clerk-react@5.15.0
- @clerk/types@4.30.0
- @clerk/shared@2.11.4
- @clerk/backend@1.15.6
- Updated dependencies [
a7726cc12a824b278f6d2a37cb1901c38c5f70dc
]:- @clerk/shared@2.11.3
- @clerk/backend@1.15.5
- @clerk/clerk-react@5.14.3
- Updated dependencies [
69c8f4f21
,f875463da
,41f2ede56
,5be7ca9fd
,08c5a2add
,08c5a2add
,24cd77989
,434b432f8
]:- @clerk/clerk-react@5.14.0
- @clerk/types@4.29.0
- @clerk/shared@2.11.0
- @clerk/backend@1.15.2
- Updated dependencies [
3fdcdbf88
,1c7e105a3
]:- @clerk/types@4.28.0
- @clerk/backend@1.15.1
- @clerk/clerk-react@5.13.1
- @clerk/shared@2.10.1
- Updated dependencies [
93dfe7a09
,3b50b67bd
,a0204a8e8
,3b50b67bd
]:- @clerk/backend@1.15.0
- @clerk/shared@2.10.0
- @clerk/types@4.27.0
- @clerk/clerk-react@5.13.0
- Updated dependencies [
e1a26547a
]:- @clerk/backend@1.14.1
- Updated dependencies [
ce40ff6f0
,e81d45b72
,752ce9bfa
,99cdf9b67
,ce40ff6f0
,fb7ba1f34
,2102052c0
]:- @clerk/clerk-react@5.12.0
- @clerk/types@4.26.0
- @clerk/shared@2.9.2
- @clerk/backend@1.14.0
- Updated dependencies [
d64e54c40
,2ba2fd148
]:- @clerk/shared@2.9.1
- @clerk/types@4.25.1
- @clerk/backend@1.13.10
- @clerk/clerk-react@5.11.1
- Updated dependencies [
358be296a
]:- @clerk/backend@1.13.9
- Updated dependencies [
fb932e5cf
]:- @clerk/shared@2.9.0
- @clerk/clerk-react@5.11.0
- @clerk/types@4.25.0
- @clerk/backend@1.13.8
- Updated dependencies [
f6fb8b53d
,4a8570590
]:- @clerk/clerk-react@5.10.0
- @clerk/types@4.24.0
- @clerk/backend@1.13.7
- @clerk/shared@2.8.5
- Updated dependencies [
4749ed4c5
,f1f17eaab
,2e35ac538
]:- @clerk/backend@1.13.5
- @clerk/types@4.23.0
- @clerk/clerk-react@5.9.4
- @clerk/shared@2.8.4
- Updated dependencies [
c9063853e
,19d3808d4
,737bcbb0f
]:- @clerk/types@4.22.0
- @clerk/backend@1.13.4
- @clerk/clerk-react@5.9.3
- @clerk/shared@2.8.3
- Updated dependencies [
cb32aaf59
,2e5c550e4
,6275c242c
,418be2fdb
,c59636a1a
,5c18671f1
,f9faaf031
,e0ca9dc94
]:- @clerk/shared@2.8.2
- @clerk/clerk-react@5.9.2
- @clerk/types@4.21.1
- @clerk/backend@1.13.3
- Updated dependencies [
02babaccb
]:- @clerk/backend@1.13.2
- Updated dependencies [
3743eb911
]:- @clerk/shared@2.8.1
- @clerk/backend@1.13.1
- @clerk/clerk-react@5.9.1
- Updated dependencies [
e578b1599
]:- @clerk/backend@1.13.0
- Updated dependencies [
ba19be354
,8cecbe875
,248142a6d
,1189f71f8
,a5e95295b
]:- @clerk/shared@2.8.0
- @clerk/backend@1.12.0
- @clerk/clerk-react@5.9.0
- @clerk/types@4.21.0
- Updated dependencies [
be3b119f8
]:- @clerk/shared@2.7.2
- @clerk/backend@1.11.1
- @clerk/clerk-react@5.8.2
- Updated dependencies [
b97b2c1ca
,8c6909d46
]:- @clerk/backend@1.11.0
- @clerk/clerk-react@5.8.1
- @clerk/types@4.20.1
- @clerk/shared@2.7.1
- Updated dependencies [
c63a5adf0
,8823c21a2
,95ac67a14
,a0cb062fa
,746b4ed5e
]:- @clerk/backend@1.10.0
- @clerk/clerk-react@5.8.0
- @clerk/types@4.20.0
- @clerk/shared@2.7.0
- Updated dependencies [
8a3b9f079
,e95c28196
,1fe744328
]:- @clerk/clerk-react@5.7.0
- @clerk/types@4.19.0
- @clerk/backend@1.9.2
- @clerk/shared@2.6.2
- Updated dependencies [
afad9af89
,82593173a
,afad9af89
]:- @clerk/clerk-react@5.6.0
- @clerk/types@4.18.0
- @clerk/backend@1.9.1
- @clerk/shared@2.6.1
-
Updated dependencies [
c9ef59106
,fece72014
,58e6754ad
,13693018f
,3aa63dc5a
,9d0477781
,3304dcc0b
]:- @clerk/backend@1.9.0
- @clerk/clerk-react@5.5.0
- @clerk/types@4.17.0
- @clerk/shared@2.6.0
- Updated dependencies [
c1389492d
]:- @clerk/types@4.16.0
- @clerk/backend@1.8.3
- @clerk/clerk-react@5.4.5
- @clerk/shared@2.5.5
- Updated dependencies [
0158c774a
,8be1a7abc
]:- @clerk/types@4.15.1
- @clerk/backend@1.8.2
- @clerk/clerk-react@5.4.4
- @clerk/shared@2.5.4
- Updated dependencies [
96234ce3d
,247b3fd75
]:- @clerk/clerk-react@5.4.3
- @clerk/types@4.15.0
- @clerk/backend@1.8.1
- @clerk/shared@2.5.3
- Updated dependencies [
ed7baa048
]:- @clerk/backend@1.8.0
- Updated dependencies [
dc0e1c33d
,dc94c0834
]:- @clerk/types@4.14.0
- @clerk/backend@1.7.0
- @clerk/clerk-react@5.4.2
- @clerk/shared@2.5.2
- Updated dependencies [
7e0ced3da
,b6f0613dc
]:- @clerk/shared@2.5.1
- @clerk/clerk-react@5.4.1
- @clerk/types@4.13.1
- @clerk/backend@1.6.3
- Updated dependencies [
59d5f19d3
,4e6c94e3f
]:- @clerk/shared@2.5.0
- @clerk/clerk-react@5.4.0
- @clerk/types@4.13.0
- @clerk/backend@1.6.2
-
Internal change: Use
AuthObject
type import from@clerk/backend
. (#3844) by @kduprey -
Updated dependencies [
d7bf0f87c
,9b2aeacb3
]:- @clerk/backend@1.6.1
- @clerk/types@4.12.1
- @clerk/clerk-react@5.3.3
- @clerk/shared@2.4.5
- Updated dependencies [
7e94fcf0f
]:- @clerk/backend@1.6.0
- @clerk/types@4.12.0
- @clerk/clerk-react@5.3.2
- @clerk/shared@2.4.4
- Updated dependencies [
568186cad
,407195270
]:- @clerk/types@4.11.0
- @clerk/backend@1.5.2
- @clerk/clerk-react@5.3.1
- @clerk/shared@2.4.3
- Updated dependencies [
992e5960c
]:- @clerk/backend@1.5.1
-
Fixed a bug that was caused when the request body has already been read (#3839) by @octoper
-
Updated dependencies [
fde5b5e7e
,aa06f3ba7
,80e647731
]:- @clerk/backend@1.5.0
- @clerk/clerk-react@5.3.0
- @clerk/types@4.10.0
- @clerk/shared@2.4.2
- Updated dependencies [
b48689705
]:- @clerk/types@4.9.1
- @clerk/backend@1.4.3
- @clerk/clerk-react@5.2.10
- @clerk/shared@2.4.1
- Updated dependencies [
d465d7069
]:- @clerk/backend@1.4.2
- Updated dependencies [
045fb93cb
]:- @clerk/backend@1.4.1
- Updated dependencies [
b87f7b9e1
,b2788f67b
,86c75e50c
]:- @clerk/backend@1.4.0
- @clerk/shared@2.4.0
- @clerk/types@4.9.0
- @clerk/clerk-react@5.2.9
- Updated dependencies [
df7d856d5
]:- @clerk/types@4.8.0
- @clerk/backend@1.3.2
- @clerk/clerk-react@5.2.8
- @clerk/shared@2.3.3
- Updated dependencies [
5642b2616
]:- @clerk/backend@1.3.1
- Updated dependencies [
427fcdeaa
]:- @clerk/clerk-react@5.2.7
-
Fix issues caused by modifying duplex property on Request when it was already defined (#3645) by @octoper
-
Updated dependencies [
f1847b70b
]:- @clerk/backend@1.3.0
- Updated dependencies [
d6b5006c4
]:- @clerk/types@4.7.0
- @clerk/backend@1.2.5
- @clerk/clerk-react@5.2.6
- @clerk/shared@2.3.2
-
Fix RequestInit.duplex which now is required if body is provided in undici (#3495) by @octoper
-
Updated dependencies [
1273b04ec
]:- @clerk/types@4.6.1
- @clerk/backend@1.2.4
- @clerk/clerk-react@5.2.5
- @clerk/shared@2.3.1
- Updated dependencies [
4ec3f63e2
]:- @clerk/shared@2.3.0
- @clerk/backend@1.2.3
- @clerk/clerk-react@5.2.4
-
Support new redirect urls as environment variables or options to rootAuthLoader (#3442) by @panteliselef
As options
- signInForceRedirectUrl
- signUpForceRedirectUrl
- signInFallbackRedirectUrl
- signUpFallbackRedirectUrl
As environment variables
- CLERK_SIGN_IN_FORCE_REDIRECT_URL
- CLERK_SIGN_UP_FORCE_REDIRECT_URL
- CLERK_SIGN_IN_FALLBACK_REDIRECT_URL
- CLERK_SIGN_UP_FALLBACK_REDIRECT_URL
-
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
]:- @clerk/shared@2.2.2
- @clerk/clerk-react@5.2.3
- @clerk/backend@1.2.2
- @clerk/types@4.6.0
-
Deprecate
loadUser
,loadSession
andloadOrganization
onrootAuthLoader
options (#3443) by @anagstef -
Updated dependencies []:
- @clerk/clerk-react@5.2.2
- Updated dependencies [
ff31f7255
,0e48fc210
]:- @clerk/shared@2.2.1
- @clerk/clerk-react@5.2.1
- @clerk/backend@1.2.1
- Updated dependencies [
d6a9b3f5d
,456b06849
,6888594cc
]:- @clerk/clerk-react@5.2.0
- @clerk/shared@2.2.0
- @clerk/backend@1.2.0
- Updated dependencies [
3d790d5ea
]:- @clerk/clerk-react@5.1.0
- Updated dependencies []:
- @clerk/clerk-react@5.0.7
- Updated dependencies [
4d3dc00fb
,ec84d51e7
]:- @clerk/backend@1.1.5
- @clerk/shared@2.1.1
- @clerk/clerk-react@5.0.6
- Updated dependencies [
b27ca8366
,bcbb2c9ef
]:- @clerk/shared@2.1.0
- @clerk/clerk-react@5.0.5
- @clerk/backend@1.1.4
- Updated dependencies [
b92402258
]:- @clerk/backend@1.1.3
-
Fixes a bug where headers passed from Clerk with the same name would get overwritten. (#3345) by @BRKalow
-
Updated dependencies [
39265d909
,4f4375e88
,1662aaae9
,f70c885f7
,4ae79af36
,f5804a225
]:- @clerk/clerk-react@5.0.4
- @clerk/backend@1.1.2
- @clerk/shared@2.0.2
- Updated dependencies [
e93b5777b
]:- @clerk/clerk-react@5.0.3
- Updated dependencies [
8fbe23857
,a78bc447c
,19cd42434
,e79d2e3d3
]:- @clerk/backend@1.1.1
- @clerk/shared@2.0.1
- @clerk/clerk-react@5.0.2
-
c2a090513: Change the minimal Node.js version required by Clerk to
18.17.0
. -
cfea3d9c0: Path-based routing is now the default routing strategy if the
path
prop is filled. Additionally, if thepath
androuting
props are not filled, an error will be thrown.// Without path or routing props, an error with be thrown <UserProfile /> <CreateOrganization /> <OrganizationProfile /> <SignIn /> <SignUp /> // Alternative #1 <UserProfile path="/whatever"/> <CreateOrganization path="/whatever"/> <OrganizationProfile path="/whatever"/> <SignIn path="/whatever"/> <SignUp path="/whatever"/> // Alternative #2 <UserProfile routing="hash_or_virtual"/> <CreateOrganization routing="hash_or_virtual"/> <OrganizationProfile routing="hash_or_virtual"/> <SignIn routing="hash_or_virtual"/> <SignUp routing="hash_or_virtual"/>
-
fa6874687: Update
@clerk/remix
'srootAuthLoader
andgetAuth
helpers to handle handshake auth status, this replaces the previous interstitial flow. As a result of this, theClerkErrorBoundary
is no longer necessary and has been removed.To migrate, remove usage of
ClerkErrorBoundary
:- import { ClerkApp, ClerkErrorBoundary } from "@clerk/remix"; + import { ClerkApp } from "@clerk/remix"; ... - export const ErrorBoundary = ClerkErrorBoundary();
-
2a22aade8: Drop deprecations. Migration steps:
- drop
orgs
jwt claim from session token - change type of
auth
param ofwithServerAuth()
callback toAuthObject
fromServerSideAuth
ingatsby-clerk-plugin
- use
auth.sessionClaims
instead ofauth.claims
- use
AuthObject
properties fromauth
- use
- use
publishableKey
instead offrontendApi
- use
ClerkProviderOptionsWrapper
type instead ofIsomorphicClerkOptions
- drop
-
c08f804cf: Drop deprecations. Migration steps:
- use
CLERK_SECRET_KEY
instead ofCLERK_API_KEY
env variable - use
secretKey
instead ofapiKey
- use
CLERK_PUBLISHABLE_KEY
instead ofCLERK_FRONTEND_API
env variable - use
publishableKey
instead offrontendApi
- use
-
8aea39cd6: - Introduce
@clerk/clerk-react/errors
and@clerk/clerk-react/internal
subpath exports to expose some internal utilities. Eg// Before import { **internal**setErrorThrowerOptions } from '@clerk/clerk-react'; // After import { setErrorThrowerOptions } from '@clerk/clerk-react/internal'; // Before import { isClerkAPIResponseError, isEmailLinkError, isKnownError, isMetamaskError } from '@clerk/clerk-react'; // After import { isClerkAPIResponseError, isEmailLinkError, isKnownError, isMetamaskError } from '@clerk/clerk-react/errors'; // Before import { MultisessionAppSupport } from '@clerk/clerk-react'; // After import { MultisessionAppSupport } from '@clerk/clerk-react/internal'; ``` - Drop from the `@clerk/clerk-react` and all other clerk-react wrapper packages: - `__internal__setErrorThrowerOptions` internal utility (moved to /internal subpath) - `WithClerkProp` type - `MultisessionAppSupport` component (moved to /internal subpath) - `EmailLinkErrorCode` enum - Drop `StructureContext` and related errors to reduce to reduce code complexity since it seems that it was not being used. - Drop `withUser`, `WithUser`, `withClerk` HOFs and `WithClerk`, `withSession`, `WithSession` HOCs from the `@clerk/clerk-react` to reduce the export surface since it's trivial to implement if needed.
-
52ff8fe6b: Upgrade React version to >=18 and add react-dom as peer dependency to fix issues with vite & rollup building.
-
97407d8aa: Dropping support for Node 14 and 16 as they both reached EOL status. The minimal Node.js version required by Clerk is
18.18.0
now. -
0ec3a146c: Changes in exports of
@clerk/backend
:- Expose the following helpers and enums from
@clerk/backend/internal
:import { AuthStatus, buildRequestUrl, constants, createAuthenticateRequest, createIsomorphicRequest, debugRequestState, makeAuthObjectSerializable, prunePrivateMetadata, redirect, sanitizeAuthObject, signedInAuthObject, signedOutAuthObject, } from '@clerk/backend/internal';
- Drop the above exports from the top-level api:
Dropping those exports results in also dropping the exports from
// Before import { AuthStatus, ... } from '@clerk/backend'; // After import { AuthStatus, ... } from '@clerk/backend/internal';
gatsby-plugin-clerk
,@clerk/clerk-sdk-node
,@clerk/backend
,@clerk/fastify
,@clerk/nextjs
,@clerk/remix
packages.
- Expose the following helpers and enums from
-
02976d494: (Note: This is only relevant if, in the unlikely case, you are using
Clerk
from@clerk/remix
directly. If not, you can safely ignore this change.)Remove the named
Clerk
import from@clerk/remix
and importcreateClerkClient
instead. The latter is a factory method to create a Clerk client instance for you. This update aligns usage across our SDKs and will enable us to ship DX improvements better in the future.import { Clerk } from '@clerk/remix'; const clerk = Clerk({ secretKey: '...' });
You need to rename the import from
Clerk
tocreateClerkClient
and change its usage:import { createClerkClient } from '@clerk/remix'; const clerk = createClerkClient({ secretKey: '...' });
-
1ad910eb9: Changes in exports of
@clerk/backend
:- Drop the following internal exports from the top-level api:
Dropping those exports results in also dropping the exports from
// Before import { AllowlistIdentifier, Client, DeletedObject, Email, EmailAddress, ExternalAccount, IdentificationLink, Invitation, OauthAccessToken, ObjectType, Organization, OrganizationInvitation, OrganizationMembership, OrganizationMembershipPublicUserData, PhoneNumber, RedirectUrl, SMSMessage, Session, SignInToken, Token, User, Verification, } from '@clerk/backend'; // After : no alternative since there is no need to use those classes
gatsby-plugin-clerk
,@clerk/clerk-sdk-node
,@clerk/backend
,@clerk/fastify
,@clerk/nextjs
,@clerk/remix
packages. - Keep those 3 resource related type exports
import type { Organization, Session, User, WebhookEvent, WebhookEventType } from '@clerk/backend';
- Drop the following internal exports from the top-level api:
-
9a1fe3728: Use the new
routerPush
androuterReplace
props for<ClerkProvider />
instead ofnavigate
. -
e1f7eae87: Limit TokenVerificationError exports to TokenVerificationError and TokenVerificationErrorReason
-
7f6a64f43: - By default, all the components with routing will have the
routing
prop assigned as'path'
by default when thepath
prop is filled.- The
<UserButton />
component will set the default value of theuserProfileMode
prop to'navigation'
if theuserProfileUrl
prop is provided. - The
<OrganizationSwitcher />
component will have theorganizationProfileMode
andcreateOrganizationMode
props assigned with'navigation'
by default if theorganizationProfileUrl
andcreateOrganizationUrl
props are filled accordingly.
- The
-
2964f8a47: Expose debug headers in response for handshake / signed-out states from SDKs using headers returned from
authenticateRequest()
-
b4e79c1b9: Replace the
Clerk-Backend-SDK
header withUser-Agent
in BAPI requests and update it's value to contain both the package name and the package version of the clerk package executing the request. Eg request from@clerk/nextjs
to BAPI with appendUser-Agent: @clerk/nextjs@5.0.0-alpha-v5.16
using the latest version.Miscellaneous changes: The backend test build changed to use tsup.
- a8901be64: Expose resources types
- 2de442b24: Rename beta-v5 to beta
- ef2325dcc: Introduce
isTruthy
helper to better cast environment variables to a boolean. Previously only the string"true"
was checked, nowtrue
,"true"
,"1"
, and1
will work. - 6a769771c: Update README for v5
- ee57f21ac: Export
EmailLinkErrorCode
from/errors
module - 2e77cd737: Set correct information on required Node.js and React versions in README
- ee57f21ac: Introduce
/errors
module. This path exports all error-related APIs such asisClerkAPIResponseError
,isEmailLinkError
,isKnownError
,isMetamaskError
,EmailLinkErrorCode
- 63dfe8dc9: Resolve Vercel edge-runtime "TypeError: Failed to parse URL" when
@clerk/remix
is used - b67f6ab79: Fix property
Page
/Link
missing from theUserProfile
/OrganizationProfile
when imported from@clerk/nextjs
or@clerk/remix
. - 7644b7472: Improve the default value for
CLERK_API_URL
by utilizing the publishable key to differentiate between local, staging and prod environments. - 3a0eacd36: Replace
response.clone()
withnew Response(response.body, response)
to avoid creating multiple branches of a single stream on Cloudflare workers (issue reference). - 3a2f13604: Fix adding
user
/sessions
/organization
resources into request. - 395c6d7e3: Correctly get environment variables inside Cloudflare Pages by accessing
context.cloudflare
- 40ac4b645: Introduces telemetry collection from Clerk's SDKs. Collected telemetry will be used to gain insights into product usage and help drive roadmap priority. For more information, see https://clerk.com/docs/telemetry.
- de90d9bca: Automatically infer the path for where the component is mounted.
- Updated dependencies [3a2f13604]
- Updated dependencies [8c23651b8]
- Updated dependencies [f4f99f18d]
- Updated dependencies [743c4d204]
- Updated dependencies [4b8bedc66]
- Updated dependencies [9272006e7]
- Updated dependencies [2a67f729d]
- Updated dependencies [c2a090513]
- Updated dependencies [6ac9e717a]
- Updated dependencies [966b31205]
- Updated dependencies [1834a3ee4]
- Updated dependencies [a8901be64]
- Updated dependencies [896cb6104]
- Updated dependencies [64d3763ec]
- Updated dependencies [8350109ab]
- Updated dependencies [7b200af49]
- Updated dependencies [988a299c0]
- Updated dependencies [ecb60da48]
- Updated dependencies [deac67c1c]
- Updated dependencies [b3a3dcdf4]
- Updated dependencies [1dc28ab46]
- Updated dependencies [83e9d0846]
- Updated dependencies [244de5ea3]
- Updated dependencies [791c49807]
- Updated dependencies [935b0886e]
- Updated dependencies [93d05c868]
- Updated dependencies [ea4933655]
- Updated dependencies [7f6a64f43]
- Updated dependencies [a9fe242be]
- Updated dependencies [448e02e93]
- Updated dependencies [2671e7aa5]
- Updated dependencies [799abc281]
- Updated dependencies [4aaf5103d]
- Updated dependencies [a68eb3083]
- Updated dependencies [2de442b24]
- Updated dependencies [15af02a83]
- Updated dependencies [db18787c4]
- Updated dependencies [7f833da9e]
- Updated dependencies [de6519daa]
- Updated dependencies [e6ecbaa2f]
- Updated dependencies [ef2325dcc]
- Updated dependencies [6a769771c]
- Updated dependencies [fc3ffd880]
- Updated dependencies [8b6b094b9]
- Updated dependencies [bab2e7e05]
- Updated dependencies [71663c568]
- Updated dependencies [a6b893d28]
- Updated dependencies [02976d494]
- Updated dependencies [492b8a7b1]
- Updated dependencies [8e5c881c4]
- Updated dependencies [9e99eb727]
- Updated dependencies [034c47ccb]
- Updated dependencies [cfea3d9c0]
- Updated dependencies [e5c989a03]
- Updated dependencies [ff08fe237]
- Updated dependencies [7ecd6f6ab]
- Updated dependencies [12f3c5c55]
- Updated dependencies [c776f86fb]
- Updated dependencies [90aa2ea9c]
- Updated dependencies [ee57f21ac]
- Updated dependencies [1e98187b4]
- Updated dependencies [7bffc47cb]
- Updated dependencies [a605335e1]
- Updated dependencies [2e77cd737]
- Updated dependencies [2964f8a47]
- Updated dependencies [7af0949ae]
- Updated dependencies [97407d8aa]
- Updated dependencies [2a22aade8]
- Updated dependencies [63dfe8dc9]
- Updated dependencies [ae3a6683a]
- Updated dependencies [e921af259]
- Updated dependencies [d08ec6d8f]
- Updated dependencies [6e54b1b59]
- Updated dependencies [8aea39cd6]
- Updated dependencies [dd5703013]
- Updated dependencies [5f58a2274]
- Updated dependencies [5f58a2274]
- Updated dependencies [03079579d]
- Updated dependencies [c22cd5214]
- Updated dependencies [52ff8fe6b]
- Updated dependencies [c9e0f68af]
- Updated dependencies [86d52fb5c]
- Updated dependencies [fe2607b6f]
- Updated dependencies [c7e6d00f5]
- Updated dependencies [8cc45d2af]
- Updated dependencies [797e327e0]
- Updated dependencies [ab4eb56a5]
- Updated dependencies [a9fe242be]
- Updated dependencies [97407d8aa]
- Updated dependencies [12962bc58]
- Updated dependencies [7cb1241a9]
- Updated dependencies [9615e6cda]
- Updated dependencies [0ec3a146c]
- Updated dependencies [4bb57057e]
- Updated dependencies [c86f73be3]
- Updated dependencies [bad4de1a2]
- Updated dependencies [d4ff346dd]
- Updated dependencies [7644b7472]
- Updated dependencies [2ec9f6b09]
- Updated dependencies [2e4a43017]
- Updated dependencies [f98e480b1]
- Updated dependencies [66b283653]
- Updated dependencies [1affbb22a]
- Updated dependencies [46040a2f3]
- Updated dependencies [cace85374]
- Updated dependencies [f5fb63cf1]
- Updated dependencies [1ad910eb9]
- Updated dependencies [8daf8451c]
- Updated dependencies [f58a9949b]
- Updated dependencies [4aaf5103d]
- Updated dependencies [75ea300bc]
- Updated dependencies [d22e6164d]
- Updated dependencies [e1f7eae87]
- Updated dependencies [7f751c4ef]
- Updated dependencies [4fced88ac]
- Updated dependencies [f5d55bb1f]
- Updated dependencies [18c0d015d]
- Updated dependencies [0d1052ac2]
- Updated dependencies [d30ea1faa]
- Updated dependencies [e9841dd91]
- Updated dependencies [e7e2a1eae]
- Updated dependencies [1fd2eff38]
- Updated dependencies [5471c7e8d]
- Updated dependencies [a6308c67e]
- Updated dependencies [0ce0edc28]
- Updated dependencies [477170962]
- Updated dependencies [9b02c1aae]
- Updated dependencies [051833167]
- Updated dependencies [59f9a7296]
- Updated dependencies [b4e79c1b9]
- Updated dependencies [38d8b3e8a]
- Updated dependencies [be991365e]
- Updated dependencies [8350f73a6]
- Updated dependencies [d6a7ea61a]
- Updated dependencies [e0e79b4fe]
- Updated dependencies [e602d6c1f]
- Updated dependencies [142ded732]
- Updated dependencies [3c4209068]
- Updated dependencies [fb794ce7b]
- Updated dependencies [e6fc58ae4]
- Updated dependencies [6fffd3b54]
- Updated dependencies [a6451aece]
- Updated dependencies [987994909]
- Updated dependencies [40ac4b645]
- Updated dependencies [1bea9c200]
- Updated dependencies [6f755addd]
- Updated dependencies [844847e0b]
- Updated dependencies [6eab66050]
- Updated dependencies [db2d82901]
- Updated dependencies [c2b982749]
- @clerk/backend@1.0.0
- @clerk/shared@2.0.0
- @clerk/clerk-react@5.0.0
- Updated dependencies []:
- @clerk/clerk-react@5.0.0-beta.41
- Updated dependencies [
bab2e7e05
]:- @clerk/shared@2.0.0-beta.23
- @clerk/backend@1.0.0-beta.37
- @clerk/clerk-react@5.0.0-beta.40
-
Automatically infer the path for where the component is mounted. (#3104) by @octoper
-
Updated dependencies [
ff08fe237
,f98e480b1
,142ded732
,fb794ce7b
,e6fc58ae4
]:- @clerk/clerk-react@5.0.0-beta.39
- @clerk/backend@1.0.0-beta.36
- @clerk/shared@2.0.0-beta.22
- Updated dependencies [
7cb1241a9
]:- @clerk/backend@1.0.0-beta.35
- @clerk/clerk-react@5.0.0-beta.38
- Updated dependencies [
ecb60da48
]:- @clerk/backend@1.0.0-beta.34
- @clerk/clerk-react@5.0.0-beta.37
- Updated dependencies []:
- @clerk/clerk-react@5.0.0-beta.36
-
Resolve Vercel edge-runtime "TypeError: Failed to parse URL" when
@clerk/remix
is used (#3129) by @nikosdouvlis -
Updated dependencies [
63dfe8dc9
,d22e6164d
]:- @clerk/backend@1.0.0-beta.33
- @clerk/clerk-react@5.0.0-beta.35
- Updated dependencies [
fc3ffd880
,1fd2eff38
,987994909
,1bea9c200
]:- @clerk/shared@2.0.0-beta.21
- @clerk/backend@1.0.0-beta.32
- @clerk/clerk-react@5.0.0-beta.34
- Updated dependencies [
988a299c0
]:- @clerk/backend@1.0.0-beta.31
- Updated dependencies [
8350109ab
]:- @clerk/shared@2.0.0-beta.20
- @clerk/backend@1.0.0-beta.30
- @clerk/clerk-react@5.0.0-beta.33
- Updated dependencies []:
- @clerk/clerk-react@5.0.0-beta.32
- Updated dependencies [
8c23651b8
,9272006e7
,2671e7aa5
,66b283653
]:- @clerk/backend@1.0.0-beta.29
- @clerk/clerk-react@5.0.0-beta.31
- Expose debug headers in response for handshake / signed-out states from SDKs using headers returned from
authenticateRequest()
(#2898) by @dimkl
-
Replace
response.clone()
withnew Response(response.body, response)
to avoid creating multiple branches of a single stream on Cloudflare workers (issue reference). (#2953) by @octoper -
Updated dependencies [
2964f8a47
]:- @clerk/backend@1.0.0-beta.28
- Updated dependencies [
c86f73be3
]:- @clerk/clerk-react@5.0.0-beta.30
- Updated dependencies [
8350f73a6
]:- @clerk/shared@2.0.0-beta.19
- @clerk/backend@1.0.0-beta.27
- @clerk/clerk-react@5.0.0-beta.29
- Updated dependencies []:
- @clerk/clerk-react@5.0.0-beta.28
- Updated dependencies [
e5c989a03
,2ec9f6b09
]:- @clerk/shared@2.0.0-beta.18
- @clerk/backend@1.0.0-beta.26
- @clerk/clerk-react@5.0.0-beta.27
-
Correctly get environment variables inside Cloudflare Pages by accessing
context.cloudflare
(#2844) by @arjunyel -
Updated dependencies [
18c0d015d
]:- @clerk/clerk-react@5.0.0-beta.26
- Updated dependencies []:
- @clerk/clerk-react@5.0.0-beta.25
- Updated dependencies [
1834a3ee4
,15af02a83
]:- @clerk/shared@2.0.0-beta.17
- @clerk/backend@1.0.0-beta.25
- @clerk/clerk-react@5.0.0-beta.24
- Updated dependencies [
db18787c4
]:- @clerk/shared@2.0.0-beta.16
- @clerk/backend@1.0.0-beta.24
- @clerk/clerk-react@5.0.0-beta.23
- Updated dependencies [
6eab66050
]:- @clerk/shared@2.0.0-beta.15
- @clerk/backend@1.0.0-beta.23
- @clerk/clerk-react@5.0.0-beta.22
- Updated dependencies [
12f3c5c55
]:- @clerk/shared@2.0.0-beta.14
- @clerk/backend@1.0.0-beta.22
- @clerk/clerk-react@5.0.0-beta.21
- Updated dependencies [
051833167
]:- @clerk/backend@1.0.0-beta.21
- @clerk/clerk-react@5.0.0-beta.20
-
Rename beta-v5 to beta by @nikosdouvlis
-
Updated dependencies [
2de442b24
]:- @clerk/backend@1.0.0-beta.20
- @clerk/clerk-react@5.0.0-beta.19
- @clerk/shared@2.0.0-beta.13
-
Expose resources types (#2660) by @panteliselef
-
Export
EmailLinkErrorCode
from/errors
module (#2732) by @nikosdouvlis -
Introduce
/errors
module. This path exports all error-related APIs such asisClerkAPIResponseError
,isEmailLinkError
,isKnownError
,isMetamaskError
,EmailLinkErrorCode
(#2732) by @nikosdouvlis -
Updated dependencies [
6ac9e717a
,966b31205
,a8901be64
,7b200af49
,244de5ea3
,034c47ccb
,ee57f21ac
,1affbb22a
,8daf8451c
,7f751c4ef
,4fced88ac
,be991365e
,c2b982749
]:- @clerk/clerk-react@5.0.0-beta-v5.18
- @clerk/backend@1.0.0-beta-v5.19
- @clerk/shared@2.0.0-beta-v5.12
- Updated dependencies [
8e5c881c4
,d4ff346dd
,a6308c67e
]:- @clerk/backend@1.0.0-beta-v5.18
- @clerk/shared@2.0.0-beta-v5.11
- @clerk/clerk-react@5.0.0-beta-v5.17
-
Fix adding
user
/sessions
/organization
resources into request. (#2598) by @dimkl -
Updated dependencies [
3a2f13604
,9e99eb727
,6fffd3b54
]:- @clerk/backend@1.0.0-alpha-v5.17
-
Replace the
Clerk-Backend-SDK
header withUser-Agent
in BAPI requests and update it's value to contain both the package name and the package version of the clerk package (#2558) by @dimklexecuting the request. Eg request from
@clerk/nextjs
to BAPI with appendUser-Agent: @clerk/nextjs@5.0.0-alpha-v5.16
using the latest version.Miscellaneous changes: The backend test build changed to use tsup.
- Updated dependencies [
799abc281
,8cc45d2af
,b4e79c1b9
,db2d82901
]:- @clerk/backend@1.0.0-alpha-v5.15
- @clerk/clerk-react@5.0.0-alpha-v5.16
- @clerk/shared@2.0.0-alpha-v5.10
- Updated dependencies [
448e02e93
,e6ecbaa2f
,e921af259
,e9841dd91
,59f9a7296
]:- @clerk/backend@1.0.0-alpha-v5.14
- @clerk/clerk-react@5.0.0-alpha-v5.15
-
Fix property
Page
/Link
missing from theUserProfile
/OrganizationProfile
(#2508) by @dimklwhen imported from
@clerk/nextjs
or@clerk/remix
. -
Updated dependencies [
1dc28ab46
,ea4933655
,38d8b3e8a
]:- @clerk/shared@2.0.0-alpha-v5.9
- @clerk/backend@1.0.0-alpha-v5.13
- @clerk/clerk-react@5.0.0-alpha-v5.14
- Updated dependencies [
7ecd6f6ab
]:- @clerk/shared@2.0.0-alpha-v5.8
- @clerk/backend@1.0.0-alpha-v5.12
- @clerk/clerk-react@5.0.0-alpha-v5.13
-
Path-based routing is now the default routing strategy if the
path
prop is filled. Additionally, if thepath
androuting
props are not filled, an error will be thrown. (#2338) by @octoper// Without path or routing props, an error with be thrown <UserProfile /> <CreateOrganization /> <OrganizationProfile /> <SignIn /> <SignUp /> // Alternative #1 <UserProfile path="/whatever"/> <CreateOrganization path="/whatever"/> <OrganizationProfile path="/whatever"/> <SignIn path="/whatever"/> <SignUp path="/whatever"/> // Alternative #2 <UserProfile routing="hash_or_virtual"/> <CreateOrganization routing="hash_or_virtual"/> <OrganizationProfile routing="hash_or_virtual"/> <SignIn routing="hash_or_virtual"/> <SignUp routing="hash_or_virtual"/>
- Updated dependencies [
f4f99f18d
,cfea3d9c0
,fe2607b6f
,bad4de1a2
,2e4a43017
,f5fb63cf1
,e7e2a1eae
]:- @clerk/backend@1.0.0-alpha-v5.11
- @clerk/clerk-react@5.0.0-alpha-v5.12
-
Update
@clerk/remix
'srootAuthLoader
andgetAuth
helpers to handle handshake auth status, this replaces the previous interstitial flow. As a result of this, theClerkErrorBoundary
is no longer necessary and has been removed. (#2380) by @BRKalowTo migrate, remove usage of
ClerkErrorBoundary
:- import { ClerkApp, ClerkErrorBoundary } from "@clerk/remix"; + import { ClerkApp } from "@clerk/remix"; ... - export const ErrorBoundary = ClerkErrorBoundary();
-
Changes in exports of
@clerk/backend
: (#2363) by @dimkl- Expose the following helpers and enums from
@clerk/backend/internal
:import { AuthStatus, buildRequestUrl, constants, createAuthenticateRequest, createIsomorphicRequest, debugRequestState, makeAuthObjectSerializable, prunePrivateMetadata, redirect, sanitizeAuthObject, signedInAuthObject, signedOutAuthObject, } from '@clerk/backend/internal';
- Drop the above exports from the top-level api:
Dropping those exports results in also dropping the exports from
// Before import { AuthStatus, ... } from '@clerk/backend'; // After import { AuthStatus, ... } from '@clerk/backend/internal';
gatsby-plugin-clerk
,@clerk/clerk-sdk-node
,@clerk/backend
,@clerk/fastify
,@clerk/nextjs
,@clerk/remix
packages.
- Expose the following helpers and enums from
-
Changes in exports of
@clerk/backend
: (#2365) by @dimkl- Drop the following internal exports from the top-level api:
Dropping those exports results in also dropping the exports from
// Before import { AllowlistIdentifier, Client, DeletedObject, Email, EmailAddress, ExternalAccount, IdentificationLink, Invitation, OauthAccessToken, ObjectType, Organization, OrganizationInvitation, OrganizationMembership, OrganizationMembershipPublicUserData, PhoneNumber, RedirectUrl, SMSMessage, Session, SignInToken, Token, User, Verification, } from '@clerk/backend'; // After : no alternative since there is no need to use those classes
gatsby-plugin-clerk
,@clerk/clerk-sdk-node
,@clerk/backend
,@clerk/fastify
,@clerk/nextjs
,@clerk/remix
packages. - Keep those 3 resource related type exports
import type { Organization, Session, User, WebhookEvent, WebhookEventType } from '@clerk/backend';
- Drop the following internal exports from the top-level api:
- Updated dependencies [
2a67f729d
,a9fe242be
,1e98187b4
,d08ec6d8f
,5f58a2274
,5f58a2274
,a9fe242be
,0ec3a146c
,1ad910eb9
,f58a9949b
,9b02c1aae
]:- @clerk/clerk-react@5.0.0-alpha-v5.11
- @clerk/backend@1.0.0-alpha-v5.10
- @clerk/shared@2.0.0-alpha-v5.7
- Updated dependencies [
e602d6c1f
]:- @clerk/backend@1.0.0-alpha-v5.9
-
-
Introduce
@clerk/clerk-react/errors
and@clerk/clerk-react/internal
subpath exports to expose some internal utilities. Eg (#2328) by @dimkl// Before import { __internal__setErrorThrowerOptions } from '@clerk/clerk-react'; // After import { setErrorThrowerOptions } from '@clerk/clerk-react/internal'; // Before import { isClerkAPIResponseError, isEmailLinkError, isKnownError, isMetamaskError } from '@clerk/clerk-react'; // After import { isClerkAPIResponseError, isEmailLinkError, isKnownError, isMetamaskError, } from '@clerk/clerk-react/errors'; // Before import { MultisessionAppSupport } from '@clerk/clerk-react'; // After import { MultisessionAppSupport } from '@clerk/clerk-react/internal';
-
Drop from the
@clerk/clerk-react
and all other clerk-react wrapper packages:__internal__setErrorThrowerOptions
internal utility (moved to /internal subpath)WithClerkProp
typeMultisessionAppSupport
component (moved to /internal subpath)EmailLinkErrorCode
enum
-
Drop
StructureContext
and related errors to reduce to reduce code complexity since it seems that it was not being used. -
Drop
withUser
,WithUser
,withClerk
HOFs andWithClerk
,withSession
,WithSession
HOCs from the@clerk/clerk-react
to reduce the export surface since it's trivial to implement if needed.
-
-
(Note: This is only relevant if, in the unlikely case, you are using
Clerk
from@clerk/remix
directly. If not, you can safely ignore this change.) (#2317) by @tmilewskiRemove the named
Clerk
import from@clerk/remix
and importcreateClerkClient
instead. The latter is a factory method to create a Clerk client instance for you. This update aligns usage across our SDKs and will enable us to ship DX improvements better in the future.import { Clerk } from '@clerk/remix'; const clerk = Clerk({ secretKey: '...' });
You need to rename the import from
Clerk
tocreateClerkClient
and change its usage:import { createClerkClient } from '@clerk/remix'; const clerk = createClerkClient({ secretKey: '...' });
- Updated dependencies [
896cb6104
,02976d494
,8aea39cd6
,86d52fb5c
,ab4eb56a5
,46040a2f3
,75ea300bc
,844847e0b
]:- @clerk/shared@2.0.0-alpha-v5.6
- @clerk/backend@1.0.0-alpha-v5.8
- @clerk/clerk-react@5.0.0-alpha-v5.10
- Limit TokenVerificationError exports to TokenVerificationError and TokenVerificationErrorReason (#2189) by @tmilewski
- Updated dependencies [
de6519daa
,7bffc47cb
,7af0949ae
,e1f7eae87
]:- @clerk/backend@1.0.0-alpha-v5.7
- @clerk/clerk-react@5.0.0-alpha-v5.9
-
Set correct information on required Node.js and React versions in README (#2264) by @LekoArts
-
Updated dependencies [
93d05c868
,a6b893d28
,2e77cd737
,d30ea1faa
]:- @clerk/backend@1.0.0-alpha-v5.6
- @clerk/clerk-react@5.0.0-alpha-v5.8
- @clerk/shared@2.0.0-alpha-v5.5
- Updated dependencies [
4b8bedc66
,c776f86fb
,6e54b1b59
,c9e0f68af
,d6a7ea61a
]:- @clerk/shared@2.0.0-alpha-v5.4
- @clerk/clerk-react@5.0.0-alpha-v5.7
- @clerk/backend@1.0.0-alpha-v5.5
- Use the new
routerPush
androuterReplace
props for<ClerkProvider />
instead ofnavigate
. (#1304) by @desiprisg
- Updated dependencies []:
- @clerk/clerk-react@5.0.0-alpha-v5.6
- Updated dependencies [
03079579d
,12962bc58
]:- @clerk/backend@1.0.0-alpha-v5.4
- @clerk/clerk-react@5.0.0-alpha-v5.5
-
-
By default, all the components with routing will have the
routing
prop assigned as'path'
by default when thepath
prop is filled. (#1957) by @octoper -
The
<UserButton />
component will set the default value of theuserProfileMode
prop to'navigation'
if theuserProfileUrl
prop is provided. -
The
<OrganizationSwitcher />
component will have theorganizationProfileMode
andcreateOrganizationMode
props assigned with'navigation'
by default if theorganizationProfileUrl
andcreateOrganizationUrl
props are filled accordingly.
-
- Updated dependencies [
7f6a64f43
]:- @clerk/clerk-react@5.0.0-alpha-v5.4
-
Upgrade React version to >=18 and add react-dom as peer dependency (#2164) by @dimkl
to fix issues with vite & rollup building.
-
Introduces telemetry collection from Clerk's SDKs. Collected telemetry will be used to gain insights into product usage and help drive roadmap priority. For more information, see https://clerk.com/docs/telemetry. (#2154) by @BRKalow
-
Updated dependencies [
b3a3dcdf4
,4aaf5103d
,52ff8fe6b
,4bb57057e
,4aaf5103d
,0ce0edc28
,40ac4b645
]:- @clerk/backend@1.0.0-alpha-v5.3
- @clerk/shared@2.0.0-alpha-v5.3
- @clerk/clerk-react@5.0.0-alpha-v5.3
- Updated dependencies [
c2a090513
]:- @clerk/backend@1.0.0-alpha-v5.2
- @clerk/shared@2.0.0-alpha-v5.2
- @clerk/clerk-react@5.0.0-alpha-v5.2
-
Drop deprecations. Migration steps: (#2109) by @dimkl
- drop
orgs
jwt claim from session token - change type of
auth
param ofwithServerAuth()
callback toAuthObject
fromServerSideAuth
ingatsby-clerk-plugin
- use
auth.sessionClaims
instead ofauth.claims
- use
AuthObject
properties fromauth
- use
- use
publishableKey
instead offrontendApi
- use
ClerkProviderOptionsWrapper
type instead ofIsomorphicClerkOptions
- drop
- Updated dependencies [
64d3763ec
,deac67c1c
,83e9d0846
,7f833da9e
,492b8a7b1
,2a22aade8
,dd5703013
,9615e6cda
,cace85374
,0d1052ac2
,5471c7e8d
,477170962
,e0e79b4fe
,3c4209068
,a6451aece
]:- @clerk/shared@2.0.0-alpha-v5.1
- @clerk/backend@1.0.0-alpha-v5.1
- @clerk/clerk-react@5.0.0-alpha-v5.1
-
Drop deprecations. Migration steps: (#2022) by @dimkl
- use
CLERK_SECRET_KEY
instead ofCLERK_API_KEY
env variable - use
secretKey
instead ofapiKey
- use
CLERK_PUBLISHABLE_KEY
instead ofCLERK_FRONTEND_API
env variable - use
publishableKey
instead offrontendApi
- use
-
Dropping support for Node 14 and 16 as they both reached EOL status. The minimal Node.js version required by Clerk is
18.18.0
now. (#1864) by @dimkl
-
Introduce
isTruthy
helper to better cast environment variables to a boolean. Previously only the string"true"
was checked, nowtrue
,"true"
,"1"
, and1
will work. (#2002) by @LekoArts -
Improve the default value for
CLERK_API_URL
by utilizing the publishable key to differentiate between local, staging and prod environments. (#1955) by @desiprisg -
Updated dependencies [
743c4d204
,791c49807
,a68eb3083
,ef2325dcc
,8b6b094b9
,71663c568
,90aa2ea9c
,a605335e1
,97407d8aa
,ae3a6683a
,c22cd5214
,c7e6d00f5
,797e327e0
,97407d8aa
,7644b7472
,f5d55bb1f
,6f755addd
]:- @clerk/shared@2.0.0-alpha-v5.0
- @clerk/backend@1.0.0-alpha-v5.0
- @clerk/clerk-react@5.0.0-alpha-v5.0
- Support usage of Remix's
defer()
method in the loader passed torootAuthLoader()
. (#1926) by @BRKalow
-
Publish packages with npm provenance enabled (#1891) by @LekoArts
-
Updated dependencies [
3bf64107e
,52f8553d2
,92727eec3
,b09b66eec
,51861addf
,37d8856ba
,aa4cd7615
]:- @clerk/backend@0.31.3
- @clerk/shared@1.0.0
- @clerk/clerk-react@4.27.0
- @clerk/types@3.57.0
- Updated dependencies [
9ca215702
]:- @clerk/types@3.56.1
- @clerk/backend@0.31.2
- @clerk/clerk-react@4.26.6
-
Internal improvements for retrieving environment variables. (#1862) by @octoper
-
Updated dependencies [
35be8709d
,13e9dfbaa
,e38488c92
,a11f962bc
,9b644d799
,a9894b445
,834dadb36
,70f251007
,a46d6fe99
]:- @clerk/types@3.56.0
- @clerk/backend@0.31.1
- @clerk/shared@0.24.5
- @clerk/clerk-react@4.26.5
-
Warn about environment variables deprecations: (#1859) by @dimkl
CLERK_API_KEY
CLERK_FRONTEND_API
NEXT_PUBLIC_CLERK_FRONTEND_API
-
Introduce a new property on the core Clerk singleton,
sdkMetadata
. This will be populated by each host SDK. This metadata will be used to make logging and debugging easier. (#1857) by @BRKalow -
Updated dependencies [
977336f79
,997b8e256
,91e9a55f4
,c9b17f5a7
,91014880d
,3848f8dbe
,7f4d4b942
]:- @clerk/shared@0.24.4
- @clerk/clerk-react@4.26.4
- @clerk/types@3.55.0
- @clerk/backend@0.31.0
-
Make
types
the first key in allexports
maps defined in our packages'package.json
. The TypeScript docs recommends so, as the theexports
map is order-based. by @nikosdouvlis -
Updated dependencies [
1136c7c15
,1e212c19d
,1136c7c15
,1136c7c15
,1136c7c15
]:- @clerk/clerk-react@4.26.3
- @clerk/shared@0.24.3
- @clerk/backend@0.30.3
-
Pins the internal dependency versions. This ensures that users installing our main framework SDKs will get consistent versions across all @clerk/ packages. (#1798) by @BRKalow
-
Updated dependencies [
b59b6b75d
,fed24f1bf
,164f3aac7
,68259a2bb
,33e927c59
,0636ff779
,9514618d6
,bb2ec9373
,c7c6912f3
,71bb1c7b5
,e592565e0
]:- @clerk/types@3.54.0
- @clerk/backend@0.30.2
- @clerk/shared@0.24.2
- @clerk/clerk-react@4.26.2
- Updated dependencies [
cecf74d79
,a0b25671c
]:- @clerk/backend@0.30.1
- @clerk/shared@0.24.1
- @clerk/clerk-react@4.26.1
- Updated dependencies [
7ffa6fac3
,5c8754239
,14895e2dd
,2f6a6ac99
,2f6a6ac99
,94c36c755
,753f7bbda
,7406afe7f
,55c8ebd39
]:- @clerk/shared@0.24.0
- @clerk/clerk-react@4.26.0
- @clerk/types@3.53.0
- @clerk/backend@0.30.0
-
Ensure the interstitial properly fires on client-side route transitions. (#1720) by @BRKalow
-
Updated dependencies [
07ede0f95
,0eb666118
,3b85311c9
,ffcc78c06
,53ccb27cf
,c61ddf5bf
,0366e0b20
]:- @clerk/shared@0.23.1
- @clerk/clerk-react@4.25.2
- @clerk/types@3.52.1
- @clerk/backend@0.29.3
-
Remix released its second major version. Read their announcement blogpost and upgrade guide to learn more. (#1739) by @anagstef
Thus
@clerk/remix
was updated to support Remix^2.0.0
and later. If you want/need to continue using Remix^1.0.0
, keep using the previous major@clerk/remix
version.Breaking changes:
- Renamed
V2_ClerkErrorBoundary
toClerkErrorBoundary
- Removed
ClerkCatchBoundary
Migration guide:
-
Rename
V2_ClerkErrorBoundary
toClerkErrorBoundary
- import { ClerkApp, V2_ClerkErrorBoundary } from "@clerk/remix"; + import { ClerkApp, ClerkErrorBoundary } from "@clerk/remix"; - export const ErrorBoundary = V2_ClerkErrorBoundary(); + export const ErrorBoundary = ClerkErrorBoundary();
-
Replace
ClerkCatchBoundary
withClerkErrorBoundary
. If you usedV2_ClerkErrorBoundary
you can skip this step.- import { ClerkApp, ClerkCatchBoundary } from '@clerk/remix'; + import { ClerkApp, ClerkErrorBoundary } from "@clerk/remix"; - export const CatchBoundary = ClerkCatchBoundary(); + export const ErrorBoundary = ClerkErrorBoundary();
- Renamed
- Updated dependencies [
40ea407ad
,378a903ac
,6706b154c
,27b611e47
,4d0d90238
,086a2e0b7
]:- @clerk/backend@0.29.2
- @clerk/shared@0.23.0
- @clerk/clerk-react@4.25.1
-
Change
README
to include updated links to issue templates and update Discord link. (#1750) by @LekoArts -
Adjust return type of
rootAuthLoader
's callback to allow returningnull
. (#1704) by @BRKalow -
Updated dependencies [
e99df0a0d
,4327b91f9
,8b9a7a360
,30bb9eccb
,75be1d6b3
,01b024c57
]:- @clerk/clerk-react@4.25.0
- @clerk/types@3.52.0
- @clerk/backend@0.29.1
- @clerk/shared@0.22.1
- Updated dependencies [
463ff84f5
,e6a388946
,1426e5eb3
]:- @clerk/types@3.51.0
- @clerk/backend@0.29.0
- @clerk/clerk-react@4.24.2
- Configure sign in/up and afterSignIn/Up paths for remix via env variables. (#1470) by @desiprisg
- Updated dependencies [
96cc1921c
,8d1e7d76d
,435d2cff5
,8873841fc
,0a5f632f8
,34da40a50
,3158752c7
,8538cd0c1
,a412a5014
,4ea30e883
,86de584dd
,e02a1aff2
,09bfb793e
,b2296d630
,52ce79108
,4764e40c7
,1e117beec
,30fcdd51a
,89bc5de04
]:- @clerk/shared@0.22.0
- @clerk/types@3.50.0
- @clerk/clerk-react@4.24.0
- @clerk/backend@0.28.0
- Updated dependencies [
ea95525a4
,24a46ae7e
,d433b83b9
,5e1a09df4
,876777cb1
,0a59e122d
]:- @clerk/backend@0.27.0
- @clerk/types@3.49.0
- @clerk/shared@0.21.0
- @clerk/clerk-react@4.23.2
- Support hosting NextJs apps on non-Vercel platforms by constructing req.url using host-related headers instead of using on req.url directly. CLERK_TRUST_HOST is now enabled by default. (#1492) by @dimkl
- Updated dependencies [
6fa4768dc
,4ff4b716f
]:- @clerk/types@3.48.1
- @clerk/backend@0.26.0
- @clerk/clerk-react@4.23.1
- Updated dependencies [
2a9d83280
]:- @clerk/clerk-react@4.23.0
- @clerk/types@3.48.0
- @clerk/backend@0.25.1
-
Introduce
createIsomorphicRequest
in@clerk/backend
(#1393) by @anagstefThis utility simplifies the
authenticateRequest
signature, and it makes it easier to integrate with more frameworks.
- Updated dependencies [
16c3283ec
,73c9c1d0e
,ae9fc247a
,1a151e701
,e3036848d
,fd692af79
,090bab66e
,5ecbb0a37
,bb0d69b45
,592911196
,dd10ebeae
]:- @clerk/backend@0.25.0
- @clerk/types@3.47.0
- @clerk/shared@0.20.0
- @clerk/clerk-react@4.22.1
- Updated dependencies [
2ad7cf390
,f6b77a1a3
,f0b044c47
]:- @clerk/backend@0.24.0
- @clerk/clerk-react@4.22.0
- Updated dependencies [
3fee736c9
,968d9c265
,ac4e47274
,5957a3da6
]:- @clerk/backend@0.23.7
- @clerk/clerk-react@4.21.1
- Updated dependencies [
1e71b60a2
]:- @clerk/clerk-react@4.21.0
- Updated dependencies [
30f8ad18a
]:- @clerk/types@3.46.1
- @clerk/backend@0.23.6
- @clerk/clerk-react@4.20.6
- Updated dependencies [
bfb3af28
]:- @clerk/types@3.46.0
- @clerk/backend@0.23.5
- @clerk/clerk-react@4.20.5
- Updated dependencies [
11954816
,de2347f9
,32148490
]:- @clerk/types@3.45.0
- @clerk/backend@0.23.4
- @clerk/clerk-react@4.20.4
- Updated dependencies [
17cc14ec
]:- @clerk/types@3.44.0
- @clerk/backend@0.23.3
- @clerk/clerk-react@4.20.3
- Updated dependencies [
9651658c
,4e1bb2bd
]:- @clerk/types@3.43.0
- @clerk/backend@0.23.2
- @clerk/clerk-react@4.20.2
- Updated dependencies [
59bc649a
]:- @clerk/shared@0.19.1
- @clerk/clerk-react@4.20.1
-
Allow
clerkJSVersion
to be passed when loading interstitial. Support for (#1354) by @panteliselef- Nextjs
- Remix
- Node
-
Updated dependencies [
b945c921
]:- @clerk/backend@0.23.1
-
Support
audience
parameter in authentication request (#1004) by @dimklThe audience parameter is used to verify the the aud claim in the request matches the value of the parameter or is included (when the user provides a list).
Resolves:
-
Updated dependencies [
7af91bc3
,c42b4ac0
,6f3d4305
,010484f4
]:- @clerk/shared@0.19.0
- @clerk/clerk-react@4.20.0
- @clerk/types@3.42.0
- @clerk/backend@0.23.0
-
ESM/CJS support for
@clerk/clerk-react
by @nikosdouvlisChanges that should affect users and OS contributors:
- Better source map support for
@clerk/clerk-react
,@clerk/shared
. This affects anyone developing in our monorepo or anyone using a debugger with Clerk installed in their app. - Easier node_modules debugging as
@clerk/clerk-react
,@clerk/shared
and@clerk/nextjs
are no longer getting bundled as a single-file package. This also improves error logging in nextjs a lot, as nextjs usually logs the line that threw the error - a minified, single-file package, usually consists of a very long single-line module, so logging error in NextJS wasn't ideal. - Headless clerk-js bundle size reduced by ~10kb, normal clerk-ks by ~6kb
- A new
clerkJSVersion
prop has been added on ClerkProvider allowing to fetch a specific clerk-js version.
- Better source map support for
-
Updated dependencies [
b66ea0a5
,b66ea0a5
,b66ea0a5
,b66ea0a5
,b66ea0a5
,b66ea0a5
,b66ea0a5
,b66ea0a5
]:- @clerk/backend@0.22.0
- @clerk/types@3.41.1
- @clerk/shared@0.18.0
- @clerk/clerk-react@4.19.0
2.6.0 (2023-05-15)
Note: Version bump only for package @clerk/remix
2.5.6 (2023-05-04)
Note: Version bump only for package @clerk/remix
2.5.6-staging.5 (2023-05-04)
Note: Version bump only for package @clerk/remix
2.5.6-staging.3 (2023-05-02)
Note: Version bump only for package @clerk/remix
2.5.5 (2023-04-19)
Note: Version bump only for package @clerk/remix
2.5.4 (2023-04-19)
Note: Version bump only for package @clerk/remix
2.5.3 (2023-04-12)
Note: Version bump only for package @clerk/remix
2.5.2 (2023-04-11)
Note: Version bump only for package @clerk/remix
2.5.1 (2023-04-06)
Note: Version bump only for package @clerk/remix
2.5.0 (2023-03-31)
Note: Version bump only for package @clerk/remix
2.5.0-staging.3 (2023-03-31)
Note: Version bump only for package @clerk/remix
2.5.0-staging.0 (2023-03-31)
- remix: Support new env var CLERK_SIGN_IN_URL (a64689e)
2.4.0 (2023-03-29)
Note: Version bump only for package @clerk/remix
2.2.11 (2023-03-10)
Note: Version bump only for package @clerk/remix
2.2.10 (2023-03-09)
Note: Version bump only for package @clerk/remix
2.2.9 (2023-03-07)
Note: Version bump only for package @clerk/remix
2.2.8 (2023-03-03)
Note: Version bump only for package @clerk/remix
2.2.7 (2023-03-01)
Note: Version bump only for package @clerk/remix
2.2.6 (2023-02-25)
Note: Version bump only for package @clerk/remix
2.2.5 (2023-02-24)
Note: Version bump only for package @clerk/remix
2.2.5-staging.4 (2023-02-22)
Note: Version bump only for package @clerk/remix
2.2.4 (2023-02-17)
Note: Version bump only for package @clerk/remix
2.2.3 (2023-02-15)
Note: Version bump only for package @clerk/remix
2.2.2 (2023-02-10)
Note: Version bump only for package @clerk/remix
2.2.1 (2023-02-07)
Note: Version bump only for package @clerk/remix
2.2.1-staging.0 (2023-02-07)
Note: Version bump only for package @clerk/remix
2.2.0 (2023-02-07)
Note: Version bump only for package @clerk/remix
2.1.0 (2023-02-01)
Note: Version bump only for package @clerk/remix
2.0.6 (2023-01-27)
Note: Version bump only for package @clerk/remix
2.0.5 (2023-01-24)
Note: Version bump only for package @clerk/remix
2.0.4 (2023-01-20)
Note: Version bump only for package @clerk/remix
2.0.3 (2023-01-19)
Note: Version bump only for package @clerk/remix
2.0.2 (2023-01-18)
Note: Version bump only for package @clerk/remix
2.0.1 (2023-01-17)
Note: Version bump only for package @clerk/remix
2.0.0 (2023-01-17)
Note: Version bump only for package @clerk/remix
1.4.8 (2022-12-23)
Note: Version bump only for package @clerk/remix
1.4.7 (2022-12-19)
Note: Version bump only for package @clerk/remix
1.4.6 (2022-12-13)
Note: Version bump only for package @clerk/remix
1.4.5 (2022-12-12)
Note: Version bump only for package @clerk/remix
1.4.4 (2022-12-09)
Note: Version bump only for package @clerk/remix
1.4.3 (2022-12-08)
Note: Version bump only for package @clerk/remix
1.4.2 (2022-12-08)
Note: Version bump only for package @clerk/remix
1.4.1 (2022-12-02)
Note: Version bump only for package @clerk/remix
1.4.0 (2022-11-30)
Note: Version bump only for package @clerk/remix
1.4.0-staging.5 (2022-11-29)
Note: Version bump only for package @clerk/remix
1.3.18 (2022-11-25)
Note: Version bump only for package @clerk/remix
1.3.17 (2022-11-25)
Note: Version bump only for package @clerk/remix
1.3.16 (2022-11-23)
Note: Version bump only for package @clerk/remix
1.3.15 (2022-11-22)
Note: Version bump only for package @clerk/remix
1.3.15-staging.3 (2022-11-21)
Note: Version bump only for package @clerk/remix
1.3.15-staging.2 (2022-11-21)
Note: Version bump only for package @clerk/remix
1.3.14 (2022-11-18)
Note: Version bump only for package @clerk/remix
1.3.13 (2022-11-15)
Note: Version bump only for package @clerk/remix
1.3.12 (2022-11-10)
Note: Version bump only for package @clerk/remix
1.3.11 (2022-11-05)
Note: Version bump only for package @clerk/remix
1.3.10 (2022-11-03)
Note: Version bump only for package @clerk/remix
1.3.10-staging.4 (2022-11-02)
Note: Version bump only for package @clerk/remix
1.3.10-staging.3 (2022-11-02)
Note: Version bump only for package @clerk/remix
1.3.10-staging.2 (2022-11-02)
Note: Version bump only for package @clerk/remix
1.3.10-staging.1 (2022-11-02)
Note: Version bump only for package @clerk/remix
1.3.9 (2022-10-24)
Note: Version bump only for package @clerk/remix
1.3.8 (2022-10-14)
Note: Version bump only for package @clerk/remix
1.3.7 (2022-10-14)
Note: Version bump only for package @clerk/remix
1.3.7-staging.1 (2022-10-13)
Note: Version bump only for package @clerk/remix
1.3.6 (2022-10-07)
Note: Version bump only for package @clerk/remix
1.3.5 (2022-10-05)
Note: Version bump only for package @clerk/remix
1.3.4 (2022-10-03)
Note: Version bump only for package @clerk/remix
1.3.3 (2022-09-29)
Note: Version bump only for package @clerk/remix
1.3.2 (2022-09-25)
Note: Version bump only for package @clerk/remix
1.3.1 (2022-09-24)
Note: Version bump only for package @clerk/remix
1.3.1-staging.1 (2022-09-24)
Note: Version bump only for package @clerk/remix
1.3.0 (2022-09-22)
Note: Version bump only for package @clerk/remix
1.2.1 (2022-09-19)
Note: Version bump only for package @clerk/remix
1.2.0 (2022-09-16)
Note: Version bump only for package @clerk/remix
1.1.7 (2022-09-08)
Note: Version bump only for package @clerk/remix
1.1.6 (2022-09-07)
Note: Version bump only for package @clerk/remix
1.1.5 (2022-09-07)
Note: Version bump only for package @clerk/remix
1.1.4 (2022-09-05)
Note: Version bump only for package @clerk/remix
1.1.3 (2022-08-29)
Note: Version bump only for package @clerk/remix
1.1.2 (2022-08-29)
Note: Version bump only for package @clerk/remix
1.1.1 (2022-08-24)
Note: Version bump only for package @clerk/remix
1.1.0 (2022-08-18)
Note: Version bump only for package @clerk/remix
1.0.5 (2022-08-18)
Note: Version bump only for package @clerk/remix
1.0.4 (2022-08-18)
Note: Version bump only for package @clerk/remix
1.0.3 (2022-08-16)
Note: Version bump only for package @clerk/remix
1.0.2 (2022-08-09)
Note: Version bump only for package @clerk/remix
1.0.1 (2022-08-07)
Note: Version bump only for package @clerk/remix
1.0.0 (2022-08-05)
Note: Version bump only for package @clerk/remix
0.5.14 (2022-08-05)
Note: Version bump only for package @clerk/remix
0.5.13 (2022-08-04)
Note: Version bump only for package @clerk/remix
0.5.12 (2022-07-26)
Note: Version bump only for package @clerk/remix
0.5.11 (2022-07-13)
Note: Version bump only for package @clerk/remix
0.5.10 (2022-07-11)
Note: Version bump only for package @clerk/remix
0.5.9 (2022-07-08)
Note: Version bump only for package @clerk/remix
0.5.8 (2022-07-07)
Note: Version bump only for package @clerk/remix
0.5.7 (2022-07-06)
Note: Version bump only for package @clerk/remix
0.5.6 (2022-07-04)
Note: Version bump only for package @clerk/remix
0.5.5 (2022-07-01)
Note: Version bump only for package @clerk/remix
0.5.4 (2022-07-01)
Note: Version bump only for package @clerk/remix
0.5.3 (2022-06-24)
- edge,nextjs,remix,clerk-sdk-node,types: Correct SSR claims typing (09c147c)
0.5.2 (2022-06-16)
Note: Version bump only for package @clerk/remix
0.5.1 (2022-06-06)
Note: Version bump only for package @clerk/remix
0.5.1-staging.4 (2022-06-03)
Note: Version bump only for package @clerk/remix
0.5.1-staging.3 (2022-06-03)
Note: Version bump only for package @clerk/remix
0.5.1-staging.2 (2022-06-02)
Note: Version bump only for package @clerk/remix
0.5.1-staging.1 (2022-06-01)
Note: Version bump only for package @clerk/remix
0.5.0 (2022-05-20)
Note: Version bump only for package @clerk/remix
0.5.0-staging.2 (2022-05-20)
Note: Version bump only for package @clerk/remix
0.5.0-staging.1 (2022-05-19)
Note: Version bump only for package @clerk/remix
0.5.0-staging.0 (2022-05-18)
0.4.5-staging.1 (2022-05-17)
Note: Version bump only for package @clerk/remix
0.4.5-staging.0 (2022-05-16)
Note: Version bump only for package @clerk/remix
0.4.4 (2022-05-13)
Note: Version bump only for package @clerk/remix
0.4.3 (2022-05-12)
Note: Version bump only for package @clerk/remix
0.4.2 (2022-05-12)
Note: Version bump only for package @clerk/remix
0.4.1 (2022-05-11)
Note: Version bump only for package @clerk/remix
0.4.0 (2022-05-06)
- nextjs,clerk-sdk-node,remix: Add claims attribute to req.auth (c695529)
0.3.17-staging.0 (2022-05-05)
Note: Version bump only for package @clerk/remix
0.3.16 (2022-05-05)
Note: Version bump only for package @clerk/remix
0.3.15 (2022-04-28)
- remix: Update interstitial logic (2f4a8ba)
0.3.14 (2022-04-27)
Note: Version bump only for package @clerk/remix
0.3.13 (2022-04-27)
Note: Version bump only for package @clerk/remix
0.3.12 (2022-04-22)
Note: Version bump only for package @clerk/remix
0.3.11 (2022-04-19)
Note: Version bump only for package @clerk/remix
0.3.11-staging.1 (2022-04-19)
Note: Version bump only for package @clerk/remix
0.3.10 (2022-04-18)
Note: Version bump only for package @clerk/remix
0.3.10-alpha.0 (2022-04-15)
- gatsby-plugin-clerk: Introduce basic structure (a1c215b)
0.3.9 (2022-04-15)
Note: Version bump only for package @clerk/remix
0.3.8 (2022-04-15)
Note: Version bump only for package @clerk/remix
0.3.7 (2022-04-13)
Note: Version bump only for package @clerk/remix
0.3.6 (2022-04-07)
- remix: Change status for interstitial responses to 401 (d6de232)
0.3.5 (2022-04-04)
Note: Version bump only for package @clerk/remix
0.3.4 (2022-03-29)
Note: Version bump only for package @clerk/remix
0.3.3 (2022-03-28)
Note: Version bump only for package @clerk/remix
0.3.2 (2022-03-24)
Note: Version bump only for package @clerk/remix
0.3.2-staging.1 (2022-03-24)
Note: Version bump only for package @clerk/remix
0.3.1-alpha.0 (2022-03-23)
Note: Version bump only for package @clerk/remix
0.3.0-alpha.2 (2022-03-23)
Note: Version bump only for package @clerk/remix
0.3.0-alpha.1 (2022-03-23)
- backend-core,clerk-sdk-node,nextjs,remix: Add injected jwtKey option (53e56e7)
0.3.0-alpha.0 (2022-03-22)
Note: Version bump only for package @clerk/remix
0.2.0-alpha.1 (2022-03-22)
Note: Version bump only for package @clerk/remix
0.2.0-alpha.0 (2022-03-22)
- nextjs,remix: Refactor remix and nextjs getAuthData to use common utils (d5f5dba)
- nextjs,remix: Make server getToken throw if called with no session (f7736c1)
0.1.1-alpha.1 (2022-03-20)
- nextjs,remix: Refactor remix and nextjs getAuthData to use common utils (d5f5dba)
- nextjs,remix: Make server getToken throw if called with no session (f7736c1)
0.1.1-alpha.0 (2022-03-19)
- nextjs,remix: Make server getToken throw if called with no session (f7736c1)
0.1.0-alpha.6 (2022-03-11)
- remix: Better server error handling (#95) (4046b29)
- remix: Build interstitial locally instead of fetching (2dd5bb3)
- remix: Pass frontendApi from rootAuthLoader (46a6c47)
- remix: Throw the insterstitial from ConnectClerkCatchBoundary (7b07bf0)
- Revert "Revert "fix(remix): Make
getAuth
stop loader execution during interstitial"" (a0935f3)
0.1.0-alpha.5 (2022-02-28)
- Revert "fix(remix): Make
getAuth
stop loader execution during interstitial" (93d3c9b)
- clerk-remix: Introduce basic clerk-remix structure (f1ba9bd)
- clerk-remix: Introduce ClerkProvider for Remix (edb0cee)
- clerk-remix: Introduce global polyfill (5236bed)
- clerk-remix: Introduce SSR getAuth for Remix (bae06b8)
- clerk-remix: Introduce SSR rootAuthLoader for Remix (23a10c7)
- clerk-remix: Remove load options from
getAuth
(246fe76) - clerk-remix: Rename InferLoaderData to InferRootLoaderData (e9eb81c)
- remix: Depend on @remix-run/runtime only (c5c53cd)
- remix: Introduce
ConnectClerk
HOC (3f020ca) - remix: Make
rootAuthLoader
require a Response or object return value (bf53db5) - remix: Move Remix dependencies to
peerDependencies
(0ee115d)
- remix: Allow no return from
rootAuthLoader
callback (4768aa6) - remix: Make
clerkState
required (677a255) - remix: Make
getAuth
stop loader execution during interstitial (16a1be3) - remix: Make
rootAuthLoader
only throw if a callback exists (2689f6c)
0.1.0-alpha.3 (2022-02-25)
- remix: Make
rootAuthLoader
only throw if a callback exists (cec342f)
- clerk-remix: Introduce basic clerk-remix structure (f4f8e06)
- clerk-remix: Introduce ClerkProvider for Remix (d63e4bf)
- clerk-remix: Introduce global polyfill (c3df5af)
- clerk-remix: Introduce SSR getAuth for Remix (8ee0eaf)
- clerk-remix: Introduce SSR rootAuthLoader for Remix (693f79b)
- clerk-remix: Remove load options from
getAuth
(5c1e23d) - clerk-remix: Rename InferLoaderData to InferRootLoaderData (d753291)
- remix: Depend on @remix-run/runtime only (c5d4c45)
- remix: Introduce
ConnectClerk
HOC (ea99273) - remix: Make
rootAuthLoader
require a Response or object return value (2aab7db) - remix: Move Remix dependencies to
peerDependencies
(1ce0ce3)
- remix: Allow no return from
rootAuthLoader
callback (5e708fd) - remix: Make
clerkState
required (22d2aff)
0.1.0-alpha.1 (2022-02-18)
- remix: Allow no return from
rootAuthLoader
callback (55f14e0) - remix: Make
clerkState
required (df88977)
- clerk-remix: Introduce basic clerk-remix structure (ef91121)
- clerk-remix: Introduce ClerkProvider for Remix (07abb99)
- clerk-remix: Introduce global polyfill (78435ca)
- clerk-remix: Introduce SSR getAuth for Remix (e9ca753)
- clerk-remix: Introduce SSR rootAuthLoader for Remix (c7a61aa)
- clerk-remix: Remove load options from
getAuth
(5f4cedc) - clerk-remix: Rename InferLoaderData to InferRootLoaderData (aa0c720)
- remix: Depend on @remix-run/runtime only (7c014f4)