Skip to content

chore(shared): Drop deprecations - #2102

Merged
dimkl merged 5 commits into
mainfrom
sdk-782-drop-deprecations-shared
Nov 15, 2023
Merged

chore(shared): Drop deprecations#2102
dimkl merged 5 commits into
mainfrom
sdk-782-drop-deprecations-shared

Conversation

@dimkl

@dimkldimkl commented Nov 9, 2023

Copy link
Copy Markdown
Contributor

Description

Drop deprecations. Migration steps:

  • use EmailLinkError instead of MagicLinkError
  • use isEmailLinkError instead of isMagicLinkError
  • use EmailLinkErrorCode instead of MagicLinkErrorCode
  • use useEmailLink instead of useMagicLink
  • use buildRequestUrl from @clerk/backend instead of getRequestUrl from @clerk/shared
  • use OrganizationProvider instead of OrganizationContext
  • use userMemberships instead of organizationList from useOrganizationList

Depends on:

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

@dimkldimkl self-assigned this Nov 9, 2023
@dimkl
dimkl requested a review from a team as a code ownerNovember 9, 2023 19:20
@changeset-bot

changeset-botBot commented Nov 9, 2023

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: f052495

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

This PR includes changesets to release 11 packages
NameType
@clerk/sharedMajor
@clerk/clerk-reactMajor
@clerk/backendPatch
@clerk/clerk-jsPatch
@clerk/clerk-expoPatch
@clerk/fastifyPatch
@clerk/nextjsPatch
@clerk/remixPatch
@clerk/clerk-sdk-nodePatch
@clerk/chrome-extensionPatch
gatsby-plugin-clerkPatch

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-clerk-js branch 2 times, most recently from defbbd0 to c195500CompareNovember 10, 2023 08:57
@dimkl
dimklforce-pushed the sdk-782-drop-deprecations-shared branch from fe363d9 to e6c457fCompareNovember 10, 2023 09:09
Base automatically changed from sdk-782-drop-deprecations-clerk-js to mainNovember 10, 2023 10:10
@dimkl
dimklforce-pushed the sdk-782-drop-deprecations-shared branch from e6c457f to cb0f046CompareNovember 10, 2023 10:40
@dimkl
dimklforce-pushed the sdk-782-drop-deprecations-shared branch from cb0f046 to 2970cbaCompareNovember 13, 2023 15:53
@dimkl
dimklforce-pushed the sdk-782-drop-deprecations-shared branch from 2970cba to 4cbb4c9CompareNovember 13, 2023 16:16
@dimkl
dimklforce-pushed the sdk-782-drop-deprecations-shared branch from 4cbb4c9 to 55612d2CompareNovember 13, 2023 18:32

@panteliselefpanteliselef left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@dimkl
dimklforce-pushed the sdk-782-drop-deprecations-shared branch from 55612d2 to f052495CompareNovember 15, 2023 13:45
@dimkl
dimkl enabled auto-merge November 15, 2023 13:45
@dimkl
dimkl added this pull request to the merge queue Nov 15, 2023
Merged via the queue into main with commit 83e9d08Nov 15, 2023
@dimkl
dimkl deleted the sdk-782-drop-deprecations-shared branch November 15, 2023 13:58
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.

4 participants

@dimkl@nikosdouvlis@panteliselef@clerk-cookie