@sentry/cli
3.8.2 · 22 Oct 2026FSL-1.1-MIT24.7M / weekRepositoryHomepagenpmAtom feed
Upgrading @sentry/cli from 2.10.0 to 2.58.6
127 releases in betweennotes for 110
- 16+
- changes to make
- 0
- advisories fixed
- 106+
- new
- 85+
- fixes
Counted from 110 of 127 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- breaking2.58.0
- breaking2.53.0
- breaking2.50.1
- breaking2.27.0
- deprecated2.58.1
- deprecated2.58.0
- deprecated2.58.0
- deprecated2.58.0
- deprecated2.57.0
- deprecated2.57.0
Release by release
2.58.5 – 2.58.62 releases, no release note
- new
For the
sentry-cli build uploadcommand, we now only auto-detect Git metadata when we detect we are running in a CI environment, unless the user manually overrides this behavior (#2974). This change prevents local development builds from triggiering GitHub status checks for size analysis. - new
The
sentry-cli build uploadcommand now automatically detects the correct branch or tag reference in non-PR GitHub Actions workflows (#2976). Previously,--head-refwas only auto-detected for pull request workflows. Now it works for push, release, and other workflow types by using theGITHUB_REF_NAMEenvironment variable. - fixed
Fixed a bug where the
sentry-cli sourcemaps injectcommand could inject JavaScript code into certain incorrectly formatted source map files, corrupting their JSON structure (#3003).
- new
- new
Added validation for the
sentry-cli build uploadcommand's--head-shaand--base-shaarguments (#2945). The CLI now validates that these are valid SHA1 sums. Passing an empty string is also allowed; this prevents the default values from being used, causing the values to instead be unset. - fixed
Fixed a bug where providing empty-string values for the
sentry-cli build uploadcommand's--vcs-provider,--head-repo-name,--head-ref,--base-ref, and--base-repo-namearguments resulted in 400 errors (#2946). Now, setting these to empty strings instead explicitly clears the default value we would set otherwise, as expected.
- new
- new
The
sentry-cli debug-files bundle-jvmno longer makes any HTTP requests to Sentry, meaning auth tokens are no longer needed, and the command can be run offline (#2926). - fixed
Skip setting
base_shaandbase_refwhen they equalhead_shaduring auto-inference, since comparing a commit to itself provides no meaningful baseline (#2924). - fixed
Improved error message when supplying a non-existent organization to
sentry-cli sourcemaps upload. The error now correctly indicates the organization doesn't exist, rather than incorrectly suggesting the Sentry server lacks artifact bundle support (#2931).
- new
- new
(JS API) Add
projectsfield toSentryCliUploadSourceMapsOptions - fixed
Fixed a bug where some log messages would not show up in CI environments or when redirecting stderr to a file (#2830). Specifically, this bug was affecting any subcommand that uses a progress bar, such as
sentry-cli debug-files bundle-jvmandsentry-cli sourcemaps upload. Any stderr output during the progress bar was lost if stderr was redirected.
- new
4 other lines we could not sort, mostly version bumps
- 2.53.0
Revert "feat(mobile-app): Reintroduce mobile-app feature gating (#2643)"
- 2.53.0
Retry on cloudflare timeout
- 2.25.3
No documented changes.
- 2.19.3
Revert "feat: Don't upload chunks that are already on the server (#1651)"
154 internal lines (docs, tests, tooling) left out.