Merge pull request #32521 from backstage/rugvip/no-multi

frontend-plugin-api: deprecate support for multiple attachment points
This commit is contained in:
Patrik Oldsberg
2026-01-27 13:52:57 +01:00
committed by GitHub
31 changed files with 450 additions and 338 deletions
@@ -1206,6 +1206,9 @@ export type ExtensionDefinitionAttachTo<
id?: never;
}
| ExtensionInput<UParentInputs>
/**
* @deprecated Multiple attachment points are deprecated and will be removed in a future release. Use a Utility API instead to share functionality across multiple locations. See https://backstage.io/docs/frontend-system/architecture/27-sharing-extensions for migration guidance.
*/
| Array<
| {
id: string;
@@ -152,7 +152,7 @@ export type VerifyExtensionAttachTo<
* const page = ParentBlueprint.make({ ... });
* const child = ChildBlueprint.make({ attachTo: page.inputs.children });
*
* // Attach to multiple parents at once
* // Attach to multiple parents at once (deprecated - use Utility APIs instead)
* [
* { id: 'page/home', input: 'widgets' },
* { relative: { kind: 'page' }, input: 'widgets' },
@@ -167,6 +167,9 @@ export type ExtensionDefinitionAttachTo<
| { id: string; input: string; relative?: never }
| { relative: { kind?: string; name?: string }; input: string; id?: never }
| ExtensionInput<UParentInputs>
/**
* @deprecated Multiple attachment points are deprecated and will be removed in a future release. Use a Utility API instead to share functionality across multiple locations. See https://backstage.io/docs/frontend-system/architecture/27-sharing-extensions for migration guidance.
*/
| Array<
| { id: string; input: string; relative?: never }
| {