Files
backstage/.changeset/little-carpets-itch.md
T
blam 6ce323aa55 chore: one more deprecations
Signed-off-by: blam <ben@blam.sh>
2022-02-25 11:27:37 +01:00

757 B

@backstage/plugin-scaffolder
@backstage/plugin-scaffolder
patch

Added some deprecations as follows:

  • DEPRECATED: TemplateCardComponent and TaskPageComponent props have been deprecated, and moved to a components prop instead. You can pass them in through there instead.
  • DEPRECATED: TemplateList and TemplateListProps has been deprecated. Please use the TemplateCard to create your own list component instead.
  • DEPRECATED: setSecret has been deprecated in favour of setSecrets when calling useTemplateSecrets

Other notable changes:

  • scaffolderApi.scaffold() values type has been narrowed from Record<string, any> to Record<string, JsonValue> instead.
  • Moved all navigation internally over to using routeRefs and subRouteRefs