Release history
sentry-cli releases
A command line utility to work with Sentry.
All releases
43 shown
Security + snapshots
- js: Fixed argument injection in `serializeOptions` preventing array flattening via `Array.prototype.concat()`
Full changelog
- Warn and skip duplicates when files strip to the same URL
- Fixed URL prefix stripping for Symbolicator symbol resolution
Full changelog
Improvements
- (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).
Fixes
- (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).
- bundle-jvm auto-discovers .java, .kt, .scala, .groovy source files from project root while respecting .gitignore
- Add --exclude option for custom glob patterns and --selective flag for subset snapshot uploads
- Parallelize image hashing and chunk uploads to prevent file descriptor exhaustion
Full changelog
Features
- (snapshots) Add
--selectiveflag tobuild snapshotsto indicate the upload contains only a subset of images (#3268) - (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 (#3260) - (bundle-jvm) Add
--excludeoption for custom glob patterns to exclude files/directories from source collection (#3260)
Performance
- (snapshots) Parallelize image hashing with rayon (#3250)
Fixes
- (snapshots) Chunk image uploads to avoid file descriptor exhaustion and 413 errors when uploading hundreds of images (#3249)
- (snapshots) Preserve subdirectory structure in snapshot manifest keys instead of flattening to bare filenames (#3269)
- 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).
- Parallelized image hashing with rayon
- Fixed non-base64 sourcemap injection
- Added sentry-cli build download command
- Added sentry-cli code-mappings upload with automatic batching
### Internal Changes 🔧 - (npm) 🤖 Bump optional dependencies to 3.3.2 in
- Added sentry-cli proguard uuid command
- Moved upload-proguard to proguard upload
- Added experimental sentry-cli build snapshots command
- Fixed minimatch dependency vulnerability
- Fixed minimatch dependency vulnerability
- Added sourceMaps.inject() for injecting debug IDs
- Added --install-group parameter to build upload
- Added multi-project support to releases.newDeploy()
Fixed Intel macOS support for self-signed certificates in the keychain
Fixed ARM-based macOS systems not respecting self-signed certificates from macOS keychain.
Faster zstd compression algorithm for size analysis build uploads.
- Removed legacy API key authentication; use Auth Tokens instead
- Removed files and releases files subcommands
- Removed upload-proguard arguments: --app-id, --version, --version-code, --android-manifest, --platform
Postinstall script uses node directly instead of npm run, ensuring compatibility with non-npm package managers.
- Auto-detect Git metadata only in CI environments
- Added --force-git-metadata and --no-git-metadata options
Fixed 400 errors when passing empty strings to build upload command arguments.
- debug-files bundle-jvm now runs offline without HTTP requests
- Removed experimental status from build upload command
- Added CLI version metadata to build archives
- Added projects field to SentryCliUploadSourceMapsOptions
Improves GitHub Actions PR detection with automatic base and head SHA fetching.
- mobile-app subcommand renamed to build
- Release notes option for mobile-app
- Default VCS base_ref parsing for build subcommand
This change removes the `mobile-app upload` experimental feature which was introduced in 2.50.1.
- Experimental mobile-app upload subcommand
JavaScript execute type declarations now expose rejectOnError for type safety.
- Export live option type for releases.uploadSourceMaps
Improved login error output and added warnings when overwriting auth tokens.