sentry 0.26.1 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -271,6 +271,15 @@ export type AuthStatusParams = {
271
271
  showToken?: boolean;
272
272
  };
273
273
 
274
+ export type CliDefaultsParams = {
275
+ /** Clear the specified default, or all defaults if no key is given */
276
+ clear?: boolean;
277
+ /** Skip confirmation prompt */
278
+ yes?: boolean;
279
+ /** Force the operation without confirmation */
280
+ force?: boolean;
281
+ };
282
+
274
283
  export type CliFixParams = {
275
284
  /** Show what would be fixed without making changes */
276
285
  dryRun?: boolean;
@@ -336,9 +345,9 @@ export type DashboardWidgetAddParams = {
336
345
  /** Result limit */
337
346
  limit?: string;
338
347
  /** Grid column position (0-based, 0–5) */
339
- x?: string;
348
+ col?: string;
340
349
  /** Grid row position (0-based) */
341
- y?: string;
350
+ row?: string;
342
351
  /** Widget width in grid columns (1–6) */
343
352
  width?: string;
344
353
  /** Widget height in grid rows (min 1) */
@@ -369,9 +378,9 @@ export type DashboardWidgetEditParams = {
369
378
  /** Result limit */
370
379
  limit?: string;
371
380
  /** Grid column position (0-based, 0–5) */
372
- x?: string;
381
+ col?: string;
373
382
  /** Grid row position (0-based) */
374
- y?: string;
383
+ row?: string;
375
384
  /** Widget width in grid columns (1–6) */
376
385
  width?: string;
377
386
  /** Widget height in grid rows (min 1) */
@@ -532,7 +541,7 @@ export type TeamListParams = {
532
541
  export type IssueListParams = {
533
542
  /** Positional argument */
534
543
  orgProject?: string;
535
- /** Search query (Sentry search syntax) */
544
+ /** Search query (Sentry syntax, implicit AND, no OR operator) */
536
545
  query?: string;
537
546
  /** Maximum number of issues to list */
538
547
  limit?: number;
@@ -605,7 +614,7 @@ export type EventListParams = {
605
614
  export type LogListParams = {
606
615
  /** Number of log entries (1-1000) */
607
616
  limit?: number;
608
- /** Filter query (Sentry search syntax) */
617
+ /** Filter query (e.g., "level:error", "project:backend", "project:[a,b]") */
609
618
  query?: string;
610
619
  /** Stream logs (optionally specify poll interval in seconds) */
611
620
  follow?: string;
@@ -636,7 +645,7 @@ export type SourcemapUploadParams = {
636
645
  export type SpanListParams = {
637
646
  /** Number of spans (<=1000) */
638
647
  limit?: number;
639
- /** Filter spans (e.g., "op:db", "duration:>100ms", "project:backend") */
648
+ /** Filter spans (e.g., "op:db", "project:backend", "project:[cli,api]") */
640
649
  query?: string;
641
650
  /** Sort order: date, duration */
642
651
  sort?: string;
@@ -667,6 +676,8 @@ export type TraceListParams = {
667
676
  };
668
677
 
669
678
  export type TraceViewParams = {
679
+ /** Fetch full span attributes (auto-enabled with --json) */
680
+ full?: boolean;
670
681
  /** Span tree depth limit (number, "all" for unlimited, "no" to disable) */
671
682
  spans?: number;
672
683
  };
@@ -676,7 +687,7 @@ export type TraceLogsParams = {
676
687
  period?: string;
677
688
  /** Number of log entries (<=1000) */
678
689
  limit?: number;
679
- /** Additional filter query (Sentry search syntax) */
690
+ /** Filter query (e.g., "level:error", "project:backend", "project:[a,b]") */
680
691
  query?: string;
681
692
  /** Sort order: "newest" (default) or "oldest" */
682
693
  sort?: string;
@@ -759,6 +770,8 @@ export type SentrySDK = {
759
770
  whoami(): Promise<unknown>;
760
771
  };
761
772
  cli: {
773
+ /** View and manage default settings */
774
+ defaults(params?: CliDefaultsParams, ...positional: string[]): Promise<unknown>;
762
775
  /** Send feedback about the CLI */
763
776
  feedback(...positional: string[]): Promise<unknown>;
764
777
  /** Diagnose and repair CLI database issues */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sentry",
3
- "version": "0.26.1",
3
+ "version": "0.27.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/getsentry/cli.git"
@@ -84,13 +84,15 @@
84
84
  "test:init-eval": "bun test test/init-eval --timeout 600000 --concurrency 6",
85
85
  "generate:sdk": "bun run script/generate-sdk.ts",
86
86
  "generate:skill": "bun run script/generate-skill.ts",
87
- "generate:docs": "bun run generate:command-docs && bun run generate:skill",
87
+ "generate:docs": "bun run generate:command-docs && bun run generate:skill && bun run generate:docs-sections",
88
+ "generate:docs-sections": "bun run script/generate-docs-sections.ts",
88
89
  "generate:schema": "bun run script/generate-api-schema.ts",
89
90
  "generate:command-docs": "bun run script/generate-command-docs.ts",
90
91
  "eval:skill": "bun run script/eval-skill.ts",
91
92
  "check:fragments": "bun run script/check-fragments.ts",
92
93
  "check:deps": "bun run script/check-no-deps.ts",
93
- "check:errors": "bun run script/check-error-patterns.ts"
94
+ "check:errors": "bun run script/check-error-patterns.ts",
95
+ "check:docs-sections": "bun run script/generate-docs-sections.ts --check"
94
96
  },
95
97
  "type": "module",
96
98
  "types": "./dist/index.d.cts"