chore: updating changeset description

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2022-02-17 15:16:34 +01:00
parent 8bd0d83311
commit 504e03b537
2 changed files with 7 additions and 5 deletions
+6 -4
View File
@@ -2,7 +2,9 @@
'@backstage/plugin-scaffolder-common': patch
---
- **DEPRECATED** `TaskSpecV1Beta3.metadata` in favour of the new `TaskSpecV1Beta3.templateInfo`
- **DEPRECATED** `TaskSpecV1Beta3.baseUrl` in favour of the new `TaskSpecV1Beta3.templateInfo.baseUrl`
- **DEPRECATED** `TaskSpecV1Beta2.metadata` in favour of the new `TaskSpecV1Beta2.templateInfo`
- **DEPRECATED** `TaskSpecV1Beta2.baseUrl` in favour of the new `TaskSpecV1Beta2.templateInfo.baseUrl`
**DEPRECATED** - The `TaskSpec.metadata` and `TaskSpec.baseUrl` has been deprecated in favour of the new `TaskSpec.templateInfo`.
The `baseUrl` is now found on the `templateInfo` object, and the name can be inferred from the `templateInfo.entityRef` property.
Usages of `TaskSpec.metadata.name` or `ctx.metadata.name` in Actions should migrate to using `parseEntityRef(taskSpec.templateInfo.entityRef)` to get the parsed entity triplet.
Usages of `ctx.baseUrl` in Actions should migrate to using `ctx.templateInfo.baseUrl` instead.
+1 -1
View File
@@ -5,4 +5,4 @@
'@backstage/plugin-scaffolder-backend-module-rails': patch
---
Migrated over from the deprecated `spec.metadata` to `spec.templateInfo` for the name and the `baseUrl` of the template.
Migrated over from the deprecated `spec.metadata` to `spec.templateInfo` for the `name` and the `baseUrl` of the template.