@backstage/frontend-plugin-api 0.9.0-next.1 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/package.json +9 -9
package/CHANGELOG.md CHANGED
@@ -1,5 +1,66 @@
1
1
  # @backstage/frontend-plugin-api
2
2
 
3
+ ## 0.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 4a5ba19: Removed deprecated `namespace` option from `createExtension` and `createExtensionBlueprint`, including `.make` and `.makeWithOverides`, it's no longer necessary and will use the `pluginId` instead.
8
+
9
+ Removed deprecated `createExtensionOverrides` this should be replaced with `createFrontendModule` instead.
10
+
11
+ Removed deprecated `BackstagePlugin` type, use `FrontendPlugin` type instead from this same package.
12
+
13
+ - bfd4bec: **BREAKING PRODUCERS**: The `IconComponent` no longer accepts `fontSize="default"`. This has effectively been removed from Material-UI since its last two major versions, and has not worked properly for them in a long time.
14
+
15
+ This change should not have an effect on neither users of MUI4 nor MUI5/6, since the updated interface should still let you send the respective `SvgIcon` types into interfaces where relevant (e.g. as app icons).
16
+
17
+ ### Patch Changes
18
+
19
+ - e969dc7: Move `@types/react` to a peer dependency.
20
+ - 873e424: Internal refactor of usage of opaque types.
21
+ - 323aae8: It is now possible to override the blueprint parameters when overriding an extension created from a blueprint:
22
+
23
+ ```ts
24
+ const myExtension = MyBlueprint.make({
25
+ params: {
26
+ myParam: 'myDefault',
27
+ },
28
+ });
29
+
30
+ const myOverride = myExtension.override({
31
+ params: {
32
+ myParam: 'myOverride',
33
+ },
34
+ });
35
+ const myFactoryOverride = myExtension.override({
36
+ factory(origFactory) {
37
+ return origFactory({
38
+ params: {
39
+ myParam: 'myOverride',
40
+ },
41
+ });
42
+ },
43
+ });
44
+ ```
45
+
46
+ The provided parameters will be merged with the original parameters of the extension.
47
+
48
+ - Updated dependencies
49
+ - @backstage/core-components@0.15.1
50
+ - @backstage/core-plugin-api@1.10.0
51
+ - @backstage/version-bridge@1.0.10
52
+ - @backstage/types@1.1.1
53
+
54
+ ## 0.9.0-next.2
55
+
56
+ ### Patch Changes
57
+
58
+ - Updated dependencies
59
+ - @backstage/core-components@0.15.1-next.2
60
+ - @backstage/core-plugin-api@1.10.0-next.1
61
+ - @backstage/types@1.1.1
62
+ - @backstage/version-bridge@1.0.10-next.0
63
+
3
64
  ## 0.9.0-next.1
4
65
 
5
66
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/frontend-plugin-api",
3
- "version": "0.9.0-next.1",
3
+ "version": "0.9.0",
4
4
  "backstage": {
5
5
  "role": "web-library"
6
6
  },
@@ -31,20 +31,20 @@
31
31
  "test": "backstage-cli package test"
32
32
  },
33
33
  "dependencies": {
34
- "@backstage/core-components": "0.15.1-next.1",
35
- "@backstage/core-plugin-api": "1.10.0-next.1",
36
- "@backstage/types": "1.1.1",
37
- "@backstage/version-bridge": "1.0.10-next.0",
34
+ "@backstage/core-components": "^0.15.1",
35
+ "@backstage/core-plugin-api": "^1.10.0",
36
+ "@backstage/types": "^1.1.1",
37
+ "@backstage/version-bridge": "^1.0.10",
38
38
  "@material-ui/core": "^4.12.4",
39
39
  "lodash": "^4.17.21",
40
40
  "zod": "^3.22.4",
41
41
  "zod-to-json-schema": "^3.21.4"
42
42
  },
43
43
  "devDependencies": {
44
- "@backstage/cli": "0.28.0-next.1",
45
- "@backstage/frontend-app-api": "0.10.0-next.1",
46
- "@backstage/frontend-test-utils": "0.2.1-next.1",
47
- "@backstage/test-utils": "1.6.1-next.1",
44
+ "@backstage/cli": "^0.28.0",
45
+ "@backstage/frontend-app-api": "^0.10.0",
46
+ "@backstage/frontend-test-utils": "^0.2.1",
47
+ "@backstage/test-utils": "^1.7.0",
48
48
  "@testing-library/jest-dom": "^6.0.0",
49
49
  "@testing-library/react": "^16.0.0",
50
50
  "@types/react": "^18.0.0",