Skip to content

Conversation

@github-actions
Copy link
Contributor

Bumps scripts/update-cli.ps1 from 2.58.2 to 2.58.3.

Auto-generated by a dependency updater.

Changelog

2.58.3

Improvements

  • For the sentry-cli build upload command, 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.
    • We can detect most common CI environments based on the environment variables these set.
    • We introduced two new arguments, --force-git-metadata and --no-git-metadata, which force-enable and force-disable automatic Git data collection, respectively, overriding the default behavior.
  • The sentry-cli build upload command now automatically detects the correct branch or tag reference in non-PR GitHub Actions workflows (#2976). Previously, --head-ref was only auto-detected for pull request workflows. Now it works for push, release, and other workflow types by using the GITHUB_REF_NAME environment variable.

Fixes

  • Fixed a bug where the sentry-cli sourcemaps inject command could inject JavaScript code into certain incorrectly formatted source map files, corrupting their JSON structure (#3003).

Internal changes

  • Migrated JavaScript wrapper to TypeScript for better type safety (#2910)
Full CHANGELOG.md diff
 -1,5 +1,16 
 # Changelog
 
+## 2.58.3
+
+### Improvements
+- For the `sentry-cli build upload` command, 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](https://github-redirect.dependabot.com/getsentry/sentry-cli/pull/2974)). This change prevents local development builds from triggiering GitHub status checks for size analysis.
+  - We can detect most common CI environments based on the environment variables these set.
+  - We introduced two new arguments, `--force-git-metadata` and `--no-git-metadata`, which force-enable and force-disable automatic Git data collection, respectively, overriding the default behavior.
+- The `sentry-cli build upload` command now automatically detects the correct branch or tag reference in non-PR GitHub Actions workflows ([#2976](https://github-redirect.dependabot.com/getsentry/sentry-cli/pull/2976)). Previously, `--head-ref` was only auto-detected for pull request workflows. Now it works for push, release, and other workflow types by using the `GITHUB_REF_NAME` environment variable.
+
+### Fixes
+- Fixed a bug where the `sentry-cli sourcemaps inject` command could inject JavaScript code into certain incorrectly formatted source map files, corrupting their JSON structure ([#3003](https://github-redirect.dependabot.com/getsentry/sentry-cli/pull/3003)).
+
 ## 2.58.2
 
 ### Improvements
 -46,6 +57,10 
 
 - Slightly sped up the `sentry-cli sourcemaps upload` command by eliminating an HTTP request to the Sentry server, which was not required in most cases ([#2913](https://github-redirect.dependabot.com/getsentry/sentry-cli/pull/2913)).
 
+### Internal changes
+
+- Migrated JavaScript wrapper to TypeScript for better type safety ([#2910](https://github-redirect.dependabot.com/getsentry/sentry-cli/pull/2910))
+
 ## 2.57.0
 
 ### New Features
 -503,7 +518,7  We made several refactors and added several tests in this release. These changes
 
 <details>
 <summary><h3>Changes to tests</h3></summary>
-  
+
 - ref(test): Broaden `with_header_matcher` types ([#2261](https://github-redirect.dependabot.com/getsentry/sentry-cli/issues/2261)) by szokeasaurusrex
 - ref(test): Accept `impl Into<Matcher>` for `with_matcher` ([#2260](https://github-redirect.dependabot.com/getsentry/sentry-cli/issues/2260)) by szokeasaurusrex
 - ref(test): Align `with_reponse_body` parameter to `mockito` ([#2259](https://github-redirect.dependabot.com/getsentry/sentry-cli/issues/2259)) by szokeasaurusrex

@github-actions github-actions bot added the Dependencies Pull requests that update a dependency file label Dec 11, 2025
@github-actions github-actions bot requested a review from Flash0ver as a code owner December 11, 2025 03:27
@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-cli.ps1 branch from c0295fe to 3941d07 Compare December 11, 2025 03:28
@codecov
Copy link

codecov bot commented Dec 11, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 73.80%. Comparing base (26d1bba) to head (34aebda).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4805   +/-   ##
=======================================
  Coverage   73.80%   73.80%           
=======================================
  Files         483      483           
  Lines       17547    17547           
  Branches     3460     3460           
=======================================
+ Hits        12950    12951    +1     
+ Misses       3746     3745    -1     
  Partials      851      851           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bruno-garcia bruno-garcia force-pushed the deps/scripts/update-cli.ps1 branch from 3941d07 to 34aebda Compare December 12, 2025 03:27
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants