Merge branch 'backstage:master' into go/expose-detecterrors

This commit is contained in:
Guilherme Oenning
2022-07-11 09:44:05 +01:00
committed by GitHub
1851 changed files with 258634 additions and 220659 deletions
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/plugin-cost-insights': patch
---
Move cost-insights data specific API types (non react) into an @backstage/plugin-cost-insights-common
isomorphic package. This allows these types to be shared in any backend packages or other cost-insight
modules.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/core-components': patch
---
Added ARIA landmark <main> to Page component and added ARIA landmark <nav> to DesktopSidebar and Sidebar components
-7
View File
@@ -1,7 +0,0 @@
---
'@backstage/backend-common': patch
---
Added a `stream()` method to complement the `buffer()` method on `ReadUrlResponse`. A `ReadUrlResponseFactory` utility class is now also available, providing a simple, consistent way to provide a valid `ReadUrlResponse`.
This method, though optional for now, will be required on the responses of `UrlReader.readUrl()` implementations in a future release.
@@ -1,5 +0,0 @@
---
'@backstage/backend-common': patch
---
Implemented the `UrlReader.search()` method for Google Cloud Storage. Due to limitations in the underlying storage API, only prefix-based searches are supported right now (for example, `https://storage.cloud.google.com/your-bucket/some-path/*`).
+9
View File
@@ -0,0 +1,9 @@
---
'@backstage/plugin-code-coverage': minor
---
Cleaned up API exports.
The `Router` export has been removed; users are expected to use `EntityCodeCoverageContent` instead.
The `isPluginApplicableToEntity` helper has been deprecated, in favor of the `isCodeCoverageAvailable` helper.
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/plugin-code-coverage-backend': minor
---
Cleaned up API exports.
The `CodeCoverageApi` and `makeRouter` exports have been removed from the backend, since they were not meant to be exported in the first place.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/core-components': patch
---
Enabled select component to be enabled by keyboard
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-github-pull-requests-board': patch
---
Fix bug on fetching teams repositories where were being filtered by type service unnecessarily
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/backend-plugin-api': minor
---
Introduced new package for creating backend plugins using the new alpha backend plugin framework.
This package is still considered **EXPERIMENTAL** and things will change without warning. Do not use this for production.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-auth-backend': patch
---
Fixed a bug that was introduced in `0.13.1-next.0` which caused the `ent` claim of issued tokens to be dropped.
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/create-app': patch
---
Adds the ability to define the Backstage app name using a `BACKSTAGE_APP_NAME`
environment variable when running `create-app`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/test-utils': patch
---
Fixed `renderInTestApp` so that it is able to re-render the result without removing the app wrapping.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder': minor
---
Add new bitbucket(Cloud/Server) integrations to ScaffolderClient.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-tech-insights-backend': patch
---
TechInsightsBackend: Added missing 'scheduler' to code examples
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder': patch
---
The template editor now shows the cause of request errors that happen during a dry-run.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-components': patch
---
Change BackstageIconLinkVertical style to use pallette instead of explicit color
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-api-docs': patch
---
Updated dependency `graphiql` to `^1.8.8`.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-techdocs-node': minor
---
Added local publishing target directory `config`: `techdocs.publisher.local.publishDirectory`
-7
View File
@@ -1,7 +0,0 @@
---
'@backstage/plugin-adr': minor
'@backstage/plugin-adr-backend': minor
'@backstage/plugin-adr-common': minor
---
Implement ADR plugin
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog-backend': patch
---
Fix wrong return type of the `isGroupEntity` function.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-common': patch
---
Fix parsing of S3 URLs for the default region.
-20
View File
@@ -1,20 +0,0 @@
---
'@backstage/plugin-tech-insights-backend': minor
---
**BREAKING**: The `buildTechInsightsContext` function now takes an additional
field in its options argument: `tokenManager`. This is an instance of
`TokenManager`, which can be found in your backend initialization code's
`env`.
```diff
const builder = buildTechInsightsContext({
logger: env.logger,
config: env.config,
database: env.database,
discovery: env.discovery,
scheduler: env.scheduler,
+ tokenManager: env.tokenManager,
factRetrievers: [ /* ... */ ],
});
```
+19
View File
@@ -0,0 +1,19 @@
---
'@backstage/plugin-catalog-backend': minor
---
Added an option to be able to trigger refreshes on entities based on a prestored arbitrary key.
The UrlReaderProcessor, FileReaderProcessor got updated to store the absolute URL of the catalog file as a refresh key. In the format of `<type>:<target>`
The PlaceholderProcessor got updated to store the resolverValues as refreshKeys for the entities.
The custom resolvers will need to be updated to pass in a `CatalogProcessorEmit` function as parameter and they should be updated to emit their refresh processingResults. You can see the updated resolvers in the `PlaceholderProcessor.ts`
```ts
// yamlPlaceholderResolver
...
const { content, url } = await readTextLocation(params);
params.emit(processingResult.refresh(`url:${url}`));
...
```
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-tech-insights': patch
---
Add new component `EntityTechInsightsScorecardCard`, which can be used in the overview of the `EntityPage` page or display multiple individual `EntityTechInsightsScorecardCard` in `EntityLayout.Route`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/backend-common': patch
---
Gerrit integration: Added optional `cloneUrl` string to config.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-components': minor
---
Add `transformLinkUri` and `transformImageUri` to `MarkdownContent`
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/create-app': patch
---
Bumped create-app version.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder': patch
---
Fixed that adding more than one `allowedOwner` or `allowedRepo` in the template config will now still set the first value as default in the initial form state of `RepoUrlPicker`.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-fossa': patch
---
Allow configuration of base URL for Fossa links
@@ -2,4 +2,4 @@
'@backstage/plugin-scaffolder': patch
---
Updated dependency `use-immer` to `^0.7.0`.
Bumped `codemirror` dependencies to `v6.0.0`.
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/plugin-scaffolder-backend': minor
---
Update the `github:publish` action to allow passing required status check
contexts before merging to the main branch.
+8
View File
@@ -0,0 +1,8 @@
---
'@backstage/backend-common': patch
'@backstage/catalog-model': patch
'@backstage/core-components': patch
'@backstage/plugin-techdocs-react': patch
---
Updated JSDoc to be MDX compatible.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-tech-radar': patch
---
Rename `use` to `adopt`, to reflect Zalando Tech Radar regarding quadrants and add link to Zalando explanation.
-18
View File
@@ -1,18 +0,0 @@
---
'@backstage/backend-tasks': patch
---
`TaskScheduleDefinition` has been updated to also accept an options object containing duration information in the form of days, hours, seconds and so on. This allows for scheduling without importing `luxon`.
```diff
-import { Duration } from 'luxon';
// omitted other code
const schedule = env.scheduler.createScheduledTaskRunner({
- frequency: Duration.fromObject({ minutes: 10 }),
- timeout: Duration.fromObject({ minutes: 15 }),
+ frequency: { minutes: 10 },
+ timeout: { minutes: 15 },
// omitted other code
});
```
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-org': patch
---
Fixed overflow bug of name and email on EntitiyMembersListCard component which can occur on specific 'screen width' + character length' combinations
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/backend-common': patch
---
Split BitbucketUrlReader into BitbucketCloudUrlReader and BitbucketServerUrlReader. Backwards compatible.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/integration': minor
---
added the possibility to handle raw Gitlab URLs with nested namespaces
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-techdocs': patch
---
Create a menu in the sub header of documentation pages, it is responsible for rendering TechDocs addons that allow users to customize their reading experience.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/core-components': patch
---
Announce external links to screen readers
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
Fixed coverage configuration when using `BACKSTAGE_NEXT_TESTS`.
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-kubernetes-backend': patch
'@backstage/plugin-kubernetes-common': patch
---
Fixed the lack of `limitranges` as part of the Default Objects to fetch from the kubernetes api
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-kubernetes-backend': patch
---
Add filtering to GKE cluster locator
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-tech-insights-backend': minor
---
Allow FactRetrieverRegistry to be injected into buildTechInsightsContext so that we can override default registry implementation.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/core-plugin-api': patch
---
The authentication APIs are no longer `@alpha`. Since the `@backstage/core-plugin-api` has no `/alpha` entrypoint, the only effect of marking the APIs as `@alpha` was to hide them in documentation. They are still expected to be widely used and there will be a migration path if they are changed in the future.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-bazaar': patch
---
Exported the SortView component from the Bazaar plugin for use directly
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/backend-common': patch
---
Update types to match the new version of `@keyv/redis`
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/integration': minor
---
Gerrit UrlReader: Implemented `readTree`
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/plugin-tech-insights-node': minor
---
**BREAKING**: The `FactRetrieverContext` type now contains an additional
field: `tokenManager`.
-36
View File
@@ -1,36 +0,0 @@
---
'@backstage/create-app': patch
---
Simplified the search collator scheduling by removing the need for the `luxon` dependency.
For existing installations the scheduling can be simplified by removing the `luxon` dependency and using the human friendly duration object instead.
Please note that this only applies if luxon is not used elsewhere in your installation.
`packages/backend/package.json`
```diff
"express": "^4.17.1",
"express-promise-router": "^4.1.0",
- "luxon": "^2.0.2",
```
`packages/backend/src/plugins/search.ts`
```diff
import { Router } from 'express';
-import { Duration } from 'luxon';
// omitted other code
const schedule = env.scheduler.createScheduledTaskRunner({
- frequency: Duration.fromObject({ minutes: 10 }),
- timeout: Duration.fromObject({ minutes: 15 }),
+ frequency: { minutes: 10 },
+ timeout: { minutes: 15 },
// A 3 second delay gives the backend server a chance to initialize before
// any collators are executed, which may attempt requests against the API.
- initialDelay: Duration.fromObject({ seconds: 3 }),
+ initialDelay: { seconds: 3 },
});
```
+13
View File
@@ -0,0 +1,13 @@
---
'@backstage/plugin-kubernetes': minor
'@backstage/plugin-kubernetes-backend': minor
---
Add `localKubectlProxy` cluster locator method to make local development simpler to setup.
Consolidated no-op server side auth decorators.
The following Kubernetes auth decorators are now one class (`ServerSideKubernetesAuthProvider`):
- `AwsKubernetesAuthProvider`
- `AzureKubernetesAuthProvider`
- `ServiceAccountKubernetesAuthProvider`
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-tech-radar': patch
---
Update tech-radar documentation on how to use an external json data source with dates.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-components': patch
---
Fix the EntityLayout header style so that EntityContextMenu button can display in correct shape when user hover on it
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder-backend-module-rails': minor
---
**BREAKING**: Added a new `allowedImageNames` option, which needs to list any image name for it to be allowed as `imageName` input.
-10
View File
@@ -1,10 +0,0 @@
---
'@backstage/plugin-kubernetes': patch
'@backstage/plugin-kubernetes-backend': patch
'@backstage/plugin-kubernetes-common': patch
---
Add support for 'oidc' as authProvider for kubernetes authentication
and adds optional 'oidcTokenProvider' config value. This will allow
users to authenticate to kubernetes cluster using id tokens obtained
from the configured auth provider in their backstage instance.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
Improve error messaging when passing in malformed auth
-18
View File
@@ -1,18 +0,0 @@
---
'@backstage/create-app': patch
---
Tweaked the `.dockerignore` file so that it's easier to add additional backend packages if desired.
To apply this change to an existing app, make the following change to `.dockerignore`:
```diff
cypress
microsite
node_modules
-packages
-!packages/backend/dist
+packages/*/src
+packages/*/node_modules
plugins
```
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/plugin-newrelic-dashboard': minor
---
Fix bug where the default time window/snapshot duration was supposed to be 30 days, but ended up being 43 weeks
**BREAKING**: Add a select input to change the time window of the snapshot displayed. This removes the duration prop from the `DashboardSnapshot` component.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
Extended lint rule to prevents imports of stories or tests from production code.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
Add instructions to `create-github-app` command.
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/plugin-scaffolder-backend': minor
'@backstage/plugin-scaffolder-common': minor
---
Added the ability to reference the user in the `template.yaml` manifest
-30
View File
@@ -1,30 +0,0 @@
---
'@backstage/plugin-catalog-backend-module-msgraph': patch
---
Add annotation `microsoft.com/email` when using the `defaultUserTransformer`.
This will allow users of the Microsoft auth provider to utilize the predefined
SignIn resolver instead of maintaining their own.
```typescript
// backend/plugins/auth.ts
// [...]
export default async function createPlugin(
env: PluginEnvironment,
): Promise<Router> {
return await createRouter({
// [...]
providerFactories: {
microsoft: providers.microsoft.create({
signIn: {
resolver:
providers.microsoft.resolvers.emailMatchingUserEntityAnnotation(),
},
}),
},
});
}
```
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/core-components': patch
---
Don't set the background color on an Avatar component that has a picture.
+23
View File
@@ -0,0 +1,23 @@
---
'@backstage/plugin-catalog': patch
---
Previously, the color of the Entity Context Menu (in the Entity Page Header) was hardcoded as `white`.
This was an issue for themes that use a header with a white background. By default, the color of the icon is now `theme.page.fontColor`.
It can now also be overridden in the theme, which is only necessary if the header title, subtitle and three-dots icon need to have different colors. For example:
```typescript
export function createThemeOverrides(theme: BackstageTheme): Overrides {
return {
PluginCatalogEntityContextMenu: {
button: {
color: 'blue',
},
},
...
},
...
}
```
+19
View File
@@ -0,0 +1,19 @@
---
'@backstage/cli': minor
---
**BREAKING**: Removed the following deprecated package commands:
- `app:build` - Use `package build` instead
- `app:serve` - Use `package start` instead
- `backend:build` - Use `package build` instead
- `backend:bundle` - Use `package build` instead
- `backend:dev` - Use `package start` instead
- `plugin:build` - Use `package build` instead
- `plugin:serve` - Use `package start` instead
- `build` - Use `package build` instead
- `lint` - Use `package lint` instead
- `prepack` - Use `package prepack` instead
- `postpack` - Use `package postpack` instead
In order to replace these you need to have [migrated to using package roles](https://backstage.io/docs/tutorials/package-role-migration).
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-tech-insights-backend-module-jsonfc': patch
---
Updated usages of `buildTechInsightsContext` in README.
+6
View File
@@ -0,0 +1,6 @@
---
'@techdocs/cli': patch
'@backstage/plugin-techdocs-node': patch
---
Fix the flag parsing for `legacyCopyReadmeMdToIndexMd` in `techdocs-cli generate` command, and decouple it's logic from the `techdocs-ref` flag.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog-backend': patch
---
Fixing broken types for `knex` when checking returned rows
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/test-utils': minor
---
Added the options parameter to `renderWithEffects`, which if forwarded to the `render` function from `@testling-library/react`. Initially only the `wrapper` option is supported.
-7
View File
@@ -1,7 +0,0 @@
---
'@backstage/create-app': patch
---
Optimized the command order in `packages/backend/Dockerfile` as well as added the `--no-install-recommends` to the `apt-get install` and tweaked the installed packages.
To apply this change to an existing app, update your `packages/backend/Dockerfile` to match the documented `Dockerfile` at https://backstage.io/docs/deployment/docker#host-build.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
Add package global-agent to support behind a proxy for backstage-cli commands like versions:bump.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder': minor
---
Add `allowedRepos` `ui:option` to `RepoUrlPicker` component, and move `repoName` field to own component
-24
View File
@@ -1,24 +0,0 @@
---
'@backstage/plugin-catalog-backend-module-github': patch
---
`GitHubOrgEntityProvider.fromConfig` now supports a `schedule` option like other
entity providers, that makes it more convenient to leverage using the common
task scheduler.
If you want to use this in your own project, it is used something like the following:
```ts
// In packages/backend/src/plugins/catalog.ts
builder.addEntityProvider(
GitHubOrgEntityProvider.fromConfig(env.config, {
id: 'production',
orgUrl: 'https://github.com/backstage',
schedule: env.scheduler.createScheduledTaskRunner({
frequency: { cron: '*/30 * * * *' },
timeout: { minutes: 10 },
}),
logger: env.logger,
}),
);
```
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend-module-ldap': patch
---
Fix mapping between users and groups for FreeIPA when using the LdapOrgProcessor
-9
View File
@@ -1,9 +0,0 @@
---
'@backstage/plugin-auth-backend': patch
---
Updates the OAuth2 Proxy provider to require less infrastructure configuration.
The auth result object of the OAuth2 Proxy now provides access to the request headers, both through the `headers` object as well as `getHeader` method. The existing logic that parses and extracts the user information from ID tokens is deprecated and will be removed in a future release. See the OAuth2 Proxy provider documentation for more details.
The OAuth2 Proxy provider now also has a default `authHandler` implementation that reads the display name and email from the incoming request headers.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-user-settings': patch
---
Added alternative text to profile picture
+13
View File
@@ -0,0 +1,13 @@
---
'@backstage/create-app': patch
---
Added an explicit `node-gyp` dependency to the root `package.json`. This is to work around a bug in older versions of `node-gyp` that causes Python execution to fail on macOS.
You can add this workaround to your existing project by adding `node-gyp` as a `devDependency` in your root `package.json` file:
```diff
"devDependencies": {
+ "node-gyp": "^9.0.0"
},
```
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-node': minor
---
Added alpha exports for the new experimental backend system.
-39
View File
@@ -1,39 +0,0 @@
---
'@backstage/create-app': patch
---
Added some instruction comments to the generated config files, to clarify the
usage of `backend.baseUrl` and `backend.listen.host`. Importantly, it also per
default now listens on all IPv4 interfaces, to make it easier to take the step
over to production. If you want to do the same, update your
`app-config.production.yaml` as follows:
```diff
backend:
listen:
port: 7007
+ host: 0.0.0.0
```
Also, updated the builtin backend Dockerfile to honor the
`app-config.production.yaml` file. If you want to do the same, change
`packages/backend/Dockerfile` as follows:
```diff
-COPY packages/backend/dist/bundle.tar.gz app-config.yaml ./
+COPY packages/backend/dist/bundle.tar.gz app-config*.yaml ./
RUN tar xzf bundle.tar.gz && rm bundle.tar.gz
-CMD ["node", "packages/backend", "--config", "app-config.yaml"]
+CMD ["node", "packages/backend", "--config", "app-config.yaml", "--config", "app-config.production.yaml"]
```
If you look carefully, this adds a glob match on app-config files. For those
that try out the build flows locally, you also want to make sure that the docker
daemon does NOT pick up any local/private config files that might contain
secrets. You should therefore also update your local `.dockerignore` file at the
same time:
```diff
+*.local.yaml
```
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-apache-airflow': minor
---
Exposed DagTableComponent as standalone component + added a prop to get only select DAGs instead of the full list
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-cost-insights-common': minor
---
Introduces a new isomorphic @backstage/plugin-cost-insight-common package to contain shared types across all other cost insights packages and modules.
+18
View File
@@ -0,0 +1,18 @@
---
'@backstage/plugin-kubernetes-backend': minor
---
Add new endpoints to Kubernetes backend plugin
BREAKING: Kubernetes backend plugin now depends on CatalogApi
```typescript
// Create new CatalogClient
const catalogApi = new CatalogClient({ discoveryApi: env.discovery });
const { router } = await KubernetesBuilder.createBuilder({
logger: env.logger,
config: env.config,
// Inject it into createBuilder params
catalogApi,
}).build();
```
+91
View File
@@ -0,0 +1,91 @@
---
'@backstage/plugin-catalog-backend-module-msgraph': minor
---
Align `msgraph` plugin's entity provider config with other providers. **Deprecated** entity processor as well as previous config.
You will see warning at the log output until you migrate to the new setup.
All deprecated parts will be removed eventually after giving some time to migrate.
Please find information on how to migrate your current setup to the new one below.
**Migration Guide:**
There were two different way on how to use the msgraph plugin: processor or provider.
Previous registration for the processor:
```typescript
// packages/backend/src/plugins/catalog.ts
builder.addProcessor(
MicrosoftGraphOrgReaderProcessor.fromConfig(env.config, {
logger: env.logger,
// [...]
}),
);
```
Previous registration when using the provider:
```typescript
// packages/backend/src/plugins/catalog.ts
builder.addEntityProvider(
MicrosoftGraphOrgEntityProvider.fromConfig(env.config, {
id: 'https://graph.microsoft.com/v1.0',
target: 'https://graph.microsoft.com/v1.0',
logger: env.logger,
schedule: env.scheduler.createScheduledTaskRunner({
frequency: { minutes: 30 },
timeout: { minutes: 3 },
}),
// [...]
}),
);
```
Previous configuration as used for both:
```yaml
# app-config.yaml
catalog:
processors:
microsoftGraphOrg:
providers:
- target: https://graph.microsoft.com/v1.0
# [...]
```
**Replacement:**
Please check https://github.com/backstage/backstage/blob/master/plugins/catalog-backend-module-msgraph/README.md for the complete documentation of all configuration options (config as well as registration of the provider).
```yaml
# app-config.yaml
catalog:
providers:
microsoftGraphOrg:
# In case you used the deprecated configuration with the entity provider
# using the value of `target` will keep the same location key for all
providerId: # some stable ID which will be used as part of the location key for all ingested data
target: https://graph.microsoft.com/v1.0
# [...]
```
```typescript
// packages/backend/src/plugins/catalog.ts
builder.addEntityProvider(
MicrosoftGraphOrgEntityProvider.fromConfig(env.config, {
logger: env.logger,
schedule: env.scheduler.createScheduledTaskRunner({
frequency: { minutes: 30 },
timeout: { minutes: 3 },
}),
// [...]
}),
);
```
In case you've used multiple entity providers before
**and** you had different transformers for each of them
you can provide these directly at the one `fromConfig` call
by passing a Record with the provider ID as key.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-node': major
---
This package houses stable types from the `@backstage/plugin-catalog-backend` package and is intended for creation of catalog modules. Prefer importing from this package over the `@backstage/plugin-catalog-backend` package.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog-backend-module-gerrit': patch
---
Fix incorrect main path in `publishConfig`
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/core-components': patch
---
Added optional anchorOrigin alignment prop to AlertDisplay
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-jenkins': patch
'@backstage/plugin-jenkins-backend': patch
---
feature: added support for multiple branches to the `JenkinsApi`
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-proxy-backend': patch
---
The proxy-backend now automatically reloads configuration when app-config.yaml is updated.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
Override default commit message and author details in GitHub, Azure, bitbucket
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder': patch
---
Allow validation for custom field extension with type object
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog-backend': patch
---
Minor internal tweak to support TypeScript 4.6
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-rollbar-backend': patch
---
Updated README to include clearer installation instructions on how to install and configure.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-home': patch
---
star icons now have the same yellow color as the other star icons when a entity is favourite
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
Upgrade `@rollup/plugin-node-resolve` to `^13.0.6`
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/plugin-search-backend-module-pg': patch
---
**DEPRECATED**: `PgSearchEngine` static `from` has been deprecated and will be removed in a future release. Use static `fromConfig` method to instantiate.
Added support for highlighting matched terms in search result data
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-stack-overflow': patch
---
- Publicly exports `StackOverflowIcon`.
- `HomePageStackOverflowQuestions` accepts optional icon property.
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-vault': patch
'@backstage/plugin-vault-backend': patch
---
Added a path notion in addition to secret name to allow to differentiate secrets in sub-paths
-7
View File
@@ -1,7 +0,0 @@
---
'@backstage/plugin-api-docs': patch
'@backstage/plugin-catalog': minor
'@backstage/plugin-catalog-react': minor
---
Use InfoCardVariants on custom cards variant attribute
-37
View File
@@ -1,37 +0,0 @@
---
'@backstage/integration': minor
'@backstage/integration-react': minor
---
Split `bitbucket` integration into `bitbucketCloud` and `bitbucketServer`
(backwards compatible).
In order to migrate to the new integration configs,
move your configs from `integrations.bitbucket`
to `integrations.bitbucketCloud` or `integrations.bitbucketServer`.
Migration example:
**Before:**
```yaml
integrations:
bitbucket:
- host: bitbucket.org
username: bitbucket_user
appPassword: app-password
- host: bitbucket-server.company.com
token: my-token
```
**After:**
```yaml
integrations:
bitbucketCloud:
- username: bitbucket_user
appPassword: app-password
bitbucketServer:
- host: bitbucket-server.company.com
token: my-token
```
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog': minor
---
Added the prop `NotFoundComponent` to `EntityLayout` which can be used to include a custom component when an entity is not found in the catalog
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/create-app': patch
---
Tweaked template to provide an example and guidance for how to configure sign-in in `packages/backend/src/plugins/auth.ts`. There is no need to add this to existing apps, but for more information about sign-in configuration, see https://backstage.io/docs/auth/identity-resolver.

Some files were not shown because too many files have changed in this diff Show More