@sentry/cli 3.0.2 → 3.1.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/README.md CHANGED
@@ -20,21 +20,25 @@ Please refer to [Sentry CLI's documentation page](https://docs.sentry.io/cli/).
20
20
 
21
21
  ## Compatibility
22
22
 
23
- Sentry CLI officially supports [Sentry SaaS](https://sentry.io/) and [Sentry Self-Hosted](https://github.com/getsentry/self-hosted) versions 25.11.1 and above.
23
+ Sentry CLI officially supports [Sentry SaaS](https://sentry.io/) and [Sentry Self-Hosted](https://github.com/getsentry/self-hosted) versions 24.11.1 and above.
24
24
 
25
- ### Self-Hosted Sentry
25
+ <details>
26
26
 
27
- Although some Sentry CLI features may work with versions of Sentry Self-Hosted prior to 25.11.1, we recommend users upgrade their self-hosted installations to a compatible version.
27
+ <summary><h3>Self-Hosted Sentry</h3></summary>
28
28
 
29
- For users who cannot upgrade their self-hosted installation, we recommend using the latest compatible Sentry CLI version, per the table below:
29
+ For self-hosted installations, only those features which were available in Sentry CLI at the time of the release of the given self-hosted version are supported, as new features may require server-side support. Additionally, some features, like the `sentry-cli build` commands, are restricted to Sentry SaaS.
30
+
31
+ Users who are using Sentry Self-Hosted versions older than 24.11.1 are encouraged to upgrade their Sentry Self-Hosted installations before using Sentry CLI versions 3.0.0 and above. For users who cannot upgrade, please use the version indicated in the table below.
30
32
 
31
33
  | **Sentry Self-Hosted Version** | **Newest Compatible Sentry CLI Version** |
32
34
  | ------------------------------ | --------------------------------------------------------------------- |
33
- | ≥ 25.11.1 | [latest](https://github.com/getsentry/sentry-cli/releases/latest) |
34
- | < 25.11.1 | [2.58.4](https://github.com/getsentry/sentry-cli/releases/tag/2.58.4) |
35
+ | ≥ 24.11.1 | [latest](https://github.com/getsentry/sentry-cli/releases/latest) |
36
+ | < 24.11.1 | [2.58.4](https://github.com/getsentry/sentry-cli/releases/tag/2.58.4) |
35
37
 
36
38
  Note that we can only provide support for officially-supported Sentry Self-Hosted versions. We will not backport fixes for older Sentry CLI versions, even if they should be compatible with your self-hosted version.
37
39
 
40
+ </details>
41
+
38
42
  ## Versioning
39
43
 
40
44
  Sentry CLI follows semantic versioning, according to [this versioning policy](VERSIONING.md).
package/checksums.txt CHANGED
@@ -1,8 +1,10 @@
1
- sentry-cli-Darwin-arm64=e912e3f59ad7b1cd1c3aa24d6520b986cc0161cb949bdaa01a636892591493aa
2
- sentry-cli-Linux-aarch64=17b9ee40ab2828e783c4b24ebbbff5a60e33efac4fee20aa8cd61facbeb894c9
3
- sentry-cli-Linux-armv7=e63435a4c8270e7ee69697e814f61e071029cfc7ff288089b308e8a6c367eece
4
- sentry-cli-Linux-i686=734616d68582b4e3eff496e45701515f2f3194e211dd3e76851c4437e3f32dfa
5
- sentry-cli-Linux-x86_64=12d43202dea35dc0eac6bb2b43323e6809f09e1795b1b905535e91b5922f8105
6
- sentry-cli-Windows-aarch64.exe=f4b91388801324e70a58a92521b206fba15a358ec15e80306e8b05b409e766e1
7
- sentry-cli-Windows-i686.exe=e15acaa2549f171a04a91eb73bac3032200307a04c9e3d7a819baa840f615c06
8
- sentry-cli-Windows-x86_64.exe=182f538e25343f8a20ff09ee3146dda1de68b856d9e1a7c85749703848654c9f
1
+ sentry-cli-Darwin-arm64=4b436130e5600d446b8f7633443516fbba8b20fa6e74d5db9645907009e4e982
2
+ sentry-cli-Darwin-universal=56144785a1894467662643b8090d0620e18e6831a93228260538b4e944ab9e72
3
+ sentry-cli-Darwin-x86_64=50cd21d8e7645fd8b43ad24f4e95ab322d2818e6a739bbd1037c732f8f96cac6
4
+ sentry-cli-Linux-aarch64=279c5db7601ecb028461a6c735926cf5616b192df42eb9e55d46cc300e5f5161
5
+ sentry-cli-Linux-armv7=25e15889846b94ab65ac4fe9d05a16f83c325b598c525a3e99865aad8b6c2fc4
6
+ sentry-cli-Linux-i686=2f8502dee540eda7dc3cc4e7d72ff38d9fc20c295c80b85077a7fbe1dc67b434
7
+ sentry-cli-Linux-x86_64=7fdf7be2875a6fdb7bc2a3802bf3276ed776a89b66fbb00f977bc73358c2bc3d
8
+ sentry-cli-Windows-aarch64.exe=e5c64d26780d62cb2edc775744864032dafbe2e465e0883c6dc5082f1693173a
9
+ sentry-cli-Windows-i686.exe=52b2d33de223e0a459181fedc9d4841429fe1568c0d5d110695cccd76dafb6c7
10
+ sentry-cli-Windows-x86_64.exe=4bf13ff4116fe4ef80a35e962b83c1b60bf128a26fd431b29ae31893e4ed6f4d
@@ -98,6 +98,7 @@ export declare class Releases {
98
98
  * time: 1295, // deployment duration in seconds. This can be specified alternatively to `started` and `finished`
99
99
  * name: 'PickleRick', // human readable name for this deployment
100
100
  * url: 'https://example.com', // URL that points to the deployment
101
+ * projects: ['project1', 'project2'], // list of projects to deploy to
101
102
  * });
102
103
  *
103
104
  * @param release Unique name of the release.
@@ -196,6 +196,7 @@ class Releases {
196
196
  * time: 1295, // deployment duration in seconds. This can be specified alternatively to `started` and `finished`
197
197
  * name: 'PickleRick', // human readable name for this deployment
198
198
  * url: 'https://example.com', // URL that points to the deployment
199
+ * projects: ['project1', 'project2'], // list of projects to deploy to
199
200
  * });
200
201
  *
201
202
  * @param release Unique name of the release.
@@ -207,7 +208,9 @@ class Releases {
207
208
  if (!options || !options.env) {
208
209
  throw new Error('options.env must be a valid name');
209
210
  }
210
- const args = ['releases', 'deploys', release, 'new'];
211
+ const args = ['deploys', 'new']
212
+ .concat(helper.getProjectFlagsFromOptions(options))
213
+ .concat(['--release', release]);
211
214
  return this.execute(helper.prepareCommand(args, deploys_1.DEPLOYS_OPTIONS, options), null);
212
215
  });
213
216
  }
package/js/types.d.ts CHANGED
@@ -163,6 +163,10 @@ export type SentryCliNewDeployOptions = {
163
163
  * URL that points to the deployment.
164
164
  */
165
165
  url?: string;
166
+ /**
167
+ * The projects to deploy the release to. If not provided, the deployment will be created for all projects associated with the release.
168
+ */
169
+ projects?: string[];
166
170
  };
167
171
  /**
168
172
  * Options for setting commits on a release
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/cli",
3
- "version": "3.0.2",
3
+ "version": "3.1.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/",
@@ -32,14 +32,14 @@
32
32
  "typescript": "5.8.3"
33
33
  },
34
34
  "optionalDependencies": {
35
- "@sentry/cli-darwin": "3.0.2",
36
- "@sentry/cli-linux-arm": "3.0.2",
37
- "@sentry/cli-linux-arm64": "3.0.2",
38
- "@sentry/cli-linux-i686": "3.0.2",
39
- "@sentry/cli-linux-x64": "3.0.2",
40
- "@sentry/cli-win32-i686": "3.0.2",
41
- "@sentry/cli-win32-x64": "3.0.2",
42
- "@sentry/cli-win32-arm64": "3.0.2"
35
+ "@sentry/cli-darwin": "3.1.0",
36
+ "@sentry/cli-linux-arm": "3.1.0",
37
+ "@sentry/cli-linux-arm64": "3.1.0",
38
+ "@sentry/cli-linux-i686": "3.1.0",
39
+ "@sentry/cli-linux-x64": "3.1.0",
40
+ "@sentry/cli-win32-i686": "3.1.0",
41
+ "@sentry/cli-win32-x64": "3.1.0",
42
+ "@sentry/cli-win32-arm64": "3.1.0"
43
43
  },
44
44
  "scripts": {
45
45
  "postinstall": "node ./scripts/install.js",