"You know what they say. Fool me once, strike one, but fool me twice... strike three." — Michael Scott
- deps: Update symbolic to 12.12.0 (#2210) by @loewenheim
- meta: Remove
.vscode
directory from version control (#2208) by @szokeasaurusrex - build(windows): Statically link CRT on Windows (#2203) by @szokeasaurusrex
- ref: Update
main
to indicate it does not return (#2192) by @szokeasaurusrex - ref: Indicate that
commands::main
does not return (#2191) by @szokeasaurusrex
- feat(errors): Print backtrace when
RUST_BACKTRACE=1
(#2189) by @szokeasaurusrex - fix(crons): Don't panic when passing
--auth-token
(#2172) by @szokeasaurusrex
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.
There are no code changes in this release. It is being performed to test an update to the release build process.
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.
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.
- build: Upgrade
curl-sys
(#2164) by @szokeasaurusrex
- fix(deploys): Honor
--project
indeploys new
subcommand (#2160) by @szokeasaurusrex - ref(metrics): Deprecate
send-metric
commands (#2154) by @szokeasaurusrex
- Fix a bug where background Xcode uploads sometimes failed
- 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
- fix: Only warn about mismatched URLs when they are different (#2143) by @szokeasaurusrex
- feat(proguard): Retry
upload-proguard
on 507 status (#2141) by @szokeasaurusrex
- 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
- fix(react-native): Fix RN 0.75 node binary build fail (#2131) by @krystofwoldrich
- 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
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
ordebug
- The default log level is
warn
, so users using the default log level were unaffected by this bug
- The default log level is
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).
- 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
- Recognize new format user tokens (prefixed with
sntryu_
) (#2100) by @szokeasaurusrex - Fix regression in
files upload
(#2107) - docs: Fix typos (#2102) by @kianmeng
- docs(id-support): Document that -p and -o arguments accept slugs and IDs (#2101) by @iamrajjoshi
- chore(deps): bump tar from 6.1.13 to 6.2.1 (#2027) by @dependabot
- build(deps): bump braces from 3.0.2 to 3.0.3 (#2088) by @dependabot
- build(deps): bump ws from 7.5.9 to 7.5.10 (#2091) by @dependabot
- build: Bump
curl
to0.4.46
inCargo.toml
(#2099) by @szokeasaurusrex - build: Update
curl-sys
(#2075) by @szokeasaurusrex
Release performed for technical reasons. This release is identical to 2.32.0.
- 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
- Fix regressions related to
releases set-commits
command, which were introduced in 2.31.1.
- 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
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.
- build:
make lint
only with default features (#1994) by @szokeasaurusrex
Release made for technical reasons. There are no code changes in this version.
Release made for technical reasons. There are no code changes in this version.
- fix: Handle .env errors (#1987) by @szokeasaurusrex
This release re-enables Python releases. There are no code changes.
- fix(sourcemaps): allow complex file extensions (#1976) by @szokeasaurusrex
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.
Updated version 2.29.0 changelog. No code changes.
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."
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.
- fix(sourcemaps): Add
.cjs
and.mjs
to defaultsourcemaps 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
- fix(deploys): Revert "fix(deploys): Use
--project
argument (#1930)" (#1942) by @szokeasaurusrex
- fix(deploys): Use
--project
argument (#1930) by @szokeasaurusrex
- 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.
- The
- fix(sourcemaps): print source map URL instead of {source_url} on error (#1917) by @jbg
- Prefer
--url
argument over empty auth token URL (#1914) by @szokeasaurusrex - feat(xcode): Print redirected output file path when going to the background (#1920) by @krystofwoldrich
- Correct error message for querying events/issues on non-existing project. The message now states that the project could not be found, instead of stating that the organization could not be found. (#1916) by @szokeasaurusrex
- Remove
dsyms/associate
API usage (#1886) by @Swatinem
- meta: Revert "meta: Temporarily disable npm targets for v1 release (#1903)" (#1908) by @szokeasaurusrex
- Add "--environment" option to "monitors run" (supplement "-e" shorthand) (#1881) by @skalee
- meta: Temporarily disable npm targets for v1 release (#1903) by @lforst
- No documented changes.
- No documented changes.
- fix: Upload Xcode debug files and source maps background upload (#1896) by @krystofwoldrich
- revert: Fixed a
curl
issue on Windows (#1815) by @xpirt
- revert: Fixed a
- fix(api): Fix panic that occurred when
sentry-cli login
called with--auth-token
(#1893) by @szokeasaurusrex
- Revert #1885, which was causing an error in the
sentry-cli login
command (#1889) by @szokeasaurusrex
- feat(sourcemaps): Improve
sourcemaps resolve
command output (#1880) by @szokeasaurusrex - feat(api): Validate Auth Tokens client-side (#1885) by @szokeasaurusrex
- ref: Removed unneeded identity
map
(#1883) by @szokeasaurusrex - ci: Skip fallback download in tests (#1878) by @lforst
- ref: Emit better log message for fallback postinstall script (#1877) by @lforst
- fix: Manually download binary if optional dependency binary can't be found after installation (#1874) by @lforst
- fix(hybrid-cloud): Updates organization list to handle single org fanout (#1872) by @GabeVillalobos
- ref: upgrade git2 so safe.directory is implemented more correctly (#1866) by @asottile-sentry
- fix(hybrid-cloud): Adds region fan-out to organizations list command (#1860) by @GabeVillalobos
- fix: install the x64 cli on windows-on-arm hosts (#1858) by @MarshallOfSound
- build: Bump tempfile dependency (#1857) by @szokeasaurusrex
- build: Fix CLI in Xcode Cloud by Disabling Link-time Optimizations (#1855) by @szokeasaurusrex
- chore(deps): bump tough-cookie from 4.1.2 to 4.1.3 (#1675) by @dependabot
- chore(deps): bump word-wrap from 1.2.3 to 1.2.5 (#1856) by @dependabot
- feat(api): More descriptive
releases propose-version
error (#1854) by @szokeasaurusrex - meta: Restructure Bug Report Issue Template (#1852) by @szokeasaurusrex
- fix(sourcemaps): don't attempt to treat remote URL as a local file path (#1850) by @brettdh
- feat(api): Validate
monitors run
command's--timezone
argument (#1847) by @szokeasaurusrex
ref: Transition to binaries over npm (#1836)
This release contains no changes and was done for technical purposes.
This release contains no changes and was done for technical purposes.
- feat: Add opt-in code path to use binary distributions instead of downloaded CLI (#1835)
- build: Add optional dependencies to main cli package for binary distributions (#1834)
- feat: Publish binary distributions on npm (#1833)
- build: Add placeholder packages for npm binary distributions (#1828)
This release contains no changes and was done for technical purposes.
- Improved error message if a project slug is missing (#1811) by @cleptric
- Fixed a
curl
issue on Windows (#1815) by @xpirt - Added support for monitor upserts (#1807) by @szokeasaurusrex
- Fixed a bug in sourcemap
sourceRoot
handling (#1818) by @loewenheim
- feat: Deprecate
sourcemaps explain
(#1797) by @loewenheim - Allow log-level parameter to affect log from reading config (#1789) by @szokeasaurusrex
- feat: Add shell completion generation (#1775) by @NickyMeuleman
- fix: Log messages for invalid objects (#1771) by @loewenheim
- fix(rn): Remove hermesc envs if hermes is disabled (#1754) by @krystofwoldrich
- fix: Don't fail on duplicate proguard release association (#1762) by @loewenheim
- fix: Make URL in org auth tokens optional (#1766) by @loewenheim
- Explain how to update in the README (#1767) by @philipphofmann
- fix: Strip
/api/0
prefix from endpoint URLs (#1752) by @loewenheim
- feat:
login
now opens the org auth token creation page (#1737) by @loewenheim - feat: Debug IDs are now supported in Hermes bundles (#1667) by @krystofwoldrich
- feat: The root sourcemap for RAM bundles is now uploaded, improving support for preloaded modules (#1743) by @krystofwoldrich
- feat: Commands with a
--wait
flag now also have a--wait-for <SECS>
option that additionally puts a limit on the wait time. (#1748) by @loewenheim - deps:
symbolic
updated to 12.4.1 (#1749) by @loewenheim
- fix(sourcemaps): Query parameters and fragments are removed from source mapping URLs (#1735) by @loewenheim
- fix(sourcemaps): Debug ID injection is significantly faster (#1736) by @loewenheim
- fix: Always poll artifact assembly, even if nothing was uploaded (#1726) by @loewenheim
- feat(rn): Allow custom bundle command and Expo export:embed in xcode wrap calls (#1723) by @krystofwoldrich
- feat(bash-hook): Add support for
SENTRY_RELEASE
in bash-hook (#1720) by @boozec - misc: Add CONTRIBUTING.md for working with integration tests (#1716) by @kamilogorek
- test: Prevent .sentryclirc being read from global config (#1716) by @kamilogorek
- test: Do not sign git tags and commits during tests (#1716) by @kamilogorek
- test: Make sure to always skip opening editor in git-based tests (#1716) by @kamilogorek
- deps: Bump sourcemap to 6.4.1 (#1715) by @kamilogorek
- fix(injection): Make debug id injection sound (#1693) by @loewenheim
- fix(set-commits): Allow --initial-depth to be specified alongside --auto (#1703) by @kamilogorek
- feat: Allow the CLI binary path to be overridden (#1697) by @koddsson
- fix: Correctly detect local binary when installing via npm (#1695)
- feat(issues): Add
issues list
command (#1349) - feat(inject): Make sourcemap discovery smarter (#1663)
- feat(config): Support organization-based tokens (#1673)
- feat(proguard): Create a weak release association with a proguard mapping file (#1688)
- fix(inject): Make pragma detection stricter (#1648)
- fix(inject): Mark paths argument as required (#1662)
- fix(debug-files): Add wasm to supported debug-files upload formats (#1683)
- fix(sourcemaps): Sourcemap rewriting no longer deletes debug ids when uploading (#1686)
- ref(sourcemaps): Do not dedupe artifacts if server won't handle it due to url limit (#1680)
- feat: Don't upload chunks that are already on the server (fixed version) (#1660)
- Revert "feat: Don't upload chunks that are already on the server (#1651)"
- fix: Make artifact bundle creation deterministic (#1652)
- feat: Don't upload chunks that are already on the server (#1651)
- fix(inject): Add semicolon at the end of inject snippet (#1643) by @kamilogorek
- ref(debug-files): Use temp file handle instead of keeping zips in memory (#1641) by @kamilogorek
- feat(crons): Bring back legacy token-auth checkin API (#1634) by @evanpurkhiser
- ref: Unhide sourcemaps inject command as its already GA (#1631) by @kamilogorek
- ref: Match case-insensitive value when finding repo by name (#1629) by @maxnowack
- ref(inject): Inject code snippet at the start (#1567) by @loewenheim
- feat(crons): Replace API checkins w/ send_envelope (#1618) by @evanpurkhiser
- ref(types): Add dedupe to available TS types (#1619) by @kamilogorek
- ref(debug-files): Polish after-upload message output (#1620) by @kamilogorek
- ci: Use macos-latest to run build workflow (#1617) by @kamilogorek
- Update
sentry
SDK to fix sending raw envelopes (#1616) by @Swatinem - misc: Add custom issues templates (#1613) by @kamilogorek
- ref: Remove proguard from debug-files upload types (#1615) by @kamilogorek
- ref(inject): Constrain file search by extensions (#1608) by @loewenheim
- feat(crons): Allow specifying checkin environment (#1599) by @evanpurkhiser
- chore(crons): Make monitors command visible (#1600) by @evanpurkhiser
- feat: Print bundle id after artifact bundle creation (#1593) by @loewenheim
- ref: Use 'embedded sourcemap' label for upload log (#1595) by @kamilogorek
- Add ability to send an Event as Raw Envelope (#1582) by @Swatinem
- feat(js): Skip null as option same as undefined (#1579) by @mitsuhiko
- Add command
sentry-cli debug-files bundle-jvm
for bundling Java (and other JVM based languages) sources (#1551) by @adinauer
- feat(debug_id): More determinism for JS debug IDs (#1577) by @mitsuhiko
- fix: inject only injects into js files (#1571) by @mitsuhiko
- feat: Add deterministic debug IDs for minified JS files (#1570) by @mitsuhiko
- fix(build) Hotfix allowing extra binaries during wheel build (#1575) by @ashwoods
- fix(inject): Don't inject non-js files (#1572) by @loewenheim
- feat(bash-hook): Add ability to specify tags for bash hook script (#1560)
- feat(sourcemaps): Add
--use-artifact-bundle
flag to force Artifact Bundles usage (#1557) (#1559) - ref(sourcemaps): Check for release or debug ids before upload (#1561)
- ref(sourcemaps): Skip empty bundle uploads (#1552)
- ref(inject): Inject files with embedded sourcemaps (#1558)
- ref(inject): Inject regardless of whether a sourcemap is present (#1563)
- fix(inject): Use
File::create
to make sure files are truncated (#1562)
- fix: Attach checkin payload to monitor requests (#1550) by @kamilogorek
- Use a deterministic bundle ID (#1546) by @mitsuhiko
- ref(crons): Prefer DSN based auth (#1545) by @kamilogorek
- fix(inject): Improve fixup_js_file (#1533) by @loewenheim
- feat(inject): Handle relative and absoule sourcemap URLs (#1530) by @loewenheim
- ref(monitors): Prefer slugs over guids (#1540) by @evanpurkhiser
- feat(auth): Support DSN auth for the API client (#1536) by @evanpurkhiser
- ref(crons): monitors command is not legacy atm (#1538) by @evanpurkhiser
- fix(help): Consistent wording for API keys (#1539) by @evanpurkhiser
- fix: Make sourcemap injection on upload opt-in (#1534)
- fix: Properly overwrite the sourcemap when injecting (#1525)
- ref: Allow multiple paths in
sourcemaps inject
(#1523)
- feat: Implement new chunk based upload for standalone artifact bundles (#1490)
- feat: Inject sourcemap debug ids by default when performing
sourcemaps upload
and print injection report (#1513) - ref: Use recursive walk instead of globbing when looking for
sourcemaps inject
files (#1504) - ref: When injecting sourcemap debug ids, make sure that
sourceMappingURL
comment is always kept at the end of a file (#1511)
- fix: Include sources referenced but not embedded by an object file (#1486)
- chore: Reapply clap update to v4 and fix releases subcommands (#1500)
- deps: Update rust-sourcemap to 6.2.3 (#1502)
- ref: fix macos wheel tags, add musllinux tags (#1497) by @asottile-sentry
- No documented changes.
- fix: Revert clap-rs v4 update and add regression test for 'releases files upload-sourcemap' (#1496) by @vaind
- ref: also distribute sentry-cli as a pip package (#1494) by @asottile-sentry
- ref: Support lower and uppercased env vars for npm cache (#1493) by @kamilogorek
- feat: Add sourcemaps inject command (#1469) by @loewenheim
- chore: update clap to v4 (#1489) by @vaind
- chore: update clap deprecations (#1487) by @vaind
- deps: Update symbolic to 12.0.0 (#1488) by @loewenheim
- feat: add new
debug-files print-sources
command (#1476) by @vaind
- feat: Added the
--raw
flag tosend-envelope
to allow sending envelopes without parsing or validation. (#1468) - feat: extract and upload embedded Portable PDB from PE (#1463)
- ref(monitors): Drop passing
SENTRY_TRACE_ID
(#1472) - ref(monitors): Rename MonitorStatus -> MonitorCheckinStatus (#1471)
- ref: Deduplicate artifacts upload using queried checksums (#1456)
- ref: Add better debug message for malformed config files (#1450)
- feat: Enable portable PDB debug-files upload via Symbolic v11 (#1440)
- feat: Add support for Cloudflare Pages when detecting a release name (#1419)
- feat: Pass
SENTRY_TRACE_ID
to executed process inmonitors
(#1441) - feat: Pass
SENTRY_MONITOR_ID
to executed process inmonitors
(#1438) - fix: Prevent Sentry from attempting to access unbound variables in
bash-hook
(#1415)
- feat: Report spawn failures for monitors by @mitsuhiko
- fix: Allow for path based sourcemaps in validation report @kamilogorek
- feat: Add
--decompress
option to JS types (#1402) by @FSchieber - fix: Always expand Plist vars during XCode upload (#1403) by @krystofwoldrich
- feat: Replace
npmlog
dependency and restore support for Node v10 (#1392) by @mydea - fix: Handle closed connection when fetching
sentry-cli
binary via JS script (#1389) by @kamilogorek - fix: Re-add
server_name
in events viacontexts
sentry-rust feature (#1383) by @bengentil - ref: Add length limit validation to
org
arguments (#1386) by @olksdr
- fix: Replace usage of eval to obfuscate binary path from bundlers (#1374) by @timfish
- fix: Use forward slash for Windows binary location path (#1369) by @timfish
- fix: Add + to reserved query characters in url encoding (#1365) by @kamilogorek
- feat: Add
headers
option to the JavaScript API (#1355) by @thibmeu - fix: Add % and / to reserved path characters in url encoding (#1364) by @kamilogorek
- feat: Add support for Portable PDB debug files (#1345) by @Swatinem
- fix: paths argument for debug-files find should take a value (#1346) by @kamilogorek
- chore: reuse danger workflow (#1332) by @vaind
- 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
- fix: Use direct plist env vars fallback when called within xcode itself (#1311) by @kamilogorek
- 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
- 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
- ref: Print better error when processing appcenter paths (#1287) by @kamilogorek
- fix: Make sure release exists before querying for artifacts (#1284) by @kamilogorek
- 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
- ref: Dont print install progressbar for nonTTY and CI=1 (#1270) by @kamilogorek
- fix: move dist option to SentryCliUploadSourceMapsOptions (#1269) by @ikenfin
- 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
- feat: Compute and upload il2cpp line mappings (#1248) by @loewenheim
- ref: Skip protected zip files when uploading debug files (#1245) by @kamilogorek
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)
- 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
- ref: Prevent @vercel/nft and similar tools from including binary file in their bundles (#1207) by @kamilogorek
- ref: Use node-fetch@v2 for the simplicity sake (#1206) by @kamilogorek
- ref: Make
--header
a global flag so its position independent (#1194) - ref: Restore
monitors
as hidden command w. integration tests (#1196) - ref: Restore
bash-hook
as hidden command w. integration tests (#1197)
- fix: Remove
fetch.FetchError
usage in favor of catch-all clause (#1193) by @kamilogorek - ref: Restore and hide legacy aliases from 1.x for backward compatibility (#1192) by @kamilogorek
- fix: Allow hyphenated release names with any flags position (#1187) by @kamilogorek
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.
- feat: Add
debug-files
command, which is a joined functionality ofdifutil
andupload-dif
commands. - feat: Add
deploys
command, which was extracted fromreleases deploys
subcommand. - feat: Add
files
command, which was extracted fromreleases files
subcommand. - feat: Add
sourcemaps upload
command, which was extracted fromreleases files upload-sourcemaps
subcommand. - feat: Add
sourcemaps resolve
command. - feat: Allow for specifying global
--header
argument, which supports multiple occurences, to configure outgoing requests - feat: Implement global
--quiet
/--silent
flags to allow silencingstdout
output (This flag is currently implemented only for selected subcommands)
- ref: Remove
react-native codepush
subcommand (usereact-native appcenter
instead) (breaking) - ref: Remove
react-native-gradle
andreact-native-xcode
commands (usereact-native gradle
andreact-native xcode
instead) (breaking) - ref: Remove
crash_reporting
related code andwith_crash_reporting
crate feature (no required changes) (breaking) - ref: Remove
SENTRY_NO_PROGRESS_BAR
env var in favor ofSENTRYCLI_NO_PROGRESS_BAR
(rename env variable) ( breaking) - ref: Hide
difutil id
subcommand (usedebug-files check
instead) - ref: Hide
upload-dsym
command (usedebug-files upload
instead) - ref: Make
releases upload-sourcemaps --rewrite
a default behavior now ref: Removerestored in 2.0.2 as hidden aliasupload-dsym
command (usedebug-files upload
instead) (breaking)ref: Removerestored in 2.0.2 as hidden aliasdifutil id
subcommand (usedebug-files check
instead) (breaking)ref: Remove- restored in 2.0.3 as hidden commandmonitors
command (support for this feature has been dropped) (breaking)ref: Remove- restored in 2.0.3 as hidden commandbash-hook
command (use1.x
if you still need the functionality) (breaking)
- ref: Update minimal required
node
version tov12
(update node version) (breaking) - ref: Rename
--header
argument ofreleases files upload
command to--file-header
(rename flag) (breaking) - ref: Rename
CUSTOM_HEADER
toSENTRY_HEADER
anddefaults.custom_header
tohttp.header
(rename env variable or update config file) (breaking) - ref: Make
ignore-empty
forreleases set-commits
a default behavior and hide--ignore-empty
flag (remove--ignore-empty
usage) (breaking)
- feat: Implement
--quiet
flag forreleases upload-sourcemaps
command - feat: Implement
--quiet
flag fordifutil check
command - ref: Make
--auth-token
a global argument - ref: Make all
ProgressBar
instances and logs always write tostderr
- ref: Migrate error handling from
failure
toanyhow
crate
- deps: Add resolution to bump
ansi-regex
to version^3.0.1
(#1281) - ref: Increase
TempFile
robustness on Windows (#1256)
- ci: Add merge target (f9a2db3) by @kamilogorek
- ref: Prevent @vercel/nft and similar tools from including binary file in their bundles (#1207) by @kamilogorek
- deps: Update symbolic and git-rs crates (#1170) by @kamilogorek
- ref: Filter non-error goblin logs (#1169) by @kamilogorek
- ref: Use provided version in release log messages (#1162) by @kamilogorek
- revert: ref: Dont run install script using node binary #1151 (#1155) by @kamilogorek
- ref: Make org and project flags position independent (#1153) by @kamilogorek
- ref: Dont run install script using node binary (#1151) by @kamilogorek
- feat: Add show-projects and show-commits flags to 'releases info' command (#1144) by @kamilogorek
- ref: Rework find_id function of difutil find (#1149) by @kamilogorek
- ref: Rework find_matching_rev tests to not use our real repo history (#1147) by @kamilogorek
- deps: Update git2 crate to 0.14.1 to support custom git extensions (#1140) by @kamilogorek
- ci: Change stale GitHub workflow to run once a day (#1141) by @kamilogorek
- install: Rename SENTRY_NO_PROGRESS_BAR flag to SENTRYCLI_NO_PROGRESS_BAR (#1132) by @kamilogorek
- feat: Allow for using local binary through SENTRYCLI_USE_LOCAL env (#1129) by @kamilogorek
- ref: Dont panic on malformed xcodeproj directories (#1127) by @kamilogorek
- feat: Add checksum validation for installed binaries (set
SENTRYCLI_SKIP_CHECKSUM_VALIDATION
to opt-out) (#1123) - fix: Detect unwind and debug information in files linked with
gold
(#1124) - ref: Silence progress bar in CI environments by default (#1122)
- feat: Use default xcode values for plist struct (#1111)
- fix: Fixes a panic when inspecting debug files larger than 4GB (#1117)
- ref: Update log message when bundle ID is missing (#1113)
- fix: Dont include
debug_id
during assemble when not PDBs are not supported (#1110) - ref: Remove all release files instantaneously with
--all
flag (#1108)
- feat: Add
CUSTOM_HEADER
support to JS wrapper (#1077) - feat: Add
SENTRYCLI_SKIP_DOWNLOAD
flag for preventing download (#1074) - feat: Allow for configuring max item size for dif bundles (#1099)
- fix: Prevent daemonize mode from crashing upload process (#1104)
- fix: Restore logger initialization (#1102)
- ref: Box
ParseDif::Object
value to prevent large enum variant (#1094) - ref: Rename ini group from
dsym
todif
with a fallback (#1103) - ref: Show
project
flag for releases command (#1065)
- feat: Add optional positional argument to
send-event
that allows to specify a path to JSON serialized events (#1058) - fix: Handle
SENTRY_CLI_NO_EXIT_TRAP
unbound variable (#1059)
- feat: Add
SENTRY_CLI_NO_EXIT_TRAP
flag to control EXIT trap inbash-hook
command (#1050) - fix: Remove warning about relative urls for chunk uploads (#1054)
- fix: Typo in
vscRemote
TS type (#1052) - fix: Use internal timer for ProgressBar duration (#1055)
- ref: Update dockerfile alpine image (#1057)
- feat: Add
no-upload
flag forupload-dif
command (#1044) - feat: Add support for glob patterns in
upload-sourcemaps
command (#1048) - feat: Allow to load dotenv from non-standard path through
SENTRY_DOTENV_PATH
(#1046) - fix: Follow symlinks when traversing during sourcemaps upload (#1043)
- ref: Use
SOURCE_VERSION
first prior toHEROKU_SLUG_COMMIT
in Heroku (#1045)
- misc: Re-release of
1.69.0
due to malformed artifacts
- feat: Print upload context details (#1016)
- feat: Allow for changing log stream through
SENTRYCLI_LOG_STREAM
variable (#1010) - fix: Set archString to
armv7
whenarch="arm"
(#1024) - fix: Dont render progress bar when content length is missing (#1011)
- fix: Do not supply
debug_id
for object files (#981) - ref: Update
symbolic
to8.3.1
(#1033) - ref: Hide
upload-symbol-maps
flag forupload-dif
command (#1017)
- feat: Add ability for
include
in JS sourcemap upload options to be an object (#1001)
- fix: Correctly resolve paths with hashes in
url_to_bundle_path
(#1000) - ref: Provide JSDocs for TS typings, change
started/finished
tonumber|string
, addignoreEmpty
to JS API (#999) - ref: Add
npm_config_cache_folder
to function of getting cache (#998)
- feat: Print sourcemaps/files operations timings information (#995)
- feat: Add
--ignore-empty
flag toreleases set-commit
command, that will not bail command when no patchset is created (#993) - feat: Add
--raw
and--delimiter
flags toreleases list
command (#994)
- feat: Allow to define a custom
release
anddist
for XCode SourceMaps upload (#967) - feat: Support custom request header through
CUSTOM_HEADER
env variable andhttp.custom_header
config (#970) - fix: Add missing
ignoreMissing
flag forsetCommit
command to JS API (#974) - fix: Change ignore-missing to flag with 'long' modifier (#965)
- feat: Allow for ignoring missing commits in set-commit with
--ignore-missing
flag (#963) - feat: Support BCSymbolMap uploading (#952)
- ref: Rely on spawn process error for detecting command presence (#958)
- fix: Redirect spawned JS process outputs to
/dev/null
instead of filling up pipe buffers (#949) - ref: Allow
upload-dif
to follow symlinks to make it inline withdifutil
behavior (#948)
- feat: Add TypeScript
SentryCli
types (#934) - ref: Provide a helpful error messages for xcode/codepush/appcenter binary calls (#937)
- feat: List logging levels on CLI output (#926)
- fix: Update proguard version (#927)
- fix: Run update nagger only for versions lower than current one (#925)
- fix: Add some npm logging to aid in troubleshooting (#921)
- fix: Correctly detect hidden Swift symbols (#918)
- fix: Rename
arm64
asaarch64
in install script (#917) - fix: Verify CLI installation before launching (#916)
- build: ARM for Linux (#890)
- ref:
is_outdated
should not report when release contains version older than latest (#899)
- fix: Detect debug information in MIPS binaries (#897)
- fix: Use
http_proxy
config value in the handler directly (#893) - fix: Limit chunk upload waiting to 5 minutes (#896)
- ref: Prefer universal binaries in homebrew (#879)
- ref: Prefer universal binaries on macOS (#878)
- build: macOS arm64 on stable Rust (#884)
- build: Build universal macOS binary on macos-latest (#877)
- fix: Add missing underscores for template in bash hook (#872)
- feat: macOS builds for
arm64
and universal binaries (#873)
Sentry-cli will not upgrade to the arm64
build automatically, if you're currently running on Rosetta 2. To install the
arm64
version:
- Please ensure that your terminal and shell both run natively without emulation. You can check this by running
uname -m
in your terminal. - Remove your existing installation of
sentry-cli
. - Follow the Installation Instructions for a fresh installation.
- fix: Restore release modification calls to use put request, while preserving restore/archive capability (#870)
- feat: Added support for WASM debug info files (#863)
- feat: Allows the user to specify multiple projects for a release (#842)
- feat: Add cli arg to override sentry-cli command in bash-hook (#852)
- ref: Remove --rewrite flag and make it a default (#853)
- feat: Expose environment configuration in javascript (#830)
- ref: Use better error messages for install script (#833)
- feat: Allow for passing custom timestamp with
send-event
(#826) - fix: OS arch detection for
IA32
(#824)
- fix: Use updated release name format during upload process (#818)
- feat: Add support for architectures other than x86/x64 when running installation script (#811)
- feat: Add
--confirm
flag to skip confirmation prompt during uninstall command (#812) - misc: Upgrade symbolic to
7.5.0
(#813)
- fix: Path handling edgecases for
upload-dif
(#795) - fix: Dont limit commits count for release updates (#808)
- ref: Update Android/iOS releases format (#805)
- feat: add support for CicleCI (#784)
- fix: Default to sending local commits if no repos linked (#791)
- ref: Make Update Nagger less aggressive (#793)
- feat: Release files batch upload (#715)
- feat: Add pipeline env variable option and include it in UA string (#774)
- feat: Upload formatted commit metadata from local git tree to Sentry for a release (#776)
- feat: Provide flag for allowing failures in monitor command (#780)
- fix: Do not error when offsetting too far on enumeration (#746)
- fix: Update base "alpine" image in Dockerfile (#757)
- fix: Allow for release names with leading hyphen (#770)
- fix: Handle teamless projects correctly (#773)
- fix: Parse BitBucket Server integration repo url correctly (#775)
- ref: Switch from symbolic::proguard to proguard crate (#756)
- feat: Add
--no-environ
parameter tobash-hook
(#745) - feat: Allow for disabling install progress-bar without silencing npm using
SENTRY_NO_PROGRESS_BAR
env var (#754) - fix: Use correct required option to
newDeploy
JS api (#755)
- feat:
releases deploys
JavaScript API (#741) - fix:
--log-level
should be case insensitive (#740)
- fix: Dont panic on unknown log level (#733)
- ref: Use temp dir to store jsbundle maps (#737)
- fix: Correctly store child process before attaching handlers (#718)
This release sets node.engine: >=8
which makes it incompatible with Node v6
If you need to support Node v6, please pin your dependency to 1.52.1
or use selective version resolution: https://classic.yarnpkg.com/en/docs/selective-version-resolutions/
- feat: Support Google Cloud Builder VCS detection (#481)
- fix: Mark files as unusable withid (#709)
- fix: Respect
configFile
for release commands invoked through JS API (#700)
- feat: Add an optional argument to override the entire release name for a CodePush release (#692)
- feat: Introduce
g/global
flag forlogin
command (#690) - feat: Add support for
INFOPLIST_OTHER_PREPROCESSOR_FLAGS
(#682) - feat: Detect CodeBuild slug for
propose-version
(#681) - feat: Show project and organization when using info log level (#670)
- feat: Add
bitbucket_server
to reference url check (#668) - fix: Log config path only when its actually loaded (#677)
- fix: Make sure that requests are not authenticated twice and warn for rel urls (#675)
- fix: Override local
env.SENTRY_PROPERTIES
rather than globalprocess.env
(#667) - fix:
react-native
xcode uses regex to detect Debug builds (#665) - meta: Add Linux support to the Homebrew formula (#674)
- fix: Skip files larger than 1MB (#662)
- feat: Add
dist
option toreact-native appcenter
command (#653) - ref: Notify user about missing
sudo
command instead of incorrect "No such file or directory" when updating/uninstallingsentry-cli
(#656) - fix: Remove redundant
Closing connection 0
warnings after every HTTP request (#657) - fix: Update release structure for XCode React Native calls (#660)
- feat: Allow setting of
git
remote (#637) - feat: Expose code IDs from
difutil
check (#639) - feat: Implement workarounds for dealing with hermes bytecode (#646)
- feat: Allow for
--silent
flag in installation script (#648) - feat: Support
dist
option in JS API (#642) - ref: Treat
301/302
upload_chunks
response codes as errors (#651) - fix: Add
Content-Length=0
header to reprocessing POST request (#647)
- Add support for
git://
,git+ssh://
, andgit+https?://
VCS repos (#636) - Allow overriding dist in Xcode (#627)
- Skip pch and large files in source bundles (#624)
- Detect Heroku's
SOURCE_VERSION
environment variable (#613) - Allow extensions with dots for sourcemap uploads (#605)
- Fix validation of
releases set-commits
options in JS (#618) - Add an optional column for project slugs in
releases list
(#612) - Add an optional
--wait
flag for upload-dif (#619)
NOTE: This release changes the default behavior of upload-dif
. Previously,
the command waited until Sentry had fully processed uploaded files. Now, the
command terminates after a successful upload but does not wait for server-side
processing. This will speed up uploads for the common case. Specify --wait
for
the old behavior if you want to make sure that debug files are available before
sending native events.
- Add support for Brotli, GZip and Deflate compression algorithms for binary download (#607)
- Fix binary download progress bar calculations (#606)
Changes:
- Always show the full version in
releases list
(#584). - Do not warn when using the standard docker entrypoint.
JavaScript API:
- Pass the
silent
option toreleases
commands in JavaScript (#552). - Allow setting commits on a release in JavaScript (#580).
Fixed bugs:
- Fix an error in the bash hook if the log file gets deleted (#583).
- Fix detection of Azure repositories in
releases set-commits
(#576). - Fix detection of annotated tags in
releases set-commits
(#598). - Fix normalization of sourcemap URL prefixes with trailing slashes (#599).
- Fix upload of source bundles created with
difutil bundle-sources
(#602).
- Fix potentially broken payloads in
send-event
.
- Trim whitespace in header values to prevent potential header injections through the auth token header. (#563)
- Improved Azure DevOps URL parsing. (#556)
- Relax the release file limit for sourcemap uploads when artifact bundles are supported by the serntry server (#559)
- Allow ports in VCS urls when associating commits (#551)
- Support PDB and PE uploads to Sentry (#553)
- Emit better version names for react native (#506)
- Fix a regression in sourcemap uploads for certain release names (#549)
- Ensure case insensitive git repository matching (#511)
- Fix a regression with URL prefixes in sourcemap uploads (#544)
- Even faster sourcemap uploads to sentry.io (#540, #542)
- Fixed a segfault in curl on empty file uploading (#535)
- Parallelize source map uploads (#533)
- Add support for File RAM Bundles (#528)
- Accept more Azure DevOps URLs (#525)
- Add support for Indexed RAM Bundles (#523)
- Add "silent" option to JS constructor (#512)
- Fix slow unzipping in debug file upload (#519)
- Warn before uploading more than 20.000 files to a release (#513)
- Recognizes GNU compressed debug files on Linux
- Also uploads Breakpad files and ELF files only containing symbol tables
- Automatically retry on various socket and SSL errors (#466, #490)
- Use a connection pool for the outgoing API requests. This is likely to resolve some issues in curl itself that manifested itself as malloc errors on shutdown (#489)
- Upgrade internal dependencies and shrink overall binary (#488)
- Upgrade internal sentry crate
- Fix Proguard upload issues on Windows (#484).
- Release enabling an internal sentry experiment.
- Fix plist parsing
- Upgraded symbolic which offers support top R8 code shrinker.
- Added
SENTRY_NO_PROGRESS_BAR
environment variable to suppress progress bars (#467) - Fixed an issue where dif uploads would indicate failure if no files where to upload.
- Report non zero status for server side processing errors on dif upload (#465)
- Improve error messages for 502/504 (#459)
- Relax VCS url comparisions to improve on-prem support
- Retry on upload-related operations (chunk-upload, assemble) (#456)
- Add new anylog version (#455)
- Fix the detection of debug information in ELF files (#437)
- Add support for ELF files in the
difutil
commands (#447) - Speed up
sentry-cli update
by using the Sentry release registry (#438) - Dump http requests in debug mode for better debugging (#448)
- Support React Native >= 0.46 (@stephan-nordnes-eriksen, #377)
- Cache binaries to speed up NPM package installation (@timfish, #425)
- Check for successful upload of debug files (#429)
- Limit debug file uploads to 2GB (maximum allowed by Sentry) (#432)
- Add support for GitLab in
releases set-commits
(#419) - Fix a bug where uploaded debug files might show up as "Generic" (#420)
- Print out how sentry-cli was invoked in debug log
- Download packages from Fastly's CDN when installing via NPM and Brew (#417)
- Allow uploading executables and debug symbols in one go (#412)
- Fixes a bug that prevented listing and creating releases
- Show project IDs in project listing (#384)
- Fetch all projects, repos and releases if you have more than 100 (#388, #390)
- Support debug symbols with DWARF 5 debug information (#389)
- Fix
--no-environ
parameter insend-event
(#391) - Remove a misleading success message in
send-event
(#397) - Improve debug logs and error output (#393, #394, #399)
- Fix a bug introduced with the
--url-suffix
option inupload-sourcemaps
- Fix broken commit detection for releases (#378, #381)
- Add
--url-suffix
option forupload-sourcemaps
(#373)
- Additional compatibility improvements for the Docker image (#368)
- Add a warning about new Docker entrypoint (#367)
- Change entrypoint for Docker image (#358)
- Use
perl
overstrftime
in bash hook (#359) - Fix iTunes Connect BCSymbolMap handling in
upload-dif
(#362) - Display error messages when re-uploading broken DIFs (#363)
- Resolve a hang on certain windows versions on shutdown (#349)
- Improve the error message for renamed projects (#330)
- Fix appcenter commands on Windows (#331)
- Fix grammar in some help texts (#337, @gorgos)
- Fix frozen upload-dif on some Windows versions (#342)
- Add support for AppCenter CLI for codepush releases (#327)
- Deprecate the codepush CLI command (#327)
- Fix a bug where commands would fail with connection errors
- Skip invalid ZIP files during debug file upload (#320)
- Generate better error messages for renamed projects (#321)
- Compress debug symbols for faster uploads (#315)
- Refactor
send-event
to include more consistent information (#316, #318)
- Improve update prompts (#306, @danielcompton)
- Support event environments in bash hook (#312, @geniass)
- Use
DWARF_DSYM_FOLDER_PATH
in upload-dsym (#313) - Skip malformed object files during upload scan (#313)
- Drop support for older macOS versions to work around an old xcode linker bug
- Disabled automatic crash reporting
- Fixed out of bounds panic for sourcemaps without sources (#299)
- Fixed commit detection when VSTS was used (#300)
- Restrict file permissions for newly created
.sentryclirc
(#296) - Fix
SENTRY_DSN
environment variable parsing forsend-event
action (#292) - Build statically linked
musl
-based binaries for Linux (#294) - Detect
HEROKU_SLUG_COMMIT
in propose-version (#298)
- Add better error diagnostics (internal change, #288)
- Show correct identifiers when uploading Windows symbols (#280)
- Attempted to make the windows executable more portable (#269)
- Fixed the JavaScript API (#270)
- Fixed a bug where breadcrumbs were not always sent (#268)
- Fixed #252
- Expose
execute
on SentryCli js wrapper
- Improve the upload for debug information files. It is now faster, allows to resume after network errors, and supports much larger files.
- Add commands to upload Breakpad and ELF (Linux) symbols. See our documentation page for more information.
- Fix JavaScript tests on Windows
- Fix NPM installation on Windows
- BREAKING: Drop support for Node 0.12. Please pin version
1.28.4
or install sentry-cli using a different method if you still require Node 0.12. - Fix NPM installation behind proxies
- Remove console output when using the JS interface
- Revert
Info.plist
handling to pre-1.27.1
as it was causing issues when the"Preprocess Info.plist File"
setting was turned on in Xcode - Include CA certificates in the Docker container
- Reverted new config handling because of problems it caused.
- Fixed use of
SENTRYCLI_CDNURL
to override the npm download URL. See the documentation for more information - Better handling of environment variables and config files. Please let us know if one of your configuration files or environments doesn't get recognized anymore after the update
- The official docker image is now smaller and does not require dependencies anymore
- Replaced confusing errors when using
codepush
with hints to resolve the error
- Expose getPath() to not break setups
- Change JS bindings to be conform with the cli interface Please note that this is a breaking change if you used the JS interface before.
- Read from the correct
Info.plist
in XCode builds, courtesy of @adbi - Allow to specify device family and model in
send-event
, courtesy of @kirkins - Supply environment variables when using the JavaScript API
- Allow to override the NPM download URL via
SENTRYCLI_CDNURL
environment variable
- Support all options in the JS binding for
upload-sourcemaps
, courtesy of @montogeek - Enable automatic IP addresses when sending events with
send-event
, courtesy of @kirkins - No longer require secret keys to send events with
send-event
- Improve and speed up debug symbol handling in
upload-dsym
- Faster discovery of debug symbols in
upload-dsyms
- Fix a bug in sourcemap uploading via JS, courtesy of @roelvanhintum
- Security update to OpenSSL 1.0.2n for Linux builds
- Fix a SSL verification command line flag
- The npm package has moved to
@sentry/cli
- Installing with npm on Windows now downloads the 64-bit version
- Exit with a proper error code when
send-event
fails, courtesy of @kirkins - More informative errors on failed API requests
- No more annoying update reminders in the Docker images
- Do not run update nagger if the command is not connected to a terminal
- Source map uploading now correctly determines sourcemap references even if the rewrite flag is not passed.
- There is an offical Docker image with
sentry-cli
preinstalled:docker run --rm -it -v $(pwd):/work getsentry/sentry-cli sentry-cli --help
- Added support for automatically determining corvoda releases.
- Fix an issue with bash hooking not working if sentry-cli was installed on a path containing whitespace
- Improved sending events from bash. See Sending Events for more information
- Hook into bash and send events for failed commands automatically. See Bash Hooks for more information
- Set
SENTRY_LOAD_DOTENV=0
to disable automatic loading of.env
files - Fix an issue where
info.plist
files were not resolved in XCode projects - Fix an issue where the
PROJECT_DIR
environment was not used correctly
- Fix a bug that prevented uploads of ProGuard mapping files on Windows
- Improve command and parameter descriptions (
--help
) - Updated dependencies
- Add
--ignore
and--ignore-file
parameters toupload-dsyms
- Fix some typos in the CLI (thanks @mbudde and @AdrienDS)
- Fix codepush command for android
- Fixed added bitbucket provider support #115
- Updated dependencies
- Added encoding detection for javascript files
- Added bitbucket provider support
- Fixed an issue where codepush was not passing the right plist to the parser
- Resolved an issue where sourcemaps were not uploaded (#112)
- Added support for preprocessor
info.plist
files - Unified
info.plist
handling in all places - Added basic validation for the API URL to avoid common user errors
- Resolved an issue with NPM releases on ES5 environments
- Resolved an issue where
releases propose-version
incorrectly required an org to be passed - Added support for handling
BCSymbolMap
files when uploading dsym files
- Ensure parent directories exist when writing Proguard meta properties.
- Write Proguard properties even if upload is disabled.
- Reject leading/trailing spaces in releases.
- Made npm install compatible with ES5
- Solved a potential issue with spaces in file paths for npm installation
- Added automatic update check (can be disabled with
update.disable_check
in the config or theSENTRY_DISABLE_UPDATE_CHECK
environment variable) - Resolved a crash when uploading empty files
- Lowered default symbol upload size to work around some server limitations
- added ability to upload proguard files with a forced UUID
- added
difutil uuid
command to print the UUID(s) of a mapping file to stdout
- Improved the
no-upload
flag to proguard upload - Added debug info files debug commands
- Added support for disabling desktop notifications (only affects xcode builds so far)
- Added support for uploading proguard files on supported sentry server versions
- Fixed installation for npm
- Put
sentry-cli.exe
directly into thebin/
folder on windows for npm installations
- Fixed another issue with yarn redownloading binaries
- Added
dist
support for send-event - Improved download script for npm installs to not download unnecessarily with yarn.
- Added support for explicit bundle IDs for codepush releases
- Added
--print-release-name
to print out the release name for codepush releases to the command line to improve scripting capabilities - Extended
propose-version
for releases to support iOS and android release names if projects are automatically discovered - Parse grade files instead of android manifests for version and bundle IDs for release detection
- Fix broken xcode notifications when projects where opened from the command line
- Fixed limitations in automatically detecting the bundle IDs for xcode projects
- Resolved an issue where sourcemap uploading failed when empty files were encountered
- Initial work for codepush support (pending support in
react-native-sentry
) - Moved
react-native-xcode
toreact-native xcode
- Added support for
${FOO}
style variable expansion in xcode
- Fixed an issue for windows npm installation
- Stop generating a debug log file in
/tmp
for npm on unixes
- fixed a bug that caused the npm install to fail
- Added user support for
send-event
- Improved logging facilities
- Fixed npm installation on windows
- Changes sourcemap rewriting to ignore bad files on source inlining.
- Fixed a bug in the JSON output of the
info
command.
- Added support for referring to previous hashes in
set-commits
withOLD_REV..NEW_REV
- Resolve tags and other refs (like
HEAD
) in commits when a repo is available - Use newer protocol for release commit updating
- Strip commit SHAs for display
- Strip dotted path prefixes in release names for display
- Change the log format for api headers in debug logging
- Added request headers to debug logging
- The
info
command now returns an exit code of 1 in case the config is incomplete - Added
--config-status-json
to theinfo
command to better support sentry-cli invoked from scripts - dsym batches are now calculated by size and not by file count. This should solve a few 413 errors some users are experiencing
- The dsym upload will now skip over files that do not contain DWARF debug information which resolves issues where release files were uploaded as debug symbols instead of the actual dsym files
- Sourcemap uploads now automatically replace previous files with the same name.
- Honor
CLICOLOR
environment variable - Added progress bars for source map and debug symbol upload
- No longer attempt to upload multiple versions of debug symbols with the same UUID. This was an issue where signed and unsigned debug symbols were discovered in derived data in case of debug builds.
- Support
--validate
and--rewrite
in one command better for source map upload.
- Added
--fingerprint
support tosend-event
- Added distribution support.
Breaking Change: releases managed for react-native and mobile are now using the new
distribution feature. Use older versions of sentry-cli
if you do not wish to manage
distributions on self hosted Sentry versions.
- Added
--uuid
parameter toupload-dsym
- Added
--no-zips
parameter toupload-dsym
- Added
--derived-data
parameter toupload-dsym
- resolved an issue with some features of xcode variable expansion not working correctly
- Added basic support for working with the improved relases API that span projects in an org
- Added deploy support
- improved file and release list rendering
- added
sentry-cli releases propose-version
- Resolved references to sourcemaps sometimes being incorrectly detected
- Resolved an issue where an incorrect Info.plist file was found (#48)
- Added support for
.env
files - Better support SSL CA bundles on linux systems (probe more locations)
- Added
--finalize
option to automatically finalize releases on creation - Improved
sentry-cli info
command rendering and clarity - Added background processing for
sentry react-native-xcode
upload-dsyms
when launched from xcode will now upload symbols in the background and notify with OS X notifications about changes
- Added support for associating dsyms with builds on supporting sentry servers
- Improved validation of parameters and error reporting
- Added progress bar to updater
- Added command to finalize releases
- Resolved an issue that the xcode integration for react native would log out a bogus error
- Added support for fetching sourcemaps from react-native's packager
- Resolved an issue with some sourcemaps not rewriting correctly
- Added
react-native-xcode
command to support react-native sourcemap generation and uploading - Automatically create releases on sourcemap upload
- Resolved an issue that caused windows versions to write backslashes in URLs in release artifacts
- Fix zip upload
- Added support for upcoming reprocessing feature on sentry for dsym uploads.
- Improved dsym uploading support (fixes #29)
- Resolved an issue where release builds of react-native would not automatically find the sourcemap references
- Upon sourcemap uploading the
sentry-cli
tool is now automatically attempting to find matching sourcemaps and emit aSourcemap
header with the correct reference. This helps in situations like react-native where the source reference in the file is malformed or points to a non existing file by default - fixed a bug with the
--rewrite
flag on the upload sourcemaps tool which caused incorrect sources to be inlined. This is now properly supported. --strip-common-prefix
on the upload sourcemaps tool now skips over paths which are not absolute.
- added support for sourcemap rewriting. This will automatically inline sourcecode and flatten indexed sourcemaps and can optionally remove prefixes from source paths. This is useful for react native which otherwise will not work since sourcecode is not contained.
- Improved symbol uploading
- Improved logging of http requests
- Fixed an issue that caused a crash if the
TERM
environment variable was not set
- Recompiled for Linux to better support arch linux and others
- Resolved issue with multi-chunk dsym uploads failing
- Changed domain to
sentry.io
- Improved handling of
SENTRY_DSN
so that it can be set to an invalid value andsentry-cli
continues functioning unless you are trying to send an actual event.
- added the new
issues
command to bulk manage issues
- Added support for debug logging
- Upgraded the internal SHA1 library
- Added support for
http.proxy_url
- Added support for
http.proxy_username
- Added support for
http.proxy_password
- Added support for the
http.keepalive
setting
- added proxy support
- removed global dsym uploading which is now done differently
- Fixed an issue that caused validation of sourcemaps to fail if wildcard paths (
~/
) were used.
- Default sourcemap url prefix to
~
to support the new wildcard feature
- Fixed windows support by bundling OpenSSL statically
- Added basic windows support
- Added
send-event
to submit events to Sentry
- Added
login
command.
- Made missing ref failures on non minimized JS files warnings instead of errors
- Added support for basic sourcemap validation with the
--validate
flag
- Ignore
--ext
for explicitly provided files on sourcemap uploads - Properly handle
--ext
- Added the ability to upload individual sourcemaps as files
- Added
info
command - Addded
.sentryclirc
config file support
- Updated release commands
- Fixes uninstall support
Added basic sourcemap support.
Added sudo support to the update command.
Updated sentry CLI to have improved x-code dsym upload support and added an update command.
Added support for sentry auth tokens.
An initial release of the tool.