chore(deps): update CLI to v2.7.0
Bumps scripts/update-cli.sh from 1.74.4 to 2.7.0.
Auto-generated by a dependency updater.
Changelog
2.7.0
Various fixes & improvements
- fix: paths argument for debug-files find should take a value (#1346) by kamilogorek
- chore: reuse danger workflow (#1332) by vaind
2.6.0
Various fixes & improvements
- fix: Update symbolic to fix spurious EOF errors (#1339) by Swatinem
- fix: Break out of the loop when we reach cursor limit for list_release_files (#1337) by kamilogorek
- ref: Provide better user messages for properties file configs (#1336) by kamilogorek
- feat(sourcemaps): Add no-dedupe flag for skipping deduplication (#1334) by kamilogorek
- misc: Add note about MSVC requirement (#1333) by kamilogorek
- ref: Use better artifacts url resolution for sourcemaps explain (#1329) by kamilogorek
- feat: Add top-level events command with list subcommand (#1307) by dcariotti
2.5.2
Various fixes & improvements
- fix: Use direct plist env vars fallback when called within xcode itself (#1311) by kamilogorek
2.5.1
Various fixes & improvements
- fix: Fallback to xcodebuild vars for faulty Info.plist files (#1310) by kamilogorek
- ref: Log warning when debug source excedes item size limit (#1305) by kamilogorek
2.5.0
Various fixes & improvements
- feat: Allow for selecting frame in sourcemaps explain (#1293) by kamilogorek
- misc: 1.74.5 changelog (#1291) by kamilogorek
- chore: add missing changelog entry for 1.74.4 (#1289) by vaind
2.4.1
Various fixes & improvements
- ref: Print better error when processing appcenter paths (#1287) by kamilogorek
- fix: Make sure release exists before querying for artifacts (#1284) by kamilogorek
2.4.0
Various fixes & improvements
- ci: Disable rustup self-update (#1278) by kamilogorek
- feat: Add decompress flag to sourcemaps and files upload (#1277) by kamilogorek
- feat: Use checksum to dedupe uploaded release artifacts (#1275) by kamilogorek
2.3.1
Various fixes & improvements
- ref: Dont print install progressbar for nonTTY and CI=1 (#1270) by kamilogorek
- fix: move dist option to SentryCliUploadSourceMapsOptions (#1269) by ikenfin
2.3.0
Various fixes & improvements
- fix: Allow for using --auth-token with login command (#1266) by kamilogorek
- deps: Update all Rust dependencies (#1265) by kamilogorek
- fix: Increase TempFile robustness on Windows (#1256) (#1263) by kamilogorek
- ref: Remove confusing ending dots from command logs (#1261) by kamilogorek
- fix: Correct typo in sourcemaps explain output (#1258) by huwq1987
- fix: Use first frame that has context-line in explain (#1255) by kamilogorek
- feat: Add send-envelope command (#1254) by kamilogorek
2.2.0
Various fixes & improvements
- feat: Compute and upload il2cpp line mappings (#1248) by loewenheim
- ref: Skip protected zip files when uploading debug files (#1245) by kamilogorek
2.1.0
Source Maps Upload Check "y-tho" (ongoing)
Problem statement:
Uploading source maps is a common source of frustration. Source maps are also one of the great value adds to our in product experience. We want to automate supporting customers with frequent issues.
https://docs.sentry.io/platforms/javascript/sourcemaps/troubleshooting_js/
*Outcome: *
Developers will be provided with a tool to help them discover any issues they may have when uploading source maps
Sentry support will have a tool and docs to suggest to customers to hopefully first discover issues, and second at least know what their problem is NOT.
Key measurements:
- qualitative: Is this useful for customers and support
- quantitative: Can we try to influence the number of Zendesk tickets
- quantitative: Can we influence the resolution time of source maps related Zendesk tickets
Can we find a way to track in zendesk the number of times the sentry-cli “y-tho“ functionality was useful
Additional
This is something users would run locally so I do not think we can track usage exactly what was not covered in y-tho
- Verify your source maps are built correctly
- Verify your source maps work locally
- Verify your source files are not too large
- this is a fuzzy requirement today in sentry
- Verify artifacts are not gzipped
- Verify workers are sharing the same volume as web (if running self-hosted Sentry via Docker)
- Should spit out an easily readable and easily copy and paste - to put into ZenDesk or elsewhere for support colleagues
Possible second milestone:
https://github.com/getsentry/rust-sourcemap/tree/master/cli
- In sentry error incorrect source map location
- this helps when producing sourcemaps locally then line and column
- this verify that it resolves locally
- if yes then it is a problem in between on sentry server side or upload
- 1st Verifies what you upload to sentry is exactly what you upload to sentry
- 2nd step from “y-tho” ensure previous steps are not for waste
- What is being automated?
- on release page you have your files (release artificats)
- download
- manually check the line number matches the error
- if correct then data is correct
- then you know an error with cli and not with the source maps that were uploaded
- on release page you have your files (release artificats)
By: kamilogorek (#1235)
Various fixes & improvements
- ref: Change comment format for find_matching_artifact (#1243) by kamilogorek
- ref: Log correct AppCenter error message (#1243) by kamilogorek
- fix: Respect no-zips option for debug files upload (#1239) by saf-e
- chore: fix recommended VS Code extension name (#1240) by vaind
- ref: Rename VERSION to SENTRY_CLI_VERSION in install readme (#1227) by kamilogorek
- feat: Add organizations list command (#1213) by kamilogorek
- docs(cli): Sync get-cli readme with our docs; add version specifier (#1225) by kamilogorek
- test: Add integration tests for projects command (#1212) by kamilogorek
- fix: replace git.io links with redirect targets (#1209) by asottile-sentry
2.0.4
Various fixes & improvements
- ref: Prevent vercel/nft and similar tools from including binary file in their bundles (#1207) by kamilogorek
- ref: Use node-fetchv2 for the simplicity sake (#1206) by kamilogorek
2.0.3
Various fixes & improvements
- ref: Make
--headera global flag so its position independent (#1194) - ref: Restore
monitorsas hidden command w. integration tests (#1196) - ref: Restore
bash-hookas hidden command w. integration tests (#1197)
2.0.2
Various fixes & improvements
- fix: Remove
fetch.FetchErrorusage in favor of catch-all clause (#1193) by kamilogorek - ref: Restore and hide legacy aliases from 1.x for backward compatibility (#1192) by kamilogorek
2.0.1
Various fixes & improvements
- fix: Allow hyphenated release names with any flags position (#1187) by kamilogorek
2.0.0
This is the first, long-overdue major release in over 5 years of sentry-cli's life. Some APIs were removed, some reworked, some newly added.
Most of introduced API changes are backward compatible through hidden aliases, so there is no immediate need for users developing 3rd party tools to make all the changes immediatelly. We do however encourage everyone to do it sooner or later, as deprecated items will be removed in the next major releases.
Breaking changes are denotated with (breaking) tag, and appropriate required changes are provided for each entry.
New APIs
- feat: Add
debug-filescommand, which is a joined functionality ofdifutilandupload-difcommands. - feat: Add
deployscommand, which was extracted fromreleases deployssubcommand. - feat: Add
filescommand, which was extracted fromreleases filessubcommand. - feat: Add
sourcemaps uploadcommand, which was extracted fromreleases files upload-sourcemapssubcommand. - feat: Add
sourcemaps resolvecommand. - feat: Allow for specifying global
--headerargument, which supports multiple occurences, to configure outgoing requests - feat: Implement global
--quiet/--silentflags to allow silencingstdoutoutput (This flag is currently implemented only for selected subcommands)
Removed APIs
- ref: Remove
react-native codepushsubcommand (usereact-native appcenterinstead) (breaking) - ref: Remove
react-native-gradleandreact-native-xcodecommands (usereact-native gradleandreact-native xcodeinstead) (breaking) - ref: Remove
crash_reportingrelated code andwith_crash_reportingcrate feature (no required changes) (breaking) - ref: Remove
SENTRY_NO_PROGRESS_BARenv var in favor ofSENTRYCLI_NO_PROGRESS_BAR(rename env variable) (breaking) - ref: Hide
difutil idsubcommand (usedebug-files checkinstead) - ref: Hide
upload-dsymcommand (usedebug-files uploadinstead) - ref: Make
releases upload-sourcemaps --rewritea default behavior now - ~ref: Remove
upload-dsymcommand (usedebug-files uploadinstead) (breaking)~ restored in 2.0.2 as hidden alias - ~ref: Remove
difutil idsubcommand (usedebug-files checkinstead) (breaking)~ restored in 2.0.2 as hidden alias - ~ref: Remove
monitorscommand (support for this feature has been dropped) (breaking)~ - restored in 2.0.3 as hidden command - ~ref: Remove
bash-hookcommand (use1.xif you still need the functionality) (breaking)~ - restored in 2.0.3 as hidden command
Breaking Changes
- ref: Update minimal required
nodeversion tov12(update node version) (breaking) - ref: Rename
--headerargument ofreleases files uploadcommand to--file-header(rename flag) (breaking) - ref: Rename
CUSTOM_HEADERtoSENTRY_HEADERanddefaults.custom_headertohttp.header(rename env variable or update config file) (breaking) - ref: Make
ignore-emptyforreleases set-commitsa default behavior and hide--ignore-emptyflag (remove--ignore-emptyusage) (breaking)
Various fixes & improvements
- feat: Implement
--quietflag forreleases upload-sourcemapscommand - feat: Implement
--quietflag fordifutil checkcommand - ref: Make
--auth-tokena global argument - ref: Make all
ProgressBarinstances and logs always write tostderr - ref: Migrate error handling from
failuretoanyhowcrate