Version Packages (next)
This commit is contained in:
@@ -1,5 +1,50 @@
|
||||
# @backstage/frontend-plugin-api
|
||||
|
||||
## 0.8.0-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- c816e2d: Added `createFrontendModule` as a replacement for `createExtensionOverrides`, which is now deprecated.
|
||||
|
||||
Deprecated the `BackstagePlugin` and `FrontendFeature` type in favor of `FrontendPlugin` and `FrontendFeature` from `@backstage/frontend-app-api` respectively.
|
||||
|
||||
- 52f9c5a: 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',
|
||||
...
|
||||
})
|
||||
],
|
||||
});
|
||||
```
|
||||
|
||||
- 948d431: Removing deprecated `namespace` parameter in favour of `pluginId` instead
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.14.11-next.0
|
||||
- @backstage/core-plugin-api@1.9.3
|
||||
- @backstage/types@1.1.1
|
||||
- @backstage/version-bridge@1.0.8
|
||||
|
||||
## 0.8.0-next.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/frontend-plugin-api",
|
||||
"version": "0.8.0-next.0",
|
||||
"version": "0.8.0-next.1",
|
||||
"backstage": {
|
||||
"role": "web-library"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user