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

chore(clerk-react): Drop deprecations #1993

Merged
merged 6 commits into from
Nov 8, 2023
Merged

Conversation

dimkl
Copy link
Contributor

@dimkl dimkl commented Oct 31, 2023

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 team October 31, 2023 22:00
@dimkl dimkl self-assigned this Oct 31, 2023
Copy link

changeset-bot bot commented Oct 31, 2023

🦋 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
Name Type
@clerk/clerk-react Major
@clerk/chrome-extension Major
@clerk/clerk-expo Patch
gatsby-plugin-clerk Patch
@clerk/nextjs Patch
@clerk/remix Patch

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 dimkl force-pushed the sdk-782-drop-deprecations-react branch from 616c5f3 to 3b0b9f7 Compare October 31, 2023 22:12
@dimkl dimkl force-pushed the sdk-782-drop-deprecations-react branch from 3b0b9f7 to 60b99b6 Compare October 31, 2023 22:24
@clerk-cookie clerk-cookie removed the expo label Oct 31, 2023
@dimkl dimkl force-pushed the sdk-782-drop-deprecations-react branch 3 times, most recently from 1071e01 to e431ee2 Compare November 7, 2023 13:06
@dimkl dimkl force-pushed the sdk-782-drop-deprecations-react branch 2 times, most recently from c87c966 to 126bbd2 Compare November 7, 2023 18:02
@dimkl dimkl force-pushed the sdk-782-drop-deprecations-react branch from 126bbd2 to b96ed5b Compare November 8, 2023 11:48
@dimkl dimkl requested a review from LekoArts November 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 3c42090 Nov 8, 2023
6 checks passed
@dimkl dimkl deleted the sdk-782-drop-deprecations-react branch November 8, 2023 11:59
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.

5 participants