@sentry/cli 2.16.0 → 2.17.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/checksums.txt CHANGED
@@ -1,9 +1,9 @@
1
- sentry-cli-Darwin-arm64=ab3ee5b8d5063efecf5cad4b377eee63ad5e20c58b12dc4c44c38a180315981d
2
- sentry-cli-Darwin-universal=5d8c5ff0c3c42b988ee77aff765a7f733bb1264822126dc1952f8ba3556678d5
3
- sentry-cli-Darwin-x86_64=45be089d4a7ab45c76c5ef8eb5847da380735e3a8a78d5c0902b8f7ca64b8cea
4
- sentry-cli-Linux-aarch64=0a86384509757c2e1cf14499d27cdaa9f5a6d9bd0b1b8e375260c4715e67059f
5
- sentry-cli-Linux-armv7=7b73e9b5458a2066a20d986709755066c69c250922b66d6254c0f8a8890f2eff
6
- sentry-cli-Linux-i686=015d6837b36676b7ef613d7fa5d19ea703b82af059d526efbeda06cd83d02c2d
7
- sentry-cli-Linux-x86_64=0beccfae24d5162e11cdbfee01af7cd49046661ba3d53481226aff08d77443fe
8
- sentry-cli-Windows-i686.exe=7ef7442a8b8afc6a5f0ea57a083d87a98e73f9c4b42f9d9e9375d40f2e06a14f
9
- sentry-cli-Windows-x86_64.exe=4ce843558de6306bcfd6d5cd6dcf985b3e1eee266c9fdc3d24579a242c543e48
1
+ sentry-cli-Darwin-arm64=64433a981d51b65525d6b1f79911f2a98770a49df78fcab74ec71208bccb0e1c
2
+ sentry-cli-Darwin-universal=17d96bdb4e669b0d6201871df039e3b496110f6328ff92b44c04b94c0dd85755
3
+ sentry-cli-Darwin-x86_64=131fc2dfb2e8f9627993963817ee1cb3835fa3778f7803063d3c16d8dd9c6620
4
+ sentry-cli-Linux-aarch64=44f1ece813e094cf77e01f18ec23b038ee9704de45b3f2399c3ba46645407560
5
+ sentry-cli-Linux-armv7=7c1731f455abb1a94203aafa22674361dbd89f64febe4ef95389093754bac85d
6
+ sentry-cli-Linux-i686=70d442ffbba3abad3a1fe0b5943b838450a275d24b178d8f1f23a5ecea66a8fc
7
+ sentry-cli-Linux-x86_64=bf5cbfc1b4309062ceb474d5ad7d31c23473cfe936c20226de1c0b374261458f
8
+ sentry-cli-Windows-i686.exe=45a3bfed2cb5742d263fa897abcfddacfe92824315909ea44af07bc475a5f381
9
+ sentry-cli-Windows-x86_64.exe=f1e47a3e7851591bfbfeb3d3900243839e3f456e27765d3582de0a9ee98f2a45
package/js/index.d.ts CHANGED
@@ -59,7 +59,9 @@ declare module '@sentry/cli' {
59
59
  * case `paths` takes the place of `include` in the options so as to make it
60
60
  * clear that this is not recursive.
61
61
  */
62
- export type SourceMapsPathDescriptor = Omit<SentryCliUploadSourceMapsOptions, 'include'> & { paths: string[] }
62
+ export type SourceMapsPathDescriptor = Omit<SentryCliUploadSourceMapsOptions, 'include'> & {
63
+ paths: string[];
64
+ };
63
65
 
64
66
  export interface SentryCliUploadSourceMapsOptions {
65
67
  /**
@@ -121,6 +123,10 @@ declare module '@sentry/cli' {
121
123
  * Usually your build number.
122
124
  */
123
125
  dist?: string;
126
+ /**
127
+ * Use new Artifact Bundles upload, that enables use of Debug ID for Source Maps discovery.
128
+ */
129
+ useArtifactBundle?: boolean;
124
130
  }
125
131
 
126
132
  export interface SentryCliNewDeployOptions {
@@ -181,31 +187,19 @@ declare module '@sentry/cli' {
181
187
  }
182
188
 
183
189
  export interface SentryCliReleases {
184
- ['new'](
185
- release: string,
186
- options?: { projects: string[] } | string[]
187
- ): Promise<string>;
190
+ ['new'](release: string, options?: { projects: string[] } | string[]): Promise<string>;
188
191
 
189
- setCommits(
190
- release: string,
191
- options: SentryCliCommitsOptions
192
- ): Promise<string>;
192
+ setCommits(release: string, options: SentryCliCommitsOptions): Promise<string>;
193
193
 
194
- finalize(release: string): Promise<string>
194
+ finalize(release: string): Promise<string>;
195
195
 
196
- proposeVersion(): Promise<string>
196
+ proposeVersion(): Promise<string>;
197
197
 
198
- uploadSourceMaps(
199
- release: string,
200
- options: SentryCliUploadSourceMapsOptions
201
- ): Promise<string>
198
+ uploadSourceMaps(release: string, options: SentryCliUploadSourceMapsOptions): Promise<string>;
202
199
 
203
200
  listDeploys(release: string): Promise<string>;
204
201
 
205
- newDeploy(
206
- release: string,
207
- options: SentryCliNewDeployOptions
208
- ): Promise<string>
202
+ newDeploy(release: string, options: SentryCliNewDeployOptions): Promise<string>;
209
203
 
210
204
  execute(args: string[], live: boolean): Promise<string>;
211
205
  }
@@ -219,14 +213,14 @@ declare module '@sentry/cli' {
219
213
  * This value will update `SENTRY_PROPERTIES` env variable.
220
214
  * @param options {@link SentryCliOptions}
221
215
  */
222
- constructor(configFile?: string | null, options?: SentryCliOptions)
216
+ constructor(configFile?: string | null, options?: SentryCliOptions);
223
217
 
224
218
  public configFile?: string;
225
219
  public options?: SentryCliOptions;
226
- public releases: SentryCliReleases
220
+ public releases: SentryCliReleases;
227
221
 
228
- public static getVersion(): string
229
- public static getPath(): string
230
- public execute(args: string[], live: boolean): Promise<string>
222
+ public static getVersion(): string;
223
+ public static getPath(): string;
224
+ public execute(args: string[], live: boolean): Promise<string>;
231
225
  }
232
226
  }
@@ -48,4 +48,8 @@ module.exports = {
48
48
  param: '--ext',
49
49
  type: 'array',
50
50
  },
51
+ useArtifactBundle: {
52
+ param: '--use-artifact-bundle',
53
+ type: 'boolean',
54
+ },
51
55
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/cli",
3
- "version": "2.16.0",
3
+ "version": "2.17.0",
4
4
  "description": "A command line utility to work with Sentry. https://docs.sentry.io/hosted/learn/cli/",
5
5
  "repository": "git://github.com/getsentry/sentry-cli.git",
6
6
  "homepage": "https://docs.sentry.io/hosted/learn/cli/",