Repository navigation
feat(migrate): make clerk migrate generally available #531
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
Open
+1,165
−286
Open
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
56b4f79
feat(migrate): make clerk migrate generally available
royanger b2f2c8c
docs: list clerk migrate in the README and match its help
royanger fd958c1
docs(changeset): Make clerk migrate available without CLERK_EXPERIMENTAL
royanger 5b50dd2
feat(migrate): opt in to creating unverified identifiers reserved
royanger dbe9ca3
fix(migrate): attach what an adopted user's create left out, in its o…
royanger 5013474
fix(migrate): keep prompt answers in the commands a run suggests
royanger cd23044
fix(migrate): offer no email fix that --reserve-unverified already co…
royanger 069ab49
fix(migrate): keep the verified phone when Clerk refuses a reserved one
royanger 408174d
fix(migrate): check reserved identifiers for duplicates too
royanger 0dff2ac
fix(migrate): count an adopted user's reserved email toward a require…
royanger cd43848
fix(migrate): check an adopted user's identifiers in its own create's…
royanger 6904b24
fix(migrate): count a reserved email or phone as a way in past a disa…
royanger 806a6d7
fix(migrate): attach the reserved phones a refusal kept off the creat…
royanger b983593
docs(migrate): name the phone endpoint too, and say an adopted user k…
royanger c001acb
fix(migrate): count no email Clerk refuses as a way in for a user on …
royanger e205b67
docs(changeset): stop calling clerk migrate experimental in the earli…
royanger 8ead33c
fix(migrate): keep a run's reserve choice for its continue, and say a…
royanger e1f4128
fix(migrate): attach the reserved phones a cut-off retry left out whe…
royanger c7ee6e7
fix(migrate): drop loose phones before counting a way in past a disab…
royanger c2bff71
fix(migrate): continue an earlier run in its own reservation mode fro…
royanger 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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| "clerk": minor | ||
| --- | ||
|
|
||
| Make `clerk migrate` available without `CLERK_EXPERIMENTAL=migrate`: it now shows in `clerk --help` and shell completion. | ||
|
|
||
| - `clerk migrate export` gets users out of Clerk, Supabase, Firebase, Auth0, WorkOS, Better Auth or Auth.js into a run, and `clerk migrate import` checks every user against your instance, asks before it writes, and continues a run that stopped partway. | ||
| - `clerk migrate runs` shows what each run did, `clerk migrate undo` deletes the users an import created, and `clerk migrate sources` shows what each source brings across. `--source ./my-source.ts` imports with a source you wrote. | ||
| - `clerk migrate import --reserve-unverified` creates the emails and phones a source never verified as reserved (usable for sign-in, locked to the user) instead of unverified. At a terminal, the import asks. | ||
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[LOW]
None of the stack's changesets have shipped yet (
.changeset/on main is empty). Eight of them (migrate-import,migrate-export,migrate-runs-undo,migrate-firebase,migrate-auth0,migrate-workos,migrate-betterauth,migrate-authjs,migrate-custom-sources) still sayclerk migrateis experimental and needsCLERK_EXPERIMENTAL=migrate, or that it is hidden and refuses to run. If the stack releases together, the changelog will say that next to this entry announcing it as generally available.Recommended fix
Remove the "still experimental / needs CLERK_EXPERIMENTAL" sentences from the earlier changesets in this PR, or merge them into this one.
Sent from Claude
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in ba72181. The earlier changesets no longer say migrate is experimental, and
migrate-import.mdno longer says it's hidden. The edit lands only with this slice, so no release says both.