@backstage/plugin-scaffolder-backend 0.15.11 → 0.15.15

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,93 @@
1
1
  # @backstage/plugin-scaffolder-backend
2
2
 
3
+ ## 0.15.15
4
+
5
+ ### Patch Changes
6
+
7
+ - 0398ea25d3: Removed unused scaffolder visibility configuration; this has been moved to publish actions. Deprecated scaffolder provider configuration keys; these should use the integrations configuration instead.
8
+ - b055a6addc: Align on usage of `cross-fetch` vs `node-fetch` in frontend vs backend packages, and remove some unnecessary imports of either one of them
9
+ - c6b44d80ad: Add options to spawn in runCommand helper
10
+ - Updated dependencies
11
+ - @backstage/integration@0.6.10
12
+ - @backstage/plugin-catalog-backend@0.19.0
13
+ - @backstage/plugin-scaffolder-backend-module-cookiecutter@0.1.5
14
+ - @backstage/backend-common@0.9.12
15
+
16
+ ## 0.15.14
17
+
18
+ ### Patch Changes
19
+
20
+ - 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).
21
+ - f9352ab606: Removed all usages of `path.resolve` in order to ensure that template paths are resolved in a safe way.
22
+ - e634a47ce5: Fix bug where there was error log lines written when failing to `JSON.parse` things that were not `JSON` values.
23
+ - 42ebbc18c0: Bump gitbeaker to the latest version
24
+ - Updated dependencies
25
+ - @backstage/errors@0.1.5
26
+ - @backstage/plugin-catalog-backend@0.18.0
27
+ - @backstage/backend-common@0.9.11
28
+
29
+ ## 0.15.13
30
+
31
+ ### Patch Changes
32
+
33
+ - 26eb174ce8: Skip empty file names when scaffolding with nunjucks
34
+ - ecdcbd08ee: Expose template metadata to custom action handler in Scaffolder.
35
+ - Updated dependencies
36
+ - @backstage/catalog-client@0.5.2
37
+ - @backstage/catalog-model@0.9.7
38
+ - @backstage/backend-common@0.9.10
39
+ - @backstage/plugin-catalog-backend@0.17.4
40
+
41
+ ## 0.15.12
42
+
43
+ ### Patch Changes
44
+
45
+ - 9990df8a1f: Expose some classes and interfaces public so TaskWorkers can run externally from the scaffolder API.
46
+ - b45a34fb15: Adds a new endpoint for consuming logs from the Scaffolder that uses long polling instead of Server Sent Events.
47
+
48
+ 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.
49
+
50
+ It is intended to switch the endpoint globally for the whole instance.
51
+ If you want to use it, you can provide a reconfigured API to the `scaffolderApiRef`:
52
+
53
+ ```tsx
54
+ // packages/app/src/apis.ts
55
+
56
+ // ...
57
+ import {
58
+ scaffolderApiRef,
59
+ ScaffolderClient,
60
+ } from '@backstage/plugin-scaffolder';
61
+
62
+ export const apis: AnyApiFactory[] = [
63
+ // ...
64
+
65
+ createApiFactory({
66
+ api: scaffolderApiRef,
67
+ deps: {
68
+ discoveryApi: discoveryApiRef,
69
+ identityApi: identityApiRef,
70
+ scmIntegrationsApi: scmIntegrationsApiRef,
71
+ },
72
+ factory: ({ discoveryApi, identityApi, scmIntegrationsApi }) =>
73
+ new ScaffolderClient({
74
+ discoveryApi,
75
+ identityApi,
76
+ scmIntegrationsApi,
77
+ // use long polling instead of an eventsource
78
+ useLongPollingLogs: true,
79
+ }),
80
+ }),
81
+ ];
82
+ ```
83
+
84
+ - a794c341ca: Fix a bug where only file mode 775 is considered an executable
85
+ - Updated dependencies
86
+ - @backstage/backend-common@0.9.9
87
+ - @backstage/catalog-client@0.5.1
88
+ - @backstage/plugin-catalog-backend@0.17.3
89
+ - @backstage/plugin-scaffolder-backend-module-cookiecutter@0.1.4
90
+
3
91
  ## 0.15.11
4
92
 
5
93
  ### Patch Changes