Skip to content

Commit 2328b0f

Browse files
committed
Merge remote-tracking branch 'origin/main' into resolve-conflicts
# Conflicts: # bun.lock # package.json # src/commands/project/create.ts
2 parents 4d4f650 + 2c66a6b commit 2328b0f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+8056
-1518
lines changed

AGENTS.md

Lines changed: 71 additions & 8 deletions
Large diffs are not rendered by default.

CHANGELOG.md

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,101 @@
11
# Changelog
22

33
<!-- Craft will auto-populate this file -->
4+
## 0.15.0
5+
6+
### New Features ✨
7+
8+
- (project) Display platform suggestions in multi-column tables by @betegon in [#365](https://github.com/getsentry/cli/pull/365)
9+
10+
### Bug Fixes 🐛
11+
12+
- (log-view) Support multiple log IDs and validate hex format by @BYK in [#362](https://github.com/getsentry/cli/pull/362)
13+
- (logs) Harden log schemas against API response format variations by @BYK in [#361](https://github.com/getsentry/cli/pull/361)
14+
- Improve argument parsing for common user mistakes by @BYK in [#363](https://github.com/getsentry/cli/pull/363)
15+
16+
### Internal Changes 🔧
17+
18+
- (delta-upgrade) Lazy chain walk, GHCR retry, parallel I/O, offline cache by @BYK in [#360](https://github.com/getsentry/cli/pull/360)
19+
- Use --timeout CLI flag for model-based test timeouts by @BYK in [#367](https://github.com/getsentry/cli/pull/367)
20+
21+
## 0.14.0
22+
23+
### New Features ✨
24+
25+
#### Trace
26+
27+
- Add cursor pagination to `trace list` by @BYK in [#324](https://github.com/getsentry/cli/pull/324)
28+
- Add `sentry trace logs` subcommand (#247) by @BYK in [#311](https://github.com/getsentry/cli/pull/311)
29+
30+
#### Other
31+
32+
- (api) Add --data/-d flag and auto-detect JSON body in fields by @BYK in [#320](https://github.com/getsentry/cli/pull/320)
33+
- (formatters) Render all terminal output as markdown by @BYK in [#297](https://github.com/getsentry/cli/pull/297)
34+
- (install) Add Sentry error telemetry to install script by @BYK in [#334](https://github.com/getsentry/cli/pull/334)
35+
- (issue-list) Global limit with fair distribution, compound cursor, and richer progress by @BYK in [#306](https://github.com/getsentry/cli/pull/306)
36+
- (log-list) Add --trace flag to filter logs by trace ID by @BYK in [#329](https://github.com/getsentry/cli/pull/329)
37+
- (logger) Add consola-based structured logging with Sentry integration by @BYK in [#338](https://github.com/getsentry/cli/pull/338)
38+
- (project) Add `project create` command by @betegon in [#237](https://github.com/getsentry/cli/pull/237)
39+
- (upgrade) Add binary delta patching via TRDIFF10/bsdiff by @BYK in [#327](https://github.com/getsentry/cli/pull/327)
40+
- Support SENTRY_AUTH_TOKEN and SENTRY_TOKEN env vars for headless auth by @BYK in [#356](https://github.com/getsentry/cli/pull/356)
41+
- Improve markdown rendering styles by @BYK in [#342](https://github.com/getsentry/cli/pull/342)
42+
43+
### Bug Fixes 🐛
44+
45+
#### Api
46+
47+
- Use numeric project ID to avoid "not actively selected" error by @betegon in [#312](https://github.com/getsentry/cli/pull/312)
48+
- Use limit param for issues endpoint page size by @BYK in [#309](https://github.com/getsentry/cli/pull/309)
49+
- Auto-correct ':' to '=' in --field values with a warning by @BYK in [#302](https://github.com/getsentry/cli/pull/302)
50+
51+
#### Formatters
52+
53+
- Expand streaming table to fill terminal width by @betegon in [#314](https://github.com/getsentry/cli/pull/314)
54+
- Fix HTML entities and escaped underscores in table output by @betegon in [#313](https://github.com/getsentry/cli/pull/313)
55+
56+
#### Setup
57+
58+
- Suppress agent skills and welcome messages on upgrade by @BYK in [#328](https://github.com/getsentry/cli/pull/328)
59+
- Suppress shell completion messages on upgrade by @BYK in [#326](https://github.com/getsentry/cli/pull/326)
60+
61+
#### Upgrade
62+
63+
- Detect downgrades and skip delta attempt by @BYK in [#358](https://github.com/getsentry/cli/pull/358)
64+
- Check GHCR for nightly version existence instead of GitHub Releases by @BYK in [#352](https://github.com/getsentry/cli/pull/352)
65+
- Replace Bun.mmap with arrayBuffer on all platforms by @BYK in [#343](https://github.com/getsentry/cli/pull/343)
66+
- Replace Bun.mmap with arrayBuffer on macOS to prevent SIGKILL by @BYK in [#340](https://github.com/getsentry/cli/pull/340)
67+
- Use MAP_PRIVATE mmap to prevent macOS SIGKILL during delta upgrade by @BYK in [#339](https://github.com/getsentry/cli/pull/339)
68+
69+
#### Other
70+
71+
- (ci) Generate JUnit XML to silence codecov-action warnings by @BYK in [#300](https://github.com/getsentry/cli/pull/300)
72+
- (install) Fix nightly digest extraction on macOS by @BYK in [#331](https://github.com/getsentry/cli/pull/331)
73+
- (logger) Inject --verbose and --log-level as proper Stricli flags by @BYK in [#353](https://github.com/getsentry/cli/pull/353)
74+
- (nightly) Push to GHCR from artifacts dir so layer titles are bare filenames by @BYK in [#301](https://github.com/getsentry/cli/pull/301)
75+
- (project create) Auto-correct dot-separated platform to hyphens by @BYK in [#336](https://github.com/getsentry/cli/pull/336)
76+
- (region) Resolve DSN org prefix at resolution layer by @BYK in [#316](https://github.com/getsentry/cli/pull/316)
77+
- (test) Handle 0/-0 in getComparator anti-symmetry property test by @BYK in [#308](https://github.com/getsentry/cli/pull/308)
78+
- (trace-logs) Timestamp_precise is a number, not a string by @BYK in [#323](https://github.com/getsentry/cli/pull/323)
79+
80+
### Documentation 📚
81+
82+
- Document SENTRY_URL and self-hosted setup by @BYK in [#337](https://github.com/getsentry/cli/pull/337)
83+
84+
### Internal Changes 🔧
85+
86+
#### Api
87+
88+
- Upgrade @sentry/api to 0.21.0, remove raw HTTP pagination workarounds by @BYK in [#321](https://github.com/getsentry/cli/pull/321)
89+
- Wire listIssuesPaginated through @sentry/api SDK for type safety by @BYK in [#310](https://github.com/getsentry/cli/pull/310)
90+
91+
#### Other
92+
93+
- (craft) Add sentry-release-registry target by @BYK in [#325](https://github.com/getsentry/cli/pull/325)
94+
- (errors) Return Result type from withAuthGuard, expand auto-login to expired tokens by @BYK in [#359](https://github.com/getsentry/cli/pull/359)
95+
- (project create) Migrate human output to markdown rendering system by @BYK in [#341](https://github.com/getsentry/cli/pull/341)
96+
- (telemetry) Add child spans to delta upgrade for bottleneck identification by @BYK in [#355](https://github.com/getsentry/cli/pull/355)
97+
- (upgrade) Use copy-then-mmap for zero JS heap during delta patching by @BYK in [#344](https://github.com/getsentry/cli/pull/344)
98+
499
## 0.13.0
5100

6101
### New Features ✨

bun.lock

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bunfig.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[test]
22
preload = ["./test/preload.ts"]
3-
timeout = 30000
43

54
[test.reporter]
65
junit = "test-results.junit.xml"

docs/astro.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ const base = process.env.DOCS_BASE_PATH || "/";
88
export default defineConfig({
99
site: "https://cli.sentry.dev",
1010
base,
11+
markdown: {
12+
smartypants: false,
13+
},
1114
integrations: [
1215
sentry({
1316
project: "cli-website",

docs/src/styles/custom.css

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ starlight-tabs [role="tabpanel"] {
913913
Code Blocks
914914
========================================================================== */
915915

916-
pre:not(.pm-pre) {
916+
pre:not(.pm-pre):not(.table-box) {
917917
background: rgba(20, 20, 25, 0.9) !important;
918918
border: 1px solid rgba(255, 255, 255, 0.08) !important;
919919
border-radius: 12px !important;
@@ -929,6 +929,32 @@ pre.pm-pre,
929929
padding: 0 !important;
930930
}
931931

932+
/* ASCII art tables inside terminals - no chrome, consistent monospace */
933+
pre.table-box {
934+
background: transparent !important;
935+
border: none !important;
936+
border-radius: 0 !important;
937+
margin: 0 !important;
938+
padding: 0 !important;
939+
}
940+
941+
pre.table-box,
942+
pre.table-box * {
943+
font-family: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace !important;
944+
font-size: inherit !important;
945+
font-weight: 400 !important;
946+
font-style: normal !important;
947+
font-variant: normal !important;
948+
font-variant-ligatures: none !important;
949+
font-feature-settings: normal !important;
950+
font-stretch: normal !important;
951+
letter-spacing: 0 !important;
952+
word-spacing: 0 !important;
953+
text-decoration: none !important;
954+
text-transform: none !important;
955+
-webkit-text-size-adjust: none !important;
956+
}
957+
932958
code {
933959
font-family: var(--sl-font-mono);
934960
font-size: 0.9em;
@@ -1089,7 +1115,7 @@ code {
10891115
}
10901116

10911117
/* Standalone pre */
1092-
.sl-markdown-content pre:not(.expressive-code pre):not(.pm-pre) {
1118+
.sl-markdown-content pre:not(.expressive-code pre):not(.pm-pre):not(.table-box) {
10931119
background: #0a0a0f !important;
10941120
border: 1px solid rgba(255, 255, 255, 0.1) !important;
10951121
border-radius: 12px !important;

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sentry",
3-
"version": "0.14.0-dev.0",
3+
"version": "0.16.0-dev.0",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/getsentry/cli.git"
@@ -17,6 +17,7 @@
1717
"@stricli/auto-complete": "^1.2.4",
1818
"@stricli/core": "^1.2.4",
1919
"@types/bun": "latest",
20+
"@types/http-cache-semantics": "^4.2.0",
2021
"@types/node": "^22",
2122
"@types/qrcode-terminal": "^0.12.2",
2223
"@types/semver": "^7.7.1",
@@ -26,6 +27,7 @@
2627
"consola": "^3.4.2",
2728
"esbuild": "^0.25.0",
2829
"fast-check": "^4.5.3",
30+
"http-cache-semantics": "^4.2.0",
2931
"ignore": "^7.0.5",
3032
"marked": "^15",
3133
"openai": "^6.22.0",
@@ -65,9 +67,9 @@
6567
"lint": "bunx ultracite check",
6668
"lint:fix": "bunx ultracite fix",
6769
"test": "bun run test:unit && bun run test:isolated",
68-
"test:unit": "bun test test/lib test/commands test/types --coverage --coverage-reporter=lcov",
69-
"test:isolated": "bun test test/isolated",
70-
"test:e2e": "bun test test/e2e",
70+
"test:unit": "bun test --timeout 15000 test/lib test/commands test/types --coverage --coverage-reporter=lcov",
71+
"test:isolated": "bun test --timeout 15000 test/isolated",
72+
"test:e2e": "bun test --timeout 15000 test/e2e",
7173
"test:init-eval": "bun test test/init-eval --timeout 600000 --concurrency 6",
7274
"generate:skill": "bun run script/generate-skill.ts",
7375
"check:skill": "bun run script/check-skill.ts",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"name": "sentry-cli",
3-
"version": "0.14.0",
3+
"version": "0.16.0",
44
"description": "Skills for using the Sentry CLI to interact with Sentry from the command line"
55
}

0 commit comments

Comments
 (0)