chore: added a changeset

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2023-03-24 20:52:00 +01:00
parent 3d6982b749
commit 95ea9f69b6
+10
View File
@@ -0,0 +1,10 @@
---
'@backstage/plugin-scaffolder-backend': minor
---
Provide some more default filters out of the box and refactoring how the filters are applied to the `SecureTemplater`.
- `parseEntityRef` will take an string entity triplet and return a parsed object.
- `pick` will allow you to reference a specific property in the piped object.
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.