Skip to content

Latest commit

 

History

History
2657 lines (1752 loc) · 131 KB

CHANGELOG.md

File metadata and controls

2657 lines (1752 loc) · 131 KB

Change Log

4.2.46

Patch Changes

4.2.45

Patch Changes

4.2.42

Patch Changes

4.2.41

Patch Changes

  • 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

4.2.40

Patch Changes

4.2.39

Patch Changes

  • Updated dependencies [e1a26547a]:
    • @clerk/backend@1.14.1

4.2.38

Patch Changes

4.2.37

Patch Changes

  • 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

4.2.36

Patch Changes

  • Updated dependencies [358be296a]:
    • @clerk/backend@1.13.9

4.2.35

Patch Changes

  • Updated dependencies [fb932e5cf]:
    • @clerk/shared@2.9.0
    • @clerk/clerk-react@5.11.0
    • @clerk/types@4.25.0
    • @clerk/backend@1.13.8

4.2.34

Patch Changes

  • 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

4.2.33

Patch Changes

4.2.32

Patch Changes

  • 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

4.2.31

Patch Changes

  • 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

4.2.30

Patch Changes

4.2.29

Patch Changes

  • Updated dependencies [02babaccb]:
    • @clerk/backend@1.13.2

4.2.28

Patch Changes

  • Updated dependencies [3743eb911]:
    • @clerk/shared@2.8.1
    • @clerk/backend@1.13.1
    • @clerk/clerk-react@5.9.1

4.2.27

Patch Changes

  • Updated dependencies [e578b1599]:
    • @clerk/backend@1.13.0

4.2.26

Patch Changes

4.2.25

Patch Changes

  • Updated dependencies [be3b119f8]:
    • @clerk/shared@2.7.2
    • @clerk/backend@1.11.1
    • @clerk/clerk-react@5.8.2

4.2.24

Patch Changes

  • 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

4.2.23

Patch Changes

4.2.22

Patch Changes

  • 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

4.2.21

Patch Changes

  • 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

4.2.20

Patch Changes

4.2.19

Patch Changes

  • Updated dependencies [c1389492d]:
    • @clerk/types@4.16.0
    • @clerk/backend@1.8.3
    • @clerk/clerk-react@5.4.5
    • @clerk/shared@2.5.5

4.2.18

Patch Changes

  • 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

4.2.17

Patch Changes

  • 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

4.2.16

Patch Changes

  • Updated dependencies [ed7baa048]:
    • @clerk/backend@1.8.0

4.2.15

Patch Changes

  • 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

4.2.14

Patch Changes

  • 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

4.2.13

Patch Changes

  • 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

4.2.12

Patch Changes

  • 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

4.2.11

Patch Changes

  • Updated dependencies [7e94fcf0f]:
    • @clerk/backend@1.6.0
    • @clerk/types@4.12.0
    • @clerk/clerk-react@5.3.2
    • @clerk/shared@2.4.4

4.2.10

Patch Changes

  • 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

4.2.9

Patch Changes

  • Updated dependencies [992e5960c]:
    • @clerk/backend@1.5.1

4.2.8

Patch Changes

  • 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

4.2.7

Patch Changes

  • Updated dependencies [b48689705]:
    • @clerk/types@4.9.1
    • @clerk/backend@1.4.3
    • @clerk/clerk-react@5.2.10
    • @clerk/shared@2.4.1

4.2.6

Patch Changes

  • Updated dependencies [d465d7069]:
    • @clerk/backend@1.4.2

4.2.5

Patch Changes

  • Updated dependencies [045fb93cb]:
    • @clerk/backend@1.4.1

4.2.4

Patch Changes

  • 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

4.2.3

Patch Changes

  • Updated dependencies [df7d856d5]:
    • @clerk/types@4.8.0
    • @clerk/backend@1.3.2
    • @clerk/clerk-react@5.2.8
    • @clerk/shared@2.3.3

4.2.2

