@sentry/cli
3.8.2 · 22 Oct 2026FSL-1.1-MIT24.7M / weekRepositoryHomepagenpmAtom feed
300 stable releases, newest first, by release line. Notes are quoted as the maintainers published them.
- 3.x · latest line
3.8.2
22 Oct 2026Maintenance only: docs, tests, build or refactoring. Nothing changes in how you use it.
3.8.1
21 Oct 2026(docker) Require
ca-certificates20261020-r0 or newer in the Docker image, which removes distrusted eMudhra/emSign root certificates
3.8.0
16 Sep 2026(snapshots) Upload snapshot images to the objectstore usecase chosen by the server instead of a hardcoded one
3.7.0
28 Aug 2026(build) Add dSYM support to IPA uploads
(snapshots) Create snapshot builds for selective uploads with no affected images when a complete filename manifest is provided
(logs) Correct the severity query example
3.6.2
22 Jul 2026Do not combine a URL and non-embedded auth token from different configuration files. When configuration sources provide only one of these values, an existing value from another source may be ignored with a warning. Configure the URL and token in the same file or through CLI arguments and environment variables, which are treated as one runtime source. This change does not alter parent-config discovery or how other configuration keys are selected (#3378).
3.6.1
20 Jul 2026(sourcemaps) Prevent Debug ID collisions between distinct JS files that share identical sourcemaps by hashing both the JS and sourcemap bytes when injecting Debug IDs
3.6.0
26 Jun 2026(snapshots) Compress preprod snapshot manifest with zstd
(snapshots) Update
snapshots downloadto use the new archive endpoint, triggering the archive build and polling until it is ready before downloading(snapshots) Show a clear "project was renamed" error instead of a cryptic JSON parse failure when uploading to a renamed project slug
Features
(snapshots) Compress preprod snapshot manifest with zstd
Fixes
(snapshots) Update
snapshots downloadto use the new archive endpoint, triggering the archive build and polling until it is ready before downloading(snapshots) Show a clear "project was renamed" error instead of a cryptic JSON parse failure when uploading to a renamed project slug
Fix update nagger never showing when a newer version is available
3.5.1
16 Jun 2026- removed
Remove experimental flag from snapshots and build commands
Internal Changes
Other
- removed
Remove experimental flag from snapshots and build commands
3.5.0
2 Jun 2026(snapshots) Add
snapshots diffcommand for locally comparing directories of PNG snapshot images using odiff(snapshots) Add
snapshots downloadcommand for downloading baseline snapshot images from Sentry(snapshots) Add
--all-image-file-namesand--all-image-file-names-fileflags tosnapshots uploadfor detecting image removals and renames in selective builds
Features
(snapshots) Add
snapshots diffcommand for locally comparing directories of PNG snapshot images using odiff(snapshots) Add
snapshots downloadcommand for downloading baseline snapshot images from Sentry(snapshots) Add
--all-image-file-namesand--all-image-file-names-fileflags tosnapshots uploadfor detecting image removals and renames in selective buildsAdd PE DWARF companion support
Add Windows ARM64 PE unwind support
Fixes
Improve error message when organization slug is missing from config
Respect
CURL_CA_BUNDLEandSSL_CERT_FILEwhen configuring TLS certificate authorities (#3301).
3.4.3
21 May 2026- security
Behavior-breaking: Disable Xcode
Info.plistpreprocessing by default to avoid passing project-controlled compiler settings toccduring release auto-discovery. This affectssentry-cli releases propose-version,sentry-cli send-eventandsentry-cli bash-hook --send-eventrelease inference, andsentry-cli react-native xcodeauto-release detection. Use--allow-xcode-infoplist-preprocessingonly for trusted projects that require preprocessing. - security
Ensure restrictive file permissions maintained when
sentry-cli loginupdates existing config files. - security
Disable TLS verification only when
http.verify_sslis set tofalse, case-insensitively.
Security Fixes
- security
Behavior-breaking: Disable Xcode
Info.plistpreprocessing by default to avoid passing project-controlled compiler settings toccduring release auto-discovery. This affectssentry-cli releases propose-version,sentry-cli send-eventandsentry-cli bash-hook --send-eventrelease inference, andsentry-cli react-native xcodeauto-release detection. Use--allow-xcode-infoplist-preprocessingonly for trusted projects that require preprocessing. - security
Ensure restrictive file permissions maintained when
sentry-cli loginupdates existing config files. - security
Disable TLS verification only when
http.verify_sslis set tofalse, case-insensitively. - security
Shell-escape generated
bash-hookarguments, including paths, tags, release names, and the CLI path. - security
Stop sending environment variables in
sentry-cli bash-hookevents. - security
Verify the downloaded binary checksum before replacing the current executable in
sentry-cli update.
Performance
(snapshots) Skip uploading images that already exist in objectstore by batch-checking with HEAD requests first
Fixes
(snapshots) Reject snapshot uploads that have a PR number but no base SHA, since comparisons cannot work without a base reference
3.4.2
11 May 2026(snapshots) Stop sending Sentry auth token to Objectstore
(js) Fix argument injection in JavaScript API's
serializeOptions. String/number options now validate input types and preventArray.prototype.concat()from flattening array values into separate CLI arguments.
3.4.1
28 Apr 2026(bundle-jvm) Warn and skip subsequent duplicates when multiple files strip to the same URL (e.g. Android build variants contributing the same FQCN). The warning points users at
--excludeto scope the bundle to a single variant (#3275).(bundle-jvm) Strip the
[<module>/]src/<sourceset>/<lang>/prefix from bundle URLs so Symbolicator can resolve them from package-based stack traces (e.g.sentry-android-core/src/main/java/io/sentry/android/core/ANRWatchDog.java→~/io/sentry/android/core/ANRWatchDog.jvm) (#3275).
3.4.0
20 Apr 2026(snapshots) Add
--selectiveflag tobuild snapshotsto indicate the upload contains only a subset of images(bundle-jvm) Allow running directly on a project root (including multi-module repos) by automatically collecting only JVM source files (
.java,.kt,.scala,.groovy), respecting.gitignore, and excluding common build output directories(bundle-jvm) Add
--excludeoption for custom glob patterns to exclude files/directories from source collection
Features
(snapshots) Add
--selectiveflag tobuild snapshotsto indicate the upload contains only a subset of images(bundle-jvm) Allow running directly on a project root (including multi-module repos) by automatically collecting only JVM source files (
.java,.kt,.scala,.groovy), respecting.gitignore, and excluding common build output directories(bundle-jvm) Add
--excludeoption for custom glob patterns to exclude files/directories from source collection
Performance
(snapshots) Parallelize image hashing with rayon
Fixes
(snapshots) Chunk image uploads to avoid file descriptor exhaustion and 413 errors when uploading hundreds of images
(snapshots) Preserve subdirectory structure in snapshot manifest keys instead of flattening to bare filenames
Replace
eprintln!withlog::info!for progress bar completion messages when the progress bar is disabled (e.g. in CI). This avoids spurious stderr output that some CI systems treat as errors (#3223).
3.3.5
30 Mar 2026(snapshots) Parallelize image hashing with rayon
(sourcemaps) Skip non-base64 embedded sourcemaps during injection
3.3.3
11 Mar 2026Only updates dependencies, nothing else changes.
3.3.2
10 Mar 2026(preprod) Add VCS parameters to snapshots upload command
New Features
(preprod) Add VCS parameters to snapshots upload command
3.3.0
4 Mar 2026Added
sentry-cli proguard uuid <PATH>to compute and print the UUID for a ProGuard mapping file (#3176).Moved
sentry-cli upload-proguardtosentry-cli proguard upload, aligning the API with similar upload commands likedebug-files uploadandsourcemaps upload(#3174).sentry-cli upload-proguardremains supported as an alias, so no migration is required.Print snapshot URL after successful upload (#3167).
3.2.2
23 Feb 2026- security
Updated
minimatchdependency to fix a vulnerability
3.2.0
9 Feb 2026Add
sourceMaps.inject()for injecting debug IDsAdd
--install-groupparameter tosentry-cli build uploadfor controlling update visibility between buildsRecognize
*.ghe.comURLs asgithub_enterpriseVCS provider (#3127).
Features
Add
sourceMaps.inject()for injecting debug IDsAdd
--install-groupparameter tosentry-cli build uploadfor controlling update visibility between builds
Fixes
3.1.0
12 Jan 2026In the JavaScript API, added multi-project support to
releases.newDeploy()method. This method now accept aprojectsoption (array of project slugs), aligning them with the Rust CLI's multi-project capabilities and matching the existing behavior ofreleases.new()andreleases.uploadSourceMaps()(#3001).This release includes some changes to enable support for older self-hosted Sentry versions. With these changes, Sentry CLI now officially self-hosted Sentry versions 24.11.1 and above
Fixed a bug that prevented project IDs from being used with the
sentry-cli releases newcommand for users with self-hosted Sentry instances on versions older than 25.12.1 (#3068).
New Features
In the JavaScript API, added multi-project support to
releases.newDeploy()method. This method now accept aprojectsoption (array of project slugs), aligning them with the Rust CLI's multi-project capabilities and matching the existing behavior ofreleases.new()andreleases.uploadSourceMaps()(#3001).
Improvements
This release includes some changes to enable support for older self-hosted Sentry versions. With these changes, Sentry CLI now officially self-hosted Sentry versions 24.11.1 and above
Fixes
Fixed a bug that prevented project IDs from being used with the
sentry-cli releases newcommand for users with self-hosted Sentry instances on versions older than 25.12.1 (#3068).Fixed a bug, introduced in version 3.0.0, where the
sentry-cli releases listcommand ignored the--projectoption (#3048). The command now correctly can filter releases by a single project when supplied via--project. This change does not enable filtering by multiple projects, which has never been supported.
3.0.3
8 Jan 2026Reading the note…
3.0.2
7 Jan 2026Reading the note…
3.0.1
17 Dec 2025Reading the note…
3.0.0
15 Dec 2025- breaking
Removed all
sentry-cli files ...andsentry-cli releases files ...subcommands (#2956). These commands provided functionality for managing release files, a feature that has been deprecated in Sentry. Users still usingsentry-cli files uploadto upload source maps should migrate tosentry-cli sourcemaps upload. - breaking
Removed the
sentry-cli sourcemaps explaincommand (#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. - breaking
Removed the
sentry-cli send-metric ...subcommands (#3006). These commands have been deprecated, and the data they send is no longer accepted by Sentry.
New Sentry Support Policy
sentry-cli3.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 previously, and this new policy should give more clarity about what can change in minor or patch releases versus what requires a major version bump.
Breaking Changes
- breaking
Removed all
sentry-cli files ...andsentry-cli releases files ...subcommands (#2956). These commands provided functionality for managing release files, a feature that has been deprecated in Sentry. Users still usingsentry-cli files uploadto upload source maps should migrate tosentry-cli sourcemaps upload. - breaking
Removed the
sentry-cli sourcemaps explaincommand (#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. - breaking
Removed the
sentry-cli send-metric ...subcommands (#3006). These commands have been deprecated, and the data they send is no longer accepted by Sentry. - breaking
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-keyCLI flagSENTRY_API_KEYenvironment variableapi_keyconfiguration file fieldapiKeyoption in the JavaScript API
- breaking
Removed the
upload-proguardsubcommand's--app-id,--version,--version-code,--android-manifest, and--platformarguments (#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. - breaking
Removed the
--startedargument from thesentry-cli releases finalizecommand (#2972). This argument is a no-op, so any users using it should simply stop using it. - breaking
Removed the
--use-artifact-bundleflag fromsentry-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-clivia the npm package@sentry/cli:- breaking
The
SentryCli.executemethod'sliveparameter now only takes boolean values (#2971). Settinglivetotruenow 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. - breaking
The
optionparameter toReleases.uploadSourceMapsno longer takes aliveproperty (#2971). We now always execute the command withliveset totrue. - breaking
Removed the
apiKeyoption fromSentryCliOptions(#2935). If you are usingapiKey, you need to generate and use an Auth Token via theauthTokenoption, instead. - breaking
Removed the
useArtifactBundleoption fromSentryCliUploadSourceMapsOptions(#3002). This deprecated option was a no-op that users should simply stop passing. - breaking
Drop support for Node.js <18. The minimum required Node.js version is now 18.0.0 (#2985).
- breaking
The type export
SentryCliReleaseshas been removed. - breaking
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-proguardcommand now uses chunked uploading by default (#2918). Users who previously set theSENTRY_EXPERIMENTAL_PROGUARD_CHUNK_UPLOADenvironment 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
debugIdfield, per the TC39 Debug ID proposal (#3005). This change affects thesentry-cli sourcemaps injectcommand and, unless--no-rewriteis passed, thesentry-cli sourcemaps uploadcommand. Sentry CLI can still read thedebug_idfield, but whenever the CLI writes or rewrites a source map, we always usedebugId.The
sentry-cli build uploadcommand now automatically tracks Sentry plugin versions from theSENTRY_PIPELINEenvironment variable (#2994). WhenSENTRY_PIPELINEcontains a recognized Sentry plugin (e.g.,sentry-gradle-plugin/4.12.0orsentry-fastlane-plugin/1.2.3), the plugin version is written to the.sentry-cli-metadata.txtfile 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).
- 2.x
2.58.6
21 May 2026Reading the note…
2.58.5
23 Feb 2026Reading the note…
2.58.4
12 Dec 2025Reading the note…
2.58.3
10 Dec 2025Reading the note…
2.58.2
12 Nov 2025Reading the note…
2.58.1
11 Nov 2025Reading the note…
2.58.0
6 Nov 2025Reading the note…
2.57.0
22 Oct 2025Reading the note…
2.56.1
10 Oct 2025Reading the note…
2.56.0
30 Sep 2025Reading the note…
2.55.0
23 Sep 2025Reading the note…
2.54.0
18 Sep 2025Reading the note…
2.53.0
1 Sep 2025Reading the note…
2.52.0
13 Aug 2025Reading the note…
2.51.1
8 Aug 2025Reading the note…
2.51.0
7 Aug 2025Reading the note…
2.50.2
22 Jul 2025Reading the note…
2.50.1
22 Jul 2025Reading the note…
2.50.0
18 Jul 2025Reading the note…
2.49.0
18 Jul 2025Reading the note…
2.48.0
18 Jul 2025Reading the note…
2.47.1
14 Jul 2025Reading the note…