Releases: getsentry/cli
0.17.0
New Features ✨
- (dashboard) Add dashboard list, view, and create commands by @betegon in #406
- (upgrade) Add --offline flag and automatic offline fallback by @BYK in #450
- Add distributed tracing for Sentry backend by @BYK in #455
- Add project delete command by @MathurAditya724 in #397
- Add
sentry schemacommand for API introspection by @BYK in #437
Bug Fixes 🐛
- (dsn) Prevent hang during DSN auto-detection in repos with test fixtures by @BYK in #445
- (formatters) Pad priority labels for consistent TRIAGE column alignment by @MathurAditya724 in #449
- (upgrade) Remove hard chain depth cap for nightly delta upgrades by @BYK in #444
- Improve CLI output for auth login and upgrade flows by @BYK in #454
Internal Changes 🔧
0.16.0
New Features ✨
Init
- Support org/project positional to pin org and project name by @MathurAditya724 in #428
- Show feedback hint after successful setup by @betegon in #430
- Add --team flag to relay team selection to project creation by @MathurAditya724 in #403
- Enforce canonical feature display order by @betegon in #388
- Accept multiple delimiter formats for --features flag by @betegon in #386
- Add git safety checks before wizard modifies files by @betegon in #379
- Add experimental warning before wizard runs by @betegon in #378
- Add init command for guided Sentry project setup by @betegon in #283
Issue List
- Auto-compact when table exceeds terminal height by @BYK in #395
- Redesign table to match Sentry web UI by @BYK in #372
Other
- (auth) Allow re-authentication without manual logout by @BYK in #417
- (trial) Auto-prompt for Seer trial + sentry trial list/start commands by @BYK in #399
- Add --json flag to help command for agent introspection by @BYK in #432
- Add
sentry span listandsentry span viewcommands by @betegon in #393 - Support SENTRY_HOST as alias for SENTRY_URL by @betegon in #409
- Add --dry-run flag to mutating commands by @BYK in #387
- Return-based output with OutputConfig on buildCommand by @BYK in #380
- Add --fields flag for context-window-friendly JSON output by @BYK in #373
- Magic
@selectors (@latest,@most_frequent) for issue commands by @BYK in #371 - Input hardening against agent hallucinations by @BYK in #370
- Add response caching for read-only API calls by @BYK in #330
Bug Fixes 🐛
Dsn
- Make code scanner monorepo-aware and extend --fresh to bypass DSN cache by @betegon in #420
- Prevent silent exit during uncached DSN auto-detection (#411) by @BYK in #414
Init
- Align multiselect hint lines with clack's visual frame by @MathurAditya724 in #435
- Make URLs clickable with OSC 8 terminal hyperlinks by @MathurAditya724 in #423
- Remove implementation detail from help text by @betegon in #385
- Truncate uncommitted file list to first 5 entries by @MathurAditya724 in #381
Other
- (api) Convert --data to query params for GET requests by @BYK in #383
- (docs) Remove double borders and fix column alignment on landing page tables by @betegon in #369
- (help) Hide plural aliases from help output by @betegon in #441
- (trace) Show span IDs in trace view and fix event_id mapping by @betegon in #400
- Show human-friendly names in trial list and surface plan trials by @BYK in #412
- Add trace ID validation to trace view + UUID dash-stripping by @BYK in #375
Documentation 📚
- (commands) Add alias info to subcommand help output by @betegon in #442
- Update AGENTS.md with patterns from span commands work by @BYK in #433
- Update credential storage docs and remove stale config.json references by @betegon in #408
Internal Changes 🔧
Init
Tests
- Consolidate unit tests subsumed by property tests by @BYK in #422
- Remove redundant and low-value tests by @BYK in #418
Other
- (lint) Enforce command output conventions via Biome plugins by @BYK in #439
- (log/list) Convert non-follow paths to return CommandOutput by @BYK in #410
- Unified trace-target parsing and resolution by @BYK in #438
- Centralize slug normalization warning in parseOrgProjectArg by @BYK in #436
- Unify commands as generators with HumanRenderer factory, remove stdout plumbing by @BYK in #416
- Convert list command handlers to return data instead of writing stdout by @BYK in #404
- Split api-client.ts into focused domain modules by @BYK in #405
- Migrate non-streaming commands to CommandOutput with markdown rendering by @BYK in #398
- Convert Tier 2-3 commands to return-based output and consola by @BYK in #394
- Convert remaining Tier 1 commands to return-based output by @BYK in #382
- Converge Tier 1 commands to writeOutput helper by @BYK in #376
Other
- Minify JSON on read and pretty-print on write in init local ops by @MathurAditya724 in #396
0.15.0
0.14.0
New Features ✨
Trace
- Add cursor pagination to
trace listby @BYK in #324 - Add
sentry trace logssubcommand (#247) by @BYK in #311
Other
- (api) Add --data/-d flag and auto-detect JSON body in fields by @BYK in #320
- (formatters) Render all terminal output as markdown by @BYK in #297
- (install) Add Sentry error telemetry to install script by @BYK in #334
- (issue-list) Global limit with fair distribution, compound cursor, and richer progress by @BYK in #306
- (log-list) Add --trace flag to filter logs by trace ID by @BYK in #329
- (logger) Add consola-based structured logging with Sentry integration by @BYK in #338
- (project) Add
project createcommand by @betegon in #237 - (upgrade) Add binary delta patching via TRDIFF10/bsdiff by @BYK in #327
- Support SENTRY_AUTH_TOKEN and SENTRY_TOKEN env vars for headless auth by @BYK in #356
- Improve markdown rendering styles by @BYK in #342
Bug Fixes 🐛
Api
- Use numeric project ID to avoid "not actively selected" error by @betegon in #312
- Use limit param for issues endpoint page size by @BYK in #309
- Auto-correct ':' to '=' in --field values with a warning by @BYK in #302
Formatters
- Expand streaming table to fill terminal width by @betegon in #314
- Fix HTML entities and escaped underscores in table output by @betegon in #313
Setup
- Suppress agent skills and welcome messages on upgrade by @BYK in #328
- Suppress shell completion messages on upgrade by @BYK in #326
Upgrade
- Detect downgrades and skip delta attempt by @BYK in #358
- Check GHCR for nightly version existence instead of GitHub Releases by @BYK in #352
- Replace Bun.mmap with arrayBuffer on all platforms by @BYK in #343
- Replace Bun.mmap with arrayBuffer on macOS to prevent SIGKILL by @BYK in #340
- Use MAP_PRIVATE mmap to prevent macOS SIGKILL during delta upgrade by @BYK in #339
Other
- (ci) Generate JUnit XML to silence codecov-action warnings by @BYK in #300
- (install) Fix nightly digest extraction on macOS by @BYK in #331
- (logger) Inject --verbose and --log-level as proper Stricli flags by @BYK in #353
- (nightly) Push to GHCR from artifacts dir so layer titles are bare filenames by @BYK in #301
- (project create) Auto-correct dot-separated platform to hyphens by @BYK in #336
- (region) Resolve DSN org prefix at resolution layer by @BYK in #316
- (test) Handle 0/-0 in getComparator anti-symmetry property test by @BYK in #308
- (trace-logs) Timestamp_precise is a number, not a string by @BYK in #323
Documentation 📚
Internal Changes 🔧
Api
- Upgrade @sentry/api to 0.21.0, remove raw HTTP pagination workarounds by @BYK in #321
- Wire listIssuesPaginated through @sentry/api SDK for type safety by @BYK in #310
Other
- (craft) Add sentry-release-registry target by @BYK in #325
- (errors) Return Result type from withAuthGuard, expand auto-login to expired tokens by @BYK in #359
- (project create) Migrate human output to markdown rendering system by @BYK in #341
- (telemetry) Add child spans to delta upgrade for bottleneck identification by @BYK in #355
- (upgrade) Use copy-then-mmap for zero JS heap during delta patching by @BYK in #344
0.13.0
New Features ✨
- (issue-list) Add --period flag, pagination progress, and count abbreviation by @BYK in #289
- (nightly) Distribute via GHCR instead of GitHub Releases by @BYK in #298
- (upgrade) Add nightly release channel by @BYK in #292
Bug Fixes 🐛
- (brew) Handle root-owned config dir from sudo installs by @BYK in #288
- (ci) Use github context for compressed artifact upload condition by @BYK in #299
- (errors) Add ResolutionError for not-found/ambiguous resolution failures by @BYK in #293
- (issue) Improve numeric issue ID resolution with org context and region routing by @BYK in #294
- (setup) Show actual shell name instead of "unknown" for unsupported shells by @BYK in #287
- Optimized the docs images by @MathurAditya724 in #291
Internal Changes 🔧
- Correct nightly artifact path in publish-nightly job by @BYK in #295
- Only showing status about changed files in codecov by @MathurAditya724 in #286
0.12.0
New Features ✨
- (event) Resolve ID across all orgs when no project context is available by @BYK in #285
- (release) Add Homebrew install support by @BYK in #277
- (setup) Install bash completions as fallback for unsupported shells by @BYK in #282
- Support SENTRY_ORG and SENTRY_PROJECT environment variables by @BYK in #280
Bug Fixes 🐛
- (fetch) Preserve Content-Type header for SDK requests on Node.js by @BYK in #276
- (help) Document target patterns and trailing-slash significance by @BYK in #272
- (issue-list) Auto-paginate --limit beyond 100 by @BYK in #274
- (npm) Add Node.js >= 22 version guard to npm bundle by @BYK in #269
- (telemetry) Fix commands importing buildCommand directly from @stricli/core by @BYK in #275
- Support numeric project IDs in project slug resolution by @BYK in #284
- Detect subcommand names passed as positional target patterns by @BYK in #281
- Improve error quality and prevent token leak in telemetry by @BYK in #279
Internal Changes 🔧
0.11.0
New Features ✨
Build
- Add hole-punch tool to reduce compressed binary size by @BYK in #245
- Add gzip-compressed binary downloads by @BYK in #244
Other
- (args) Parse Sentry web URLs as CLI arguments by @BYK in #252
- (auth) Switch to /auth/ endpoint and add whoami command by @BYK in #266
- (list) Add pagination and consistent target parsing to all list commands by @BYK in #262
Bug Fixes 🐛
Telemetry
- Reduce noise from version-check JSON parse errors by @BYK in #253
- Skip Sentry reporting for 4xx API errors by @BYK in #251
- Handle EPIPE errors from piped stdout gracefully by @BYK in #250
- Upgrade Sentry SDK to 10.39.0 and remove custom patches by @BYK in #249
Other
- (commands) Support org/project/id as single positional arg by @BYK in #261
- (db) Handle readonly database gracefully instead of crashing by @betegon in #235
- (errors) Show meaningful detail instead of [object Object] in API errors by @BYK in #259
- (issue-list) Propagate original errors instead of wrapping in plain Error by @BYK in #254
- (polyfill) Add exited promise and stdin to Bun.spawn Node.js polyfill by @BYK in #248
- (project-list) Add pagination and flexible target parsing by @BYK in #221
- (test) Prevent mock.module() leak from breaking test:isolated by @BYK in #260
- (upgrade) Remove v prefix from release URLs and work around Bun.write streaming bug by @BYK in #243
- Repair pagination_cursors composite PK and isolate test suites by @BYK in #265
Internal Changes 🔧
- (build) Replace local hole-punch script with binpunch package by @BYK in #246
- Use @sentry/api client for requests by @MathurAditya724 in #226
v0.10.3 (bridge release)
Bridge release for clients running 0.9.1 or earlier.
The upgrade code in those versions constructs download URLs with a v prefix (e.g., v0.10.3), but this repo's tags are un-prefixed. This release contains the same binaries as 0.10.2, which fixes both the URL prefix bug and the Bun.write streaming bug.
The v0.10.2 bridge was intended but its tag was burned by an immutable release. This v0.10.3 bridge supersedes both v0.10.1 and the lost v0.10.2.
Note: Due to a Bun runtime bug (oven-sh/bun#13237),
sentry cli upgradefrom 0.9.1 may still fail silently. The recommended upgrade path is to re-run the install script:curl -fsSL https://cli.sentry.dev/install | bash
0.10.2
0.10.1
Bug Fixes
- upgrade: Remove incorrect
vprefix from GitHub release URLs that caused all curl-based upgrades to fail with HTTP 404 (CLI-5F)
Warning
If you are on 0.9.1 or earlier, sentry cli upgrade may fail silently due to a Bun runtime bug (oven-sh/bun#13237). Please upgrade to 0.10.2+ by re-running the install script:
curl -fsSL https://cli.sentry.dev/install | bash
Or via npm: npm i -g sentry@latest