Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Dec 15, 2025

Bumps scripts/update-cli.sh from 2.58.4 to 3.0.1.

Fixes #5472

Auto-generated by a dependency updater.

Changelog

3.0.1

Performance Improvements

  • We switch to a faster compression algorithm (zstd) for uploading size analysis builds (sentry build upload) in preparation for this week's beta release! (#3038)

3.0.0

New Sentry Support Policy

sentry-cli 3.0.0 and above only officially supports Sentry SaaS and Sentry self-hosted versions 25.11.1 and higher. While many Sentry CLI features may, in practice, continue working with some older Sentry versions, continued support for Sentry versions older than 25.11.1 is not guaranteed. Changes which break support for Sentry versions below 25.11.1 may occur in minor or patch releases.

New Versioning Policy

Sentry CLI now defines a semantic versioning policy. We did not explicitly define a versioning policy before, but the new versioning policy contains some notable changes versus the previous implicit policy we had been following. The main change is that dropping support for self-hosted Sentry versions now only requires a minor version bump, although such changes will be clearly communicated in the changelog.

Important

Self-hosted users: We strongly recommend pinning your Sentry CLI version, since Sentry CLI may drop support for your self-hosted Sentry version in any future minor release. Always check the changelog before upgrading Sentry CLI.

Breaking Changes

  • Removed all sentry-cli files ... and sentry-cli releases files ... subcommands (#2956). These commands provided functionality for managing release files, a feature that has been deprecated in Sentry. Users still using sentry-cli files upload to upload source maps should migrate to sentry-cli sourcemaps upload.
  • Removed the sentry-cli sourcemaps explain command (#2947). The command had been deprecated for some time, since Sentry now has a better in-product debugging flow for source map problems via the "Unminify Code" button, which is displayed on any JavaScript issues which could not be unminified.
  • Removed the sentry-cli send-metric ... subcommands (#3006). These commands have been deprecated, and the data they send is no longer accepted by Sentry.
  • Removed support for the legacy API key authentication method (#2935). Sentry CLI now only supports authenticating with Auth Tokens. If you are using API key authentication via any of the following methods, you need to generate and use an Auth Token, instead:
    • --api-key CLI flag
    • SENTRY_API_KEY environment variable
    • api_key configuration file field
    • apiKey option in the JavaScript API
  • Removed the upload-proguard subcommand's --app-id, --version, --version-code, --android-manifest, and --platform arguments (#2876, #2940, #2948). Users using these arguments should stop using them, as they are unnecessary. The information passed to these arguments is no longer visible in Sentry.
  • Removed the --started argument from the sentry-cli releases finalize command (#2972). This argument is a no-op, so any users using it should simply stop using it.
  • Removed the --use-artifact-bundle flag from sentry-cli sourcemaps upload (#3002). The flag was a no-op that only emitted a deprecation warning.
Node.js Wrapper Breakages

The following changes only apply when using sentry-cli via the npm package sentry/cli:

  • The SentryCli.execute method's live parameter now only takes boolean values (#2971). Setting live to true now behaves like 'rejectOnError' did previously, with a zero exit status resolving the returned promise with "success (live mode)" and a non-zero status rejecting the promise with an error message.

  • The option parameter to Releases.uploadSourceMaps no longer takes a live property (#2971). We now always execute the command with live set to true.

  • Removed the apiKey option from SentryCliOptions (#2935). If you are using apiKey, you need to generate and use an Auth Token via the authToken option, instead.

  • Removed the useArtifactBundle option from SentryCliUploadSourceMapsOptions (#3002). This deprecated option was a no-op that users should simply stop passing.

  • Drop support for Node.js <18. The minimum required Node.js version is now 18.0.0 (#2985).

  • The type export SentryCliReleases has been removed.

  • The JavaScript wrapper now uses named exports instead of default exports (#2989). You need to update your imports:

    // Old (default import)
    const SentryCli = require('sentry/cli');
    
    // New (named import)
    const { SentryCli } = require('sentry/cli');

    For ESM imports:

    // Old
    import SentryCli from 'sentry/cli';
    
    // New
    import { SentryCli } from 'sentry/cli';

Improvements

  • The sentry-cli upload-proguard command now uses chunked uploading by default (#2918). Users who previously set the SENTRY_EXPERIMENTAL_PROGUARD_CHUNK_UPLOAD environment variable to opt into this behavior no longer need to set the variable.
  • We now place source map debug IDs under the source map's debugId field, per the TC39 Debug ID proposal (#3005). This change affects the sentry-cli sourcemaps inject command and, unless --no-rewrite is passed, the sentry-cli sourcemaps upload command. Sentry CLI can still read the debug_id field, but whenever the CLI writes or rewrites a source map, we always use debugId.
  • The sentry-cli build upload command now automatically tracks Sentry plugin versions from the SENTRY_PIPELINE environment variable (#2994). When SENTRY_PIPELINE contains a recognized Sentry plugin (e.g., sentry-gradle-plugin/4.12.0 or sentry-fastlane-plugin/1.2.3), the plugin version is written to the .sentry-cli-metadata.txt file in uploaded build archives, enabling the backend to store metadata for size analysis and build distribution tracking.

Fixes

  • Fixed misleading error message claiming the server doesn't support chunk uploading when the actual error was a non-existent organization (#2930).

@github-actions github-actions bot requested a review from alwx as a code owner December 15, 2025 13:59
@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Dec 15, 2025
@github-actions github-actions bot added the dependencies Pull requests that update a dependency file label Dec 15, 2025
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-cli.sh branch from 4f6efa3 to 5f130f3 Compare December 15, 2025 14:00
@antonis antonis added the ready-to-merge Triggers the full CI test suite label Dec 15, 2025
@github-actions
Copy link
Contributor Author

github-actions bot commented Dec 15, 2025

Android (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 408.19 ms 438.43 ms 30.24 ms
Size 43.75 MiB 48.08 MiB 4.33 MiB

Previous results on branch: deps/scripts/update-cli.sh

Startup times

Revision Plain With Sentry Diff
d2cb0c0+dirty 401.91 ms 422.40 ms 20.49 ms
d729f18 407.35 ms 416.76 ms 9.41 ms
faac064 435.29 ms 460.94 ms 25.65 ms
fd73548 491.23 ms 478.85 ms -12.39 ms
b9b893f+dirty 398.14 ms 428.68 ms 30.55 ms
bcd12b2+dirty 426.79 ms 452.15 ms 25.36 ms
13a0581+dirty 419.26 ms 443.18 ms 23.92 ms
041780a 432.17 ms 425.39 ms -6.78 ms
b5bd9f9 409.71 ms 416.29 ms 6.58 ms
13a0581+dirty 490.31 ms 536.19 ms 45.88 ms

App size

Revision Plain With Sentry Diff
d2cb0c0+dirty 43.75 MiB 48.02 MiB 4.27 MiB
d729f18 17.75 MiB 20.15 MiB 2.41 MiB
faac064 17.75 MiB 20.15 MiB 2.41 MiB
fd73548 17.75 MiB 20.15 MiB 2.41 MiB
b9b893f+dirty 43.75 MiB 48.07 MiB 4.32 MiB
bcd12b2+dirty 17.75 MiB 19.70 MiB 1.95 MiB
13a0581+dirty 43.75 MiB 48.07 MiB 4.32 MiB
041780a 17.75 MiB 20.15 MiB 2.40 MiB
b5bd9f9 17.75 MiB 20.15 MiB 2.41 MiB
13a0581+dirty 43.75 MiB 48.07 MiB 4.32 MiB

@github-actions
Copy link
Contributor Author

github-actions bot commented Dec 15, 2025

Android (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 494.96 ms 548.14 ms 53.18 ms
Size 43.94 MiB 48.90 MiB 4.96 MiB

Baseline results on branch: main

Startup times

Revision Plain With Sentry Diff
46bd012+dirty 333.76 ms 359.24 ms 25.48 ms
8ece263+dirty 369.44 ms 414.65 ms 45.21 ms
36841a6+dirty 404.22 ms 450.06 ms 45.84 ms
c7f264b+dirty 356.98 ms 407.46 ms 50.48 ms
1853710+dirty 360.67 ms 396.28 ms 35.61 ms
21c9e75+dirty 356.73 ms 381.06 ms 24.33 ms
46da307+dirty 356.62 ms 415.02 ms 58.40 ms
e2fa43d+dirty 326.56 ms 372.88 ms 46.32 ms
c08359e+dirty 406.04 ms 428.87 ms 22.83 ms
05bef0e+dirty 451.63 ms 533.90 ms 82.27 ms

App size

Revision Plain With Sentry Diff
46bd012+dirty 7.15 MiB 8.42 MiB 1.27 MiB
8ece263+dirty 7.15 MiB 8.41 MiB 1.26 MiB
36841a6+dirty 43.94 MiB 48.90 MiB 4.96 MiB
c7f264b+dirty 7.15 MiB 8.41 MiB 1.26 MiB
1853710+dirty 7.15 MiB 8.41 MiB 1.26 MiB
21c9e75+dirty 7.15 MiB 8.42 MiB 1.27 MiB
46da307+dirty 7.15 MiB 8.41 MiB 1.26 MiB
e2fa43d+dirty 7.15 MiB 8.42 MiB 1.27 MiB
c08359e+dirty 7.15 MiB 8.42 MiB 1.27 MiB
05bef0e+dirty 7.15 MiB 8.43 MiB 1.28 MiB

Previous results on branch: deps/scripts/update-cli.sh

Startup times

Revision Plain With Sentry Diff
5592990+dirty 355.15 ms 426.34 ms 71.19 ms
6dd38c6+dirty 362.58 ms 430.56 ms 67.98 ms
13a0581+dirty 442.54 ms 527.30 ms 84.76 ms
353ab8f+dirty 314.06 ms 323.43 ms 9.36 ms
faac064+dirty 418.02 ms 476.34 ms 58.32 ms
a519ee1+dirty 462.20 ms 498.71 ms 36.50 ms
d729f18+dirty 371.89 ms 396.80 ms 24.91 ms
b9b893f+dirty 355.35 ms 397.27 ms 41.92 ms
d2cb0c0+dirty 499.38 ms 529.78 ms 30.39 ms
bcd12b2+dirty 376.81 ms 404.19 ms 27.38 ms

App size

Revision Plain With Sentry Diff
5592990+dirty 7.15 MiB 8.42 MiB 1.27 MiB
6dd38c6+dirty 7.15 MiB 8.42 MiB 1.26 MiB
13a0581+dirty 43.94 MiB 48.90 MiB 4.96 MiB
353ab8f+dirty 7.15 MiB 8.44 MiB 1.28 MiB
faac064+dirty 7.15 MiB 8.42 MiB 1.27 MiB
a519ee1+dirty 43.94 MiB 48.82 MiB 4.88 MiB
d729f18+dirty 7.15 MiB 8.42 MiB 1.27 MiB
b9b893f+dirty 43.94 MiB 48.90 MiB 4.96 MiB
d2cb0c0+dirty 43.94 MiB 48.85 MiB 4.91 MiB
bcd12b2+dirty 7.15 MiB 8.43 MiB 1.28 MiB

@github-actions
Copy link
Contributor Author

github-actions bot commented Dec 15, 2025

iOS (new) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1212.45 ms 1212.04 ms -0.40 ms
Size 3.44 MiB 4.59 MiB 1.15 MiB

Previous results on branch: deps/scripts/update-cli.sh

Startup times

Revision Plain With Sentry Diff
d2cb0c0+dirty 1220.34 ms 1213.74 ms -6.60 ms
fd73548+dirty 1232.16 ms 1239.16 ms 7.00 ms
5592990+dirty 1215.52 ms 1214.61 ms -0.91 ms
e585099+dirty 1195.65 ms 1203.15 ms 7.50 ms
13a0581+dirty 1210.44 ms 1208.71 ms -1.73 ms
b9b893f+dirty 1217.71 ms 1219.69 ms 1.98 ms
d729f18+dirty 1214.94 ms 1220.65 ms 5.72 ms
13a0581+dirty 1218.52 ms 1213.74 ms -4.78 ms
6dd38c6+dirty 1229.76 ms 1241.57 ms 11.82 ms
ab57c90+dirty 1222.98 ms 1223.98 ms 1.00 ms

App size

Revision Plain With Sentry Diff
d2cb0c0+dirty 3.41 MiB 4.58 MiB 1.17 MiB
fd73548+dirty 3.19 MiB 4.38 MiB 1.19 MiB
5592990+dirty 3.19 MiB 4.38 MiB 1.19 MiB
e585099+dirty 3.19 MiB 4.38 MiB 1.19 MiB
13a0581+dirty 3.41 MiB 4.67 MiB 1.25 MiB
b9b893f+dirty 3.41 MiB 4.67 MiB 1.25 MiB
d729f18+dirty 3.19 MiB 4.38 MiB 1.19 MiB
13a0581+dirty 3.41 MiB 4.67 MiB 1.25 MiB
6dd38c6+dirty 3.19 MiB 4.54 MiB 1.36 MiB
ab57c90+dirty 3.41 MiB 4.57 MiB 1.16 MiB

@github-actions
Copy link
Contributor Author

github-actions bot commented Dec 15, 2025

iOS (legacy) Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1221.15 ms 1217.53 ms -3.62 ms
Size 3.44 MiB 4.59 MiB 1.15 MiB

Previous results on branch: deps/scripts/update-cli.sh

Startup times

Revision Plain With Sentry Diff
d2cb0c0+dirty 1216.09 ms 1218.98 ms 2.89 ms
fd73548+dirty 1236.69 ms 1241.47 ms 4.78 ms
5592990+dirty 1225.76 ms 1232.94 ms 7.18 ms
e585099+dirty 1217.67 ms 1212.83 ms -4.85 ms
13a0581+dirty 1214.72 ms 1212.79 ms -1.93 ms
b9b893f+dirty 1217.13 ms 1207.31 ms -9.82 ms
d729f18+dirty 1214.91 ms 1244.36 ms 29.45 ms
13a0581+dirty 1227.68 ms 1219.87 ms -7.81 ms
6dd38c6+dirty 1225.49 ms 1232.86 ms 7.37 ms
ab57c90+dirty 1215.02 ms 1222.59 ms 7.57 ms

App size

Revision Plain With Sentry Diff
d2cb0c0+dirty 3.41 MiB 4.58 MiB 1.17 MiB
fd73548+dirty 2.63 MiB 3.81 MiB 1.18 MiB
5592990+dirty 2.63 MiB 3.81 MiB 1.18 MiB
e585099+dirty 2.63 MiB 3.81 MiB 1.18 MiB
13a0581+dirty 3.41 MiB 4.67 MiB 1.25 MiB
b9b893f+dirty 3.41 MiB 4.67 MiB 1.25 MiB
d729f18+dirty 2.63 MiB 3.81 MiB 1.18 MiB
13a0581+dirty 3.41 MiB 4.67 MiB 1.25 MiB
6dd38c6+dirty 2.63 MiB 3.98 MiB 1.34 MiB
ab57c90+dirty 3.41 MiB 4.57 MiB 1.16 MiB

Copy link
Collaborator

@lucas-zimerman lucas-zimerman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error is unrelated to the PR, LGTM!

Copy link
Contributor

@antonis antonis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error is unrelated to the PR, LGTM!

I agree @lucas-zimerman 👍
I was wondering since this is a major bump if it would make sense to target v8. On the other hand since the CI is 🟢 I don't expect any breakages and it is probably fine to ship in the next minor release. Wdyt?

@lucas-zimerman
Copy link
Collaborator

Error is unrelated to the PR, LGTM!

I agree @lucas-zimerman 👍 I was wondering since this is a major bump if it would make sense to target v8. On the other hand since the CI is 🟢 I don't expect any breakages and it is probably fine to ship in the next minor release. Wdyt?

You have a good point, Despite not being a break change to Sentry.io users, it surely will be for self-hosted users.
Yeah, lets move the target of this Branch to V8

Copy link
Collaborator

@lucas-zimerman lucas-zimerman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets move to V8 and not main

@antonis antonis added Blocked and removed ready-to-merge Triggers the full CI test suite labels Dec 15, 2025
@antonis antonis mentioned this pull request Dec 15, 2025
@antonis
Copy link
Contributor

antonis commented Dec 15, 2025

You have a good point, Despite not being a break change to Sentry.io users, it surely will be for self-hosted users.
Yeah, lets move the target of this Branch to V8

Ok. Marking as Blocked for now and we can target the v8 branch when created. Also created #5472 to track this

@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-cli.sh branch 7 times, most recently from a439023 to f0cc138 Compare December 17, 2025 16:41
@github-actions github-actions bot changed the title chore(deps): update CLI to v3.0.0 chore(deps): update CLI to v3.0.1 Dec 17, 2025
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-cli.sh branch 3 times, most recently from fb8c032 to 0f262d6 Compare December 19, 2025 08:36
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-cli.sh branch 4 times, most recently from 94b964b to 0ad0d69 Compare December 22, 2025 09:32
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-cli.sh branch from 0ad0d69 to 1dd9daf Compare December 22, 2025 11:21
@antonis antonis changed the base branch from main to v8 December 23, 2025 10:25
@antonis antonis added ready-to-merge Triggers the full CI test suite and removed Blocked labels Dec 23, 2025
@antonis
Copy link
Contributor

antonis commented Dec 23, 2025

You have a good point, Despite not being a break change to Sentry.io users, it surely will be for self-hosted users.
Yeah, lets move the target of this Branch to V8

Ok. Marking as Blocked for now and we can target the v8 branch when created. Also created >#5472 to track this

Heads up that I changed the target to v8 and removed the Blocked label

Copy link
Contributor

@antonis antonis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Proceeding with merging on v8

@antonis antonis merged commit c63eccc into v8 Dec 23, 2025
86 of 91 checks passed
@antonis antonis deleted the deps/scripts/update-cli.sh branch December 23, 2025 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ready-to-merge Triggers the full CI test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants