@backstage/integration 1.4.0-next.0 → 1.4.1-next.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/CHANGELOG.md CHANGED
@@ -1,5 +1,46 @@
1
1
  # @backstage/integration
2
2
 
3
+ ## 1.4.1-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 3280711113: Updated dependency `msw` to `^0.49.0`.
8
+ - 34b039ca9f: Added `integrations.github.apps.allowedInstallationOwners` to the configuration schema.
9
+ - Updated dependencies
10
+ - @backstage/config@1.0.5-next.0
11
+ - @backstage/errors@1.1.4-next.0
12
+
13
+ ## 1.4.0
14
+
15
+ ### Minor Changes
16
+
17
+ - d05e1841ce: This patch brings Gitea as a valid integration: target, via the ScmIntegration interface. It adds gitea to the relevant static properties (get integration by name, get integration by type) for plugins to be able to reference the same Gitea server.
18
+ - c1784a4980: Replaces in-code uses of `GitHub` with `Github` and deprecates old versions.
19
+
20
+ Deprecates:
21
+
22
+ - `getGitHubFileFetchUrl` replaced by `getGithubFileFetchUrl`
23
+ - `GitHubIntegrationConfig` replaced by `GithubIntegrationConfig`
24
+ - `GitHubIntegration` replaced by `GithubIntegration`
25
+ - `readGitHubIntegrationConfig` replaced by `readGithubIntegrationConfig`
26
+ - `readGitHubIntegrationConfigs` replaced by `readGithubIntegrationConfigs`
27
+ - `replaceGitHubUrlType` replaced by `replaceGithubUrlType`
28
+
29
+ ### Patch Changes
30
+
31
+ - 7573b65232: Internal refactor of imports to avoid circular dependencies
32
+ - a6d779d58a: Remove explicit default visibility at `config.d.ts` files.
33
+
34
+ ```ts
35
+ /**
36
+ * @visibility backend
37
+ */
38
+ ```
39
+
40
+ - Updated dependencies
41
+ - @backstage/config@1.0.4
42
+ - @backstage/errors@1.1.3
43
+
3
44
  ## 1.4.0-next.0
4
45
 
5
46
  ### Minor Changes
package/config.d.ts CHANGED
@@ -189,6 +189,14 @@ export interface Config {
189
189
  * @visibility secret
190
190
  */
191
191
  clientSecret: string;
192
+ /**
193
+ * List of installation owners allowed to be used by this GitHub app. The GitHub UI does not provide a way to list the installations.
194
+ * However you can list the installations with the GitHub API. You can find the list of installations here:
195
+ * https://api.github.com/app/installations
196
+ * The relevant documentation for this is here.
197
+ * https://docs.github.com/en/rest/reference/apps#list-installations-for-the-authenticated-app--code-samples
198
+ */
199
+ allowedInstallationOwners?: string[];
192
200
  }>;
193
201
  }>;
194
202
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/integration",
3
3
  "description": "Helpers for managing integrations towards external systems",
4
- "version": "1.4.0-next.0",
4
+ "version": "1.4.1-next.0",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -32,8 +32,8 @@
32
32
  "clean": "backstage-cli package clean"
33
33
  },
34
34
  "dependencies": {
35
- "@backstage/config": "^1.0.4-next.0",
36
- "@backstage/errors": "^1.1.3-next.0",
35
+ "@backstage/config": "^1.0.5-next.0",
36
+ "@backstage/errors": "^1.1.4-next.0",
37
37
  "@octokit/auth-app": "^4.0.0",
38
38
  "@octokit/rest": "^19.0.3",
39
39
  "cross-fetch": "^3.1.5",
@@ -42,11 +42,11 @@
42
42
  "luxon": "^3.0.0"
43
43
  },
44
44
  "devDependencies": {
45
- "@backstage/cli": "^0.21.0-next.0",
46
- "@backstage/config-loader": "^1.1.6-next.0",
47
- "@backstage/test-utils": "^1.2.2-next.0",
45
+ "@backstage/cli": "^0.21.2-next.0",
46
+ "@backstage/config-loader": "^1.1.7-next.0",
47
+ "@backstage/test-utils": "^1.2.3-next.0",
48
48
  "@types/luxon": "^3.0.0",
49
- "msw": "^0.47.0"
49
+ "msw": "^0.49.0"
50
50
  },
51
51
  "files": [
52
52
  "dist",