Version Packages

This commit is contained in:
github-actions[bot]
2021-02-11 10:15:47 +00:00
parent 190c709473
commit aa49ca2284
140 changed files with 1025 additions and 680 deletions
-10
View File
@@ -1,10 +0,0 @@
---
'@backstage/plugin-catalog-import': patch
---
Flatten the options of the `CatalogImportPage` from the `options` property to the `pullRequest` property.
```diff
- <CatalogImportPage options={{ pullRequest: { disable: true } }} />
+ <CatalogImportPage pullRequest={{ disable: true }} />
```
-29
View File
@@ -1,29 +0,0 @@
---
'@backstage/create-app': patch
---
Pass on plugin database management instance that is now required by the scaffolder plugin.
To apply this change to an existing application, add the following to `src/plugins/scaffolder.ts`:
```diff
export default async function createPlugin({
logger,
config,
+ database,
}: PluginEnvironment) {
// ...omitted...
return await createRouter({
preparers,
templaters,
publishers,
logger,
config,
dockerClient,
entityClient,
+ database,
});
}
```
-35
View File
@@ -1,35 +0,0 @@
---
'@backstage/plugin-auth-backend': minor
---
Remove undocumented scope (default) from the OIDC auth provider which was breaking some identity services. If your app relied on this scope, you can manually specify it by adding a new factory in `packages/app/src/apis.ts`:
```
export const apis = [
createApiFactory({
api: oidcAuthApiRef,
deps: {
discoveryApi: discoveryApiRef,
oauthRequestApi: oauthRequestApiRef,
configApi: configApiRef,
},
factory: ({ discoveryApi, oauthRequestApi, configApi }) =>
OAuth2.create({
discoveryApi,
oauthRequestApi,
provider: {
id: 'oidc',
title: 'Your Identity Provider',
icon: OAuth2Icon,
},
defaultScopes: [
'default',
'openid',
'email',
'offline_access',
],
environment: configApi.getOptionalString('auth.environment'),
}),
}),
];
```
-13
View File
@@ -1,13 +0,0 @@
---
'@backstage/catalog-client': patch
'@backstage/plugin-auth-backend': patch
'@backstage/plugin-catalog': patch
'@backstage/plugin-catalog-import': minor
'@backstage/plugin-fossa': patch
'@backstage/plugin-kubernetes': patch
'@backstage/plugin-rollbar': minor
'@backstage/plugin-scaffolder': minor
'@backstage/plugin-scaffolder-backend': patch
---
Include Backstage identity token in requests to backend plugins.
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/techdocs-common': patch
'@backstage/plugin-catalog-backend': patch
---
Revert AWS SDK version to v2
@@ -1,5 +0,0 @@
---
'@backstage/plugin-cost-insights': patch
---
fixes a bug in default dismiss form where other text input persists between reason selections
@@ -1,5 +0,0 @@
---
'@backstage/plugin-cost-insights': patch
---
Fix snooze quarter option
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-circleci': patch
---
Migrated to new composability API, exporting the plugin instance as `circleCIPlugin`, the entity page content as `EntityCircleCIContent`, and entity conditional as `isCircleCIAvailable`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-search': minor
---
Migrated to new composability API, exporting the plugin instance as `searchPlugin`, and page as `SearchPage`. Due to the old router component also being called `SearchPage`, this is a breaking change. The old page component is now exported as `Router`, which can be used to maintain the old behavior.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog-backend': patch
---
use child logger, if provided, to log single location refresh
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-app-backend': patch
---
Added a new `disableConfigInjection` option, which can be used to disable the configuration injection in environments where it can't be used.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog-backend': patch
---
Don't respond to a request twice if an entity has not been found.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-cloudbuild': patch
---
Migrate to new composability API, exporting the plugin instance as `cloudbuildPlugin`, the entity content as `EntityCloudbuildContent`, the entity conditional as `isCloudbuildAvailable`, and entity cards as `EntityLatestCloudbuildRunCard` and `EntityLatestCloudbuildsForBranchCard`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-register-component': patch
---
Migrated to new composability API, exporting the plugin instance as `registerComponentPlugin`, and page as `RegisterComponentPage`.
-28
View File
@@ -1,28 +0,0 @@
---
'example-app': patch
'@backstage/plugin-auth-backend': patch
---
Add configurable `scope` for oauth2 auth provider.
Some OAuth2 providers require certain scopes to facilitate a user sign-in using the Authorization Code flow.
This change adds the optional `scope` key to auth.providers.oauth2. An example is:
```yaml
auth:
providers:
oauth2:
development:
clientId:
$env: DEV_OAUTH2_CLIENT_ID
clientSecret:
$env: DEV_OAUTH2_CLIENT_SECRET
authorizationUrl:
$env: DEV_OAUTH2_AUTH_URL
tokenUrl:
$env: DEV_OAUTH2_TOKEN_URL
scope: saml-login-selector openid profile email
```
This tells the OAuth 2.0 AS to perform a SAML login and return OIDC information include the `profile`
and `email` claims as part of the ID Token.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-sentry': patch
---
Export the plugin instance as `sentryPlugin`. The plugin instance is still exported as `plugin` as well, but it will be removed in the future.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog': patch
---
bug fix: 3310 fixes reloading entities with the default owned filter
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/backend-common': patch
'@backstage/plugin-scaffolder-backend': patch
---
Minor updates to reflect the changes in `@backstage/integration` that made the fields `apiBaseUrl` and `apiUrl` mandatory.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-jenkins': patch
---
Improve display of duration in latest build card
-8
View File
@@ -1,8 +0,0 @@
---
'@backstage/plugin-api-docs': patch
'@backstage/plugin-catalog': patch
'@backstage/plugin-lighthouse': patch
'@backstage/plugin-techdocs': patch
---
Improve display of error messages
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog-backend': patch
---
add indices on columns referring locations(id)
-7
View File
@@ -1,7 +0,0 @@
---
'@backstage/plugin-scaffolder-backend': minor
---
Introduced `v2` Scaffolder REST API, which uses an implementation that is database backed, making the scaffolder instances stateless. The `createRouter` function now requires a `PluginDatabaseManager` instance to be passed in, commonly available as `database` in the plugin environment in the backend.
This API should be considered unstable until used by the scaffolder frontend.
-15
View File
@@ -1,15 +0,0 @@
---
'@backstage/create-app': patch
---
`@backstage/plugin-catalog-import` has been refactored, so the `App.tsx` of the backstage apps need to be updated:
```diff
// packages/app/src/App.tsx
<Route
path="/catalog-import"
- element={<CatalogImportPage catalogRouteRef={catalogRouteRef} />}
+ element={<CatalogImportPage />}
/>
```
-19
View File
@@ -1,19 +0,0 @@
---
'@backstage/plugin-catalog-import': minor
---
The plugin has been refactored and is now based on a configurable state machine of 'analyze', 'prepare', 'review' & 'finish'.
Depending on the outcome of the 'analyze' stage, different flows are selected ('single-location', 'multiple-locations', 'no-location').
Each flow can define it's own components that guide the user.
During the refactoring, the `catalogRouteRef` property of the `CatalogImportPage` has been removed, so the `App.tsx` of the backstage apps need to be updated:
```diff
// packages/app/src/App.tsx
<Route
path="/catalog-import"
- element={<CatalogImportPage catalogRouteRef={catalogRouteRef} />}
+ element={<CatalogImportPage />}
/>
```
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-pagerduty': patch
---
Use the Luxon Date Library to follow the recommendations of ADR010.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/create-app': patch
---
TechDocs: Add comments about migrating away from basic setup in app-config.yaml
-15
View File
@@ -1,15 +0,0 @@
---
'@backstage/plugin-catalog-backend': patch
---
Added an option to scan GitHub for repositories using a new location type `github-discovery`.
Example:
```yaml
type: 'github-discovery',
target:
'https://github.com/backstage/techdocs-*/blob/master/catalog.yaml'
```
You can use wildcards (`*`) as well. This will add `location` entities for each matching repository.
Currently though, you must specify the exact path of the `catalog.yaml` file in the repository.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-org': patch
---
Visual updates to User and Group pages
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-techdocs': patch
---
Migrated to new composability API, exporting the plugin instance as `techdocsPlugin`, the top-level page as `TechdocsPage`, and the entity content as `EntityTechdocsContent`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/backend-common': patch
---
Set explicit content-type in error handler responses.
-20
View File
@@ -1,20 +0,0 @@
---
'@backstage/plugin-catalog': patch
---
Adds an `EntityLinksCard` component to display `entity.metadata.links` on entity pages. The new component is a companion for the new [Entity Links](https://backstage.io/docs/features/software-catalog/descriptor-format#links-optional) catalog model addition.
Here is an example usage within an `EntityPage.tsx`.
```tsx
// in packages/app/src/components/catalog/EntityPage.tsx
const ComponentOverviewContent = ({ entity }: { entity: Entity }) => (
<Grid container spacing={3} alignItems="stretch">
<Grid item md={4} sm={6}>
<EntityLinksCard />
// or ...
<EntityLinksCard cols={{ md: 2, lg: 3, xl: 4 }} />
</Grid>
</Grid>
);
```
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/backend-common': patch
---
Slight refactoring in support of a future search implementation in `UrlReader`. Mostly moving code around.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-cost-insights': patch
---
Migrated to new composability API, exporting the plugin instance as `costInsightsPlugin`, the root `'/cost-insights'` page as `CostInsightsPage`, the `'/cost-insights/investigating-growth'` page as `CostInsightsProjectGrowthInstructionsPage`, and the `'/cost-insights/labeling-jobs'` page as `CostInsightsLabelDataflowInstructionsPage`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-pagerduty': patch
---
Migrated to new composability API, exporting the plugin instance as `pagerDutyPlugin`, entity card as `EntityPagerDutyCard`, and entity conditional as `isPagerDutyAvailable`.
-31
View File
@@ -1,31 +0,0 @@
---
'@backstage/integration': minor
---
Update the `GitLabIntegrationConfig` to require the fields `apiBaseUrl` and `baseUrl`. The `readGitLabIntegrationConfig` function is now more strict and has better error reporting. This change mirrors actual reality in code more properly - the fields are actually necessary for many parts of code to actually function, so they should no longer be optional.
Some checks that used to happen deep inside code that consumed config, now happen upfront at startup. This means that you may encounter new errors at backend startup, if you had actual mistakes in config but didn't happen to exercise the code paths that actually would break. But for most users, no change will be necessary.
An example minimal GitLab config block that just adds a token to public GitLab would look similar to this:
```yaml
integrations:
gitlab:
- host: gitlab.com
token:
$env: GITLAB_TOKEN
```
A full fledged config that points to a locally hosted GitLab could look like this:
```yaml
integrations:
gitlab:
- host: gitlab.my-company.com
apiBaseUrl: https://gitlab.my-company.com/api/v4
baseUrl: https://gitlab.my-company.com
token:
$env: OUR_GITLAB_TOKEN
```
In this case, the only optional field is `baseUrl` which is formed from the `host` if needed.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/catalog-client': patch
---
Add the `presence` argument to the `CatalogApi` to be able to register optional locations.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/test-utils': patch
---
Added `mountedRoutes` option to `wrapInTestApp`, allowing routes to be associated to concrete paths to make `useRouteRef` usable in tested components.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-jenkins': patch
---
Migrate to new composability API, exporting the plugin instance as `jenkinsPlugin`, the entity content as `EntityJenkinsContent`, the entity conditional as `isJenkinsAvailable`, and the entity card as `EntityLatestJenkinsRunCard`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog': patch
---
Removed unused functions and the moment library. #4278
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog': patch
---
Fix whitespace around variable in unregister error dialog box
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-github-actions': patch
---
Migrate to new composability API, exporting the plugin instance as `githubActionsPlugin`, the entity content as `EntityGithubActionsContent`, entity conditional as `isGithubActionsAvailable`, and entity cards as `EntityLatestGithubActionRunCard`, `EntityLatestGithubActionsForBranchCard`, and `EntityRecentGithubActionsRunsCard`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-explore': patch
---
Catch catalog errors and display to user
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-newrelic': patch
---
Migrate to new composability API, exporting the plugin instance as `newRelicPlugin`, and the root page as `NewRelicPage`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/backend-common': patch
---
Implement `UrlReader.search` which implements glob matching.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-kubernetes': patch
---
Migrate to new composability API, exporting the plugin instance as `kubernetesPlugin` and entity content as `EntityKubernetesContent`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog-react': patch
---
Make `EntityRefLink` a `React.forwardRef` in order to use it as root component in other components like `ListItem`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-kafka': patch
---
Migrate to new composability API, exporting the plugin instance as `kafkaPlugin`, entity content as `EntityKafkaContent`, and entity conditional as `isKafkaAvailable`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog-backend': patch
---
Refactored route response handling to use more explicit types and throw errors.
@@ -1,5 +0,0 @@
---
'@backstage/plugin-techdocs': patch
---
Enhance API calls to support trapping 500 errors from techdocs-backend
@@ -1,6 +0,0 @@
---
'@backstage/techdocs-common': minor
'@backstage/plugin-techdocs-backend': minor
---
URL Preparer will now use proper etag based caching introduced in https://github.com/backstage/backstage/pull/4120. Previously, builds used to be cached for 30 minutes.
@@ -1,8 +0,0 @@
---
'@backstage/techdocs-common': patch
'@backstage/plugin-techdocs-backend': patch
---
TechDocs will throw warning in backend logs when legacy git preparer or dir preparer is used to preparer docs. Migrate to URL Preparer by updating `backstage.io/techdocs-ref` annotation to be prefixed with `url:`.
Detailed docs are here https://backstage.io/docs/features/techdocs/how-to-guides#how-to-use-url-reader-in-techdocs-prepare-step
See benefits and reason for doing so https://github.com/backstage/backstage/issues/4409
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/core': patch
---
Fixed type inference of `createRouteRef`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-gitops-profiles': patch
---
Migrated to new composability API, exporting the plugin instance as `gitopsProfilesPlugin` and pages as `GitopsProfilesClusterListPage`, `GitopsProfilesClusterPage`, and `GitopsProfilesCreatePage`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-tech-radar': patch
---
Migrated to new composability API, exporting the plugin instance as `techRadarPlugin` and the page as `TechRadarPage`.