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(shared): Drop deprecations #2102

Merged
merged 5 commits into from
Nov 15, 2023
Merged

Conversation

dimkl
Copy link
Contributor

@dimkl dimkl commented Nov 9, 2023

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

@dimkl dimkl self-assigned this Nov 9, 2023
@dimkl dimkl requested a review from a team as a code owner November 9, 2023 19:20
Copy link

changeset-bot bot commented Nov 9, 2023

🦋 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
Name Type
@clerk/shared Major
@clerk/clerk-react Major
@clerk/backend Patch
@clerk/clerk-js Patch
@clerk/clerk-expo Patch
@clerk/fastify Patch
@clerk/nextjs Patch
@clerk/remix Patch
@clerk/clerk-sdk-node Patch
@clerk/chrome-extension Patch
gatsby-plugin-clerk 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-clerk-js branch 2 times, most recently from defbbd0 to c195500 Compare November 10, 2023 08:57
@dimkl dimkl force-pushed the sdk-782-drop-deprecations-shared branch from fe363d9 to e6c457f Compare November 10, 2023 09:09
Base automatically changed from sdk-782-drop-deprecations-clerk-js to main November 10, 2023 10:10
@dimkl dimkl force-pushed the sdk-782-drop-deprecations-shared branch from e6c457f to cb0f046 Compare November 10, 2023 10:40
@dimkl dimkl force-pushed the sdk-782-drop-deprecations-shared branch from cb0f046 to 2970cba Compare November 13, 2023 15:53
@dimkl dimkl force-pushed the sdk-782-drop-deprecations-shared branch from 2970cba to 4cbb4c9 Compare November 13, 2023 16:16
@dimkl dimkl force-pushed the sdk-782-drop-deprecations-shared branch from 4cbb4c9 to 55612d2 Compare November 13, 2023 18:32
Copy link
Member

@panteliselef panteliselef left a comment

Choose a reason for hiding this comment

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

💯

@dimkl dimkl force-pushed the sdk-782-drop-deprecations-shared branch from 55612d2 to f052495 Compare November 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 83e9d08 Nov 15, 2023
6 checks passed
@dimkl dimkl deleted the sdk-782-drop-deprecations-shared branch November 15, 2023 13:58
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.

4 participants