Skip to content

chore(clerk-react): Drop deprecations - #1993

Merged
dimkl merged 6 commits into
mainfrom
sdk-782-drop-deprecations-react
Nov 8, 2023
Merged

chore(clerk-react): Drop deprecations#1993
dimkl merged 6 commits into
mainfrom
sdk-782-drop-deprecations-react

Conversation

@dimkl

@dimkldimkl commented Oct 31, 2023

Copy link
Copy Markdown
Contributor

Description

Drop deprecations. Migration steps:

  • use setActive instead of setSession from useSessionList | useSignUp | useSignIn hooks
  • use publishableKey instead of frontendApi
  • use handleEmailLinkVerification instead of handleMagicLinkVerification from IsomorphicClerk
  • use isEmailLinkError instead of isMagicLinkError
  • use EmailLinkErrorCode instead of MagicLinkErrorCode
  • use useEmailLink instead of useMagicLink

Depends on the following PRs due to magic links re-export:

Checklist

  • npm test runs as expected.
  • npm run build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

Packages affected

  • @clerk/backend
  • @clerk/chrome-extension
  • @clerk/clerk-js
  • @clerk/clerk-expo
  • @clerk/fastify
  • gatsby-plugin-clerk
  • @clerk/localizations
  • @clerk/nextjs
  • @clerk/clerk-react
  • @clerk/remix
  • @clerk/clerk-sdk-node
  • @clerk/shared
  • @clerk/themes
  • @clerk/types
  • build/tooling/chore

@dimkl
dimkl requested a review from a teamOctober 31, 2023 22:00
@dimkldimkl self-assigned this Oct 31, 2023
@changeset-bot

changeset-botBot commented Oct 31, 2023

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: b96ed5b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
NameType
@clerk/clerk-reactMajor
@clerk/chrome-extensionMajor
@clerk/clerk-expoPatch
gatsby-plugin-clerkPatch
@clerk/nextjsPatch
@clerk/remixPatch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@dimkl
dimklforce-pushed the sdk-782-drop-deprecations-react branch from 616c5f3 to 3b0b9f7CompareOctober 31, 2023 22:12
@dimkl
dimklforce-pushed the sdk-782-drop-deprecations-react branch from 3b0b9f7 to 60b99b6CompareOctober 31, 2023 22:24
@dimkl
dimklforce-pushed the sdk-782-drop-deprecations-react branch 3 times, most recently from 1071e01 to e431ee2CompareNovember 7, 2023 13:06
@dimkl
dimklforce-pushed the sdk-782-drop-deprecations-react branch 2 times, most recently from c87c966 to 126bbd2CompareNovember 7, 2023 18:02
Comment thread.changeset/two-pumas-doubt.md
@dimkl
dimklforce-pushed the sdk-782-drop-deprecations-react branch from 126bbd2 to b96ed5bCompareNovember 8, 2023 11:48
@dimkl
dimkl requested a review from LekoArtsNovember 8, 2023 11:48
@dimkl
dimkl added this pull request to the merge queue Nov 8, 2023
Merged via the queue into main with commit 3c42090Nov 8, 2023
@dimkl
dimkl deleted the sdk-782-drop-deprecations-react branch November 8, 2023 11:59
Sign up for freeto 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.

5 participants

@dimkl@nikosdouvlis@anagstef@LekoArts@clerk-cookie