Patch Changes

  • Updated dependencies [5642b2616]:
    • @clerk/backend@1.3.1

4.2.1

Patch Changes

  • Updated dependencies [427fcdeaa]:
    • @clerk/clerk-react@5.2.7

4.2.0

Minor Changes

Patch Changes

  • 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

4.1.3

Patch Changes

  • Updated dependencies [d6b5006c4]:
    • @clerk/types@4.7.0
    • @clerk/backend@1.2.5
    • @clerk/clerk-react@5.2.6
    • @clerk/shared@2.3.2

4.1.2

Patch Changes

  • 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

4.1.1

Patch Changes

  • Updated dependencies [4ec3f63e2]:
    • @clerk/shared@2.3.0
    • @clerk/backend@1.2.3
    • @clerk/clerk-react@5.2.4

4.1.0

Minor Changes

  • 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

Patch Changes

4.0.13

Patch Changes

  • Deprecate loadUser, loadSession and loadOrganization on rootAuthLoader options (#3443) by @anagstef

  • Updated dependencies []:

    • @clerk/clerk-react@5.2.2

4.0.12

Patch Changes

  • Updated dependencies [ff31f7255, 0e48fc210]:
    • @clerk/shared@2.2.1
    • @clerk/clerk-react@5.2.1
    • @clerk/backend@1.2.1

4.0.11

Patch Changes

4.0.10

Patch Changes

  • Updated dependencies [3d790d5ea]:
    • @clerk/clerk-react@5.1.0

4.0.9

Patch Changes

  • Updated dependencies []:
    • @clerk/clerk-react@5.0.7

4.0.8

Patch Changes

  • Updated dependencies [4d3dc00fb, ec84d51e7]:
    • @clerk/backend@1.1.5
    • @clerk/shared@2.1.1
    • @clerk/clerk-react@5.0.6

4.0.7

Patch Changes

  • Updated dependencies [b27ca8366, bcbb2c9ef]:
    • @clerk/shared@2.1.0
    • @clerk/clerk-react@5.0.5
    • @clerk/backend@1.1.4

4.0.6

Patch Changes

  • Updated dependencies [b92402258]:
    • @clerk/backend@1.1.3

4.0.5

Patch Changes

4.0.4

Patch Changes

  • Updated dependencies [e93b5777b]:
    • @clerk/clerk-react@5.0.3

4.0.3

Patch Changes

4.0.2

Patch Changes

4.0.1

Patch Changes

  • Updated dependencies [3c6e5a6f1, 65503dcb9]:
    • @clerk/backend@1.0.1
    • @clerk/clerk-react@5.0.1

4.0.0

Major Changes

  • 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 the path and routing 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's rootAuthLoader and getAuth helpers to handle handshake auth status, this replaces the previous interstitial flow. As a result of this, the ClerkErrorBoundary 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 of withServerAuth() callback to AuthObject from ServerSideAuth in gatsby-clerk-plugin
      • use auth.sessionClaims instead of auth.claims
      • use AuthObject properties from auth
    • use publishableKey instead of frontendApi
    • use ClerkProviderOptionsWrapper type instead of IsomorphicClerkOptions
  • c08f804cf: Drop deprecations. Migration steps:

    • use CLERK_SECRET_KEY instead of CLERK_API_KEY env variable
    • use secretKey instead of apiKey
    • use CLERK_PUBLISHABLE_KEY instead of CLERK_FRONTEND_API env variable
    • use publishableKey instead of frontendApi
  • 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:
      // Before
      import { AuthStatus, ... } from '@clerk/backend';
      // After
      import { AuthStatus, ... } from '@clerk/backend/internal';
      Dropping those exports results in also dropping the exports from gatsby-plugin-clerk, @clerk/clerk-sdk-node, @clerk/backend, @clerk/fastify, @clerk/nextjs, @clerk/remix packages.
  • 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 import createClerkClient 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 to createClerkClient 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:
      // 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
      Dropping those exports results in also dropping the exports from 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';
  • 9a1fe3728: Use the new routerPush and routerReplace props for <ClerkProvider /> instead of navigate.

  • e1f7eae87: Limit TokenVerificationError exports to TokenVerificationError and TokenVerificationErrorReason

Minor Changes

  • 7f6a64f43: - By default, all the components with routing will have the routing prop assigned as 'path' by default when the path prop is filled.

    • The <UserButton /> component will set the default value of the userProfileMode prop to 'navigation' if the userProfileUrl prop is provided.
    • The <OrganizationSwitcher /> component will have the organizationProfileMode and createOrganizationMode props assigned with 'navigation' by default if the organizationProfileUrl and createOrganizationUrl props are filled accordingly.
  • 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 with User-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 append User-Agent: @clerk/nextjs@5.0.0-alpha-v5.16 using the latest version.

    Miscellaneous changes: The backend test build changed to use tsup.

Patch Changes

  • 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, now true, "true", "1", and 1 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 as isClerkAPIResponseError, 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 the UserProfile / 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() with new 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

4.0.0-beta.46

Patch Changes

  • Updated dependencies []:
    • @clerk/clerk-react@5.0.0-beta.41

4.0.0-beta.45

Patch Changes

  • 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

4.0.0-beta.44

Patch Changes

4.0.0-beta.43

Patch Changes

  • Updated dependencies [7cb1241a9]:
    • @clerk/backend@1.0.0-beta.35
    • @clerk/clerk-react@5.0.0-beta.38

4.0.0-beta.42

Patch Changes

  • Updated dependencies [ecb60da48]:
    • @clerk/backend@1.0.0-beta.34
    • @clerk/clerk-react@5.0.0-beta.37

4.0.0-beta.41

Patch Changes

  • Updated dependencies []:
    • @clerk/clerk-react@5.0.0-beta.36

4.0.0-beta.40

Patch Changes

  • 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

4.0.0-beta.39

Patch Changes

4.0.0-beta.38

Patch Changes

  • Updated dependencies [988a299c0]:
    • @clerk/backend@1.0.0-beta.31

4.0.0-beta.37

Patch Changes

  • 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

4.0.0-beta.36

Patch Changes

  • Updated dependencies []:
    • @clerk/clerk-react@5.0.0-beta.32

4.0.0-beta.35

Patch Changes

4.0.0-beta.34

Minor Changes

  • Expose debug headers in response for handshake / signed-out states from SDKs using headers returned from authenticateRequest() (#2898) by @dimkl

Patch Changes

  • Replace response.clone() with new 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

4.0.0-beta.33

Patch Changes

  • Updated dependencies [c86f73be3]:
    • @clerk/clerk-react@5.0.0-beta.30

4.0.0-beta.32

Patch Changes

  • 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

4.0.0-beta.31

Patch Changes

  • Updated dependencies []:
    • @clerk/clerk-react@5.0.0-beta.28

4.0.0-beta.30

Patch Changes

  • 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

4.0.0-beta.29

Patch Changes

  • 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

4.0.0-beta.28

Patch Changes

  • Updated dependencies []:
    • @clerk/clerk-react@5.0.0-beta.25

4.0.0-beta.27

Patch Changes

  • 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

4.0.0-beta.26

Patch Changes

  • 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

4.0.0-beta.25

Patch Changes

  • 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

4.0.0-beta.24

Patch Changes

  • 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

4.0.0-beta.23

Patch Changes

  • Updated dependencies [051833167]:
    • @clerk/backend@1.0.0-beta.21
    • @clerk/clerk-react@5.0.0-beta.20

4.0.0-beta.22

Patch Changes

  • 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

4.0.0-beta-v5.21

Patch Changes

4.0.0-beta-v5.20

Patch Changes

  • 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

4.0.0-alpha-v5.19

Patch Changes

4.0.0-alpha-v5.18

Patch Changes

4.0.0-alpha-v5.17

Minor Changes

  • Replace the Clerk-Backend-SDK header with User-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 @dimkl

    executing the request. Eg request from @clerk/nextjs to BAPI with append User-Agent: @clerk/nextjs@5.0.0-alpha-v5.16 using the latest version.

    Miscellaneous changes: The backend test build changed to use tsup.

Patch Changes

4.0.0-alpha-v5.16

Patch Changes

4.0.0-alpha-v5.15

Patch Changes

  • Fix property Page/ Link missing from the UserProfile / OrganizationProfile (#2508) by @dimkl

    when 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

4.0.0-alpha-v5.14

Patch Changes

  • 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

4.0.0-alpha-v5.13

Major Changes

  • Path-based routing is now the default routing strategy if the path prop is filled. Additionally, if the path and routing 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"/>

Patch Changes

4.0.0-alpha-v5.12

Major Changes

  • Update @clerk/remix's rootAuthLoader and getAuth helpers to handle handshake auth status, this replaces the previous interstitial flow. As a result of this, the ClerkErrorBoundary is no longer necessary and has been removed. (#2380) by @BRKalow

    To 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:
      // Before
      import { AuthStatus, ... } from '@clerk/backend';
      // After
      import { AuthStatus, ... } from '@clerk/backend/internal';
      Dropping those exports results in also dropping the exports from gatsby-plugin-clerk, @clerk/clerk-sdk-node, @clerk/backend, @clerk/fastify, @clerk/nextjs, @clerk/remix packages.
  • Changes in exports of @clerk/backend: (#2365) by @dimkl

    • Drop the following internal exports from the top-level api:
      // 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
      Dropping those exports results in also dropping the exports from 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';

Patch Changes

4.0.0-alpha-v5.11

Patch Changes

  • Updated dependencies [e602d6c1f]:
    • @clerk/backend@1.0.0-alpha-v5.9

4.0.0-alpha-v5.10

Major Changes

    • 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 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.

  • (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 @tmilewski

    Remove the named Clerk import from @clerk/remix and import createClerkClient 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 to createClerkClient and change its usage:

    import { createClerkClient } from '@clerk/remix';
    const clerk = createClerkClient({ secretKey: '...' });

Patch Changes

4.0.0-alpha-v5.9

Major Changes

  • Limit TokenVerificationError exports to TokenVerificationError and TokenVerificationErrorReason (#2189) by @tmilewski

Patch Changes

4.0.0-alpha-v5.8

Patch Changes

  • 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

4.0.0-alpha-v5.7

Patch Changes

4.0.0-alpha-v5.6

Major Changes

  • Use the new routerPush and routerReplace props for <ClerkProvider /> instead of navigate. (#1304) by @desiprisg

Patch Changes

  • Updated dependencies []:
    • @clerk/clerk-react@5.0.0-alpha-v5.6

4.0.0-alpha-v5.5

Patch Changes

  • Updated dependencies [03079579d, 12962bc58]:
    • @clerk/backend@1.0.0-alpha-v5.4
    • @clerk/clerk-react@5.0.0-alpha-v5.5

4.0.0-alpha-v5.4

Minor Changes

    • By default, all the components with routing will have the routing prop assigned as 'path' by default when the path prop is filled. (#1957) by @octoper

    • The <UserButton /> component will set the default value of the userProfileMode prop to 'navigation' if the userProfileUrl prop is provided.

    • The <OrganizationSwitcher /> component will have the organizationProfileMode and createOrganizationMode props assigned with 'navigation' by default if the organizationProfileUrl and createOrganizationUrl props are filled accordingly.

Patch Changes

  • Updated dependencies [7f6a64f43]:
    • @clerk/clerk-react@5.0.0-alpha-v5.4

4.0.0-alpha-v5.3

Major Changes

  • Upgrade React version to >=18 and add react-dom as peer dependency (#2164) by @dimkl

    to fix issues with vite & rollup building.

Patch Changes

4.0.0-alpha-v5.2

Major Changes

  • Change the minimal Node.js version required by Clerk to 18.17.0. (#2162) by @dimkl

Patch Changes

  • 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

4.0.0-alpha-v5.1

Major Changes

  • Drop deprecations. Migration steps: (#2109) by @dimkl

    • drop orgs jwt claim from session token
    • change type of auth param of withServerAuth() callback to AuthObject from ServerSideAuth in gatsby-clerk-plugin
      • use auth.sessionClaims instead of auth.claims
      • use AuthObject properties from auth
    • use publishableKey instead of frontendApi
    • use ClerkProviderOptionsWrapper type instead of IsomorphicClerkOptions

Patch Changes

4.0.0-alpha-v5.0

Major Changes

  • Drop deprecations. Migration steps: (#2022) by @dimkl

    • use CLERK_SECRET_KEY instead of CLERK_API_KEY env variable
    • use secretKey instead of apiKey
    • use CLERK_PUBLISHABLE_KEY instead of CLERK_FRONTEND_API env variable
    • use publishableKey instead of frontendApi
  • 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

Patch Changes

3.1.0

Minor Changes

  • Support usage of Remix's defer() method in the loader passed to rootAuthLoader(). (#1926) by @BRKalow

Patch Changes

3.0.8

Patch Changes

  • Updated dependencies [9ca215702]:
    • @clerk/types@3.56.1
    • @clerk/backend@0.31.2
    • @clerk/clerk-react@4.26.6

3.0.7

Patch Changes

3.0.6

Patch Changes

  • 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

3.0.5

Patch Changes

3.0.4

Patch Changes

3.0.3

Patch Changes

  • Updated dependencies [cecf74d79, a0b25671c]:
    • @clerk/backend@0.30.1
    • @clerk/shared@0.24.1
    • @clerk/clerk-react@4.26.1

3.0.2

Patch Changes

3.0.1

Patch Changes

3.0.0

Major Changes

  • 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 to ClerkErrorBoundary
    • Removed ClerkCatchBoundary

    Migration guide:

    • Rename V2_ClerkErrorBoundary to ClerkErrorBoundary

      - import { ClerkApp, V2_ClerkErrorBoundary } from "@clerk/remix";
      + import { ClerkApp, ClerkErrorBoundary } from "@clerk/remix";
      
      - export const ErrorBoundary = V2_ClerkErrorBoundary();
      + export const ErrorBoundary = ClerkErrorBoundary();
    • Replace ClerkCatchBoundary with ClerkErrorBoundary. If you used V2_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();

Patch Changes

2.10.3

Patch Changes

2.10.2

Patch Changes

2.10.1

Patch Changes

  • Updated dependencies [975412ed5, a102c21d4]:
    • @clerk/backend@0.28.1
    • @clerk/clerk-react@4.24.1

2.10.0

Minor Changes

  • Configure sign in/up and afterSignIn/Up paths for remix via env variables. (#1470) by @desiprisg

Patch Changes

2.9.1

Patch Changes

2.9.0

Minor Changes

  • 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

Patch Changes

  • Updated dependencies [6fa4768dc, 4ff4b716f]:
    • @clerk/types@3.48.1
    • @clerk/backend@0.26.0
    • @clerk/clerk-react@4.23.1

2.8.1

Patch Changes

  • Updated dependencies [2a9d83280]:
    • @clerk/clerk-react@4.23.0
    • @clerk/types@3.48.0
    • @clerk/backend@0.25.1

2.8.0

Minor Changes

  • Introduce createIsomorphicRequest in @clerk/backend (#1393) by @anagstef

    This utility simplifies the authenticateRequest signature, and it makes it easier to integrate with more frameworks.

Patch Changes

2.7.0

Minor Changes

  • Introduce V2_ClerkErrorBoundary to support v2_errorBoundary future flag (#1444) by @anagstef

2.6.17

Patch Changes

2.6.16

Patch Changes

2.6.15

Patch Changes

  • Updated dependencies [1e71b60a2]:
    • @clerk/clerk-react@4.21.0

2.6.14

Patch Changes

  • Updated dependencies [30f8ad18a]:
    • @clerk/types@3.46.1
    • @clerk/backend@0.23.6
    • @clerk/clerk-react@4.20.6

2.6.13

Patch Changes

  • Updated dependencies [bfb3af28]:
    • @clerk/types@3.46.0
    • @clerk/backend@0.23.5
    • @clerk/clerk-react@4.20.5

2.6.12

Patch Changes

  • Updated dependencies [11954816, de2347f9, 32148490]:
    • @clerk/types@3.45.0
    • @clerk/backend@0.23.4
    • @clerk/clerk-react@4.20.4

2.6.11

Patch Changes

  • Updated dependencies [17cc14ec]:
    • @clerk/types@3.44.0
    • @clerk/backend@0.23.3
    • @clerk/clerk-react@4.20.3

2.6.10

Patch Changes

  • Updated dependencies [9651658c, 4e1bb2bd]:
    • @clerk/types@3.43.0
    • @clerk/backend@0.23.2
    • @clerk/clerk-react@4.20.2

2.6.9

Patch Changes

  • Updated dependencies [59bc649a]:
    • @clerk/shared@0.19.1
    • @clerk/clerk-react@4.20.1

2.6.8

Patch Changes

  • Allow clerkJSVersion to be passed when loading interstitial. Support for (#1354) by @panteliselef

    • Nextjs
    • Remix
    • Node
  • Updated dependencies [b945c921]:

    • @clerk/backend@0.23.1

2.6.7

Patch Changes

  • Support audience parameter in authentication request (#1004) by @dimkl

    The 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

2.6.6

Patch Changes

  • ESM/CJS support for @clerk/clerk-react by @nikosdouvlis

    Changes 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.
  • 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)

Features

  • 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)

Bug Fixes

  • 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)

Features

  • remix: Add cross origin anonymous to interstitial (#246) (acd7160)

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)

Features

  • 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)

Bug Fixes

  • 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)

Features

  • 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)

Bug Fixes

  • 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)

Features

  • 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)

Features

  • nextjs,remix: Refactor remix and nextjs getAuthData to use common utils (d5f5dba)

Bug Fixes

  • nextjs,remix: Make server getToken throw if called with no session (f7736c1)

0.1.1-alpha.1 (2022-03-20)

Features

  • nextjs,remix: Refactor remix and nextjs getAuthData to use common utils (d5f5dba)

Bug Fixes

  • nextjs,remix: Make server getToken throw if called with no session (f7736c1)

0.1.1-alpha.0 (2022-03-19)

Bug Fixes

  • nextjs,remix: Make server getToken throw if called with no session (f7736c1)

0.1.0-alpha.6 (2022-03-11)

Features

  • 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)

Reverts

  • Revert "Revert "fix(remix): Make getAuth stop loader execution during interstitial"" (a0935f3)

0.1.0-alpha.5 (2022-02-28)

Reverts

  • Revert "fix(remix): Make getAuth stop loader execution during interstitial" (93d3c9b)

0.1.0-alpha.4 (2022-02-28)

Features

  • 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)

Bug Fixes

  • 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)

Bug Fixes

  • remix: Make rootAuthLoader only throw if a callback exists (cec342f)

0.1.0-alpha.2 (2022-02-25)

Features

  • 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)

Bug Fixes

  • remix: Allow no return from rootAuthLoader callback (5e708fd)
  • remix: Make clerkState required (22d2aff)

0.1.0-alpha.1 (2022-02-18)

Bug Fixes

  • remix: Allow no return from rootAuthLoader callback (55f14e0)
  • remix: Make clerkState required (df88977)

0.1.0-alpha.0 (2022-02-18)

Features

  • 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)