Releases: getsentry/cli
Releases · getsentry/cli
0.28.0
Immutable
release. Only release title and notes can be modified.
New Features ✨
- (build) Add musl binaries for Alpine Linux support by @BYK in #762
- (custom-headers) Add SENTRY_CUSTOM_HEADERS for self-hosted proxy auth by @BYK in #761
- (init) Pre-supply existingSentry to eliminate roundtrip by @betegon in #755
Bug Fixes 🐛
- (arg-parsing) Normalize spaces in slugs and trim whitespace in issue IDs (CLI-14M, CLI-16M) by @BYK in #757
- (ci) Install libstdc++/libgcc for Alpine smoke test and add musl to PR matrix by @BYK in #765
- (search) Rewrite OR queries to in-list syntax across all --query commands (CLI-16J) by @BYK in #758
- (upgrade) Retry spawn on EBUSY for Windows Defender file locking (CLI-16E) by @BYK in #756
Internal Changes 🔧
0.27.0
Immutable
release. Only release title and notes can be modified.
New Features ✨
- (cli) Add
sentry cli defaultscommand for persistent settings by @BYK in #721 - (docs) Auto-generate driftable documentation sections by @BYK in #739
- (issue-list) Add search syntax docs, case-insensitive AND/OR, and JSON syntax reference by @BYK in #738
- (setup) Install agent skills for detected roots by @betegon in #747
- (trace) Consistent project filtering across trace commands (#737) by @BYK in #743
- (trace-view) Expose span attributes in trace and span views by @BYK in #742
Bug Fixes 🐛
Event View
- Validate event ID format before API call (CLI-156) by @BYK in #751
- Add cross-org fallback when event not found by @BYK in #744
Init
- Treat no-op edits as passthrough instead of throwing by @betegon in #731
- Remove JSON minification that breaks edit-based codemods by @betegon in #719
Issue List
- Auto-recover when user passes issue short ID instead of project slug by @BYK in #750
- Auto-correct AND and reject OR in --query to prevent 400 by @BYK in #727
Resolve
- Address review comments and add tests for fuzzy project recovery by @BYK in #732
- Fuzzy auto-recovery for project slug resolution by @BYK in #728
Upgrade
- Contextual error messages for offline cache miss (CLI-13Z) by @BYK in #752
- Detect npm install method from node_modules path by @BYK in #723
- Add shell option on Windows for .cmd package managers by @BYK in #722
Other
- (ci) Add retry logic to ORAS/bsdiff downloads and upgrade ORAS by @BYK in #741
- (dashboard) Remove overly restrictive dataset-display cross-validation by @BYK in #720
- (delta-upgrade) Filter non-versioned nightly tags from GHCR patch generation by @BYK in #753
- (errors) Improve ContextError wording for auto-detect failures by @BYK in #726
- (issue) Support share issue URLs by @BYK in #718
- (release-delete) Enrich error for releases with health data (CLI-14K) by @BYK in #749
- (telemetry) Rename isClientApiError to isUserApiError and exclude 400 by @BYK in #729
- Bug fixes from Sentry error monitoring (CLI-FR, CLI-RN) + auth default by @BYK in #740
Internal Changes 🔧
- Regenerate skill files by @github-actions[bot] in ca16b2ff
0.26.1
Immutable
release. Only release title and notes can be modified.
0.26.0
Immutable
release. Only release title and notes can be modified.
New Features ✨
Docs
- Deploy main branch preview alongside PR previews by @BYK in #707
- Enable sourcemap upload, releases, and environment tracking by @BYK in #705
Init
- Pre-read common config files to reduce round-trips by @betegon in #704
- Add grep and glob local-op handlers by @betegon in #703
- Add fuzzy edit replacers and edits-based apply-patchset by @betegon in #698
Other
- (cli) Hoist global flags from any argv position and add -v alias by @BYK in #709
- (commands) Add buildRouteMap wrapper with standard subcommand aliases by @BYK in #690
- (config) Support .sentryclirc config file for per-directory defaults by @BYK in #693
- (install) Add SENTRY_INIT env var to run wizard after install by @betegon in #685
- (release) Surface adoption and health metrics in list and view (#463) by @BYK in #680
- (telemetry) Add agent detection tag for AI coding tools by @betegon in #687
Bug Fixes 🐛
Dashboard
- Add --layout flag to widget add for predictable placement by @BYK in #700
- Render tracemetrics widgets in dashboard view by @BYK in #695
Init
- Add size guard and deduplicate JSON minification in preReadCommonFiles by @betegon in #713
- Narrow command validation to actual shell injection vectors by @betegon in #697
Other
- (build) Enable sourcemap resolution for compiled binaries by @BYK in #701
- (cache) --fresh flag now updates cache with fresh response by @BYK in #708
- (eval) Ground LLM judge with command reference to prevent false negatives by @BYK in #712
- (init,feedback) Default to tracing only in feature select and attach user email to feedback by @MathurAditya724 in #688
- (setup) Handle read-only .claude directory in sandboxed environments by @BYK in #702
- Inject auth token into generated .env.sentry-build-plugin files by @MathurAditya724 in #706
Internal Changes 🔧
- (docs) Gitignore generated command docs, extract fragments by @BYK in #696
- (eval) Replace OpenAI with Anthropic SDK in init-eval judge by @betegon in #683
- (init) Use markdown pipeline for spinner messages by @betegon in #686
- Regenerate skill files and command docs by @github-actions[bot] in 584ec0e0
0.25.0
Immutable
release. Only release title and notes can be modified.
New Features ✨
- (event) Add 'sentry event list' command for issue-scoped event listing by @BYK in #671
- (init) Add detect-sentry local-op for cross-language Sentry detection by @betegon in #657
- (issue) Add
sentry issue eventscommand (#632) by @BYK in #654 - (period) Support absolute date ranges in --period flag by @BYK in #674
Bug Fixes 🐛
Init
- Run commands without shell to eliminate injection surface by @betegon in #665
- Use opendir for listDir and validate symlinks during traversal by @betegon in #663
- Rename 'Custom Metrics' feature label to 'Metrics' by @MathurAditya724 in #659
- Add reactFeatures to feature display info by @MathurAditya724 in #658
- Generate spinner messages from payload params instead of server detail by @MathurAditya724 in #655
Other
- (auth) Fall back to OAuth when env token lacks endpoint permissions by @BYK in #673
- (errors) Separate informational notes from actionable alternatives in ContextError by @BYK in #651
- (skill-gen) Eliminate manual maps to prevent undocumented commands by @BYK in #670
- Three bug fixes from Sentry telemetry (CLI-SC, CLI-QZ, CLI-WD) by @cursor in #664
- Fix set-commits --auto, document release workflow pitfalls by @BYK in #650
Internal Changes 🔧
Init
- Use shared YES_FLAG and add -y alias constant by @betegon in #681
- Reuse resolveOrCreateTeam for wizard team resolution by @betegon in #679
- Route wizard errors through framework error pipeline by @betegon in #678
- Use guardNonInteractive for TTY check by @betegon in #677
- Use shared DRY_RUN_FLAG and add -n alias by @betegon in #676
- Reuse resolveOrg for offline-first org detection by @betegon in #666
- Use mdKvTable and renderMarkdown for wizard summary by @betegon in #661
Other
- Extract createProjectWithDsn to deduplicate project creation by @betegon in #667
- Regenerate skill files and command docs by @github-actions[bot] in eb1b19e7
Other
- Update custom.css by @stevenplewis in #653
0.24.1
Immutable
release. Only release title and notes can be modified.
Bug Fixes 🐛
- (ci) Fix set-commits --auto and add checkout/URL to sentry-release workflow by @BYK in #649
- (upgrade) Add blank lines around changelog in upgrade output by @BYK in #642
Internal Changes 🔧
- Restore sentry/ org prefix in sentry-release workflow by @BYK in #648
- Use production environment for sentry-release auth token by @BYK in #645
- Fix sentry-release workflow Node.js version and add manual trigger by @BYK in #643
- Regenerate skill files and command docs by @github-actions[bot] in 59c820e4
0.24.0
Immutable
release. Only release title and notes can be modified.
New Features ✨
Telemetry
- Add cache hit rate metric across all cache systems by @BYK in #638
- Add performance instrumentation and CLI Performance dashboard by @BYK in #625
- Upgrade Sentry SDK to 10.47.0 and enable runtime metrics by @BYK in #622
Other
- (auth) Show token expiry in days/weeks instead of raw hours by @BYK in #620
- (ci) Add delta patch generation for stable releases by @BYK in #618
- (commands) Add shared helpers and buildDeleteCommand for mutation commands by @BYK in #639
- (dashboard) Render text widget markdown content in dashboard view by @BYK in #624
- (release) Add release command group and CI finalization by @BYK in #628
- (traces) Expose custom span attributes and improve agent guidance by @BYK in #623
- Improve unknown command UX with aliases, default routing, and suggestions by @BYK in #635
Bug Fixes 🐛
Telemetry
- Exclude OutputError from Sentry exception capture (CLI-PK) by @BYK in #629
- Derive environment from CLI_VERSION instead of NODE_ENV by @BYK in #627
Other
- (build) Use esbuild for binary bundling to fix minifier collision bug by @BYK in #619
- (ci) Restore GH_TOKEN for gh CLI steps in generate-patches by @BYK in #634
- (commands) Add regression test for Stricli numberParser defaults (#640) by @BYK in #641
- (init) Prompt for team selection when user belongs to multiple teams by @betegon in #621
- (polyfill) Add missing Bun API polyfills for npm distribution by @BYK in #637
- (upgrade) Remove "What's new" header from changelog output by @BYK in #626
Documentation 📚
Internal Changes 🔧
0.23.0
Immutable
release. Only release title and notes can be modified.
New Features ✨
- (auth) Enforce auth by default in buildCommand by @betegon in #611
- (skill) Add eval framework to measure SKILL.md effectiveness by @BYK in #602
- (telemetry) Add seer.outcome span tag for Seer command metrics by @BYK in #609
- (upgrade) Show changelog summary during CLI upgrade by @BYK in #594
Bug Fixes 🐛
Upgrade
- Prevent spinner freeze during delta patch application by @BYK in #608
- Indent changelog, add emoji to heading, hide empty sections by @BYK in #604
Other
- (build) Disable identifier minification to fix marked crash by @betegon in #617
- (dashboard) Reject MRI queries with actionable tracemetrics guidance by @BYK in #601
- (init) Prompt/spinner ordering by @betegon in #610
- (skill) Avoid unnecessary auth, reinforce auto-detection, fix field examples by @BYK in #599
- (test) Fix CI hang, auth guard tests, and PR #610 test rewrite by @betegon in #616
- 2 bug fixes — subcommand crash, negative span depth, pagination JSON parse by @cursor in #607
Documentation 📚
- (skill) Document dashboard widget constraints and deprecated datasets by @BYK in #605
- Fix documentation gaps and embed skill files at build time by @cursor in #606
Internal Changes 🔧
- Regenerate skill files and command docs by @github-actions[bot] in 664362ca
0.22.0
Immutable
release. Only release title and notes can be modified.
New Features ✨
- (dashboard) Add layout/position flags to widget edit and add commands by @BYK in #591
- (init) Surface server-provided detail in spinner messages by @MathurAditya724 in #588
- AsyncIterable streaming support for library SDK by @BYK in #586
Bug Fixes 🐛
Dashboard
- Normalize numeric org IDs from DSN auto-detection by @BYK in #593
- Show actionable error messages instead of raw API errors by @BYK in #592
Other
- (auth) Skip stale cached user info for env var tokens in
auth statusby @BYK in #589 - (upgrade) Move delta patch log.info outside spinner callback by @BYK in #590
Internal Changes 🔧
- Remove upstream issue templates for Sentry SDK light exports by @MathurAditya724 in #596
- Regenerate skill files and command docs by @github-actions[bot] in 0276f760
0.21.0
Immutable
release. Only release title and notes can be modified.
New Features ✨
Dashboard
- Add pagination and glob filtering to dashboard list by @BYK in #560
- Add a full chart rendering engine for
sentry dashboard viewthat transforms widget data into rich terminal visualizations. by @BYK in #555
Init
- Propagate sentry-trace headers to wizard API calls by @betegon in #567
- Treat bare slug as new project name when not found by @BYK in #554
Other
- (formatters) Colorize SQL in DB span descriptions by @BYK in #546
- (output) Add Zod schema registration to OutputConfig for self-documenting JSON fields by @BYK in #582
- (telemetry) Report unknown commands to Sentry by @BYK in #563
- Expose CLI as a programmatic library by @BYK in #565
- Bidirectional cursor pagination (-c next / -c prev) by @BYK in #564
- Add
sentry sourcemap injectandsentry sourcemap uploadcommands by @BYK in #547 - Native debug ID injection and sourcemap upload by @BYK in #543
Bug Fixes 🐛
Dashboard
- Fix table widget rendering and timeseries bar chart width by @BYK in #584
- Validate display types against all datasets by @betegon in #577
- Auto-clamp widget limit instead of erroring by @BYK in #573
- Default issue dataset table columns to ["issue"] by @betegon in #570
- Scale timeseries bar width to fill chart area by @BYK in #562
- Resolve dashboard by ID/slug in addition to title by @BYK in #559
Event
- Detect SHORT-ID/EVENT-ID format in event view by @BYK in #574
- Auto-fallback to org-wide search when event 404s in project by @BYK in #575
Other
- (api) Show meaningful message for network errors instead of '0 Unknown' by @BYK in #572
- (event-view) Auto-redirect issue short IDs in two-arg form (CLI-MP) by @BYK in #558
- (help) Show help when user passes
helpas positional arg by @BYK in #561 - (issue) Auto-redirect bare org slug to org-all mode in issue list by @BYK in #576
- (log) Use 30d default period and show newest logs first by @sergical in #568
- Reject @-selectors in parseOrgProjectArg with helpful redirect by @BYK in #557
Documentation 📚
Internal Changes 🔧
Coverage
- Use informational-patch input instead of sed hack by @BYK in #544
- Make checks informational on release branches by @BYK in #541
Event
- Replace "latest" magic string with @latest sentinel constant by @BYK in #583
- Deduplicate span tree building into shared helper by @BYK in #581
Other
- (api) Collapse stats on issue detail endpoints to save 100-300ms by @BYK in #551
- (ci) Upgrade GitHub Actions to Node 24 runtime by @BYK in #542
- (db) DRY up database layer with shared helpers and lint enforcement by @BYK in #550
- (docs) Polish sidebar, header, focus, and code block UX by @sergical in #580
- (issue-list) Use collapse parameter to skip unused Snuba queries by @BYK in #545
- Bump Bun from 1.3.9 to 1.3.11 by @BYK in #552
- Regenerate skill files by @github-actions[bot] in ec1ffe28