[Snyk] Upgrade @sentry/cli from 2.31.2 to 2.58.4 #245
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade @sentry/cli from 2.31.2 to 2.58.4.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 60 versions ahead of your current version.
The recommended version was released a month ago.
Release notes
Package name: @sentry/cli
-
2.58.4 - 2025-12-12
- Use node directly in the postinstall script, instead of using
-
2.58.3 - 2025-12-10
- For the
- We can detect most common CI environments based on the environment variables these set.
- We introduced two new arguments,
- The
- Fixed a bug where the
-
2.58.3-alpha0 - 2025-12-10
- For the
- We can detect most common CI environments based on the environment variables these set.
- We introduced two new arguments,
- The
- Fixed a bug where the
-
2.58.2 - 2025-11-12
- Added validation for the
- Fixed a bug where providing empty-string values for the
-
2.58.1 - 2025-11-11
- Deprecated API key authentication (#2934, #2937). Users who are still using API keys to authenticate Sentry CLI should generate and use an Auth Token instead.
- The
- Skip setting
- Improved error message when supplying a non-existent organization to
-
2.58.0 - 2025-11-06
- Removed experimental status from the
- Added CLI version metadata to build upload archives (#2890).
- Deprecated the
- Deprecated the
- Deprecated the
- Fixed autofilled git base metadata (
- Slightly sped up the
-
2.57.0 - 2025-10-22
- (JS API) Add
- Deprecated the
- Added a deprecation notice for release bundle uploads, a legacy method for uploading source maps (#2844). Release bundle uploads will be removed in Sentry CLI 3.x in favor of artifact bundles, the newer source map upload method introduced in Sentry version 23.6.2. Self-hosted users: You must upgrade to Sentry 23.6.2 or later before upgrading to Sentry CLI 3.x.
- 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
-
2.56.1 - 2025-10-10
-
2.56.0 - 2025-09-30
-
2.55.0 - 2025-09-23
-
2.54.0 - 2025-09-18
-
2.53.0 - 2025-09-01
-
2.53.0-alpha - 2025-08-27
-
2.52.0 - 2025-08-13
-
2.51.1 - 2025-08-08
-
2.51.0 - 2025-08-07
-
2.50.2 - 2025-07-22
-
2.50.1 - 2025-07-22
-
2.50.0 - 2025-07-18
-
2.49.0 - 2025-07-18
-
2.48.0 - 2025-07-18
-
2.47.1 - 2025-07-14
-
2.47.0 - 2025-07-08
-
2.46.0 - 2025-05-27
-
2.46.0-alpha - 2025-05-27
-
2.45.0 - 2025-05-08
-
2.44.0 - 2025-05-05
-
2.43.1 - 2025-04-28
-
2.43.0 - 2025-03-27
-
2.42.5 - 2025-03-26
-
2.42.5-alpha - 2025-03-25
-
2.42.4 - 2025-03-19
-
2.42.3 - 2025-03-13
-
2.42.2 - 2025-02-24
-
2.42.1 - 2025-02-18
-
2.42.0 - 2025-02-18
-
2.41.1 - 2025-01-21
-
2.41.0 - 2025-01-20
-
2.40.0 - 2025-01-02
-
2.39.1 - 2024-11-26
-
2.39.0 - 2024-11-22
-
2.38.2 - 2024-11-04
-
2.38.1 - 2024-10-30
-
2.38.0 - 2024-10-22
-
2.37.0 - 2024-10-07
-
2.36.6 - 2024-10-02
-
2.36.5 - 2024-10-01
-
2.36.4 - 2024-09-30
-
2.36.3 - 2024-09-26
-
2.36.2 - 2024-09-23
-
2.36.1 - 2024-09-10
-
2.36.0 - 2024-09-09
-
2.35.0 - 2024-09-05
-
2.34.1 - 2024-08-28
-
2.34.0 - 2024-08-28
-
2.33.1 - 2024-08-02
-
2.33.0 - 2024-07-23
-
2.32.2 - 2024-07-15
-
2.32.1 - 2024-05-28
-
2.32.0 - 2024-05-28
-
2.31.2 - 2024-05-02
from @sentry/cli GitHub release notesFixes
npm run(#3030). This change ensures the postinstall script remains compatible with package managers other thannpm.Improvements
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.--force-git-metadataand--no-git-metadata, which force-enable and force-disable automatic Git data collection, respectively, overriding the default behavior.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.Fixes
sentry-cli sourcemaps injectcommand could inject JavaScript code into certain incorrectly formatted source map files, corrupting their JSON structure (#3003).Improvements
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.--force-git-metadataand--no-git-metadata, which force-enable and force-disable automatic Git data collection, respectively, overriding the default behavior.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.Fixes
sentry-cli sourcemaps injectcommand could inject JavaScript code into certain incorrectly formatted source map files, corrupting their JSON structure (#3003).Improvements
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.Fixes
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.Deprecations
Improvements
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).Fixes
base_shaandbase_refwhen they equalhead_shaduring auto-inference, since comparing a commit to itself provides no meaningful baseline (#2924).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 Features
sentry-cli build uploadcommands (#2899, #2905). At the time of this release, build uploads are still in closed beta on the server side, so most customers cannot use this functionality quite yet.Deprecations
upload-proguardsubcommand's--platformflag (#2863). This flag was a no-op for some time, so we will remove it in the next major.upload-proguardsubcommand's--android-manifestflag (#2891). This flag was a no-op for some time, so we will remove it in the next major.sentry-cli sourcemaps uploadcommand's--no-dedupeflag (#2913). The flag was no longer relevant for sourcemap uploads to modern Sentry servers and was made a no-op.Fixes
--base-ref,--base-sha) when using thebuild uploadsubcommand in git repos. Previously this worked only in the context of GitHub workflows (#2897, #2898).Performance
sentry-cli sourcemaps uploadcommand by eliminating an HTTP request to the Sentry server, which was not required in most cases (#2913).New Features
projectsfield toSentryCliUploadSourceMapsOptions(#2856)Deprecations
upload-proguardsubcommand's--app-id,--version, and--version-codeflags (#2852), as we plan to remove these flags in Sentry CLI 3.x. Users should simply stop using the flags; the values specified there have never had an effect on deobfuscation, and are no longer visible in Sentry.Fixes
sentry-cli debug-files bundle-jvmandsentry-cli sourcemaps upload. Any stderr output during the progress bar was lost if stderr was redirected.Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: