Repository navigation
docs(cli): Redirect legacy /cli/ docs to cli.sentry.dev - #20979
Conversation
Sentry CLI v4 replaces sentry-cli v3 and is documented at https://cli.sentry.dev. Send /cli/ and everything under it there, mapping pages that have a v4 equivalent one-to-one and the rest to the root. Point older redirects that ended at /cli/ straight to the new targets so they don't chain. Remove the v3 pages, the "Looking for the new Sentry CLI?" banner, the CliChecksumTable component, and the Sentry CLI section of the Concepts sidebar. The Concepts nav entry now links to cli.sentry.dev. The release registry entry app:sentry-cli will point to v4, so stop injecting it next to sentry-cli v3 instructions. Co-Authored-By: BYK <126780+BYK@users.noreply.github.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
| File | Line | Current Link | Should Be |
|---|---|---|---|
docs/account/auth-tokens/index.mdx |
14 | /cli/ |
https://cli.sentry.dev/ |
docs/api/permissions.mdx |
91 | /cli/releases/ |
https://cli.sentry.dev/commands/release/ |
docs/concepts/migration/index.mdx |
61 | /cli/dif/ |
https://cli.sentry.dev/commands/debug-files/ |
docs/integrations/source-code-mgmt/code-mappings/index.mdx |
93 | /cli/code-mappings/ |
https://cli.sentry.dev/commands/code-mappings/ |
docs/platforms/android/configuration/gradle.mdx |
379 | /cli/configuration/#configuration-values |
https://cli.sentry.dev/configuration/#configuration-values |
docs/platforms/android/configuration/gradle.mdx |
393 | /cli/configuration/#configuration-values |
https://cli.sentry.dev/configuration/#configuration-values |
docs/platforms/android/configuration/gradle.mdx |
401 | /cli/configuration/#configuration-values |
https://cli.sentry.dev/configuration/#configuration-values |
docs/platforms/android/configuration/gradle.mdx |
415 | /cli/configuration/#configuration-values |
https://cli.sentry.dev/configuration/#configuration-values |
docs/platforms/android/data-management/debug-files/file-formats/index.mdx |
43 | /cli/dif/ |
https://cli.sentry.dev/commands/debug-files/ |
docs/platforms/android/data-management/debug-files/identifiers/index.mdx |
42 | /cli/dif/#checking-files |
https://cli.sentry.dev/commands/debug-files/#checking-files |
docs/platforms/android/data-management/debug-files/index.mdx |
30 | /cli/releases/#sentry-cli-sourcemaps |
https://cli.sentry.dev/commands/release/#sentry-cli-sourcemaps |
docs/platforms/android/data-management/debug-files/source-context/index.mdx |
25 | /cli/dif/#creating-source-bundles |
https://cli.sentry.dev/commands/debug-files/#creating-source-bundles |
docs/platforms/android/data-management/debug-files/upload/index.mdx |
22 | /cli/dif/#uploading-files |
https://cli.sentry.dev/commands/debug-files/#uploading-files |
docs/platforms/android/enhance-errors/proguard.mdx |
7 | /cli/dif/#proguard-mapping-upload |
https://cli.sentry.dev/commands/debug-files/#proguard-mapping-upload |
docs/platforms/android/migration/gradle-plugin-v2-to-v3.mdx |
13 | /cli/dif/#proguard-mapping-upload |
https://cli.sentry.dev/commands/debug-files/#proguard-mapping-upload |
docs/platforms/android/snapshots/index.mdx |
113 | /cli/snapshots/ |
https://cli.sentry.dev/commands/snapshots/ |
docs/platforms/android/troubleshooting/index.mdx |
210 | /cli/ |
https://cli.sentry.dev/ |
docs/platforms/apple/common/data-management/debug-files/file-formats/index.mdx |
43 | /cli/dif/ |
https://cli.sentry.dev/commands/debug-files/ |
docs/platforms/apple/common/data-management/debug-files/identifiers/index.mdx |
42 | /cli/dif/#checking-files |
https://cli.sentry.dev/commands/debug-files/#checking-files |
docs/platforms/apple/common/data-management/debug-files/index.mdx |
30 | /cli/releases/#sentry-cli-sourcemaps |
https://cli.sentry.dev/commands/release/#sentry-cli-sourcemaps |
docs/platforms/apple/common/data-management/debug-files/source-context/index.mdx |
26 | /cli/dif/#creating-source-bundles |
https://cli.sentry.dev/commands/debug-files/#creating-source-bundles |
docs/platforms/apple/common/data-management/debug-files/upload/index.mdx |
22 | /cli/dif/#uploading-files |
https://cli.sentry.dev/commands/debug-files/#uploading-files |
docs/platforms/dart/guides/flutter/data-management/debug-files/file-formats/index.mdx |
43 | /cli/dif/ |
https://cli.sentry.dev/commands/debug-files/ |
docs/platforms/dart/guides/flutter/data-management/debug-files/identifiers/index.mdx |
42 | /cli/dif/#checking-files |
https://cli.sentry.dev/commands/debug-files/#checking-files |
docs/platforms/dart/guides/flutter/data-management/debug-files/index.mdx |
30 | /cli/releases/#sentry-cli-sourcemaps |
https://cli.sentry.dev/commands/release/#sentry-cli-sourcemaps |
docs/platforms/dart/guides/flutter/data-management/debug-files/source-context/index.mdx |
25 | /cli/dif/#creating-source-bundles |
https://cli.sentry.dev/commands/debug-files/#creating-source-bundles |
docs/platforms/dart/guides/flutter/data-management/debug-files/upload/index.mdx |
22 | /cli/dif/#uploading-files |
https://cli.sentry.dev/commands/debug-files/#uploading-files |
docs/platforms/dotnet/common/configuration/msbuild.mdx |
7 | /cli/ |
https://cli.sentry.dev/ |
docs/platforms/dotnet/common/configuration/msbuild.mdx |
8 | /cli/dif/ |
https://cli.sentry.dev/commands/debug-files/ |
docs/platforms/dotnet/common/configuration/msbuild.mdx |
27 | /cli/configuration/ |
https://cli.sentry.dev/configuration/ |
docs/platforms/dotnet/common/configuration/msbuild.mdx |
30 | /cli/installation/ |
https://cli.sentry.dev/getting-started/ |
docs/platforms/dotnet/common/configuration/msbuild.mdx |
31 | /cli/configuration/#to-use-the-automatic-option |
https://cli.sentry.dev/configuration/#to-use-the-automatic-option |
docs/platforms/dotnet/common/configuration/msbuild.mdx |
67 | /cli/configuration/#configuration-values |
https://cli.sentry.dev/configuration/#configuration-values |
docs/platforms/dotnet/common/configuration/msbuild.mdx |
192 | /cli/releases/#commit-integration |
https://cli.sentry.dev/commands/release/#commit-integration |
docs/platforms/dotnet/common/data-management/debug-files/file-formats/index.mdx |
43 | /cli/dif/ |
https://cli.sentry.dev/commands/debug-files/ |
docs/platforms/dotnet/common/data-management/debug-files/identifiers/index.mdx |
42 | /cli/dif/#checking-files |
https://cli.sentry.dev/commands/debug-files/#checking-files |
docs/platforms/dotnet/common/data-management/debug-files/index.mdx |
30 | /cli/releases/#sentry-cli-sourcemaps |
https://cli.sentry.dev/commands/release/#sentry-cli-sourcemaps |
docs/platforms/dotnet/common/data-management/debug-files/source-context/index.mdx |
25 | /cli/dif/#creating-source-bundles |
https://cli.sentry.dev/commands/debug-files/#creating-source-bundles |
docs/platforms/dotnet/common/data-management/debug-files/upload/index.mdx |
39 | /cli/dif/#uploading-files |
https://cli.sentry.dev/commands/debug-files/#uploading-files |
docs/platforms/godot/configuration/source-context.mdx |
36 | /cli/dif/#creating-source-bundles |
https://cli.sentry.dev/commands/debug-files/#creating-source-bundles |
docs/platforms/godot/configuration/stack-traces.mdx |
179 | /cli/ |
https://cli.sentry.dev/ |
docs/platforms/godot/configuration/stack-traces.mdx |
201 | /cli/installation/ |
https://cli.sentry.dev/getting-started/ |
docs/platforms/godot/configuration/stack-traces.mdx |
278 | /cli/ |
https://cli.sentry.dev/ |
docs/platforms/java/common/source-context/index.mdx |
13 | /cli/code-mappings/ |
https://cli.sentry.dev/commands/code-mappings/ |
docs/platforms/javascript/common/data-management/debug-files/file-formats/index.mdx |
46 | /cli/dif/ |
https://cli.sentry.dev/commands/debug-files/ |
docs/platforms/javascript/common/data-management/debug-files/identifiers/index.mdx |
45 | /cli/dif/#checking-files |
https://cli.sentry.dev/commands/debug-files/#checking-files |
docs/platforms/javascript/common/data-management/debug-files/index.mdx |
33 | /cli/releases/#sentry-cli-sourcemaps |
https://cli.sentry.dev/commands/release/#sentry-cli-sourcemaps |
docs/platforms/javascript/common/data-management/debug-files/source-context/index.mdx |
28 | /cli/dif/#creating-source-bundles |
https://cli.sentry.dev/commands/debug-files/#creating-source-bundles |
docs/platforms/javascript/common/data-management/debug-files/upload/index.mdx |
25 | /cli/dif/#uploading-files |
https://cli.sentry.dev/commands/debug-files/#uploading-files |
docs/platforms/javascript/common/sourcemaps/index.mdx |
14 | /cli/releases/#sentry-cli-sourcemaps |
https://cli.sentry.dev/commands/release/#sentry-cli-sourcemaps |
docs/platforms/javascript/common/sourcemaps/uploading/create-react-app.mdx |
61 | /cli/configuration/ |
https://cli.sentry.dev/configuration/ |
docs/platforms/javascript/common/sourcemaps/uploading/ionic-capacitor.mdx |
53 | /cli/installation/ |
https://cli.sentry.dev/getting-started/ |
docs/platforms/javascript/common/sourcemaps/uploading/ionic-capacitor.mdx |
55 | /cli/configuration/ |
https://cli.sentry.dev/configuration/ |
docs/platforms/javascript/common/sourcemaps/uploading/ionic-capacitor.mdx |
158 | /cli/releases/ |
https://cli.sentry.dev/commands/release/ |
docs/platforms/javascript/common/sourcemaps/uploading/wrangler.mdx |
48 | /cli/configuration/ |
https://cli.sentry.dev/configuration/ |
docs/platforms/javascript/common/sourcemaps/uploading/wrangler.mdx |
172 | /cli/releases/#sentry-cli-sourcemaps |
https://cli.sentry.dev/commands/release/#sentry-cli-sourcemaps |
docs/platforms/javascript/guides/cordova/sourcemaps/index.mdx |
14 | /cli/releases/#sentry-cli-sourcemaps |
https://cli.sentry.dev/commands/release/#sentry-cli-sourcemaps |
docs/platforms/javascript/guides/cordova/upload-debug.mdx |
11 | /cli/dif/#uploading-files |
https://cli.sentry.dev/commands/debug-files/#uploading-files |
docs/platforms/javascript/guides/react-router/hydrogen.mdx |
264 | /cli/ |
https://cli.sentry.dev/ |
docs/platforms/javascript/guides/sveltekit/sourcemaps/index.mdx |
14 | /cli/releases/#sentry-cli-sourcemaps |
https://cli.sentry.dev/commands/release/#sentry-cli-sourcemaps |
docs/platforms/javascript/legacy-sdk/sourcemaps.mdx |
24 | /cli/ |
https://cli.sentry.dev/ |
docs/platforms/kotlin/guides/compose-multiplatform/index.mdx |
53 | /cli/dif/#proguard-mapping-upload |
https://cli.sentry.dev/commands/debug-files/#proguard-mapping-upload |
docs/platforms/native/common/data-management/debug-files/file-formats/index.mdx |
43 | /cli/dif/ |
https://cli.sentry.dev/commands/debug-files/ |
docs/platforms/native/common/data-management/debug-files/identifiers/index.mdx |
42 | /cli/dif/#checking-files |
https://cli.sentry.dev/commands/debug-files/#checking-files |
docs/platforms/native/common/data-management/debug-files/index.mdx |
18 | /cli/releases/#sentry-cli-sourcemaps |
https://cli.sentry.dev/commands/release/#sentry-cli-sourcemaps |
docs/platforms/native/common/data-management/debug-files/source-context/index.mdx |
25 | /cli/dif/#creating-source-bundles |
https://cli.sentry.dev/commands/debug-files/#creating-source-bundles |
docs/platforms/native/common/data-management/debug-files/upload/index.mdx |
22 | /cli/dif/#uploading-files |
https://cli.sentry.dev/commands/debug-files/#uploading-files |
docs/platforms/react-native/common/data-management/debug-files/file-formats/index.mdx |
43 | /cli/dif/ |
https://cli.sentry.dev/commands/debug-files/ |
docs/platforms/react-native/common/data-management/debug-files/identifiers/index.mdx |
42 | /cli/dif/#checking-files |
https://cli.sentry.dev/commands/debug-files/#checking-files |
docs/platforms/react-native/common/data-management/debug-files/index.mdx |
30 | /cli/releases/#sentry-cli-sourcemaps |
https://cli.sentry.dev/commands/release/#sentry-cli-sourcemaps |
docs/platforms/react-native/common/data-management/debug-files/source-context/index.mdx |
25 | /cli/dif/#creating-source-bundles |
https://cli.sentry.dev/commands/debug-files/#creating-source-bundles |
docs/platforms/react-native/common/data-management/debug-files/upload/index.mdx |
22 | /cli/dif/#uploading-files |
https://cli.sentry.dev/commands/debug-files/#uploading-files |
docs/platforms/react-native/common/sourcemaps/troubleshooting/legacy-uploading-methods.mdx |
15 | /cli/configuration/ |
https://cli.sentry.dev/configuration/ |
docs/platforms/react-native/common/upload-debug/index.mdx |
28 | /cli/ |
https://cli.sentry.dev/ |
docs/platforms/react-native/common/upload-debug/index.mdx |
28 | /cli/dif/#proguard-mapping-upload |
https://cli.sentry.dev/commands/debug-files/#proguard-mapping-upload |
docs/platforms/react-native/common/upload-debug/index.mdx |
28 | /cli/dif/#uploading-files |
https://cli.sentry.dev/commands/debug-files/#uploading-files |
docs/platforms/rust/common/source-context/index.mdx |
10 | /cli/installation/ |
https://cli.sentry.dev/getting-started/ |
docs/platforms/rust/common/source-context/index.mdx |
10 | /cli/configuration/ |
https://cli.sentry.dev/configuration/ |
docs/platforms/unity/configuration/options/cli-options/index.mdx |
8 | /cli/ |
https://cli.sentry.dev/ |
docs/platforms/unity/data-management/debug-files/file-formats/index.mdx |
43 | /cli/dif/ |
https://cli.sentry.dev/commands/debug-files/ |
docs/platforms/unity/data-management/debug-files/identifiers/index.mdx |
42 | /cli/dif/#checking-files |
https://cli.sentry.dev/commands/debug-files/#checking-files |
docs/platforms/unity/data-management/debug-files/index.mdx |
34 | /cli/releases/#upload-source-maps |
https://cli.sentry.dev/commands/release/#upload-source-maps |
docs/platforms/unity/data-management/debug-files/source-context/index.mdx |
24 | /cli/dif/#creating-source-bundles |
https://cli.sentry.dev/commands/debug-files/#creating-source-bundles |
docs/platforms/unity/data-management/debug-files/upload/index.mdx |
29 | /cli/dif/#uploading-files |
https://cli.sentry.dev/commands/debug-files/#uploading-files |
docs/platforms/unity/native-support/index.mdx |
121 | /cli/ |
https://cli.sentry.dev/ |
docs/platforms/unity/native-support/index.mdx |
154 | /cli/installation/ |
https://cli.sentry.dev/getting-started/ |
docs/platforms/unreal/data-management/debug-files/file-formats/index.mdx |
43 | /cli/dif/ |
https://cli.sentry.dev/commands/debug-files/ |
docs/platforms/unreal/data-management/debug-files/identifiers/index.mdx |
42 | /cli/dif/#checking-files |
https://cli.sentry.dev/commands/debug-files/#checking-files |
docs/platforms/unreal/data-management/debug-files/index.mdx |
30 | /cli/releases/#sentry-cli-sourcemaps |
https://cli.sentry.dev/commands/release/#sentry-cli-sourcemaps |
docs/platforms/unreal/data-management/debug-files/source-context/index.mdx |
25 | /cli/dif/#creating-source-bundles |
https://cli.sentry.dev/commands/debug-files/#creating-source-bundles |
docs/platforms/unreal/data-management/debug-files/upload/index.mdx |
15 | /cli/dif/#uploading-files |
https://cli.sentry.dev/commands/debug-files/#uploading-files |
docs/product/logs/index.mdx |
170 | /cli/logs/ |
https://cli.sentry.dev/commands/log/ |
docs/product/monitors-and-alerts/monitors/crons/getting-started/index.mdx |
38 | /cli/crons/ |
https://cli.sentry.dev/commands/monitor/ |
docs/product/projects/index.mdx |
22 | /cli/releases/#creating-deploys |
https://cli.sentry.dev/commands/release/#creating-deploys |
docs/product/relay/getting-started.mdx |
218 | /cli/installation/ |
https://cli.sentry.dev/getting-started/ |
docs/product/releases/associate-commits/index.mdx |
28 | /cli/configuration/#sentry-cli-working-with-projects |
https://cli.sentry.dev/configuration/#sentry-cli-working-with-projects |
docs/product/releases/naming-releases.mdx |
9 | /cli/releases/ |
https://cli.sentry.dev/commands/release/ |
docs/product/releases/setup/index.mdx |
73 | /cli/configuration/ |
https://cli.sentry.dev/configuration/ |
docs/product/releases/setup/index.mdx |
83 | /cli/releases/#finalizing-releases |
https://cli.sentry.dev/commands/release/#finalizing-releases |
docs/product/releases/setup/index.mdx |
83 | /cli/releases/ |
https://cli.sentry.dev/commands/release/ |
docs/product/releases/setup/release-automation/circleci/index.mdx |
70 | /cli/releases/ |
https://cli.sentry.dev/commands/release/ |
docs/product/releases/setup/release-automation/jenkins/index.mdx |
45 | /cli/releases/ |
https://cli.sentry.dev/commands/release/ |
docs/product/releases/setup/release-automation/travis-ci/index.mdx |
63 | /cli/releases/ |
https://cli.sentry.dev/commands/release/ |
docs/product/releases/usage/disable-auto-release-creation.mdx |
13 | /cli/releases/ |
https://cli.sentry.dev/commands/release/ |
docs/product/snapshots/agentic-workflow/index.mdx |
82 | /cli/snapshots/ |
https://cli.sentry.dev/commands/snapshots/ |
docs/product/snapshots/local-testing/index.mdx |
33 | /cli/snapshots/#download-baselines |
https://cli.sentry.dev/commands/snapshots/#download-baselines |
docs/product/snapshots/local-testing/index.mdx |
45 | /cli/snapshots/#local-diff |
https://cli.sentry.dev/commands/snapshots/#local-diff |
docs/product/snapshots/local-testing/index.mdx |
67 | /cli/snapshots/ |
https://cli.sentry.dev/commands/snapshots/ |
docs/product/snapshots/uploading-snapshots/index.mdx |
24 | /cli/snapshots/ |
https://cli.sentry.dev/commands/snapshots/ |
docs/product/snapshots/uploading-snapshots/index.mdx |
99 | /cli/snapshots/ |
https://cli.sentry.dev/commands/snapshots/ |
includes/sentry-cli-sourcemaps.mdx |
7 | /cli/configuration/ |
https://cli.sentry.dev/configuration/ |
includes/sentry-cli-sourcemaps.mdx |
151 | /cli/releases/ |
https://cli.sentry.dev/commands/release/ |
includes/size-analysis/upload-cli-android.mdx |
1 | /cli/ |
https://cli.sentry.dev/ |
includes/size-analysis/upload-cli-ios.mdx |
1 | /cli/ |
https://cli.sentry.dev/ |
platform-includes/debug-file-formats-wasm-toolchains/native.wasm.mdx |
50 | /cli/dif/#checking-files |
https://cli.sentry.dev/commands/debug-files/#checking-files |
platform-includes/debug-symbols/dart-plugin/dart.flutter.mdx |
140 | /cli/dif/#proguard-mapping-upload |
https://cli.sentry.dev/commands/debug-files/#proguard-mapping-upload |
platform-includes/debug-symbols/dart-plugin/dart.flutter.mdx |
281 | /cli/releases/ |
https://cli.sentry.dev/commands/release/ |
platform-includes/debug-symbols/manual-upload/dart.mdx |
11 | /cli/dif/#uploading-files |
https://cli.sentry.dev/commands/debug-files/#uploading-files |
platform-includes/debug-symbols/manual-upload/dart.mdx |
17 | /cli/dif/#uploading-files |
https://cli.sentry.dev/commands/debug-files/#uploading-files |
platform-includes/debug-symbols/manual-upload/dart.mdx |
25 | /cli/releases/#upload-source-maps |
https://cli.sentry.dev/commands/release/#upload-source-maps |
platform-includes/debug-symbols-apple/_default.mdx |
48 | /cli/configuration/ |
https://cli.sentry.dev/configuration/ |
platform-includes/debug-symbols-apple/_default.mdx |
94 | /cli/installation/ |
https://cli.sentry.dev/getting-started/ |
platform-includes/source-context/java.mdx |
6 | /cli/dif/#jvm-source-bundles |
https://cli.sentry.dev/commands/debug-files/#jvm-source-bundles |
platform-includes/source-context/java.mdx |
336 | /cli/dif/#jvm-source-bundles |
https://cli.sentry.dev/commands/debug-files/#jvm-source-bundles |
platform-includes/sourcemaps/overview/javascript.remix.mdx |
59 | /cli/ |
https://cli.sentry.dev/ |
platform-includes/sourcemaps/upload/primer/javascript.remix.mdx |
5 | /cli/configuration/#configuration-values |
https://cli.sentry.dev/configuration/#configuration-values |
platform-includes/sourcemaps/upload/primer/javascript.remix.mdx |
5 | /cli/configuration/ |
https://cli.sentry.dev/configuration/ |
Each redirect hop loses ~15% of SEO link equity and adds latency for users.
…o-cli-sentry-dev Co-Authored-By: BYK <126780+BYK@users.noreply.github.com>
The /cli/ pages now redirect to cli.sentry.dev, so the redirect-chain lint flags every content link that still points at them. Link straight to each redirect's final destination instead. Co-Authored-By: BYK <126780+BYK@users.noreply.github.com>
The blog moved these posts from dated paths to slug-only URLs, and the old URLs now return 404, which fails the external link check.
|
|
||
| // Concepts & Reference (includes CLI which is part of Concepts) | ||
| if (path[0] === 'concepts' || path[0] === 'cli') { | ||
| // Concepts & Reference |
There was a problem hiding this comment.
Looks like Sentry CLI is still listed in this menu. It redirects to cli.sentry.dev, which is fine, but from reading this, it looks like the intention is to remove it from the menu, @BYK ?
| {label: 'Data Management', href: '/concepts/data-management/'}, | ||
| {label: 'OpenTelemetry (OTLP)', href: '/concepts/otlp/'}, | ||
| {label: 'Sentry CLI', href: '/cli/'}, | ||
| {label: 'Sentry CLI', href: 'https://cli.sentry.dev/'}, |
There was a problem hiding this comment.
Oh, nevermind, I see the label still here. Just checking that we do indeed still want it listed.
| // Pages with a v4 equivalent map one-to-one; everything else goes to the root. | ||
| { | ||
| source: '/cli/', | ||
| destination: 'https://cli.sentry.dev/', |
There was a problem hiding this comment.
| destination: 'https://cli.sentry.dev/', | |
| destination: 'https://cli.sentry.dev/https://cli.sentry.dev/migrating-from-v3/', |
There was a problem hiding this comment.
Thinking that if someone wants to directly go to the v3 CLI docs, they should probably land on the migration docs.
The rewritten links kept section anchors from the old /cli/ pages, which don't exist on cli.sentry.dev. Point each at the matching v4 command or configuration section. Co-Authored-By: Shannon Anahata <shannon.anahata@sentry.io>
Co-Authored-By: Shannon Anahata <shannon.anahata@sentry.io>
|
Please update the IS YOUR CHANGE URGENT? section of the PR description:
This information helps the Docs team prioritize your review. |
BYK
left a comment
There was a problem hiding this comment.
There are still a lot of old sentry-cli references and its commands left over. We need to replace all of these for the new CLI. We should also add a small banner to the new CLI docs for people coming from the old CLI docs redirects and point them to the migration guide.
| <Alert level="warning" title="Note"> | ||
|
|
||
| Be aware that if you're using `sentry-cli` to [manage your releases](/cli/releases/), you'll need a token which also has `org:read` scope. | ||
| Be aware that if you're using `sentry-cli` to [manage your releases](https://cli.sentry.dev/commands/release/), you'll need a token which also has `org:read` scope. |
| The plugin will automatically generate appropriate ProGuard mapping files and upload them when you run `gradle assemble{BuildVariant}`. For example, `assembleRelease`. Release is the default, but the plugin works for others as long as you've enabled ProGuard/R8. The credentials for the upload step are defined in the Gradle extension above or loaded from a `sentry.properties` file in your project. | ||
|
|
||
| To use Guardsquare's ProGuard or DexGuard tooling, you'll have to enable the `dexguardEnabled` flag. Learn more in the [full `sentry-cli` documentation](/cli/configuration/#configuration-values). | ||
| To use Guardsquare's ProGuard or DexGuard tooling, you'll have to enable the `dexguardEnabled` flag. Learn more in the [full `sentry-cli` documentation](https://cli.sentry.dev/configuration/#configuration-file-sentryclirc). |
There was a problem hiding this comment.
There should be no sentry-cli references anymore.
Co-authored-by: Shannon Anahata <shannon.anahata@gmail.com>
…o-cli-sentry-dev Co-Authored-By: BYK <126780+BYK@users.noreply.github.com> # Conflicts: # docs/platforms/kotlin/guides/compose-multiplatform/index.mdx
Point the /cli/ index at https://cli.sentry.dev/migrating-from-v3/ and add from=sentry-docs to every legacy CLI docs redirect to cli.sentry.dev, so cli.sentry.dev can show a banner to people who followed an old docs link. Co-Authored-By: BYK <126780+BYK@users.noreply.github.com>
Pages that link to cli.sentry.dev now call the tool Sentry CLI instead of the v3 binary name, and the Flutter release finalize example uses the v4 `sentry release finalize` command. Commands that SDK build integrations run with their bundled CLI stay as they are. Co-Authored-By: BYK <126780+BYK@users.noreply.github.com>
The v4 CLI's `sentry auth login` doesn't write the .sentryclirc that the MSBuild integration's bundled CLI reads, so workstations set an org auth token in SENTRY_AUTH_TOKEN, the same as CI. Co-Authored-By: BYK <126780+BYK@users.noreply.github.com>
|
@BYK Done on this PR's pages in 5630e874d (65 references removed); what's kept and why is in the PR body. The via @BYK. |
> [!IMPORTANT] > **Merge at the Sentry CLI v4 launch, after #20979.** Before launch these commands don't match the CLI that users install. This PR is stacked on #20979 (the `/cli/*` → cli.sentry.dev redirect): the lines both PRs edit keep this PR's wording and #20979's cli.sentry.dev links. Merge #20979 first, then make sure this PR's base is `master` before merging it. GitHub switches it automatically only if the #20979 branch gets deleted. ## DESCRIBE YOUR PR This PR rewrites the standalone `sentry-cli` commands on platform and product pages for Sentry CLI v4 (npm `sentry`). It follows the [v3 → v4 migration guide](https://cli.sentry.dev/migrating-from-v3/). It's part of the v4 launch tracked in getsentry/toolkit#1965. It covers two groups of pages: - **About 20 pages that break under v4** because they use moved or dropped commands and flags. - **About 60 pages that only need the rename** from `sentry-cli` to `sentry`, or from "sentry-cli" to "the Sentry CLI" in prose. | v3 | v4 | |---|---| | `sentry-cli releases new V` | `sentry release create V` (`-p a,b` comma-separated, not repeated) | | `sentry-cli releases finalize/set-commits/propose-version/archive/restore` | `sentry release …` | | `sentry-cli sourcemaps inject/upload` | `sentry sourcemap inject/upload` | | `sentry-cli login` | `sentry auth login` | | `sentry-cli send-event` | `sentry event send` | | `sentry-cli deploys new -e ENV` | `sentry release deploy $VERSION ENV` | | `sentry-cli releases --org O deploys V new -e E` | `sentry release deploy O/V E` | | `sentry-cli --auth-token T …` | `SENTRY_AUTH_TOKEN=T sentry …` | | `debug-files upload -o O -p P` | `debug-files upload --org O --project P` | | `npm install @sentry/cli`, `brew install getsentry/tools/sentry-cli`, `curl sentry.io/get-cli` | `npm install sentry`, `brew install getsentry/tools/sentry`, `npm install -g sentry` (the migration guide's CI recommendation) | ### Intentionally left on `sentry-cli` These pages run the CLI that ships inside an SDK or build plugin, not a CLI the user installs: - React Native: before-v5, troubleshooting, ram-bundles (v4 dropped `--bundle`/`--bundle-sourcemap`), hermes, jsc, codepush, manual-setup, legacy uploading methods. - Expo `gradle.mdx`, Android `configuration/gradle.mdx`, Java `maven`, Apple `dsym` (Fastlane), and the Flutter plugin include. - .NET `msbuild.mdx`: its `login` feeds the bundled v3 CLI, and v4 never writes `.sentryclirc`. - The legacy JS source maps includes. - Gradle, Maven, and Unity text that describes what the bundled CLI does. - Version notes such as "sentry-cli >= 3.5.0". ### Reviewer notes - The Unity native support and file formats pages and the size analysis upload steps now call the bundled or installed tool "the Sentry CLI" instead of `sentry-cli`. - `--force-foreground` has no v4 equivalent. It's removed from the Xcode build-phase scripts, along with the alert that described it. - In `source-context/java.mdx`, `SENTRY_PROPERTIES` / `.properties` now reads `.sentryclirc` only, because v4 doesn't read `SENTRY_PROPERTIES`. - The CircleCI, Jenkins, and Travis examples now install with `npm install -g sentry`, so those jobs need Node. - The Godot install block uses the v4 install methods (install script, Homebrew, npm). Scoop and pacman have no v4 package. - The Unity "Manual Upload Using the Sentry CLI" heading has a new anchor. The one inbound link to it is updated. Each rewritten command was parsed by the published v4 CLI with no unknown-flag, alias, or command errors. ### Screenshots CircleCI release automation:  Apple dSYM upload ("Sentry CLI" section, anchor is still `#sentry-cli`):  ## IS YOUR CHANGE URGENT? - [x] Other deadline: merge at the Sentry CLI v4 launch - [ ] No deadline: Not urgent, can wait up to 1 week+ ## PRE-MERGE CHECKLIST - [ ] Checked Vercel preview for correctness, including links - [ ] PR was reviewed and approved by any necessary SMEs (subject matter experts) - [ ] PR was reviewed and approved by a member of the [Sentry docs team](https://github.com/orgs/getsentry/teams/docs) <!-- junior-request-attribution:start --> via @BYK, **shannon.anahata**. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:agent%3A11aa7117825ac7a642c76f36e8b464ae --> -- [View Session](https://junior-prod.sentry.dev/conversations/agent%3A11aa7117825ac7a642c76f36e8b464ae) [[Sentry]](https://sentry.sentry.io/explore/conversations/agent%3A11aa7117825ac7a642c76f36e8b464ae/?project=4510944073809921) <!-- junior-session-footer:end --> --------- Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: BYK <126780+BYK@users.noreply.github.com> Co-authored-by: Shannon Anahata <shannon.anahata@sentry.io>
….io (getsentry#2869) The old docs.sentry.io `/cli/*` pages are moving to cli.sentry.dev, and getsentry/sentry-docs#20979 adds `?from=sentry-docs` to every redirect destination. People who land here that way get a banner above the page content: > Sentry CLI docs have moved here. Coming from `sentry-cli` v3? Read the [migration guide](https://cli.sentry.dev/migrating-from-v3/). Looking for v3? Its ghost haunts [getsentry/sentry-cli](https://github.com/getsentry/sentry-cli). - `RedirectBanner.astro` holds the banner in a `<template>` and an inline script. When the URL has `from=sentry-docs`, the script inserts the banner right before `<main>` and removes the param from the address bar with `history.replaceState`, keeping other params and the hash. Nothing is stored or tracked. - It mounts in the existing `PageFrame` override, next to the analytics components. Without the param, pages render as they do today. - Starlight's built-in `banner` frontmatter is static per page, so it can't depend on the query param. Putting anything inside `<main>` before the content also breaks the theme's `main > .content-panel:first-child` spacing, which is why the banner goes above `<main>` instead. - The banner reuses the layout of Starlight's banner in the site's brand purple. The migration guide link respects the PR-preview base path. ## Screenshots `/getting-started/?from=sentry-docs` (address bar ends up as `/getting-started/`):  `/?from=sentry-docs`:  `/getting-started/` without the param:  <!-- junior-request-attribution:start --> via @BYK. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:agent%3A51eb7d4c0b1017352f5259458085818a --> -- [View Session](https://junior-prod.sentry.dev/conversations/agent%3A51eb7d4c0b1017352f5259458085818a) [[Sentry]](https://sentry.sentry.io/explore/conversations/agent%3A51eb7d4c0b1017352f5259458085818a/?project=4510944073809921) <!-- junior-session-footer:end --> --------- Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: BYK <126780+BYK@users.noreply.github.com>
## DESCRIBE YOUR PR This follows #20979 and #20981, which are already in `master`. It moves the remaining pages to Sentry CLI v4 (npm `sentry`), following the [v3 → v4 migration guide](https://cli.sentry.dev/migrating-from-v3/). - **Commands users run themselves** now use v4: `sentry-cli sourcemaps upload` → [`sentry sourcemap upload`](https://cli.sentry.dev/commands/sourcemap/#sentry-sourcemap-upload-directory) on the Next.js, SvelteKit, Nitro, Nuxt, SolidStart and TanStack Start pages. The manual `.so` upload on the Android NDK page points to `sentry debug-files upload`, and the manual mapping upload on the Expo Gradle page to `sentry proguard upload`. - **Prose** says "the Sentry CLI" instead of `sentry-cli`. General mentions link the getting-started page, and command mentions link the command page. - **Troubleshooting**: the JS source maps page says that v4 has no `--decompress` flag. The debug ID requirement lists v4, or 2.17.0+ with the older command names. - **Pinned to v3**: the Expo and CodePush manual uploads now run `npx @sentry/cli@3 sourcemaps upload`. They use v3-only flags, and once `@sentry/cli` 4.0.0 is `latest`, plain `npx @sentry/cli` would resolve to v4 and fail. - **Cosmetic**: the Unity screenshot `sentry-cli-option-configuration.png` is now `cli-options-configuration.png`, and the `redirects.js` comment no longer says `sentry-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 `#fragment` in the repo resolves against the v4 docs built from getsentry/toolkit `main`. ### Intentionally left on `sentry-cli` These lines describe a real v3 artifact, so they keep the v3 name, path or command: | Where | Why | |---|---| | React Native and Expo `node_modules/@sentry/cli/bin/sentry-cli …`, `npx @sentry/cli@3 sourcemaps upload …`, `SENTRY_CLI_EXECUTABLE` paths, Xcode build phase scripts | `@sentry/react-native` bundles `@sentry/cli` 3.8.2. These commands use v3-only flags (`--bundle`, `--bundle-sourcemap`, `--debug-id-reference`, several paths). | | Legacy JS source maps includes (`legacy-uploading-methods`, `legacy-troubleshooting`) | They document release-artifact uploads for Sentry CLI 2.16.1 and older. | | Maven source context: `/path/to/sentry-cli` and the getsentry/sentry-cli releases links | The Maven plugin runs a bundled v3 binary (3.8.2). These lines show how to point it at your own binary. | | Flutter plugin `sentry_cli_cdn_url` default `https://downloads.sentry-cdn.com/sentry-cli` | This is the plugin's real default URL. | | getsentry/sentry-cli release links (3.0.0, 2.10.0, 2.0.0, 1.51.1) and the `@sentry/cli` 1.51.1 note | Version notes about v3 releases. | | develop-docs: `sentry-cli` in the API deprecation checklist, and the getsentry/sentry-cli `AGENTS.md` example | These name the repository. The checklist now lists `toolkit` (v4) too. | | `sentry-cli-execution-failure` page path, `sentry-cli-sourcemaps.mdx` include name, `#…-with-the-sentry-cli` heading anchors | URLs and file names. The anchors come from "…with the Sentry CLI" headings. | | `public/_platforms/*.json` | Frozen legacy onboarding snapshots. | ## IS YOUR CHANGE URGENT? - [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD - [ ] Other deadline: YYYY-MM-DD - [x] No deadline: Not urgent, can wait up to 1 week+ ## PRE-MERGE CHECKLIST - [ ] Checked Vercel preview for correctness, including links - [ ] PR was reviewed and approved by any necessary SMEs (subject matter experts) - [ ] PR was reviewed and approved by a member of the [Sentry docs team](https://github.com/orgs/getsentry/teams/docs) <!-- junior-request-attribution:start --> via @BYK. <!-- junior-request-attribution:end --> <!-- junior-session-footer:start --> <!-- junior-conversation-id:agent%3Acaf5a8738f7d0345b1020fd48f2a7dd4 --> -- [View Session](https://junior-prod.sentry.dev/conversations/agent%3Acaf5a8738f7d0345b1020fd48f2a7dd4) [[Sentry]](https://sentry.sentry.io/explore/conversations/agent%3Acaf5a8738f7d0345b1020fd48f2a7dd4/?project=4510944073809921) <!-- junior-session-footer:end --> --------- Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com> Co-authored-by: BYK <126780+BYK@users.noreply.github.com>
DESCRIBE YOUR PR
Important
Merge at the Sentry CLI v4 launch, not before. Tracked in getsentry/toolkit#1965.
Sentry CLI v4 (npm
sentry, from getsentry/toolkitpackages/cli) replacessentry-cliv3. Its docs live at https://cli.sentry.dev, with a migration guide. This PR sends the legacy/cli/section there and removes what that leaves orphaned.Redirects
The rules go in
redirects.js(Next.jsredirects()), notmiddleware.tsorvercel.json:/cli/:path*wildcard inredirects.jscatches every/cli/*URL. Exact entries inmiddleware.tswould never be reached.scripts/no-vercel-json-redirects.mjsblocks redirects invercel.json.withMarkdownRedirectsleaves external destinations as they are, so/cli/<page>.mdgoes to the same place.The
/cli/index goes to the v3 migration guide, since someone opening the old CLI docs directly most likely needs to move off v3. Pages with a v4 equivalent map one-to-one. Everything else under/cli/goes to the root.Every redirect from the old CLI docs to cli.sentry.dev adds
?from=sentry-docs, so cli.sentry.dev can show a "these docs moved" banner that points to the migration guide and the v3 repo. That covers the/cli/*rules below and the older CLI redirects listed after the table./ai/sentry-cli/was already on master before this PR and stays as is. Content links to cli.sentry.dev are plain links and don't carry the param.?from=sentry-docs)/cli//cli/installation//cli/configuration//cli/releases//cli/dif//cli/send-event//cli/crons//cli/logs//cli/code-mappings//cli/snapshots//cli/:path*(everything else)Older redirects that ended at
/cli/...now point straight at the final target, so nothing chains through two hops. These are/account/cli/configuration/,/product/cli/:path*, the two Crons CLI redirects, and the/learn/cli/*entries inmiddleware.ts. Themiddleware.tsentry for/cli/metrics/is removed because the wildcard now catches it first.Cleanup
docs/cli/. Their content stays in git history.includes/cli-looking-for-sentry-cli.mdx), which only those pages used.CliChecksumTable, which onlydocs/cli/installation.mdxused./cli/from the SDK-agnostic search prefixes and the Algolia product-doc prefixes, and updates the CLI link inmd-overrides/platforms.mdx.apps.version('sentry-cli')The release registry entry
app:sentry-cliwill point to v4, so:includes/size-analysis/upload-cli-{android,ios}.mdxno longer print the registry version next tosentry-cli build uploadinstructions. The "minimum 2.58.2" note stays.platform-includes/source-context/java.mdxlinked togetsentry/sentry-cli/releases/tag/<registry version>, which would 404 once that version is 4.x. It now links togetsentry/sentry-cli/releases/latest.docs/cli/installation.mdxgoes away with the page.sentry-clireferencesOn the pages this PR touches, prose and link text that named the v3 binary now say "Sentry CLI", and the Flutter
releases finalizeexample usessentry release finalize. Pages that #20981 rewrites for v4 are left to that PR..NETmsbuild.mdxno longer tells workstation users to runsentry-cli login, since v4'ssentry auth logindoesn't write the.sentryclircfile that the MSBuild integration's bundled CLI reads. Workstations set an organization auth token inSENTRY_AUTH_TOKEN, the same as CI.These stay on
sentry-cli:.NETmsbuild.mdx:sentry-cli releases propose-version, which the MSBuild integration's bundled v3 CLI runs.node_modules/@sentry/cli/bin/sentry-clipath of the package the SDK installs.https://downloads.sentry-cdn.com/sentry-clidefault CDN URL./ai/sentry-cli/redirect source, the v3 comment inredirects.js, and the Unitysentry-cli-option-configuration.pngimage file name.Not in this PR
Content links that pointed to
/cli/...now point straight at their cli.sentry.dev targets. Many of those pages still describe v3 (sentry-cli <command>, and section anchors that cli.sentry.dev doesn't have); updating them for v4 is follow-up work.Screenshots
Before (production): the Concepts sidebar has a "Sentry CLI" section with the v3 pages.
After (local): the Concepts sidebar has no CLI section.
After (local): the "Sentry CLI" item in the Concepts dropdown now links to
https://cli.sentry.dev/.IS YOUR CHANGE URGENT?
PRE-MERGE CHECKLIST
via @BYK.
--
View Session [Sentry]