Version Packages (next)
This commit is contained in:
@@ -1,5 +1,47 @@
|
||||
# @backstage/app-defaults
|
||||
|
||||
## 1.6.0-next.1
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 12f8e01: **BREAKING**: The default `DiscoveryApi` implementation has been switched to use `FrontendHostDiscovery`, which adds support for the `discovery.endpoints` configuration.
|
||||
|
||||
This is marked as a breaking change because it will cause any existing `discovery.endpoints` configuration to be picked up and used, which may break existing setups.
|
||||
|
||||
For example, consider the following configuration:
|
||||
|
||||
```yaml
|
||||
app:
|
||||
baseUrl: https://backstage.acme.org
|
||||
|
||||
backend:
|
||||
baseUrl: https://backstage.internal.acme.org
|
||||
|
||||
discovery:
|
||||
endpoints:
|
||||
- target: https://catalog.internal.acme.org/api/{{pluginId}}
|
||||
plugins: [catalog]
|
||||
```
|
||||
|
||||
This will now cause requests from the frontend towards the `catalog` plugin to be routed to `https://catalog.internal.acme.org/api/catalog`, but this might not be reachable from the frontend. To fix this, you should update the `discovery.endpoints` configuration to only override the internal URL of the plugin:
|
||||
|
||||
```yaml
|
||||
discovery:
|
||||
endpoints:
|
||||
- target:
|
||||
internal: https://catalog.internal.acme.org/api/{{pluginId}}
|
||||
plugins: [catalog]
|
||||
```
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/core-app-api@1.16.0-next.0
|
||||
- @backstage/core-components@0.16.5-next.1
|
||||
- @backstage/core-plugin-api@1.10.4
|
||||
- @backstage/theme@0.6.4
|
||||
- @backstage/plugin-permission-react@0.4.31
|
||||
|
||||
## 1.5.18-next.0
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/app-defaults",
|
||||
"version": "1.5.18-next.0",
|
||||
"version": "1.6.0-next.1",
|
||||
"description": "Provides the default wiring of a Backstage App",
|
||||
"backstage": {
|
||||
"role": "web-library"
|
||||
|
||||
Reference in New Issue
Block a user