@backstage/plugin-scaffolder-backend 1.12.1-next.0 → 1.13.0-next.2
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 +63 -0
- package/alpha/package.json +1 -1
- package/dist/alpha.cjs.js +63 -5853
- package/dist/alpha.cjs.js.map +1 -1
- package/dist/alpha.d.ts +50 -2
- package/dist/cjs/ScaffolderEntitiesProcessor-21c74c4d.cjs.js +6006 -0
- package/dist/cjs/ScaffolderEntitiesProcessor-21c74c4d.cjs.js.map +1 -0
- package/dist/index.cjs.js +75 -5904
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +77 -50
- package/package.json +17 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,68 @@
|
|
|
1
1
|
# @backstage/plugin-scaffolder-backend
|
|
2
2
|
|
|
3
|
+
## 1.13.0-next.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
- @backstage/plugin-catalog-backend@1.8.1-next.2
|
|
9
|
+
- @backstage/backend-common@0.18.4-next.2
|
|
10
|
+
- @backstage/catalog-client@1.4.1-next.0
|
|
11
|
+
- @backstage/plugin-permission-node@0.7.7-next.2
|
|
12
|
+
- @backstage/plugin-scaffolder-node@0.1.2-next.2
|
|
13
|
+
- @backstage/backend-plugin-api@0.5.1-next.2
|
|
14
|
+
- @backstage/backend-tasks@0.5.1-next.2
|
|
15
|
+
- @backstage/catalog-model@1.2.1
|
|
16
|
+
- @backstage/config@1.0.7
|
|
17
|
+
- @backstage/errors@1.1.5
|
|
18
|
+
- @backstage/integration@1.4.4-next.0
|
|
19
|
+
- @backstage/types@1.0.2
|
|
20
|
+
- @backstage/plugin-auth-node@0.2.13-next.2
|
|
21
|
+
- @backstage/plugin-catalog-common@1.0.13-next.0
|
|
22
|
+
- @backstage/plugin-catalog-node@1.3.5-next.2
|
|
23
|
+
- @backstage/plugin-permission-common@0.7.5-next.0
|
|
24
|
+
- @backstage/plugin-scaffolder-common@1.2.7-next.1
|
|
25
|
+
|
|
26
|
+
## 1.13.0-next.1
|
|
27
|
+
|
|
28
|
+
### Minor Changes
|
|
29
|
+
|
|
30
|
+
- 30ffdae70f9: Added `fetch:plain:file` action to fetch a single file, this action is also added to the list of built-in actions.
|
|
31
|
+
- 65e989f4018: Added the possibility to authorize parameters and steps of a template
|
|
32
|
+
|
|
33
|
+
The scaffolder plugin is now integrated with the permission framework.
|
|
34
|
+
It is possible to toggle parameters or actions within templates by marking each section with specific `tags`, inside a `backstage:permissions` property under each parameter or action. Each parameter or action can then be permissioned by using a conditional decision containing the `scaffolderTemplateRules.hasTag` rule.
|
|
35
|
+
|
|
36
|
+
- 95ea9f69b6f: Provide some more default filters out of the box and refactoring how the filters are applied to the `SecureTemplater`.
|
|
37
|
+
|
|
38
|
+
- `parseEntityRef` will take an string entity triplet and return a parsed object.
|
|
39
|
+
- `pick` will allow you to reference a specific property in the piped object.
|
|
40
|
+
|
|
41
|
+
So you can now combine things like this: `${{ parameters.entity | parseEntityRef | pick('name') }}` to get the name of a specific entity, or `${{ parameters.repoUrl | parseRepoUrl | pick('owner') }}` to get the owner of a repo.
|
|
42
|
+
|
|
43
|
+
### Patch Changes
|
|
44
|
+
|
|
45
|
+
- a7eb36c6e38: Improve type-check for scaffolder output parameters
|
|
46
|
+
- 1e4f5e91b8e: Bump `zod` and `zod-to-json-schema` dependencies.
|
|
47
|
+
- Updated dependencies
|
|
48
|
+
- @backstage/plugin-scaffolder-common@1.2.7-next.1
|
|
49
|
+
- @backstage/plugin-scaffolder-node@0.1.2-next.1
|
|
50
|
+
- @backstage/plugin-permission-node@0.7.7-next.1
|
|
51
|
+
- @backstage/plugin-permission-common@0.7.5-next.0
|
|
52
|
+
- @backstage/plugin-catalog-backend@1.8.1-next.1
|
|
53
|
+
- @backstage/backend-tasks@0.5.1-next.1
|
|
54
|
+
- @backstage/integration@1.4.4-next.0
|
|
55
|
+
- @backstage/backend-common@0.18.4-next.1
|
|
56
|
+
- @backstage/backend-plugin-api@0.5.1-next.1
|
|
57
|
+
- @backstage/catalog-client@1.4.0
|
|
58
|
+
- @backstage/catalog-model@1.2.1
|
|
59
|
+
- @backstage/config@1.0.7
|
|
60
|
+
- @backstage/errors@1.1.5
|
|
61
|
+
- @backstage/types@1.0.2
|
|
62
|
+
- @backstage/plugin-auth-node@0.2.13-next.1
|
|
63
|
+
- @backstage/plugin-catalog-common@1.0.13-next.0
|
|
64
|
+
- @backstage/plugin-catalog-node@1.3.5-next.1
|
|
65
|
+
|
|
3
66
|
## 1.12.1-next.0
|
|
4
67
|
|
|
5
68
|
### Patch Changes
|