@backstage/integration 2.1.0-next.1 → 2.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/CHANGELOG.md +15 -0
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @backstage/integration
|
|
2
2
|
|
|
3
|
+
## 2.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- dc951d4: Added support for creating a GitHub credentials provider backed by the connections service.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 87bfe22: GitHub integrations now cache the list of app installations for a short period, avoiding a full `GET /app/installations` pagination on every token fetch. This significantly reduces API usage against the 15k/hour GitHub App rate limit for organizations with many installations or frequent credential refreshes.
|
|
12
|
+
|
|
13
|
+
The cache is refreshed on a 10-minute TTL, and is additionally invalidated when a lookup for a previously-unseen owner occurs (throttled to once per minute) or when GitHub reports that a cached installation is no longer available, so newly added or removed installations are still picked up promptly.
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
- @backstage/connections@0.3.0
|
|
17
|
+
|
|
3
18
|
## 2.1.0-next.1
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/integration",
|
|
3
|
-
"version": "2.1.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "Helpers for managing integrations towards external systems",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "common-library"
|
|
@@ -61,9 +61,9 @@
|
|
|
61
61
|
"dependencies": {
|
|
62
62
|
"@azure/identity": "^4.0.0",
|
|
63
63
|
"@azure/storage-blob": "^12.5.0",
|
|
64
|
-
"@backstage/config": "1.3.8",
|
|
65
|
-
"@backstage/connections": "0.3.0
|
|
66
|
-
"@backstage/errors": "1.3.1",
|
|
64
|
+
"@backstage/config": "^1.3.8",
|
|
65
|
+
"@backstage/connections": "^0.3.0",
|
|
66
|
+
"@backstage/errors": "^1.3.1",
|
|
67
67
|
"@octokit/auth-app": "^4.0.0",
|
|
68
68
|
"@octokit/rest": "^19.0.3",
|
|
69
69
|
"cross-fetch": "^4.0.0",
|
|
@@ -73,9 +73,9 @@
|
|
|
73
73
|
"p-throttle": "^4.1.1"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
|
-
"@backstage/backend-test-utils": "1.11.6
|
|
77
|
-
"@backstage/cli": "0.36.5
|
|
78
|
-
"@backstage/config-loader": "1.11.2
|
|
76
|
+
"@backstage/backend-test-utils": "^1.11.6",
|
|
77
|
+
"@backstage/cli": "^0.36.5",
|
|
78
|
+
"@backstage/config-loader": "^1.11.2",
|
|
79
79
|
"msw": "^2.0.0"
|
|
80
80
|
},
|
|
81
81
|
"configSchema": "config.schema.json",
|