Repository navigation
docs(cli): Finish the Sentry CLI v4 content migration - #21100
Merged
Merged
Conversation
Rewrite the remaining manual sentry-cli commands on platform pages to their v4 commands, and call the tool "the Sentry CLI" in prose. Text that documents the CLI bundled in an SDK or build plugin, legacy uploads for old versions, and v3 version notes keeps its v3 paths and commands. Rename the Unity CLI options screenshot to a neutral name. Co-Authored-By: BYK <126780+BYK@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
codeowner-assignment
Bot
requested review from
a team,
alwx,
buenaflor,
itaybre,
philprime,
romtsn and
runningcode
and removed request for
a team
December 4, 2026 06:16
The Expo and CodePush manual uploads use v3-only flags. Once @sentry/cli 4.0.0 is latest, npx @sentry/cli would resolve to v4 and fail. Co-Authored-By: BYK <126780+BYK@users.noreply.github.com>
BYK
approved these changes
Dec 4, 2026
| Similar to the [programmatic configuration](/platforms/unity/configuration/options/programmatic-configuration/) of the SDK itself, the debug symbol upload with Sentry CLI also supports programmatic configuration. Create a class that inherits from `SentryCliOptionsConfiguration` and assign it to the **CLI Config Script** field on the **Debug Symbols** tab. | ||
|
|
||
|  | ||
|  |
BYK
enabled auto-merge (squash)
December 4, 2026 06:29
…-migration Co-Authored-By: BYK <126780+BYK@users.noreply.github.com>
1 of 6 tasks
This branch was successfully deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
DESCRIBE YOUR PR
This follows #20979 and #20981, which are already in
master. It moves the remaining pages to Sentry CLI v4 (npmsentry), following the v3 → v4 migration guide.sentry-cli sourcemaps upload→sentry sourcemap uploadon the Next.js, SvelteKit, Nitro, Nuxt, SolidStart and TanStack Start pages. The manual.soupload on the Android NDK page points tosentry debug-files upload, and the manual mapping upload on the Expo Gradle page tosentry proguard upload.sentry-cli. General mentions link the getting-started page, and command mentions link the command page.--decompressflag. The debug ID requirement lists v4, or 2.17.0+ with the older command names.npx @sentry/cli@3 sourcemaps upload. They use v3-only flags, and once@sentry/cli4.0.0 islatest, plainnpx @sentry/cliwould resolve to v4 and fail.sentry-cli-option-configuration.pngis nowcli-options-configuration.png, and theredirects.jscomment no longer sayssentry-cli. The/ai/sentry-cli/redirect source stays, because people have bookmarked it. The develop-docs AI tools table links cli.sentry.dev directly instead of that redirect.Every cli.sentry.dev link and
#fragmentin the repo resolves against the v4 docs built from getsentry/toolkitmain.Intentionally left on
sentry-cliThese lines describe a real v3 artifact, so they keep the v3 name, path or command:
node_modules/@sentry/cli/bin/sentry-cli …,npx @sentry/cli@3 sourcemaps upload …,SENTRY_CLI_EXECUTABLEpaths, Xcode build phase scripts@sentry/react-nativebundles@sentry/cli3.8.2, and these commands use v3 syntax (--bundle,--bundle-sourcemap,--debug-id-reference, several paths). The Hermes and JSC uploads could move tosentry sourcemap upload --ext .bundle <dir>, and CodePush would also need the map next to the bundle. That's left for a follow-up.legacy-uploading-methods,legacy-troubleshooting)/path/to/sentry-cliand the getsentry/sentry-cli releases linkssentry_cli_cdn_urldefaulthttps://downloads.sentry-cdn.com/sentry-cli@sentry/cli1.51.1 notesentry-cliin the API deprecation checklist, and the getsentry/sentry-cliAGENTS.mdexampletoolkit(v4) too.sentry-cli-execution-failurepage path,sentry-cli-sourcemaps.mdxinclude name,#…-with-the-sentry-cliheading anchorspublic/_platforms/*.jsonIS YOUR CHANGE URGENT?
PRE-MERGE CHECKLIST
via @BYK.
--
View Session [Sentry]