Merge branch 'master' of github.com:backstage/backstage into holding

This commit is contained in:
Brian Fletcher
2022-02-03 14:04:20 +00:00
388 changed files with 6957 additions and 2108 deletions
-27
View File
@@ -1,27 +0,0 @@
---
'@backstage/plugin-auth-backend': minor
---
**BREAKING** Added `tokenManager` as a required property for the auth-backend `createRouter` function. This dependency is used to issue server tokens that are used by the `CatalogIdentityClient` when looking up users and their group membership during authentication.
These changes are **required** to `packages/backend/src/plugins/auth.ts`:
```diff
export default async function createPlugin({
logger,
database,
config,
discovery,
+ tokenManager,
}: PluginEnvironment): Promise<Router> {
return await createRouter({
logger,
config,
database,
discovery,
+ tokenManager,
});
}
```
**BREAKING** The `CatalogIdentityClient` constructor now expects a `TokenManager` instead of a `TokenIssuer`. The `TokenManager` interface is used to generate a server token when [resolving a user's identity and membership through the catalog](https://backstage.io/docs/auth/identity-resolver). Using server tokens for these requests allows the auth-backend to bypass authorization checks when permissions are enabled for Backstage. This change will break apps that rely on the user tokens that were previously used by the client. Refer to the ["Backend-to-backend Authentication" tutorial](https://backstage.io/docs/tutorials/backend-to-backend-auth) for more information on server token usage.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-rollbar-backend': patch
---
chore(deps): bump `camelcase-keys` from 6.2.2 to 7.0.1
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-auth-backend': patch
---
chore(deps): bump `passport` from 0.4.1 to 0.5.2
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog-backend': patch
---
chore(deps): bump `prom-client` from 13.2.0 to 14.0.1
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/create-app': patch
---
Apply the fix from `0.4.16`, which is part of the `v0.65.1` release of Backstage.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/core-components': patch
---
Change subtitle of Header style to use palette.bursts.fontColor
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/core-components': patch
---
Fix an issue where changes related to the `MobileSidebar` prevented scrolling pages. Additionally improve the menu of the `MobileSidebar` to not overlay the `BottomNavigation`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
Migrate from deprecated package @octokit/rest to octokit
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-org': patch
---
Added `relations.memberof` filter to the catalog api call in `MemberListCard` to avoid fetching all the User entity kinds from catalog-backend.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/create-app': patch
---
Update backend-to-backend auth link in configuration file comment
+1 -3
View File
@@ -1,5 +1,3 @@
{
"currentReleaseVersion": {
"@backstage/create-app": "0.4.16"
}
"currentReleaseVersion": {}
}
-127
View File
@@ -1,127 +0,0 @@
{
"mode": "pre",
"tag": "next",
"initialVersions": {
"example-app": "0.2.62",
"@backstage/app-defaults": "0.1.5",
"example-backend": "0.2.62",
"@backstage/backend-common": "0.10.5",
"@backstage/backend-tasks": "0.1.4",
"@backstage/backend-test-utils": "0.1.15",
"@backstage/catalog-client": "0.5.5",
"@backstage/catalog-model": "0.9.10",
"@backstage/cli": "0.13.0",
"@backstage/cli-common": "0.1.6",
"@backstage/codemods": "0.1.31",
"@backstage/config": "0.1.13",
"@backstage/config-loader": "0.9.3",
"@backstage/core-app-api": "0.5.1",
"@backstage/core-components": "0.8.6",
"@backstage/core-plugin-api": "0.6.0",
"@backstage/create-app": "0.4.15",
"@backstage/dev-utils": "0.2.19",
"e2e-test": "0.2.0",
"embedded-techdocs-app": "0.2.61",
"@backstage/errors": "0.2.0",
"@backstage/integration": "0.7.2",
"@backstage/integration-react": "0.1.19",
"@backstage/search-common": "0.2.2",
"@techdocs/cli": "0.8.11",
"@backstage/techdocs-common": "0.11.5",
"@backstage/test-utils": "0.2.3",
"@backstage/theme": "0.2.14",
"@backstage/types": "0.1.1",
"@backstage/version-bridge": "0.1.1",
"@backstage/plugin-airbrake": "0.1.1",
"@backstage/plugin-allure": "0.1.12",
"@backstage/plugin-analytics-module-ga": "0.1.7",
"@backstage/plugin-apache-airflow": "0.1.4",
"@backstage/plugin-api-docs": "0.7.0",
"@backstage/plugin-app-backend": "0.3.22",
"@backstage/plugin-auth-backend": "0.8.0",
"@backstage/plugin-azure-devops": "0.1.12",
"@backstage/plugin-azure-devops-backend": "0.3.1",
"@backstage/plugin-azure-devops-common": "0.2.0",
"@backstage/plugin-badges": "0.2.20",
"@backstage/plugin-badges-backend": "0.1.16",
"@backstage/plugin-bazaar": "0.1.11",
"@backstage/plugin-bazaar-backend": "0.1.7",
"@backstage/plugin-bitrise": "0.1.23",
"@backstage/plugin-catalog": "0.7.10",
"@backstage/plugin-catalog-backend": "0.21.1",
"@backstage/plugin-catalog-backend-module-ldap": "0.3.10",
"@backstage/plugin-catalog-backend-module-msgraph": "0.2.13",
"@backstage/plugin-catalog-common": "0.1.1",
"@backstage/plugin-catalog-graph": "0.2.8",
"@backstage/plugin-catalog-graphql": "0.3.1",
"@backstage/plugin-catalog-import": "0.7.10",
"@backstage/plugin-catalog-react": "0.6.12",
"@backstage/plugin-circleci": "0.2.35",
"@backstage/plugin-cloudbuild": "0.2.33",
"@backstage/plugin-code-coverage": "0.1.23",
"@backstage/plugin-code-coverage-backend": "0.1.20",
"@backstage/plugin-config-schema": "0.1.19",
"@backstage/plugin-cost-insights": "0.11.18",
"@backstage/plugin-explore": "0.3.27",
"@backstage/plugin-explore-react": "0.0.11",
"@backstage/plugin-firehydrant": "0.1.13",
"@backstage/plugin-fossa": "0.2.28",
"@backstage/plugin-gcp-projects": "0.3.15",
"@backstage/plugin-git-release-manager": "0.3.9",
"@backstage/plugin-github-actions": "0.4.33",
"@backstage/plugin-github-deployments": "0.1.27",
"@backstage/plugin-gitops-profiles": "0.3.14",
"@backstage/plugin-gocd": "0.1.2",
"@backstage/plugin-graphiql": "0.2.28",
"@backstage/plugin-graphql-backend": "0.1.12",
"@backstage/plugin-home": "0.4.12",
"@backstage/plugin-ilert": "0.1.22",
"@backstage/plugin-jenkins": "0.5.18",
"@backstage/plugin-jenkins-backend": "0.1.11",
"@backstage/plugin-kafka": "0.2.26",
"@backstage/plugin-kafka-backend": "0.2.15",
"@backstage/plugin-kubernetes": "0.5.5",
"@backstage/plugin-kubernetes-backend": "0.4.5",
"@backstage/plugin-kubernetes-common": "0.2.2",
"@backstage/plugin-lighthouse": "0.2.35",
"@backstage/plugin-newrelic": "0.3.14",
"@backstage/plugin-newrelic-dashboard": "0.1.4",
"@backstage/plugin-org": "0.4.0",
"@backstage/plugin-pagerduty": "0.3.23",
"@backstage/plugin-permission-backend": "0.4.1",
"@backstage/plugin-permission-common": "0.4.0",
"@backstage/plugin-permission-node": "0.4.1",
"@backstage/plugin-permission-react": "0.3.0",
"@backstage/plugin-proxy-backend": "0.2.16",
"@backstage/plugin-rollbar": "0.3.24",
"@backstage/plugin-rollbar-backend": "0.1.19",
"@backstage/plugin-scaffolder": "0.12.0",
"@backstage/plugin-scaffolder-backend": "0.15.22",
"@backstage/plugin-scaffolder-backend-module-cookiecutter": "0.1.9",
"@backstage/plugin-scaffolder-backend-module-rails": "0.2.4",
"@backstage/plugin-scaffolder-backend-module-yeoman": "0.1.3",
"@backstage/plugin-scaffolder-common": "0.1.3",
"@backstage/plugin-search": "0.6.0",
"@backstage/plugin-search-backend": "0.4.0",
"@backstage/plugin-search-backend-module-elasticsearch": "0.0.8",
"@backstage/plugin-search-backend-module-pg": "0.2.4",
"@backstage/plugin-search-backend-node": "0.4.5",
"@backstage/plugin-sentry": "0.3.34",
"@backstage/plugin-shortcuts": "0.1.20",
"@backstage/plugin-sonarqube": "0.2.14",
"@backstage/plugin-splunk-on-call": "0.3.20",
"@backstage/plugin-tech-insights": "0.1.6",
"@backstage/plugin-tech-insights-backend": "0.2.2",
"@backstage/plugin-tech-insights-backend-module-jsonfc": "0.1.6",
"@backstage/plugin-tech-insights-common": "0.2.1",
"@backstage/plugin-tech-insights-node": "0.2.0",
"@backstage/plugin-tech-radar": "0.5.3",
"@backstage/plugin-techdocs": "0.13.1",
"@backstage/plugin-techdocs-backend": "0.13.1",
"@backstage/plugin-todo": "0.1.20",
"@backstage/plugin-todo-backend": "0.1.19",
"@backstage/plugin-user-settings": "0.3.17",
"@backstage/plugin-xcmetrics": "0.2.16"
},
"changesets": []
}
-18
View File
@@ -1,18 +0,0 @@
---
'@backstage/create-app': patch
---
Adds missing `/catalog-graph` route to `<CatalogGraphPage/>`.
To fix this problem for a recently created app please update your `app/src/App.tsx`
```diff
+ import { CatalogGraphPage } from '@backstage/plugin-catalog-graph';
... omitted ...
</Route>
<Route path="/settings" element={<UserSettingsPage />} />
+ <Route path="/catalog-graph" element={<CatalogGraphPage />} />
</FlatRoutes>
```
-26
View File
@@ -1,26 +0,0 @@
---
'@backstage/plugin-proxy-backend': patch
---
Adds a new option `skipInvalidTargets` for the proxy `createRouter` which allows the proxy backend to be started with an invalid proxy configuration. If configured, it will simply skip the failed proxy and mount the other valid proxies.
To configure it to pass by failing proxies:
```
const router = await createRouter({
config,
logger,
discovery,
skipInvalidProxies: true,
});
```
If you would like it to fail if a proxy is configured badly:
```
const router = await createRouter({
config,
logger,
discovery,
});
```
-5
View File
@@ -1,5 +0,0 @@
---
'@techdocs/cli': patch
---
Use a local file dependency for embedded-techdocs-app, to ensure that it's always pulled out of the workspace
-25
View File
@@ -1,25 +0,0 @@
---
'@backstage/create-app': patch
---
Added `tokenManager` as a required property for the auth-backend `createRouter` function. This dependency is used to issue server tokens that are used by the `CatalogIdentityClient` when looking up users and their group membership during authentication.
These changes are **required** to `packages/backend/src/plugins/auth.ts`:
```diff
export default async function createPlugin({
logger,
database,
config,
discovery,
+ tokenManager,
}: PluginEnvironment): Promise<Router> {
return await createRouter({
logger,
config,
database,
discovery,
+ tokenManager,
});
}
```
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-pagerduty': patch
---
Fix change events tab error when change events exist
-34
View File
@@ -1,34 +0,0 @@
---
'@backstage/plugin-catalog-import': minor
---
Make filename, branch name and examples URLs used in catalog import customizable.
Catalog backend ingestion loop can be already configured to fetch targets with custom catalog filename (other than `catalog-info.yaml`). It's now possible to customize said filename and branch name used in pull requests created by catalog import flow too. This allows organizations to further customize Backstage experience and to better reflect their branding.
Filename (default: `catalog-info.yaml`) and branch name (default: `backstage-integration`) used in pull requests can be configured in `app-config.yaml` as follows:
```yaml
// app-config.yaml
catalog:
import:
entityFilename: anvil.yaml
pullRequestBranchName: anvil-integration
```
Following React components have also been updated to accept optional props for providing example entity and repository paths:
```tsx
<StepInitAnalyzeUrl
...
exampleLocationUrl="https://github.com/acme-corp/our-awesome-api/blob/main/anvil.yaml"
/>
```
```tsx
<ImportInfoCard
exampleLocationUrl="https://github.com/acme-corp/our-awesome-api/blob/main/anvil.yaml"
exampleRepositoryUrl="https://github.com/acme-corp/our-awesome-api"
/>
```
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog-backend': patch
---
Pass authorization token to location service inside location api routes
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/core-components': patch
'@backstage/plugin-scaffolder': patch
---
Make linkTarget configurable for MarkdownContent component
-13
View File
@@ -1,13 +0,0 @@
---
'@backstage/create-app': patch
---
Switched the `app` dependency in the backend to use a file target rather than version.
To apply this change to an existing app, make the following change to `packages/backend/package.json`:
```diff
"dependencies": {
- "app": "0.0.0",
+ "app": "file:../app",
```
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
Log warning if unable to parse yarn.lock