chore: added some more info in changeset
Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
@@ -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',
|
||||
...
|
||||
})
|
||||
],
|
||||
});
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user