sentry 0.36.0 → 0.37.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
@@ -685,6 +685,17 @@ export type CliSetupParams = {
685
685
  quiet?: boolean;
686
686
  };
687
687
 
688
+ export type CliUninstallParams = {
689
+ /** Keep the config directory (~/.sentry) and auth tokens */
690
+ keepConfig?: boolean;
691
+ /** Skip confirmation prompt */
692
+ yes?: boolean;
693
+ /** Force the operation without confirmation */
694
+ force?: boolean;
695
+ /** Show what would happen without making changes */
696
+ dryRun?: boolean;
697
+ };
698
+
688
699
  export type CliUpgradeParams = {
689
700
  /** Positional argument */
690
701
  version?: string;
@@ -698,6 +709,24 @@ export type CliUpgradeParams = {
698
709
  method?: string;
699
710
  };
700
711
 
712
+ export type CodeMappingsUploadParams = {
713
+ /** Positional argument */
714
+ path?: string;
715
+ /** Repository name (e.g., owner/repo). Auto-detected from git remote if omitted. */
716
+ repo?: string;
717
+ /** Default branch name. Auto-detected from git remote HEAD if omitted. */
718
+ defaultBranch?: string;
719
+ };
720
+
721
+ export type DartSymbolMapUploadParams = {
722
+ /** Positional argument */
723
+ path?: string;
724
+ /** Debug ID (UUID) from the companion native debug file */
725
+ debugId: string;
726
+ /** Validate the file without uploading (dry-run) */
727
+ noUpload?: boolean;
728
+ };
729
+
701
730
  export type DashboardListParams = {
702
731
  /** Maximum number of dashboards to list */
703
732
  limit?: number;
@@ -1441,9 +1470,19 @@ export type SentrySDK = {
1441
1470
  import(params?: CliImportParams): Promise<unknown>;
1442
1471
  /** Configure shell integration */
1443
1472
  setup(params?: CliSetupParams): Promise<unknown>;
1473
+ /** Uninstall Sentry CLI */
1474
+ uninstall(params?: CliUninstallParams): Promise<unknown>;
1444
1475
  /** Update the Sentry CLI to the latest version */
1445
1476
  upgrade(params?: CliUpgradeParams): Promise<unknown>;
1446
1477
  };
1478
+ "code-mappings": {
1479
+ /** Upload code mappings for stack trace linking */
1480
+ upload(params?: CodeMappingsUploadParams): Promise<unknown>;
1481
+ };
1482
+ "dart-symbol-map": {
1483
+ /** Upload a Dart/Flutter symbol map to Sentry */
1484
+ upload(params: DartSymbolMapUploadParams): Promise<unknown>;
1485
+ };
1447
1486
  dashboard: {
1448
1487
  /** List dashboards */
1449
1488
  list(params?: DashboardListParams, ...positional: string[]): Promise<unknown>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sentry",
3
- "version": "0.36.0",
3
+ "version": "0.37.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/getsentry/cli.git"
@@ -31,7 +31,7 @@
31
31
  "consola": "^3.4.2",
32
32
  "esbuild": "^0.25.0",
33
33
  "fast-check": "^4.5.3",
34
- "fossilize": "^0.8.1",
34
+ "fossilize": "^0.10.1",
35
35
  "hono": "^4.12.15",
36
36
  "http-cache-semantics": "^4.2.0",
37
37
  "ignore": "^7.0.5",