Skip to content

docs(cli): Point the v3 migration guide at the published codemod - #1977

Merged
BYK merged 1 commit into
mainfrom
docs/codemod-registry-command
Nov 5, 2026
Merged

BYK merged 1 commit into
mainfrom
docs/codemod-registry-command

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

@getsentry/cli3to4 0.1.0 is now published to the Codemod registry (publish run). The migration guide still told users to clone toolkit and run the transform from source "until it's published".

This PR makes npx codemod@latest @getsentry/cli3to4 the main command in the Codemod section of migrating-from-v3.md and removes the clone-and-run workaround.

I checked it end to end: npx codemod@1.12.7 @getsentry/cli3to4 resolves the package from the registry and migrates a v3 sample to v4 (SentryCli({ token }), release.create({ orgVersion, project }), release.finalize({ orgVersion })).

Closes #1481
Refs #1965

via @BYK.

--

View Session [Sentry]

`@getsentry/cli3to4` is now on the Codemod registry, so lead with
`npx codemod@latest @getsentry/cli3to4` and drop the clone-and-run-from-source
workaround.

Co-Authored-By: BYK <126780+BYK@users.noreply.github.com>
@vercel

vercel Bot commented Nov 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
sentry-local Skipped Skipped Nov 5, 2026 10:54am UTC

Request Review

@github-actions github-actions Bot added the risk: low PR risk score: low label Nov 5, 2026
@BYK
BYK merged commit fd6f479 into main Nov 5, 2026
25 checks passed
@BYK
BYK deleted the docs/codemod-registry-command branch November 5, 2026 10:57

This branch was previously deployed

1 inactive deployment
Preview — 8c01e94d Deployed Nov 5, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: low PR risk score: low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Publish sentry-v3-to-v4 codemod to the Codemod registry

1 participant