From aeea1adaa5eaf01dfd9cc25636f2090c92f56b6f Mon Sep 17 00:00:00 2001 From: blam Date: Mon, 2 Sep 2024 15:35:36 +0200 Subject: [PATCH] chore: added some more info in changeset Signed-off-by: blam --- .changeset/fuzzy-feet-exist.md | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/.changeset/fuzzy-feet-exist.md b/.changeset/fuzzy-feet-exist.md index 2197da2f1f..35ef1e58fd 100644 --- a/.changeset/fuzzy-feet-exist.md +++ b/.changeset/fuzzy-feet-exist.md @@ -3,4 +3,32 @@ '@backstage/plugin-app': patch --- -Deprecated the `namespace` option for `createExtensionBlueprint` and `createExtension`, these are no longer required and will default to the `pluginId` instead +Deprecated the `namespace` option for `createExtensionBlueprint` and `createExtension`, these are no longer required and will default to the `pluginId` instead. + +You can migrate some of your extensions that use `createExtensionOverrides` to using `createFrontendModule` instead and providing a `pluginId` there. + +```ts +// Before +createExtensionOverrides({ + extensions: [ + createExtension({ + name: 'my-extension', + namespace: 'my-namespace', + kind: 'test', + ... + }) + ], +}); + +// After +createFrontendModule({ + pluginId: 'my-namespace', + extensions: [ + createExtension({ + name: 'my-extension', + kind: 'test', + ... + }) + ], +}); +```