Conversation
c0295fe to
3941d07
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4805 +/- ##
==========================================
+ Coverage 73.85% 73.88% +0.02%
==========================================
Files 494 494
Lines 17868 17868
Branches 3509 3509
==========================================
+ Hits 13197 13202 +5
+ Misses 3815 3807 -8
- Partials 856 859 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
34aebda to
293baf3
Compare
293baf3 to
dcc7cff
Compare
dcc7cff to
874594e
Compare
874594e to
54294a4
Compare
54294a4 to
520dab0
Compare
520dab0 to
3eaeccc
Compare
3eaeccc to
c20d553
Compare
858431a to
0e4ba82
Compare
9cc8f8a to
121fc7d
Compare
121fc7d to
a97ddb0
Compare
a97ddb0 to
31a504d
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
ff867c0 to
8b73b5a
Compare
c88f0db to
f32a235
Compare
f32a235 to
9ebbd6a
Compare
9ebbd6a to
6a238be
Compare
Semver Impact of This PR⚪ None (no version bump detected) 📋 Changelog PreviewThis is how your changes will appear in the changelog. Dependencies ⬆️Deps
Other
🤖 This preview updates automatically when you update the PR. |
91cccc5 to
c31eb05
Compare
c31eb05 to
e52710f
Compare
|
Pending github-workflows release (broken) with support for chunked ProGuard uploads: |
|
d751c80 to
bcde52f
Compare
bcde52f to
5685986
Compare
Bumps scripts/update-cli.ps1 from 2.58.2 to 3.2.0.
Auto-generated by a dependency updater.
Changelog
3.2.0
Features
sourceMaps.inject()for injecting debug IDs (#3088)--install-groupparameter tosentry-cli build uploadfor controlling update visibility between builds (#3094)Fixes
*.ghe.comURLs asgithub_enterpriseVCS provider (#3127).dart-symbol-mapcommand did not accept the--urlargument (#3108).build uploadpolling loop to prevent infinite loop when server returns unexpected state (#3118).3.1.0
New Features
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
Fixes
sentry-cli releases newcommand for users with self-hosted Sentry instances on versions older than 25.12.1 (#3068).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
Fixes
3.0.2
Fixes
Versioning Policy Update
Our versioning policy has reclassified the minimum supported self-hosted Sentry version as being part of the public API. Therefore, we will only increase this minimum supported self-hosted Sentry version in a major release of Sentry CLI.
3.0.1
Performance Improvements
sentry build upload) in preparation for this week's beta release! (#3038)3.0.0
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
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.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.sentry-cli send-metric ...subcommands (#3006). These commands have been deprecated, and the data they send is no longer accepted by Sentry.--api-keyCLI flagSENTRY_API_KEYenvironment variableapi_keyconfiguration file fieldapiKeyoption in the JavaScript APIupload-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.--startedargument from thesentry-cli releases finalizecommand (#2972). This argument is a no-op, so any users using it should simply stop using it.--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 packagesentry/cli: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.The
optionparameter toReleases.uploadSourceMapsno longer takes aliveproperty (#2971). We now always execute the command withliveset totrue.Removed the
apiKeyoption fromSentryCliOptions(#2935). If you are usingapiKey, you need to generate and use an Auth Token via theauthTokenoption, instead.Removed the
useArtifactBundleoption fromSentryCliUploadSourceMapsOptions(#3002). This deprecated option was a no-op that users should simply stop passing.Drop support for Node.js <18. The minimum required Node.js version is now 18.0.0 (#2985).
The type export
SentryCliReleaseshas been removed.The JavaScript wrapper now uses named exports instead of default exports (#2989). You need to update your imports:
For ESM imports:
Improvements
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.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.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
2.58.4
Fixes
npm run(#3030). This change ensures the postinstall script remains compatible with package managers other thannpm.2.58.3
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).Internal changes
Full CHANGELOG.md diff
Changelog Entry
SentryApiKey, you need to generate an Auth Token and useSentryAuthToken, instead.