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 1.74.4 to 2.38.2.
Auto-generated by a dependency updater.
Changelog
2.38.2
Various fixes & improvements
2.38.1
Various fixes & improvements
.vscode
directory from version control (#2208) by szokeasaurusrexmain
to indicate it does not return (#2192) by szokeasaurusrexcommands::main
does 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-foreground
flag 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 run
to 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 run
upgrade to Sentry CLI version 2.36.4 immediately.2.36.3
Various fixes & improvements
curl-sys
(#2164) by szokeasaurusrex2.36.2
Various fixes & improvements
--project
indeploys new
subcommand (#2160) by szokeasaurusrexsend-metric
commands (#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-proguard
on 507 status (#2141) by szokeasaurusrex2.34.1
Various fixes & improvements
12.10.1
(#2134) by szokeasaurusrexsources were not valid UTF-8.
Error
class 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
)info
ordebug
warn
, so users using the default log level were unaffected by this bugWe now redact the
--auth-token
argument 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
curl
to0.4.46
inCargo.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-commits
command, which were introduced in 2.31.1.2.31.1
Various fixes & improvements
check
passed 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 lint
only 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 run
subcommand now no longer accepts--auth-token
or 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 inject
andsourcemaps 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 inject
will 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 inject
or you need to use the--ignore
or--ignore-file
options to exclude the filesyou do not wish to inject the debug IDs into.
In the
sourcemaps upload
command, 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
.cjs
and.mjs
to defaultsourcemaps upload
extensions (#1961) by szokeasaurusrex2.28.6
Various fixes & improvements
--project
argument (#1930)" (#1942) by szokeasaurusrex2.28.5
Various fixes & improvements
--project
argument (#1930) by szokeasaurusrex2.28.0
New features
sentry-cli monitors run
command now has two new command line arguments:--failure-issue-threshold
and--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
--url
argument 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/associate
API usage (#1886) by Swatinem2.26.0
Various fixes & improvements
2.25.3
2.25.2
2.25.1
curl
issue on Windows (#1815) by xpirt2.25.0
Various fixes & improvements
sentry-cli login
called with--auth-token
(#1893) by szokeasaurusrex2.24.1
Various fixes & improvements
sentry-cli login
command (#1889) by szokeasaurusrex2.24.0
Various fixes & improvements
sourcemaps resolve
command output (#1880) by szokeasaurusrex2.23.2
Various fixes & improvements
map
(#1883) by szokeasaurusrex2.23.1
Various fixes & improvements
2.23.0
Various fixes & improvements
releases propose-version
error (#1854) by szokeasaurusrexmonitors run
command's--timezone
argument (#1847) by szokeasaurusrex2.22.3
ref: Transition to binaries over npm (#1836)
2.22.2
This release contains no changes and was done for technical purposes.
2.22.1
This release contains no changes and was done for technical purposes.
2.22.0
2.21.5
This release contains no changes and was done for technical purposes.
2.21.4
Various fixes & improvements
curl
issue on Windows (#1815) by xpirtsourceRoot
handling (#1818) by loewenheim2.21.3
Various fixes & improvements
sourcemaps explain
(#1797) by loewenheim2.21.2
Various fixes & improvements
2.21.1
Various fixes & improvements
/api/0
prefix from endpoint URLs (#1752) by loewenheim2.21.0
Various fixes and improvements
login
now opens the org auth token creation page (#1737) by loewenheimkrystofwoldrich
--wait
flag now also have a--wait-for <SECS>
option that additionally puts a limit on thewait time. (#1748) by loewenheim
symbolic
updated to 12.4.1 (#1749) by loewenheim2.20.7
Various fixes & improvements
2.20.6
Various fixes & improvements
SENTRY_RELEASE
in bash-hook (#1720) by boozec2.20.5
Various fixes & improvements
2.20.4
Various fixes and improvements
2.20.3
Various fixes & improvements
2.20.1
Various fixes and improvements
2.20.0
Various fixes and improvements
issues list
command (#1349)2.19.4
Various fixes and improvements
2.19.3
Various fixes and improvements
2.19.2
Various fixes and improvements
2.19.1
Various fixes & improvements
2.19.0
Various fixes & improvements
2.18.1
Various fixes & improvements
2.18.0
Various fixes & improvements
sentry
SDK to fix sending raw envelopes (#1616) by Swatinem2.17.5
Various fixes & improvements
2.17.4
Various fixes & improvements
2.17.3
Various fixes & improvements
sentry-cli debug-files bundle-jvm
for bundling Java (and other JVM based languages) sources (#1551) byadinauer
2.17.2
Various fixes & improvements
2.17.1
Various fixes & improvements
2.17.0
Various fixes & improvements
--use-artifact-bundle
flag to force Artifact Bundles usage (#1557) (#1559)File::create
to make sure files are truncated (#1562)2.16.1
Various fixes & improvements
2.16.0
Various fixes & improvements
2.15.2
Various fixes and improvements
2.15.1
Various fixes and improvements
sourcemaps inject
(#1523)2.15.0
Various fixes & improvements
sourcemaps upload
and print injection report (#1513)sourcemaps inject
files (#1504)sourceMappingURL
comment is always kept at the end of afile (#1511)
2.14.4
Various fixes & improvements
2.14.3
Various fixes & improvements
2.14.2
2.14.1
Various fixes & improvements
2.14.0
Various fixes & improvements
debug-files print-sources
command (#1476) by vaind2.13.0
--raw
flag tosend-envelope
to allow sending envelopes without parsing or validation. (#1468)SENTRY_TRACE_ID
(#1472)2.12.0
Various fixes & improvements
SENTRY_TRACE_ID
to executed process inmonitors
(#1441)SENTRY_MONITOR_ID
to executed process inmonitors
(#1438)bash-hook
(#1415)2.11.0
Various fixes & improvements
2.10.0
Various fixes & improvements
--decompress
option to JS types (#1402) by FSchieber2.9.0
Various fixes & improvements
npmlog
dependency and restore support for Node v10 (#1392) by mydeasentry-cli
binary via JS script (#1389) by kamilogorekserver_name
in events viacontexts
sentry-rust feature (#1383) by bengentilorg
arguments (#1386) by olksdr2.8.1
Various fixes & improvements
2.8.0
Various fixes & improvements
headers
option to the JavaScript API (#1355) by thibmeu2.7.0
Various fixes & improvements
2.6.0
Various fixes & improvements
2.5.2
Various fixes & improvements
2.5.1
Various fixes & improvements
2.5.0
Various fixes & improvements
2.4.1
Various fixes & improvements
2.4.0
Various fixes & improvements
2.3.1
Various fixes & improvements
2.3.0
Various fixes & improvements
2.2.0
Various fixes & improvements
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:
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
Possible second milestone:
https://github.com/getsentry/rust-sourcemap/tree/master/cli
By: kamilogorek (#1235)
Various fixes & improvements
2.0.4
Various fixes & improvements
2.0.3
Various fixes & improvements
--header
a global flag so its position independent (#1194)monitors
as hidden command w. integration tests (#1196)bash-hook
as hidden command w. integration tests (#1197)2.0.2
Various fixes & improvements
fetch.FetchError
usage in favor of catch-all clause (#1193) by kamilogorek2.0.1
Various fixes & improvements
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
debug-files
command, which is a joined functionality ofdifutil
andupload-dif
commands.deploys
command, which was extracted fromreleases deploys
subcommand.files
command, which was extracted fromreleases files
subcommand.sourcemaps upload
command, which was extracted fromreleases files upload-sourcemaps
subcommand.sourcemaps resolve
command.--header
argument, which supports multiple occurences, to configure outgoingrequests
--quiet
/--silent
flags to allow silencingstdout
output (This flag is currentlyimplemented only for selected subcommands)
Removed APIs
react-native codepush
subcommand (usereact-native appcenter
instead) (breaking)react-native-gradle
andreact-native-xcode
commands (usereact-native gradle
andreact-native xcode
instead) (breaking)crash_reporting
related code andwith_crash_reporting
crate feature (no required changes) (breaking)SENTRY_NO_PROGRESS_BAR
env var in favor ofSENTRYCLI_NO_PROGRESS_BAR
(rename env variable) (breaking)
difutil id
subcommand (usedebug-files check
instead)upload-dsym
command (usedebug-files upload
instead)releases upload-sourcemaps --rewrite
a default behavior nowref: Removerestored in 2.0.2 as hiddenupload-dsym
command (usedebug-files upload
instead) (breaking)alias
ref: Removerestored in 2.0.2 as hiddendifutil id
subcommand (usedebug-files check
instead) (breaking)alias
ref: Remove- restored in 2.0.3 asmonitors
command (support for this feature has been dropped) (breaking)hidden command
ref: Remove- restored in 2.0.3 asbash-hook
command (use1.x
if you still need the functionality) (breaking)hidden command
Breaking Changes
node
version tov12
(update node version) (breaking)--header
argument ofreleases files upload
command to--file-header
(rename flag) (breaking)CUSTOM_HEADER
toSENTRY_HEADER
anddefaults.custom_header
tohttp.header
(rename env variable orupdate config file) (breaking)
ignore-empty
forreleases set-commits
a default behavior and hide--ignore-empty
flag (remove--ignore-empty
usage) (breaking)Various fixes & improvements
--quiet
flag forreleases upload-sourcemaps
command--quiet
flag fordifutil check
command--auth-token
a global argumentProgressBar
instances and logs always write tostderr
failure
toanyhow
crate1.74.5
Various fixes & improvements
ansi-regex
to version^3.0.1
(#1281)TempFile
robustness on Windows (#1256)