sentry 0.30.0 → 0.31.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
@@ -327,7 +327,7 @@ export type DashboardListParams = {
327
327
  export type DashboardViewParams = {
328
328
  /** Auto-refresh interval in seconds (default: 60, min: 10) */
329
329
  refresh?: string;
330
- /** Time range: "7d", "2026-03-01..2026-04-01", ">=2026-03-01" */
330
+ /** Time range: "7d", "2026-04-01..2026-05-01", ">=2026-04-01" */
331
331
  period?: string;
332
332
  };
333
333
 
@@ -549,7 +549,7 @@ export type IssueListParams = {
549
549
  limit?: number;
550
550
  /** Sort by: date, new, freq, user */
551
551
  sort?: string;
552
- /** Time range: "7d", "2026-03-01..2026-04-01", ">=2026-03-01" */
552
+ /** Time range: "7d", "2026-04-01..2026-05-01", ">=2026-04-01" */
553
553
  period?: string;
554
554
  /** Pagination cursor (use "next" for next page, "prev" for previous) */
555
555
  cursor?: string;
@@ -564,7 +564,7 @@ export type IssueEventsParams = {
564
564
  query?: string;
565
565
  /** Include full event body (stacktraces) */
566
566
  full?: boolean;
567
- /** Time range: "7d", "2026-03-01..2026-04-01", ">=2026-03-01" */
567
+ /** Time range: "7d", "2026-04-01..2026-05-01", ">=2026-04-01" */
568
568
  period?: string;
569
569
  /** Navigate pages: "next", "prev", "first" (or raw cursor string) */
570
570
  cursor?: string;
@@ -605,6 +605,13 @@ export type IssueUnresolveParams = {
605
605
  issue?: string;
606
606
  };
607
607
 
608
+ export type IssueArchiveParams = {
609
+ /** Positional argument */
610
+ issue?: string;
611
+ /** Condition for unarchival: auto, 30m, 10x, 10u, 10x/5m, etc. */
612
+ until?: string;
613
+ };
614
+
608
615
  export type IssueMergeParams = {
609
616
  /** Prefer this issue as the canonical parent (must match one of the provided IDs) */
610
617
  into?: string;
@@ -624,7 +631,7 @@ export type EventListParams = {
624
631
  query?: string;
625
632
  /** Include full event body (stacktraces) */
626
633
  full?: boolean;
627
- /** Time range: "7d", "2026-03-01..2026-04-01", ">=2026-03-01" */
634
+ /** Time range: "7d", "2026-04-01..2026-05-01", ">=2026-04-01" */
628
635
  period?: string;
629
636
  /** Navigate pages: "next", "prev", "first" (or raw cursor string) */
630
637
  cursor?: string;
@@ -643,7 +650,7 @@ export type ExploreParams = {
643
650
  sort?: string;
644
651
  /** Number of rows (1-1000) */
645
652
  limit?: number;
646
- /** Time range: "7d", "2026-03-01..2026-04-01", ">=2026-03-01" */
653
+ /** Time range: "7d", "2026-04-01..2026-05-01", ">=2026-04-01" */
647
654
  period?: string;
648
655
  /** Navigate pages: "next", "prev", "first" (or raw cursor string) */
649
656
  cursor?: string;
@@ -656,7 +663,7 @@ export type LogListParams = {
656
663
  query?: string;
657
664
  /** Stream logs (optionally specify poll interval in seconds) */
658
665
  follow?: string;
659
- /** Time range: "7d", "2026-03-01..2026-04-01", ">=2026-03-01" */
666
+ /** Time range: "7d", "2026-04-01..2026-05-01", ">=2026-04-01" */
660
667
  period?: string;
661
668
  /** Sort order: "newest" (default) or "oldest" */
662
669
  sort?: string;
@@ -667,6 +674,10 @@ export type SourcemapInjectParams = {
667
674
  directory?: string;
668
675
  /** Comma-separated file extensions to process (default: .js,.cjs,.mjs) */
669
676
  ext?: string;
677
+ /** Comma-separated glob patterns to exclude (gitignore-style) */
678
+ ignore?: string;
679
+ /** Path to a file with gitignore-style patterns to exclude */
680
+ ignoreFile?: string;
670
681
  /** Show what would be modified without writing */
671
682
  dryRun?: boolean;
672
683
  /** Exit successfully when no JS + sourcemap pairs are found (default: error out to catch silent build misconfigurations) */
@@ -678,8 +689,22 @@ export type SourcemapUploadParams = {
678
689
  directory?: string;
679
690
  /** Release version to associate with the upload */
680
691
  release?: string;
692
+ /** Distribution identifier to disambiguate builds within a release */
693
+ dist?: string;
681
694
  /** URL prefix for uploaded files (default: ~/) */
682
695
  urlPrefix?: string;
696
+ /** Comma-separated file extensions to process (default: .js,.cjs,.mjs) */
697
+ ext?: string;
698
+ /** Comma-separated glob patterns to exclude (gitignore-style) */
699
+ ignore?: string;
700
+ /** Path to a file with gitignore-style patterns to exclude */
701
+ ignoreFile?: string;
702
+ /** Strip a prefix from uploaded file paths (e.g. 'build/') */
703
+ stripPrefix?: string;
704
+ /** Automatically strip the longest common path prefix from all files */
705
+ stripCommonPrefix?: boolean;
706
+ /** Upload files as-is without injecting debug IDs */
707
+ noRewrite?: boolean;
683
708
  /** Exit successfully when no JS + sourcemap pairs are found (default: error out to catch silent build misconfigurations) */
684
709
  allowEmpty?: boolean;
685
710
  };
@@ -691,7 +716,7 @@ export type SpanListParams = {
691
716
  query?: string;
692
717
  /** Sort order: date, duration */
693
718
  sort?: string;
694
- /** Time range: "7d", "2026-03-01..2026-04-01", ">=2026-03-01" */
719
+ /** Time range: "7d", "2026-04-01..2026-05-01", ">=2026-04-01" */
695
720
  period?: string;
696
721
  /** Navigate pages: "next", "prev", "first" (or raw cursor string) */
697
722
  cursor?: string;
@@ -711,7 +736,7 @@ export type TraceListParams = {
711
736
  query?: string;
712
737
  /** Sort by: date, duration */
713
738
  sort?: string;
714
- /** Time range: "7d", "2026-03-01..2026-04-01", ">=2026-03-01" */
739
+ /** Time range: "7d", "2026-04-01..2026-05-01", ">=2026-04-01" */
715
740
  period?: string;
716
741
  /** Navigate pages: "next", "prev", "first" (or raw cursor string) */
717
742
  cursor?: string;
@@ -725,7 +750,7 @@ export type TraceViewParams = {
725
750
  };
726
751
 
727
752
  export type TraceLogsParams = {
728
- /** Time range: "7d", "2026-03-01..2026-04-01", ">=2026-03-01" */
753
+ /** Time range: "7d", "2026-04-01..2026-05-01", ">=2026-04-01" */
729
754
  period?: string;
730
755
  /** Number of log entries (<=1000) */
731
756
  limit?: number;
@@ -903,6 +928,8 @@ export type SentrySDK = {
903
928
  resolve(params?: IssueResolveParams): Promise<unknown>;
904
929
  /** Reopen a resolved issue */
905
930
  unresolve(params?: IssueUnresolveParams): Promise<unknown>;
931
+ /** Archive (ignore) an issue */
932
+ archive(params?: IssueArchiveParams): Promise<unknown>;
906
933
  /** Merge 2+ issues into a single canonical group */
907
934
  merge(params?: IssueMergeParams, ...positional: string[]): Promise<unknown>;
908
935
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sentry",
3
- "version": "0.30.0",
3
+ "version": "0.31.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/getsentry/cli.git"