@backstage/plugin-scaffolder-backend-module-github 0.8.0-next.2 → 0.8.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.
Files changed (2) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/package.json +12 -12
package/CHANGELOG.md CHANGED
@@ -1,5 +1,55 @@
1
1
  # @backstage/plugin-scaffolder-backend-module-github
2
2
 
3
+ ## 0.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 5863b04: **BREAKING CHANGES**
8
+
9
+ The `createGithubEnvironmentAction` action no longer requires an `AuthService`, and now accepts a `CatalogService` instead of `CatalogClient`.
10
+
11
+ Unless you're providing your own override action to the default, this should be a non-breaking change.
12
+
13
+ You can migrate using the following if you're getting typescript errors:
14
+
15
+ ```ts
16
+ import { catalogServiceRef } from '@backstage/plugin-catalog-node';
17
+ import { scaffolderActionsExtensionPoint } from '@backstage/plugin-scaffolder-node/alpha';
18
+
19
+ export const myModule = createBackendModule({
20
+ pluginId: 'scaffolder',
21
+ moduleId: 'test',
22
+ register({ registerInit }) {
23
+ registerInit({
24
+ deps: {
25
+ scaffolder: scaffolderActionsExtensionPoint,
26
+ catalog: catalogServiceRef,
27
+ },
28
+ async init({ scaffolder, catalog }) {
29
+ scaffolder.addActions(
30
+ createGithubEnvironmentAction({
31
+ catalog,
32
+ }),
33
+ );
34
+ },
35
+ });
36
+ },
37
+ });
38
+ ```
39
+
40
+ ### Patch Changes
41
+
42
+ - 575c76b: Migrate to using new actions
43
+ - Updated dependencies
44
+ - @backstage/plugin-scaffolder-node@0.9.0
45
+ - @backstage/plugin-catalog-node@1.17.1
46
+ - @backstage/backend-plugin-api@1.4.0
47
+ - @backstage/catalog-model@1.7.4
48
+ - @backstage/config@1.3.2
49
+ - @backstage/errors@1.2.7
50
+ - @backstage/integration@1.17.0
51
+ - @backstage/types@1.2.1
52
+
3
53
  ## 0.8.0-next.2
4
54
 
5
55
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-scaffolder-backend-module-github",
3
- "version": "0.8.0-next.2",
3
+ "version": "0.8.0",
4
4
  "description": "The github module for @backstage/plugin-scaffolder-backend",
5
5
  "backstage": {
6
6
  "role": "backend-plugin-module",
@@ -50,14 +50,14 @@
50
50
  "test": "backstage-cli package test"
51
51
  },
52
52
  "dependencies": {
53
- "@backstage/backend-plugin-api": "1.4.0-next.1",
54
- "@backstage/catalog-model": "1.7.4",
55
- "@backstage/config": "1.3.2",
56
- "@backstage/errors": "1.2.7",
57
- "@backstage/integration": "1.17.0",
58
- "@backstage/plugin-catalog-node": "1.17.1-next.1",
59
- "@backstage/plugin-scaffolder-node": "0.9.0-next.2",
60
- "@backstage/types": "1.2.1",
53
+ "@backstage/backend-plugin-api": "^1.4.0",
54
+ "@backstage/catalog-model": "^1.7.4",
55
+ "@backstage/config": "^1.3.2",
56
+ "@backstage/errors": "^1.2.7",
57
+ "@backstage/integration": "^1.17.0",
58
+ "@backstage/plugin-catalog-node": "^1.17.1",
59
+ "@backstage/plugin-scaffolder-node": "^0.9.0",
60
+ "@backstage/types": "^1.2.1",
61
61
  "@octokit/webhooks": "^10.9.2",
62
62
  "libsodium-wrappers": "^0.7.11",
63
63
  "octokit": "^3.0.0",
@@ -66,9 +66,9 @@
66
66
  "zod": "^3.22.4"
67
67
  },
68
68
  "devDependencies": {
69
- "@backstage/backend-test-utils": "1.6.0-next.2",
70
- "@backstage/cli": "0.33.0-next.1",
71
- "@backstage/plugin-scaffolder-node-test-utils": "0.3.0-next.2",
69
+ "@backstage/backend-test-utils": "^1.6.0",
70
+ "@backstage/cli": "^0.33.0",
71
+ "@backstage/plugin-scaffolder-node-test-utils": "^0.3.0",
72
72
  "@types/libsodium-wrappers": "^0.7.10",
73
73
  "fs-extra": "^11.2.0",
74
74
  "jsonschema": "^1.2.6"