-
Notifications
You must be signed in to change notification settings - Fork 462
chore(clerk-js): Drop deprecations #2082
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
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
19bb275
chore(clerk-react): Drop `frontendApi`
dimkl bafa9a4
chore(clerk-react,chrome-extension): Drop `*MagicLink*` related exports
dimkl 7bc4b66
chore(clerk-js): Drop `*MagicLink*` related exports
dimkl fa10b24
chore(types): Drop `*MagicLink*` related exports
dimkl 22d4acb
chore(clerk-js): Drop `orgs` claim
dimkl 5fac548
chore(clerk-js,types): Drop `afterSwitchOrganizationUrl` claim
dimkl 60f6857
chore(clerk-js): Drop support for `frontendApi` as parameter
dimkl 6d19126
chore(clerk-js,types): Drop image related properties
dimkl 77103d9
chore(clerk-js,types): Drop `*captcha` related methods from Clerk
dimkl af93de6
chore(clerk-js,types): Drop `Organization` related deprecations
dimkl d7ccdab
chore(*): Drop `useOrganizations`
dimkl b00a5b8
chore(clerk-js,types): Drop `appearance.userProfile`
dimkl 730e044
chore(clerk-js,clerk-react): Drop `membershipList` and `invitationLis…
dimkl e8a74d4
chore(clerk-js,types): Drop `Clerk.setSession`
dimkl c92c48c
chore(clerk-js,types): Drop `redirect_url` deprecations
dimkl 2dc560a
chore(clerk-js,types): Drop `GetMembershipsParams`
dimkl 750ba6c
chore(clerk-js): Drop `generateSignature`
dimkl 1039bd2
chore(clerk-js,types): Drop `password`
dimkl 418ba18
chore(clerk-js,types): Drop deprecated `addListener/removeListener` f…
dimkl 0444da0
chore(repo): Add word spelling in vscode workspace + fix typos
dimkl 1093fd6
chore(clerk-js,types): Use paginated responses in get memberships end…
dimkl 07a9238
chore(repo): Add changeset
dimkl c195500
chore(clerk-js,types): Address PR comments
dimkl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| --- | ||
| '@clerk/chrome-extension': major | ||
| '@clerk/clerk-js': major | ||
| '@clerk/nextjs': major | ||
| '@clerk/shared': major | ||
| '@clerk/clerk-react': major | ||
| '@clerk/types': major | ||
| '@clerk/clerk-expo': major | ||
| --- | ||
|
|
||
| Drop deprecations. Migration steps: | ||
| - use `publishableKey` instead of `frontendApi` | ||
| - use `Clerk.handleEmailLinkVerification()` instead of `Clerk.handleMagicLinkVerification()` | ||
| - use `isEmailLinkError` instead of `isMagicLinkError` | ||
| - use `EmailLinkErrorCode` instead of `MagicLinkErrorCode` | ||
| - use `useEmailLink` instead of `useMagicLink` | ||
| - drop `orgs` jwt claim from session token | ||
| - use `ExternalAccount.imageUrl` instead of `ExternalAccount.avatarUrl` | ||
| - use `Organization.imageUrl` instead of `Organization.logoUrl` | ||
| - use `User.imageUrl` instead of `User.profileImageUrl` | ||
| - use `OrganizationMembershipPublicUserData.imageUrl` instead of `OrganizationMembershipPublicUserData.profileImageUrl` | ||
| - use `useOrganizationList` instead of `useOrganizations` | ||
| - use `userProfileProps` instead of `userProfile` in `Appearance` | ||
| - use `Clerk.setActive()` instead of `Clerk.setSession()` | ||
| - drop `password` param in `User.update()` | ||
| - use `afterSelectOrganizationUrl` instead of `afterSwitchOrganizationUrl` in `OrganizationSwitcher` | ||
| - drop `Clerk.experimental_canUseCaptcha` / `Clerk.Clerk.experimental_captchaSiteKey` / `Clerk.experimental_captchaURL` (were meant for internal use) | ||
| - use `User.getOrganizationMemberships()` instead of `Clerk.getOrganizationMemberships()` | ||
| - drop `lastOrganizationInvitation` / `lastOrganizationMember` from Clerk emitted events | ||
| - drop `Clerk.__unstable__invitationUpdate` / `Clerk.__unstable__membershipUpdate` | ||
| - drop support for string param in `Organization.create()` | ||
| - use `Organization.getInvitations()` instead of `Organization.getPendingInvitations()` | ||
| - use `pageSize` instead of `limit` in `OrganizationMembership.retrieve()` | ||
| - use `initialPage` instead of `offset` in `OrganizationMembership.retrieve()` | ||
| - drop `lastOrganizationInvitation` / `lastOrganizationMember` from ClerkProvider | ||
| - use `invitations` instead of `invitationList` in `useOrganization` | ||
| - use `memberships` instead of `membershipList` in `useOrganization` | ||
| - use `redirectUrl` instead of `redirect_url` in `User.createExternalAccount()` | ||
| - use `signature` instead of `generatedSignature` in `Signup.attemptWeb3WalletVerification()` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.