@backstage/plugin-scaffolder-backend 0.15.10 → 0.15.14

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,97 @@
1
1
  # @backstage/plugin-scaffolder-backend
2
2
 
3
+ ## 0.15.14
4
+
5
+ ### Patch Changes
6
+
7
+ - a096e4c4d7: Switched to executing scaffolder templating in a secure context for any template based on nunjucks, as it is [not secure by default](https://mozilla.github.io/nunjucks/api.html#user-defined-templates-warning).
8
+ - f9352ab606: Removed all usages of `path.resolve` in order to ensure that template paths are resolved in a safe way.
9
+ - e634a47ce5: Fix bug where there was error log lines written when failing to `JSON.parse` things that were not `JSON` values.
10
+ - 42ebbc18c0: Bump gitbeaker to the latest version
11
+ - Updated dependencies
12
+ - @backstage/errors@0.1.5
13
+ - @backstage/plugin-catalog-backend@0.18.0
14
+ - @backstage/backend-common@0.9.11
15
+
16
+ ## 0.15.13
17
+
18
+ ### Patch Changes
19
+
20
+ - 26eb174ce8: Skip empty file names when scaffolding with nunjucks
21
+ - ecdcbd08ee: Expose template metadata to custom action handler in Scaffolder.
22
+ - Updated dependencies
23
+ - @backstage/catalog-client@0.5.2
24
+ - @backstage/catalog-model@0.9.7
25
+ - @backstage/backend-common@0.9.10
26
+ - @backstage/plugin-catalog-backend@0.17.4
27
+
28
+ ## 0.15.12
29
+
30
+ ### Patch Changes
31
+
32
+ - 9990df8a1f: Expose some classes and interfaces public so TaskWorkers can run externally from the scaffolder API.
33
+ - b45a34fb15: Adds a new endpoint for consuming logs from the Scaffolder that uses long polling instead of Server Sent Events.
34
+
35
+ This is useful if Backstage is accessed from an environment that doesn't support SSE correctly, which happens in combination with certain enterprise HTTP Proxy servers.
36
+
37
+ It is intended to switch the endpoint globally for the whole instance.
38
+ If you want to use it, you can provide a reconfigured API to the `scaffolderApiRef`:
39
+
40
+ ```tsx
41
+ // packages/app/src/apis.ts
42
+
43
+ // ...
44
+ import {
45
+ scaffolderApiRef,
46
+ ScaffolderClient,
47
+ } from '@backstage/plugin-scaffolder';
48
+
49
+ export const apis: AnyApiFactory[] = [
50
+ // ...
51
+
52
+ createApiFactory({
53
+ api: scaffolderApiRef,
54
+ deps: {
55
+ discoveryApi: discoveryApiRef,
56
+ identityApi: identityApiRef,
57
+ scmIntegrationsApi: scmIntegrationsApiRef,
58
+ },
59
+ factory: ({ discoveryApi, identityApi, scmIntegrationsApi }) =>
60
+ new ScaffolderClient({
61
+ discoveryApi,
62
+ identityApi,
63
+ scmIntegrationsApi,
64
+ // use long polling instead of an eventsource
65
+ useLongPollingLogs: true,
66
+ }),
67
+ }),
68
+ ];
69
+ ```
70
+
71
+ - a794c341ca: Fix a bug where only file mode 775 is considered an executable
72
+ - Updated dependencies
73
+ - @backstage/backend-common@0.9.9
74
+ - @backstage/catalog-client@0.5.1
75
+ - @backstage/plugin-catalog-backend@0.17.3
76
+ - @backstage/plugin-scaffolder-backend-module-cookiecutter@0.1.4
77
+
78
+ ## 0.15.11
79
+
80
+ ### Patch Changes
81
+
82
+ - 10615525f3: Switch to use the json and observable types from `@backstage/types`
83
+ - 41c49884d2: Start using the new `@backstage/types` package. Initially, this means using the `Observable` and `Json*` types from there. The types also remain in their old places but deprecated, and will be removed in a future release.
84
+ - e55a5dea09: Fixed bug where the mode of an executable file was ignored
85
+ - Updated dependencies
86
+ - @backstage/plugin-catalog-backend@0.17.2
87
+ - @backstage/config@0.1.11
88
+ - @backstage/errors@0.1.4
89
+ - @backstage/integration@0.6.9
90
+ - @backstage/backend-common@0.9.8
91
+ - @backstage/catalog-model@0.9.6
92
+ - @backstage/plugin-scaffolder-backend-module-cookiecutter@0.1.3
93
+ - @backstage/plugin-scaffolder-common@0.1.1
94
+
3
95
  ## 0.15.10
4
96
 
5
97
  ### Patch Changes