Version Packages
This commit is contained in:
@@ -1,5 +1,42 @@
|
||||
# @backstage/frontend-defaults
|
||||
|
||||
## 0.3.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 76832a9: **BREAKING**: Removed the deprecated `CreateAppFeatureLoader` and support for it in other APIs. Switch existing usage to use the newer `createFrontendFeatureLoader` from `@backstage/frontend-plugin-api` instead.
|
||||
- 5e12252: **BREAKING**: Restructured some of option fields of `createApp` and `createSpecializedApp`.
|
||||
|
||||
- For `createApp`, all option fields _except_ `features` and `bindRoutes` have been moved into a new `advanced` object field.
|
||||
- For `createSpecializedApp`, all option fields _except_ `features`, `config`, and `bindRoutes` have been moved into a new `advanced` object field.
|
||||
|
||||
This helps highlight that some options are meant to rarely be needed or used, and simplifies the usage of those options that are almost always required.
|
||||
|
||||
As an example, if you used to supply a custom config loader, you would update your code as follows:
|
||||
|
||||
```diff
|
||||
createApp({
|
||||
features: [...],
|
||||
- configLoader: new MyCustomLoader(),
|
||||
+ advanced: {
|
||||
+ configLoader: new MyCustomLoader(),
|
||||
+ },
|
||||
})
|
||||
```
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 22de964: Deprecated `createPublicSignInApp`, which has been replaced by the new `appModulePublicSignIn` from `@backstage/plugin-app/alpha` instead.
|
||||
- e4ddf22: Internal update to align with new blueprint parameter naming in the new frontend system.
|
||||
- 8b1bf6e: Deprecated new frontend system config setting `app.experimental.packages` to just `app.packages`. The old config will continue working for the time being, but may be removed in a future release.
|
||||
- 7adc846: Added support for passing through `allowUnknownExtensionConfig` as a flag
|
||||
- e5a0a99: **BREAKING**: The `loadingComponent` option has been renamed to `loadingElement`, which is now found under `advanced.loadingElement`. The default loading element has also been switched to `<Progress />` from `@backstage/core-components`. This is of course an improvement over the previous `"Loading..."` text, but also helps prevent flicker when the app loading is fast.
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.17.5
|
||||
- @backstage/frontend-plugin-api@0.11.0
|
||||
- @backstage/frontend-app-api@0.12.0
|
||||
- @backstage/plugin-app@0.2.0
|
||||
|
||||
## 0.3.0-next.3
|
||||
|
||||
### Minor Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/frontend-defaults",
|
||||
"version": "0.3.0-next.3",
|
||||
"version": "0.3.0",
|
||||
"backstage": {
|
||||
"role": "web-library"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user