Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(repo): Version packages #4417

Merged
merged 1 commit into from
Oct 31, 2024
Merged

ci(repo): Version packages #4417

merged 1 commit into from
Oct 31, 2024

Conversation

clerk-cookie
Copy link
Collaborator

@clerk-cookie clerk-cookie commented Oct 28, 2024

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@clerk/[email protected]

Minor Changes

    • Introduce redirectUrl property on setActive as a replacement for beforeEmit. (#4312) by @issuedat

    • Deprecates beforeEmit property on setActive.

Patch Changes

@clerk/[email protected]

Minor Changes

  • Added support for __experimental_legalAccepted field (#4427) by @octoper

Patch Changes

@clerk/[email protected]

Minor Changes

  • Bug fix: For next>=14 applications resolve __unstable__onBeforeSetActive once invalidateCacheAction resolves. (#4362) by @panteliselef

  • Introduce a new experimental hook called useReverification that makes it easy to handle reverification errors. (#4362) by @panteliselef

    It returns a high order function (HOF) and allows developers to wrap any function that triggers a fetch request which might fail due to a user's session verification status.
    When such error is returned, the recommended UX is to offer a way to the user to recover by re-verifying their credentials.
    This helper will automatically handle this flow in the developer's behalf, by displaying a modal the end-user can interact with.
    Upon completion, the original request that previously failed, will be retried (only once).

    Example with clerk-js methods.

    import { __experimental_useReverification as useReverification } from "@clerk/nextjs";
    
    function DeleteAccount() {
      const { user } = useUser();
      const [deleteUserAccount] = useReverification(() => {
        if (!user) return;
        return user.delete();
      });
    
      return (
        <>
          <button
            onClick={async () => {
              await deleteUserAccount();
            }}
          >
            Delete account
          </button>
        </>
      );
    }
  • Replace next/headers with ezheaders (#4392) by @panteliselef

Patch Changes

@clerk/[email protected]

Minor Changes

  • Introduce a new experimental hook called useReverification that makes it easy to handle reverification errors. (#4362) by @panteliselef

    It returns a high order function (HOF) and allows developers to wrap any function that triggers a fetch request which might fail due to a user's session verification status.
    When such error is returned, the recommended UX is to offer a way to the user to recover by re-verifying their credentials.
    This helper will automatically handle this flow in the developer's behalf, by displaying a modal the end-user can interact with.
    Upon completion, the original request that previously failed, will be retried (only once).

    Example with clerk-js methods.

    import { __experimental_useReverification as useReverification } from "@clerk/nextjs";
    
    function DeleteAccount() {
      const { user } = useUser();
      const [deleteUserAccount] = useReverification(() => {
        if (!user) return;
        return user.delete();
      });
    
      return (
        <>
          <button
            onClick={async () => {
              await deleteUserAccount();
            }}
          >
            Delete account
          </button>
        </>
      );
    }

Patch Changes

@clerk/[email protected]

Minor Changes

  • Introduce experimental reverification error helpers. (#4362) by @panteliselef

    • reverificationMismatch returns the error as an object which can later be used as a return value from a React Server Action.
    • reverificationMismatchResponse returns a Response with the above object serialized. It can be used in any Backend Javascript frameworks that supports Response.

Patch Changes

@clerk/[email protected]

Minor Changes

    • Introduce redirectUrl property on setActive as a replacement for beforeEmit. (#4312) by @issuedat

    • Deprecates beforeEmit property on setActive.

Patch Changes

  • Experimental: asStandalone now accepts a callback that notifies if the standalone popover needs to unmount. (#4423) by @panteliselef

    • Changed __experimental_legalAccepted checkbox Indicator element descriptor and element id (#4427) by @octoper

    • Changed __experimental_legalAccepted checkbox Label element descriptor and element id

    • Added two new element descriptors formFieldCheckboxInput, formFieldCheckboxLabel.

@clerk/[email protected]

Minor Changes

  • Enhancing error handling throughout the SDK upgrade flow (#4410) by @jacekradko

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@clerk/[email protected]

Patch Changes

@github-actions github-actions bot force-pushed the changeset-release/main branch 21 times, most recently from 539a356 to 38136a3 Compare October 31, 2024 15:23
@github-actions github-actions bot force-pushed the changeset-release/main branch from 8bb6fa0 to a9d1f2f Compare October 31, 2024 18:34
@anagstef anagstef closed this Oct 31, 2024
@anagstef anagstef reopened this Oct 31, 2024
@octoper octoper merged commit 15f6718 into main Oct 31, 2024
22 checks passed
@octoper octoper deleted the changeset-release/main branch October 31, 2024 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants