You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds a migration guide for the upcoming **major release** (v3 → v4),
where the legacy Rust `sentry-cli` is replaced by the new TypeScript
`sentry` CLI.
New page: `docs/src/content/docs/migrating-from-v3.md` (wired into the
**Getting Started** sidebar, between Installation and Self-Hosted).
## Covers
- **The rename** — `sentry-cli` → `sentry` binary, `@sentry/cli` →
`sentry` npm package, with install/uninstall steps for
npm/brew/curl/npx.
- **Command changes**, grouped for quick scanning:
- *Still work unchanged* (`info`, `send-event`, `send-envelope`,
`bash-hook`, `sourcemaps`, `debug-files`, `react-native …`).
- *Renamed groups* (plural → singular: `releases`→`release`,
`projects`→`project`, …) with a note that bare plurals still work as
list shortcuts.
- *Moved* (`login`→`auth login`, `update`→`cli upgrade`,
`uninstall`→`cli uninstall`, `deploys`→`release deploys`,
`upload-dif`/`upload-dsym`→`debug-files upload`,
`difutil`→`debug-files`, `upload-proguard`→`proguard upload`).
- *Removed* (`send-metric`).
- **A copy-paste `sentry-cli()` shim** that transparently translates
every moved/renamed command to its v4 form, so existing scripts and
muscle memory keep working during migration (the user-requested
"practical alternatives").
- **Output & scripting** (`--json` instead of screen-scraping,
`NO_COLOR`/`SENTRY_PLAIN_OUTPUT`), **OAuth device-flow auth** (tokens
still honored), **semantic exit codes**, **debug-ID-first sourcemaps**,
and **config/`.sentryclirc` backward-compat**.
All command mappings were verified against the actual v4 route map
(`src/app.ts`), `src/commands/`, and the existing
exit-codes/configuration docs. `cd docs && pnpm run build` passes (page
renders, no broken links).
> Note: I inferred the release will be branded **v4**; if it lands under
a different version the title/headings are a trivial find-replace.
0 commit comments