feat(errors): Print backtrace when RUST_BACKTRACE=1 (#2189) by szokeasaurusrex
fix(crons): Don't panic when passing --auth-token (#2172) by szokeasaurusrex
2.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 Sentry
outage 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
build: Upgrade curl-sys (#2164) by szokeasaurusrex
2.36.2
Various fixes & improvements
fix(deploys): Honor --project in deploys new subcommand (#2160) by szokeasaurusrex
ref(metrics): Deprecate send-metric commands (#2154) by szokeasaurusrex
2.36.1
Various fixes & improvements
Fix a bug where background Xcode uploads sometimes failed
2.36.0
Various fixes & improvements
Log when file not added to source bundle (#2146) by szokeasaurusrex
Bump Symbolic to 12.11.0. This fixes a bug where uploading source files sometimes failed when any of the files were
not UTF-8 encoded
2.35.0
Various fixes & improvements
fix: Only warn about mismatched URLs when they are different (#2143) by szokeasaurusrex
feat(proguard): Retry upload-proguard on 507 status (#2141) by szokeasaurusrex
2.34.1
Various fixes & improvements
build: Bump symbolic to 12.10.1 (#2134) by szokeasaurusrex
This includes an upstream bugfix for a bug that prevented debug file uploading with sources when any of the
sources were not valid UTF-8.
fix(debugIds): Always instantiate global Error class in debugId injection snippet (#2132) by Lms24
feat: Prefer org auth token URL over manually provided URL (#2122) by szokeasaurusrex
meta: Update version pin README.md (#2123) by szokeasaurusrex
build: Update symbolic dependency to 12.10.0 (#2120) by trzeciak
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:
The auth token was passed as a command line argument to Sentry CLI (via --auth-token)
The log level was set to info or debug
The default log level is warn, so users using the default log level were unaffected by this bug
We now redact the --auth-token argument and anything else that looks like it might be an auth token when logging the
arguments that the Sentry CLI was called with (see #2115 and #2118 for details).
Other fixes & improvements
ref(token): Use secrecy crate to store auth token (#2116) by szokeasaurusrex
fix: Improve "project not found" message (#2112) by szokeasaurusrex
fix: Improve "release not found" message (#2112) by szokeasaurusrex
Fall back to co-location heuristic if sourcemap url appears remote (#1871) by brettdh
fix(sourcebundle): Skip non-UTF8 files (#2109) by loewenheim
2.33.0
Various fixes & improvements
Recognize new format user tokens (prefixed with sntryu_) (#2100) by szokeasaurusrex
Release performed for technical reasons. This release is identical to 2.32.0.
2.32.0
Various fixes & improvements
docs(commands): Add info about clap Derive API (#2066) by elramen
feat(metrics): Add send-metric command (#2063) by elramen
feat(auth): Allow global config to be located in XDG directory (#2059) by elramen
fix(commands): Add missing env vars for release name detection (#2051) by elramen
2.31.2
Various fixes & improvements
Fix regressions related to releases set-commits command, which were introduced in 2.31.1.
2.31.1
Various fixes & improvements
fix(proguard): Don't require auth token with --no-upload flag (#2047) by markushi
fix(debug-files): Improve error when check passed a directory (#2034) by szokeasaurusrex
fix(xcode): Improve Xcode error msg when config load fails (#2028) by elramen
2.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
build: make lint only with default features (#1994) by szokeasaurusrex
2.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
fix: Handle .env errors (#1987) by szokeasaurusrex
2.30.2
This release re-enables Python releases. There are no code changes.
2.30.1
Various fixes & improvements
fix(sourcemaps): allow complex file extensions (#1976) by szokeasaurusrex
2.30.0
Cron Monitor Changes
The monitors run subcommand now no longer accepts --auth-token or other means of authentication using token-based
auth. 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 and sourcemaps upload. We now treat minified and non-minified
source 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 path
provided 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 files
you 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
fix(sourcemaps): Add .cjs and .mjs to default sourcemaps upload extensions (#1961) by szokeasaurusrex
fix(xcode): Only parse Plist when required during RN source maps upload (#1940) by krystofwoldrich
fix(files): Fail when deleting all files fails with 404 error (#1949) by szokeasaurusrex
fix: support windows on arm via x64 binary (#1943) by MarshallOfSound
2.28.6
Various fixes & improvements
fix(deploys): Revert "fix(deploys): Use --project argument (#1930)" (#1942) by szokeasaurusrex
2.28.5
Various fixes & improvements
fix(deploys): Use --project argument (#1930) by szokeasaurusrex
2.28.0
New features
New cron monitor configuration options (#1922) by szokeasaurusrex
The 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 that
trigger an issue to be created and the number of successful checkins that trigger the issue to be resolved,
respectively.
Various fixes & improvements
fix(sourcemaps): print source map URL instead of {source_url} on error (#1917) by jbg
Bumps scripts/update-cli.sh from 2.27.0 to 2.38.0.
Auto-generated by a dependency updater.
Changelog
2.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 Sentry outage 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 were not UTF-8 encoded2.35.0
Various fixes & improvements
upload-proguard
on 507 status (#2141) by szokeasaurusrex2.34.1
Various fixes & improvements
12.10.1
(#2134) by szokeasaurusrexError
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 the arguments 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-based auth. 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-minified source 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 path provided 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 tosourcemaps inject
or you need to use the--ignore
or--ignore-file
options to exclude the files you 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 that trigger an issue to be created and the number of successful checkins that trigger the issue to be resolved, respectively.Various fixes & improvements