@backstage/plugin-scaffolder-backend 0.16.1 → 0.17.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 CHANGED
@@ -1,5 +1,72 @@
1
1
  # @backstage/plugin-scaffolder-backend
2
2
 
3
+ ## 0.17.2
4
+
5
+ ### Patch Changes
6
+
7
+ - `repoUrl` does not have a protocol in `publish:github:pull-request`
8
+
9
+ ## 0.17.1
10
+
11
+ ### Patch Changes
12
+
13
+ - bug: fixing `repoUrl` resolution for `github:pr:` action
14
+
15
+ ## 0.17.0
16
+
17
+ ### Minor Changes
18
+
19
+ - 91c6faeb7b: - **BREAKING** - the `/v2/tasks` endpoint now takes `templateRef` instead of `templateName` in the POST body. This should be a valid stringified `entityRef`.
20
+ - 7f193ff019: - **BREAKING** - `DatabaseTaskStore()` constructor is now removed. Please use the `DatabaseTaskStore.create()` method instead.
21
+
22
+ - **BREAKING** - `TaskStore.createTask()` method now only takes one argument of type `TaskStoreCreateTaskOptions` which encapsulates the `spec` and `secrets`
23
+
24
+ ```diff
25
+ - TaskStore.createTask(spec, secrets)
26
+ + TaskStore.createTask({ spec, secrets})
27
+ ```
28
+
29
+ - **BREAKING** - `TaskBroker.dispatch()` method now only takes one argument of type `TaskBrokerDispatchOptions` which encapsulates the `spec` and `secrets`
30
+
31
+ ```diff
32
+ - TaskBroker.dispatch(spec, secrets)
33
+ + TaskBroker.dispatch({ spec, secrets})
34
+ ```
35
+
36
+ - 9d9b2bab47: - **BREAKING** - Removed the re-export of types `TaskSpec` `TaskSpecV1Beta2` and `TaskSpecV1Beta3` these should now be import from `@backstage/plugin-scaffolder-common` directly.
37
+ - **BREAKING** - Removed the `observe` method from the `TaskBroker` interface, this has now been replaced with an `Observable` implementation under `event# @backstage/plugin-scaffolder-backend.
38
+
39
+ ### Patch Changes
40
+
41
+ - 9d9b2bab47: - **DEPRECATED** - Deprecated the `runCommand` export in favour of `executeShellCommand`. Please migrate to using the new method.
42
+ - Added a type parameter to `TaskStoreEmitOptions` to type the `body` property
43
+ - 65a7939c6c: - **DEPRECATED** - `TaskState` has been deprecated in favour of `CurrentClaimedTask`
44
+ - Narrowed the types from `JSONValue` to `JSONObject` as the usage is and should always be `JSONObject` for `complete` and `emitLog` `metadata` in `TaskContext`
45
+ - 67a7c02d26: Remove usages of `EntityRef` and `parseEntityName` from `@backstage/catalog-model`
46
+ - ed09ad8093: Updated usage of the `LocationSpec` type from `@backstage/catalog-model`, which is deprecated.
47
+ - 6981ac4ad2: - **DEPRECATED** - The `containerRunner` option passed to `createBuiltinActions` has now been deprecated.
48
+
49
+ - **DEPRECATED** - The `createFetchCookiecutterAction` export has also been deprecated and will soon disappear from this plugin.
50
+
51
+ The `fetch:cookiecutter` action will soon be removed from the default list of actions that are provided out of the box from the scaffolder plugin. It will still be supported, and maintained by the community, so you can install the package (`@backstage/plugin-scaffolder-backend-module-cookiecutter`) and pass it in as a custom action. Or you can migrate your templates to use [`fetch:template`](https://backstage.io/docs/features/software-templates/builtin-actions#migrating-from-fetchcookiecutter-to-fetchtemplate) with the `cookiecutterCompat` option.
52
+
53
+ - b1744f1153: - **DEPRECATED** - `OctokitProvider` has been deprecated and will be removed in upcoming versions
54
+ This helper doesn't make sense to be export from the `plugin-scaffolder-backend` and possibly will be moved into the `integrations` package at a later date.
55
+ All implementations have been moved over to a private implementation called `getOctokitOptions` which is then passed to the `Octokit` constructor. If you're using this API you should consider duplicating the logic that lives in `getOctokitOptions` and move away from the deprecated export.
56
+ - 0f37cdef19: Migrated over from the deprecated `spec.metadata` to `spec.templateInfo` for the `name` and the `baseUrl` of the template.
57
+ - 7f193ff019: - **DEPRECATED** - `Status` has been deprecated in favour of `TaskStatus`
58
+ - **DEPRECATED** - `CompletedTaskState` has been deprecated in favour of `TaskCompletionState`
59
+ - **DEPRECATED** - `DispatchResult` has been deprecated in favour of `TaskBrokerDispatchResult`
60
+ - df61ca71dd: Implemented required `getProcessorName` method for catalog processor.
61
+ - Updated dependencies
62
+ - @backstage/backend-common@0.11.0
63
+ - @backstage/plugin-catalog-backend@0.22.0
64
+ - @backstage/plugin-scaffolder-common@0.2.2
65
+ - @backstage/catalog-model@0.11.0
66
+ - @backstage/catalog-client@0.7.2
67
+ - @backstage/plugin-scaffolder-backend-module-cookiecutter@0.2.2
68
+ - @backstage/integration@0.7.5
69
+
3
70
  ## 0.16.1
4
71
 
5
72
  ### Patch Changes