chore(deps): update CLI to v2.58.0 #232
Open
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.ps1 from 2.19.2 to 2.58.0.
Auto-generated by a dependency updater.
Changelog
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).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
2.56.0
Various fixes & improvements
SENTRY_RELEASEenvironment variable (#2807) by szokeasaurusrex2.55.0
Various fixes & improvements
2.54.0
Various fixes & improvements
2.53.0
Various fixes & improvements
Changes from 2.53.0-alpha
2.53.0-alpha reintroduced the
build(previously namedmobile-app) commands. 2.53.0 is the first stable release to reintroduce them.Please note, the
buildcommands are still experimental, and are therefore subject to breaking changes, including removal, in any release, without notice.2.53.0-alpha
This release reintroduces the
build(previously namedmobile-app) commands.Various fixes & improvements
2.52.0
Various fixes & improvements
dart-symbol-map uploadcommand (#2691) by buenaflorcollect(#2705) by szokeasaurusrex--no-upload(#2693) by P1n3appl32.51.1
Various fixes & improvements
logscommand as beta (#2690) by szokeasaurusrex2.51.0
Logs command
This release introduces a new
sentry-cli logs listcommand, which lists your Sentry logs. For more details, seesentry-cli logs list --help.Please note: if you receive a
403error when using the new command, you may need to generate a new auth token with different permissions. You can do this by navigating to Settings → Developer Settings → Personal Tokens in Sentry. On the Personal Tokens page, generate a token withorg:readscope, and pass this to the command using--auth-tokenor by setting theSENTRY_AUTH_TOKENenvironment variable.Various fixes & improvements
releases files upload-sourcemaps(#2676) by szokeasaurusrex2.50.2
This change removes the
mobile-app uploadexperimental feature which was introduced in 2.50.1.2.50.1
Various fixes & improvements
New experimental feature
This release introduces the new experimental
mobile-app uploadsubcommand. This command is experimental, and therefore subject to changes, including breaking changes and/or removal, in any release. The command might not work as expected.2.50.0
Various fixes & improvements
rejectOnErrorin publicexecutetype declarations (#2628) by Lms242.49.0
Various fixes & improvements
liveoption type forreleases.uploadSourceMaps(#2627) by Lms242.48.0
Various fixes & improvements
live: 'rejectOnError'execution mode toexecutemethod (#2605) by Lms24Build-time changes
2.47.1
No user-facing changes.
2.47.0
Various fixes & improvements
mobile-appcommand from release builds (#2582) by szokeasaurusrex2.46.0
Various fixes & improvements
react-native appcenteras deprecated (#2522) by chromynpmpackage on Android (#2524) by szokeasaurusrex--startedflag (#2515) by szokeasaurusrexorig_pathfor bundle sources output file name (#2514) by szokeasaurusrexfilessubcommands as deprecated. (#2512) by Swatinem2.45.0
New feature
sentry-cli sourcemaps uploadcommand, like so:Various fixes & improvements
fixup_js_file_end(#2475) by szokeasaurusrexLegacyUploadContextfor legacy uploads (#2494) by szokeasaurusrex2.44.0
Various fixes & improvements
2.43.1
Various fixes & improvements
tokioto1.44.2(#2474) by szokeasaurusrex2.43.0
This release explicitly deprecates the
sentry-cli debug-files uploadcommand's--info-plistargument, since the argument does nothing. If you are using the--info-plistargument, you should stop using it.Various fixes & improvements
xcodebuild(#2443) by szokeasaurusrex2.42.5
This is a re-release of 2.45.5-alpha as a stable release. There are no code changes from 2.45.5-alpha, since the Windows ARM build for that version was published successfully.
2.42.5-alpha
This release adds a binary for Windows on ARM.
We are releasing this as an alpha to test that the new Windows ARM build is published to NPM correctly.
Various fixes & improvements
npm(#2436) by szokeasaurusrexis_homebrew_install(#2434) by szokeasaurusrexset_executable_mode(#2433) by szokeasaurusrexusernamewithwhoami(#2432) by szokeasaurusrexwinapidependency (#2431) by szokeasaurusrex-D warnings(#2425) by szokeasaurusrexactions-rs(#2424) by szokeasaurusrexzipdependency (#2421) by szokeasaurusrex2.42.4
Various fixes & improvements
2.42.3
Various fixes & improvements
2.42.2
Various fixes & improvements
semver5.*dependencies (#2399) by szokeasaurusrexsemver6.*(#2400) by szokeasaurusrexsemver^7.*dependencies (#2398) by szokeasaurusrexcross-spawn7.0.X(#2396) by szokeasaurusrexcross-spawn^6.0.5(#2395) by szokeasaurusrex2.42.1
This release is a re-release of 2.42.0. There are no code changes to the CLI. We are performing this re-release because 2.42.0 failed to publish to Docker Hub.
Various fixes & improvements
2.42.0
With this release, we now build and publish multi-architecture (arm64 and aarch64) Docker images for Sentry CLI.
Various fixes & improvements
--use-artifact-bundleoption (#2349) by szokeasaurusrexuseArtifactBundleJS option (#2348) by szokeasaurusrexNon-user-facing changes
docker(#2390) by szokeasaurusrexurlcrate (#2379) by szokeasaurusrexunnecessary_wrapsforadd_debug_id_references(#2369) by szokeasaurusrexunnecessary_wrapsforadd_sourcemap_references(#2368) by szokeasaurusrexunnecessary_wrapslint forSourceMapsProcessor::add(#2367) by szokeasaurusrexlookup_posnot returnOption(#2366) by szokeasaurusrexApi::with_bodyreturnSelf(#2363) by szokeasaurusrexwith_retryreturnSelf(#2365) by szokeasaurusrexprogress_bar_modereturnSelf(#2364) by szokeasaurusrexunnecessary_wrapslint forset_auth(#2362) by szokeasaurusrexResultfromConfig::from_file(#2361) by szokeasaurusrexclippy::unnecessary_wrapslint (#2358) by szokeasaurusrex-D warnings(#2359) by szokeasaurusrex--log-levelparsing (#2356) by szokeasaurusrex2.41.1
Various fixes & improvements
dotenvwithdotenvy(#2351) by szokeasaurusrex.envfiles2.41.0
Various fixes & improvements
symbolicto12.13.3(#2346) by szokeasaurusrexmemmap2(#2340) by szokeasaurusrexdebug-files uploadwhen file is too big (#2331) by szokeasaurusrexcollect(#2333) by szokeasaurusrex2.40.0
New features
globalThiswhen available (#2301) by lforstImprovements
Bug fixes
Non-user-facing changes
We made several refactors and added several tests in this release. These changes should not affect users.
upload-difreference frompoll_assemble(#2321) by szokeasaurusrexrender_detailtakeOption<&str>(#2317) by szokeasaurusrexupload_difs_chunked(#2316) by szokeasaurusrexuploadmodule tooptions(#2315) by szokeasaurusrexChunkOptionsastruct(#2314) by szokeasaurusrex&strinDifUploadstruct (#2307) by szokeasaurusrexpoll_assemble(#2300) by szokeasaurusrex/to uploaded Proguard file name (#2304) by szokeasaurusrextry_assembleoptionsparameter (#2299) by szokeasaurusrexChunkedUploadOptionsto indicate they are set by server (#2298) by szokeasaurusrexChunked<ProguardMapping>for proguard upload (#2296) by szokeasaurusrexChunkedDifRequesttakeCow<'_, str>forname(#2295) by szokeasaurusrexMappingRefwithProguardMapping(#2294) by szokeasaurusrexproguardutilssubmodule (#2293) by szokeasaurusrexByteView(#2292) by szokeasaurusrexChunkedDifRequest(#2290) by szokeasaurusrexNamedtrait toAssemblable(#2289) by szokeasaurusrexpoll_assemblegeneric (#2287) by szokeasaurusrexToAssembletraittry_assemble_difgenericChunkedDifMatchwith genericChunkedObjectusizeinget_sha1_checksumssignatureassert_cmdtest manager2.39.1
Various fixes & improvements
2.39.0
Features/improvements
debugIdfield in sourcemaps (#2222)Various fixes & improvements
assert_cmdas a dev dependencySENTRY_DUMP_REPONSEenvironment variable (#2212)allow(dead_code)from update utils (#2216)allow(dead_code)(#2215)Changes to tests
with_header_matchertypes (#2261) by szokeasaurusreximpl Into<Matcher>forwith_matcher(#2260) by szokeasaurusrexwith_reponse_bodyparameter tomockito(#2259) by szokeasaurusrex200(#2258) by szokeasaurusrexmockitomocking library (#2254) by szokeasaurusrexTestManagerin new chunk upload test (#2253) by szokeasaurusrexTestManagerstruct for uniform test setup (#2252) by szokeasaurusrexmock_common_endpointsrefactor (#2251) by szokeasaurusrexmock_common_upload_endpoints(#2250) by szokeasaurusrexmock_common_upload_endpointsinto module (#2249) by szokeasaurusrexmockingtomock_endpoint_builder(#2248) by szokeasaurusrexEndpointOptionstoMockEndpointBuilder(#2247) by szokeasaurusrexEndpointOptions(#2246) by szokeasaurusrexEndpointOptions(#2245) by szokeasaurusrextrycmdtests withRUST_BACKTRACE=0(#2242) by szokeasaurusrextarget_os(#2240) by szokeasaurusrexbash_hooktests together (#2226)assembleendpoint call2.38.2
Various fixes & improvements
2.38.1
Various fixes & improvements
.vscodedirectory from version control (#2208) by szokeasaurusrexmainto indicate it does not return (#2192) by szokeasaurusrexcommands::maindoes not return (#2191) by szokeasaurusrex2.38.0
Various fixes & improvements
RUST_BACKTRACE=1(#2189) by szokeasaurusrex--auth-token(#2172) by szokeasaurusrex2.37.0
All Xcode uploads are now executed in the foreground, which should allow for easier debugging of any problems that occur while uploading files during the build process, since errors will be logged directly within Xcode.
With this change, the
--force-foregroundflag is no longer needed, since we always upload in the foreground. The flag is now a deprecated no-op.2.36.6
There are no code changes in this release. It is being performed to test an update to the release build process.
2.36.5
There are no code changes in this release. It is a re-release of 2.36.4, which we are making because 2.36.4 and 2.36.3
failed to publish to PyPI.
2.36.4
This releases fixes includes a bugfix (#2171 by szokeasaurusrex) for #2169. The bug caused any command run with
sentry-cli monitors runto not be executed whenever sending the cron checkin to Sentry failed, e.g. during a Sentryoutage or due to some other network failure. With the bugfix, we log the error and execute the program even when there
was an error sending the checkin.
We recommend that all users using
sentry-cli monitors runupgrade to Sentry CLI version 2.36.4 immediately.2.36.3
Various fixes & improvements
curl-sys(#2164) by szokeasaurusrex2.36.2
Various fixes & improvements
--projectindeploys newsubcommand (#2160) by szokeasaurusrexsend-metriccommands (#2154) by szokeasaurusrex2.36.1
Various fixes & improvements
2.36.0
Various fixes & improvements
12.11.0. This fixes a bug where uploading source files sometimes failed when any of the files werenot UTF-8 encoded
2.35.0
Various fixes & improvements
upload-proguardon 507 status (#2141) by szokeasaurusrex2.34.1
Various fixes & improvements
12.10.1(#2134) by szokeasaurusrexsources were not valid UTF-8.
Errorclass in debugId injection snippet (#2132) by Lms242.34.0
Various fixes & improvements
2.33.1
Security fix
This release contains a fix for a bug where auth tokens would, under the following circumstances, be logged to
stdout:--auth-token)infoordebugwarn, so users using the default log level were unaffected by this bugWe now redact the
--auth-tokenargument and anything else that looks like it might be an auth token when logging thearguments that the Sentry CLI was called with (see #2115 and #2118 for details).
Other fixes & improvements
2.33.0
Various fixes & improvements
sntryu_) (#2100) by szokeasaurusrexfiles upload(#2107)2.32.2
Various fixes & improvements
curlto0.4.46inCargo.toml(#2099) by szokeasaurusrexcurl-sys(#2075) by szokeasaurusrex2.32.1
Release performed for technical reasons. This release is identical to 2.32.0.
2.32.0
Various fixes & improvements
2.31.2
Various fixes & improvements
releases set-commitscommand, which were introduced in 2.31.1.2.31.1
Various fixes & improvements
checkpassed a directory (#2034) by szokeasaurusrex2.31.0
With this change, dSYM uploads to the legacy endpoint and release file uploads are routed to the region URL directly (
e.g. to https://us.sentry.io instead of https://sentry.io). This change only affects users using the CLI to interact
with SaaS Sentry; everything stays the same for self-hosted users.
Other changes
make lintonly with default features (#1994) by szokeasaurusrex2.30.5
Release made for technical reasons. There are no code changes in this version.
2.30.4
Release made for technical reasons. There are no code changes in this version.
2.30.3
Various fixes & improvements
2.30.2
This release re-enables Python releases. There are no code changes.
2.30.1
Various fixes & improvements
2.30.0
Cron Monitor Changes
The
monitors runsubcommand now no longer accepts--auth-tokenor other means of authentication using token-basedauth. It is now required to use DSN based auth to monitor cron jobs using the sentry-cli.
2.29.1
Updated version 2.29.0 changelog. No code changes.
2.29.0
Source maps fixes
This release fixes the behavior of
sourcemaps injectandsourcemaps upload. We now treat minified and non-minifiedsource files the same way in both commands, which was always the desired behavior, and is also consistent with our JS
bundler plugins.
Please be aware that from now on,
sourcemaps injectwill inject debug IDs into all JS source files at the pathprovided to the command. If you only wish for some of the files to have debug IDs injected, you need to modify the
path(s) passed to
sourcemaps injector you need to use the--ignoreor--ignore-fileoptions to exclude the filesyou do not wish to inject the debug IDs into.
In the
sourcemaps uploadcommand, we have eliminated the "Minified Scripts" section in the Source Maps Upload Report.Instead, these minified scripts will appear under "Scripts."
Auth token validation
Sentry CLI now validates that you have provided an auth token whenever you run a command that requires authentication to
succeed. If you fail to provide an auth token when running such a command, the Sentry CLI will exit with an error
message explaining that the auth token is required but missing.
Other fixes & improvements
.cjsand.mjsto defaultsourcemaps uploadextensions (#1961) by szokeasaurusrex2.28.6
Various fixes & improvements
--projectargument (#1930)" (#1942) by szokeasaurusrex2.28.5
Various fixes & improvements
--projectargument (#1930) by szokeasaurusrex2.28.0
New features
sentry-cli monitors runcommand now has two new command line arguments:--failure-issue-thresholdand--recovery-threshold. These arguments allow the user to specify the number of consecutive failed checkins thattrigger an issue to be created and the number of successful checkins that trigger the issue to be resolved,
respectively.
Various fixes & improvements
2.27.0
Improvements
--urlargument over empty auth token URL (#1914) by szokeasaurusrexFixes
could not be found, instead of stating that the organization could not be found. (#1916) by szokeasaurusrex
Other
dsyms/associateAPI usage (#1886) by Swatinem2.26.0
Various fixes & improvements
2.25.3
2.25.2
2.25.1