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.34.1.
Auto-generated by a dependency updater.
Changelog
2.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