Open
Conversation
216cd1e to
3b62b1d
Compare
3b62b1d to
f95a144
Compare
45de0d1 to
5b8feb7
Compare
d317d75 to
1fdc3dc
Compare
1fdc3dc to
57f5f27
Compare
57f5f27 to
28ba1ec
Compare
28ba1ec to
a5aa7c5
Compare
a5aa7c5 to
a2c6e48
Compare
a2c6e48 to
bd894f0
Compare
bd894f0 to
30f4b4e
Compare
30f4b4e to
cd6622f
Compare
cd6622f to
9390a7f
Compare
9390a7f to
90cbae9
Compare
02b113f to
95e3261
Compare
95e3261 to
f8d46d7
Compare
f8d46d7 to
d9b5ea9
Compare
d9b5ea9 to
45b621d
Compare
45b621d to
5c3074c
Compare
cd60cc8 to
82872dc
Compare
82872dc to
f1862bb
Compare
f1862bb to
9d3a5eb
Compare
51876ed to
f8c4f6b
Compare
f8c4f6b to
3a910a0
Compare
3a910a0 to
5d9aed5
Compare
5d9aed5 to
97b1865
Compare
97b1865 to
e61b8ad
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Bumps scripts/update-cli.sh from 2.56.0 to 3.3.3.
Auto-generated by a dependency updater.
Changelog
3.3.3
Internal Changes 🔧
3.3.2
New Features ✨
Internal Changes 🔧
3.3.1
Fixes
.xcarchiveor.ipafiles on non-Apple Silicon Macs (#3211).Experimental Feature 🧑🔬 (internal-only)
sentry-cli build snapshotscommand (#3163).3.3.0
New Features
sentry-cli proguard uuid <PATH>to compute and print the UUID for a ProGuard mapping file (#3176).Improvements
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.Experimental Feature 🧑🔬 (internal-only)
3.2.3
Experimental Feature 🧑🔬 (internal-only)
sentry-cli build snapshotscommand to upload build snapshots to a project (#3110).3.2.2
Fixes
minimatchdependency to fix a vulnerability (#3153)3.2.1
Fixes
dart-symbol-map uploadcommand now correctly resolves the organization from the auth token payload (#3065).sentry.iorequests to reduce intermittent failures for some users (#3085)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).2.58.2
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.2.58.1
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).2.58.0
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).Internal changes
2.57.0
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.2.56.1
Deprecations
Fixes & improvements