@backstage/frontend-app-api 0.15.0-next.2 → 0.15.1-next.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,48 @@
1
1
  # @backstage/frontend-app-api
2
2
 
3
+ ## 0.15.1-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/frontend-plugin-api@0.14.2-next.0
9
+ - @backstage/config@1.3.6
10
+ - @backstage/core-app-api@1.19.6-next.0
11
+ - @backstage/core-plugin-api@1.12.4-next.0
12
+ - @backstage/errors@1.2.7
13
+ - @backstage/frontend-defaults@0.4.1-next.0
14
+ - @backstage/types@1.2.2
15
+ - @backstage/version-bridge@1.0.12
16
+
17
+ ## 0.15.0
18
+
19
+ ### Minor Changes
20
+
21
+ - 55b2ef6: **BREAKING**: Updated the behavior of the new API override logic to reject the override and block app startup instead of just logging a deprecation warning.
22
+
23
+ ### Patch Changes
24
+
25
+ - 7edb810: Implemented support for the `internal` extension input option.
26
+ - 492503a: Updated error reporting and app tree resolution logic to attribute errors to the correct extension and allow app startup to proceed more optimistically:
27
+
28
+ - If an attachment fails to provide the required input data, the error is now attributed to the attachment rather than the parent extension.
29
+ - Singleton extension inputs will now only forward attachment errors if the input is required.
30
+ - Array extension inputs will now filter out failed attachments instead of failing the entire app tree resolution.
31
+
32
+ - ef6916e: Added `IconElement` type as a replacement for the deprecated `IconComponent`. The `IconsApi` now has a new `icon()` method that returns `IconElement`, while the existing `getIcon()` method is deprecated. The `IconBundleBlueprint` now accepts both `IconComponent` and `IconElement` values.
33
+ - 122d39c: Completely removed support for the deprecated `app.experimental.packages` configuration. Replace existing usage directly with `app.packages`.
34
+ - 9554c36: **DEPRECATED**: Deprecated support for multiple attachment points.
35
+ - 53b6549: Plugins in the new frontend system now have a `pluginId` field rather than `id` to better align with naming conventions used throughout the frontend and backend systems. The old field is still present but marked as deprecated. All internal code has been updated to prefer `pluginId` while maintaining backward compatibility by falling back to `id` when needed.
36
+ - a7e0d50: Updated `react-router-dom` peer dependency to `^6.30.2` and explicitly disabled v7 future flags to suppress deprecation warnings.
37
+ - 09032d7: Internal update to simplify testing utility implementations.
38
+ - 69d880e: Bump to latest zod to ensure it has the latest features
39
+ - Updated dependencies
40
+ - @backstage/frontend-defaults@0.4.0
41
+ - @backstage/core-app-api@1.19.5
42
+ - @backstage/frontend-plugin-api@0.14.0
43
+ - @backstage/core-plugin-api@1.12.3
44
+ - @backstage/version-bridge@1.0.12
45
+
3
46
  ## 0.15.0-next.2
4
47
 
5
48
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"InternalFrontendPlugin.esm.js","sources":["../../../../../frontend-internal/src/wiring/InternalFrontendPlugin.ts"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n Extension,\n FeatureFlagConfig,\n OverridableFrontendPlugin,\n} from '@backstage/frontend-plugin-api';\nimport { JsonObject } from '@backstage/types';\nimport { OpaqueType } from '@internal/opaque';\n\nexport const OpaqueFrontendPlugin = OpaqueType.create<{\n public: OverridableFrontendPlugin;\n versions: {\n readonly version: 'v1';\n readonly extensions: Extension<unknown>[];\n readonly featureFlags: FeatureFlagConfig[];\n readonly infoOptions?: {\n packageJson?: () => Promise<JsonObject>;\n manifest?: () => Promise<JsonObject>;\n };\n };\n}>({\n type: '@backstage/FrontendPlugin',\n versions: ['v1'],\n});\n"],"names":[],"mappings":";;AAwBO,MAAM,oBAAA,GAAuB,WAAW,MAAA,CAW5C;AAAA,EACD,IAAA,EAAM,2BAAA;AAAA,EACN,QAAA,EAAU,CAAC,IAAI;AACjB,CAAC;;;;"}
1
+ {"version":3,"file":"InternalFrontendPlugin.esm.js","sources":["../../../../../frontend-internal/src/wiring/InternalFrontendPlugin.ts"],"sourcesContent":["/*\n * Copyright 2024 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport {\n Extension,\n FeatureFlagConfig,\n IconElement,\n OverridableFrontendPlugin,\n} from '@backstage/frontend-plugin-api';\nimport { JsonObject } from '@backstage/types';\nimport { OpaqueType } from '@internal/opaque';\n\nexport const OpaqueFrontendPlugin = OpaqueType.create<{\n public: OverridableFrontendPlugin;\n versions: {\n readonly version: 'v1';\n readonly title?: string;\n readonly icon?: IconElement;\n readonly extensions: Extension<unknown>[];\n readonly featureFlags: FeatureFlagConfig[];\n readonly infoOptions?: {\n packageJson?: () => Promise<JsonObject>;\n manifest?: () => Promise<JsonObject>;\n };\n };\n}>({\n type: '@backstage/FrontendPlugin',\n versions: ['v1'],\n});\n"],"names":[],"mappings":";;AAyBO,MAAM,oBAAA,GAAuB,WAAW,MAAA,CAa5C;AAAA,EACD,IAAA,EAAM,2BAAA;AAAA,EACN,QAAA,EAAU,CAAC,IAAI;AACjB,CAAC;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/frontend-app-api",
3
- "version": "0.15.0-next.2",
3
+ "version": "0.15.1-next.0",
4
4
  "backstage": {
5
5
  "role": "web-library"
6
6
  },
@@ -33,21 +33,21 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@backstage/config": "1.3.6",
36
- "@backstage/core-app-api": "1.19.5-next.1",
37
- "@backstage/core-plugin-api": "1.12.3-next.1",
36
+ "@backstage/core-app-api": "1.19.6-next.0",
37
+ "@backstage/core-plugin-api": "1.12.4-next.0",
38
38
  "@backstage/errors": "1.2.7",
39
- "@backstage/frontend-defaults": "0.4.0-next.2",
40
- "@backstage/frontend-plugin-api": "0.14.0-next.2",
39
+ "@backstage/frontend-defaults": "0.4.1-next.0",
40
+ "@backstage/frontend-plugin-api": "0.14.2-next.0",
41
41
  "@backstage/types": "1.2.2",
42
- "@backstage/version-bridge": "1.0.12-next.0",
42
+ "@backstage/version-bridge": "1.0.12",
43
43
  "lodash": "^4.17.21",
44
44
  "zod": "^3.25.76"
45
45
  },
46
46
  "devDependencies": {
47
- "@backstage/cli": "0.35.4-next.2",
48
- "@backstage/frontend-test-utils": "0.5.0-next.2",
49
- "@backstage/plugin-app": "0.4.0-next.2",
50
- "@backstage/test-utils": "1.7.15-next.2",
47
+ "@backstage/cli": "0.35.5-next.0",
48
+ "@backstage/frontend-test-utils": "0.5.1-next.0",
49
+ "@backstage/plugin-app": "0.4.1-next.0",
50
+ "@backstage/test-utils": "1.7.16-next.0",
51
51
  "@testing-library/jest-dom": "^6.0.0",
52
52
  "@testing-library/react": "^16.0.0",
53
53
  "@types/react": "^18.0.0",