Merge branch 'master' into conflict-events

This commit is contained in:
sblausten
2023-05-12 13:44:49 +01:00
1495 changed files with 66205 additions and 11939 deletions
+10
View File
@@ -0,0 +1,10 @@
---
'@backstage/plugin-tech-insights': patch
---
Added the possibility to customize the check description in the scorecard component.
- The `CheckResultRenderer` type now exposes an optional `description` method that allows to overwrite the description with a different string or a React component for a provided check result.
Until now only the `BooleanCheck` element could be overridden, but from now on it's also possible to override the description for a check.
As an example, the description could change depending on the check result. Refer to the [README](https://github.com/backstage/backstage/blob/master/plugins/tech-insights/README.md#adding-custom-rendering-components) file for more details
@@ -1,5 +0,0 @@
---
'@backstage/core-components': patch
---
Fixed a bug that could prevent auth from working when using the `guest` or `custom` auth providers.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-test-utils': patch
---
Added `POSTGRES_11` and `POSTGRES_12` as supported test database IDs.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder': patch
---
Fix case GitLab workspace is a nested subgroup
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/plugin-devtools': minor
'@backstage/plugin-devtools-backend': minor
'@backstage/plugin-devtools-common': minor
---
Introduced the DevTools plugin, checkout the plugin's [`README.md`](https://github.com/backstage/backstage/tree/master/plugins/devtools) for more details!
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-kubernetes-backend': minor
---
Plugins that instantiate the `KubernetesProxy` must now provide a parameter of the type `KubernetesProxyOptions` which includes providing a `KubernetesAuthTranslator`. The `KubernetesBuilder` now builds its own `KubernetesAuthTranslatorMap` that it provides to the `KubernetesProxy`. The `DispatchingKubernetesAuthTranslator` expects a `KubernetesTranslatorMap` to be provided as a parameter. The `KubernetesBuilder` now has a method called `setAuthTranslatorMap` which allows integrators to bring their own `KubernetesAuthTranslator's` to the `KubernetesPlugin`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
Rename output parameter `mergeRequestURL` of `publish:gitlab:merge-request` action to `mergeRequestUrl`.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-github-pull-requests-board': patch
---
The `EntityTeamPullRequestsContent` and `EntityTeamPullRequestsCard` support the ability to view the labels/tags added to each PR
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/plugin-kubernetes': patch
---
The Kubernetes plugin now requests AKS access tokens from Azure when retrieving
objects from clusters configured with `authProvider: aks` and sets `auth.aks` in
its request bodies appropriately.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/repo-tools': minor
---
**BREAKING**: The OpenAPI commands are now found within the `schema openapi` sub-command. For example `yarn backstage-repo-tools schema:openapi:verify` is now `yarn backstage-repo-tools schema openapi verify`.
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/plugin-catalog-backend-module-azure': patch
'@backstage/plugin-catalog-backend': patch
---
Use the `LocationSpec` type from the `catalog-common` package in place of the deprecated `LocationSpec` from the `catalog-node` package.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-bazaar': patch
---
Fixed `validateDOMNesting` warnings
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-search': patch
---
Fixed 404 Error when fetching search results due to URL encoding changes
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
Fix the build for packages with multiple entry points to avoid duplicated modules.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/create-app': patch
---
Correct command to create new plugins
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-openapi-utils': patch
---
Use permalinks for links including a line number reference
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
Ensure that entity cache state is only written to the database when actually changed
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-common': patch
---
Remove the direct dependency on deprecated "request" library
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-home': patch
---
Remove object-hash dependency
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder-common': patch
---
Added permissions for authorizing parameters and steps
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-circleci': patch
---
Add hover over CircleCI avatar icon to show user name in builds table
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/plugin-kubernetes-backend': minor
---
Allow fetching pod metrics limited by a `labelSelector`.
This is used by the Kubernetes tab on a components' page and leads to much smaller responses being received from Kubernetes, especially with larger Kubernetes clusters.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-techdocs-module-addons-contrib': patch
---
Bump `photoswipe` dependency to `^5.3.7`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
When building a backend package with dependencies any `--config <path>` options will now be forwarded to any dependent app package builds, unless the build script in the app package already contains a `--config` option.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-explore': patch
---
Make sure that the first support button row does not break across lines
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-events-backend-module-aws-sqs': minor
---
Allow endpoint configuration for sqs, enabling use of localstack for testing.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/theme': minor
---
Updates light theme's primary foreground and `running` status indicator colours to meet WCAG. Previously #2E77D0 changed to #1F5493.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-api-docs': patch
---
Corrected styling of nested objects in AsyncAPI to avoid inappropriate uppercase text transformation of nested objects.
-8
View File
@@ -1,8 +0,0 @@
---
'@backstage/plugin-scaffolder': patch
'@backstage/plugin-scaffolder-backend': patch
'@backstage/plugin-scaffolder-node': patch
'@backstage/plugin-scaffolder-react': patch
---
Added a possibility to cancel the running task (executing of a scaffolder template)
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
Internal refactoring for performance in the service handlers
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/backend-app-api': patch
'@backstage/backend-common': patch
---
Allow an additionalConfig to be provided to loadBackendConfig that fetches config values during runtime.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-techdocs': patch
---
Re-add the possibility to have trailing slashes in Techdocs navigation.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-org': patch
---
Allow the title of the group profile card to use the title of the entity, if it is set.
+10
View File
@@ -0,0 +1,10 @@
---
'@backstage/app-defaults': patch
---
Added a System Icon for resource entities.
This can be obtained using:
```ts
useApp().getSystemIcon('kind:resource');
```
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-openapi-utils': patch
---
Adjusted README accordingly after the generated output now has a `.generated.ts` extension
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/catalog-client': patch
---
Fixed bug in `queryEntities` of `CatalogClient` where the `sortField` is supposed to be changed to `orderField`.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-common': patch
---
Updated the `DatabaseManager` to include the plugin id in the Postgres application name of the database connections created for each plugin.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-kubernetes-backend': minor
---
**BREAKING**: `KubernetesBuilder.create` now requires a `permissions` field of type `PermissionEvaluator`. The kubernetes `/proxy` endpoint now requires two tokens: the `Backstage-Kubernetes-Authorization` header should contain a bearer token for the target cluster, and the `Authorization` header should contain a backstage identity token. The kubernetes `/proxy` endpoint now requires a `Backstage-Kubernetes-Cluster` header replacing the previously required `X-Kubernetes-Cluster` header.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
Support importing `.md` files in build loader
+10
View File
@@ -0,0 +1,10 @@
---
'@backstage/plugin-badges': patch
'@backstage/plugin-badges-backend': minor
---
Fixing badges-backend plugin to get a token from the TokenManager instead of parsing the request header. Hence, it's now possible to disable the authMiddleware for the badges-backend plugin to expose publicly the badges.
Implementing an obfuscation feature to protect an open badges endpoint from being enumerated. The feature is disabled by default and the change is compatible with the previous version.
**BREAKING**: `createRouter` now require that `tokenManager`, `logger`, `identityApi` and `database`, are passed in as options.
-14
View File
@@ -1,14 +0,0 @@
---
'@backstage/plugin-scaffolder': patch
---
Allow use of `{ exists: true }` value inside filters to filter entities that has that key.
this example will filter all entities that has the annotation `someAnnotation` set to any value.
```yaml
ui:options:
catalogFilter:
kind: Group
metadata.annotations.someAnnotation: { exists: true }
```
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-tech-radar': patch
---
Fix description links when clicking entry in radar.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-permission-node': patch
---
Introduced alpha export of the `policyExtensionPoint` for use in the new backend system.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-permission-backend': patch
---
Introduced alpha export of the `permissionPlugin` for use in the new backend system, along with a `permissionModuleAllowAllPolicy` that can be used to allow all requests.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/core-components': patch
---
Upgrade `react-virtualized-auto-sizer´ to version `^1.0.11`
-7
View File
@@ -1,7 +0,0 @@
---
'@backstage/plugin-entity-feedback': minor
'@backstage/plugin-entity-feedback-backend': patch
'@backstage/plugin-entity-feedback-common': patch
---
Added an endpoint to fetch anonymous aggregated results from an entity
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
Enable strict config checking during `backstage-cli config:check` with the new `--strict` option which will surface schema errors.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
Fixed a bug in the `queryEntities` endpoint that was causing filtered entities to be included in cursor requests.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-kubernetes': patch
---
Omit managed fields in the Kubernetes resource YAML display.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
Improve the query for orphan pruning
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-stack-overflow': patch
---
StackOverflowSearchResultListItem can now accept an empty result prop so that it can be rendered in the suggested SearchResultListItem pattern.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-rollbar-backend': patch
---
Replace `camelcase-keys` dependency with one with better compatibility.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-search-backend-module-elasticsearch': minor
---
Upgrade to aws-sdk v3 and include OpenSearch Serverless support
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/plugin-kubernetes-backend': patch
---
Kubernetes clusters now support `authProvider: aks`. When configured this way,
the `retrieveObjectsByServiceId` action will use the `auth.aks` value in the
request body as a bearer token to authenticate with Kubernetes.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog-react': patch
---
Fixed bug in catalog filters where you could not click on the text to select a value.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-techdocs': patch
---
Minor visual tweaks to adapt to changes in mkdocs-material v9
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
Adjusted the OpenAPI schema file name according to the new structure
-11
View File
@@ -1,11 +0,0 @@
---
'@backstage/plugin-catalog-backend-module-gitlab': minor
---
**BREAKING**: The configuration of the `GitlabDiscoveryEntityProvider` has changed as follows:
- The configuration key `branch` is now used to define the branch from which the catalog-info should be discovered.
- The old configuration key `branch` is now called `fallbackBranch`. This value specifies which branch should be used
if no default branch is defined on the project itself.
To migrate to the new configuration value, rename `branch` to `fallbackBranch`
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-gcalendar': patch
---
Pass user info email scope on auth refresh to resolve invalid credentials error
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-search-backend': minor
---
Exports search plugin that can be used with the new backend system. For documentation on how to migrate, check out the [how to migrate to the new backend system guide](https://backstage.io/docs/features/search/how-to-guides/#how-to-migrate-your-backend-installation-to-use-search-together-with-the-new-backend-system).
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/create-app': patch
---
Add `permissionApi` as dependency of the scaffolder-backend plugin
+25
View File
@@ -0,0 +1,25 @@
---
'@backstage/plugin-catalog-react': minor
'@backstage/plugin-catalog': minor
---
Added an entity namespace filter and column on the default catalog page.
If you have a custom version of the catalog page, you can add this filter in your CatalogPage code:
```ts
<CatalogFilterLayout>
<CatalogFilterLayout.Filters>
<EntityTypePicker />
<UserListPicker initialFilter={initiallySelectedFilter} />
<EntityTagPicker />
/* if you want namespace picker */
<EntityNamespacePicker />
</CatalogFilterLayout.Filters>
<CatalogFilterLayout.Content>
<CatalogTable columns={columns} actions={actions} />
</CatalogFilterLayout.Content>
</CatalogFilterLayout>
```
The namespace column can be added using `createNamespaceColumn();`. This is only needed if you customized the columns for CatalogTable.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-kubernetes-backend': patch
---
Fixes bug whereby backstage crashes when bad credentials are provided to the kubernetes plugin.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder-backend': minor
---
Added `fetch:plain:file` action to fetch a single file, this action is also added to the list of built-in actions.
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/plugin-search-backend-module-elasticsearch': minor
'@backstage/plugin-search-backend-module-pg': patch
---
Search backend modules migrated to the new backend system. For documentation on how to migrate, check out the [how to migrate to the new backend system guide](https://backstage.io/docs/features/search/how-to-guides/#how-to-migrate-your-backend-installation-to-use-search-together-with-the-new-backend-system).
+10
View File
@@ -0,0 +1,10 @@
---
'@backstage/plugin-scaffolder-backend-module-gitlab': patch
---
Fix input schema validation issue for gitlab actions:
- gitlab:group:ensureExists
- gitlab:projectAccessToken:create
- gitlab:projectDeployToken:create
- gitlab:projectVariable:create
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/integration': patch
---
Fixed a bug where the wrong credentials would be selected when using multiple GitHub app integrations.
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/plugin-scaffolder-backend': patch
'@backstage/plugin-scaffolder-node': patch
---
Improve type-check for scaffolder output parameters
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-app-api': minor
---
The analytics' `navigate` event will now include the route parameters as attributes of the navigate event
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/repo-tools': minor
---
Generated OpenAPI files now have a `.generated.ts` file name and a warning header at the top, to highlight that they should not be edited by hand.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder-common': patch
---
Export `typeguard` for `isTemplateEntityV1beta3`
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-scaffolder-common': minor
'@backstage/plugin-scaffolder-react': minor
---
Add support for Markdown text blob outputs from templates
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-todo-backend': patch
---
Added OpenAPI schema
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-jenkins-backend': patch
---
Fix handling of slashes in branch names
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
Remove unnecessary join in the entity facets endpoint, exclude nulls
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-graph': patch
---
Expose all `EntityRelationsGraphProps` to Catalog Graph Page
-8
View File
@@ -1,8 +0,0 @@
---
'@backstage/plugin-catalog-backend-module-gitlab': patch
---
The gitlab org data integration now makes use of the GraphQL API to determine
the relationships between imported User and Group entities, effectively making
this integration usable without an administrator account's Personal Access
Token.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog': minor
---
Added a new EntitySwitch isResourceType to allow different views depending on Resource type
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend-module-openapi': patch
---
Fixed bug in `jsonSchemaRefPlaceholderResolver` where relative $ref files were resolved through file system instead of base URL of file
-12
View File
@@ -1,12 +0,0 @@
---
'@backstage/create-app': patch
---
Upgraded the TypeScript version to 5.0
To apply this change in your own project, switch the TypeScript version in your root `package.json`:
```diff
- "typescript": "~4.6.4",
+ "typescript": "~5.0.0",
```
+9
View File
@@ -0,0 +1,9 @@
---
'@backstage/plugin-events-backend-module-aws-sqs': patch
'@backstage/integration-aws-node': patch
'@backstage/plugin-kubernetes-backend': patch
'@backstage/backend-common': patch
'@backstage/plugin-techdocs-node': patch
---
Standardize @aws-sdk v3 versions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-explore': patch
---
Display the title of the entity on the explore card if present, otherwise stick to the name
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-auth-backend': patch
---
Enforce the secret visibility of certificates and client secrets in the auth backend. Also, document all known options for each auth plugin.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-vault-backend': minor
---
Allow generic Vault clients to be passed into the builder
-9
View File
@@ -1,9 +0,0 @@
---
'@backstage/plugin-catalog-backend-module-msgraph': patch
'@backstage/plugin-catalog-backend-module-openapi': patch
'@backstage/plugin-catalog-backend-module-ldap': patch
'@backstage/plugin-scaffolder-backend': patch
'@backstage/plugin-catalog-backend': patch
---
Fix deprecated types.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/config-loader': patch
---
Added a new `noUndeclaredProperties` option to `SchemaLoader` to support enforcing that there are no extra keys when verifying config.
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/plugin-scaffolder-react': patch
'@backstage/plugin-scaffolder': patch
---
`scaffolder/next`: Bump `@rjsf/*` deps to 5.3.1
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-circleci': patch
---
Fixes row display for in progress jobs to not display trailing "took"
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-tech-insights': patch
---
The `Check` type now optionally includes the `failureMetadata` and `successMetadata` as returned by the `runChecks` call.
-9
View File
@@ -1,9 +0,0 @@
---
'@backstage/core-components': patch
'@backstage/app-defaults': minor
'@backstage/core-app-api': minor
'@backstage/plugin-auth-backend': patch
'@backstage/test-utils': minor
---
Introduce a new global config parameter, `auth.enableExperimentalRedirectFlow`. When enabled, auth will happen with an in-window redirect flow rather than through a popup window.
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/plugin-search-react': patch
'@backstage/plugin-techdocs': patch
---
Fixes a UI bug in search result item which rendered the item text with incorrect font size and color
+10
View File
@@ -0,0 +1,10 @@
---
'@backstage/plugin-search-react': minor
'@backstage/plugin-search': minor
---
Add close button & improve search input.
MUI's Paper wrapping the SearchBar in the SearchPage was removed, we recommend users update their apps accordingly.
SearchBarBase's TextField's label support added & aria-label uses label string if present, tests relying on the default placeholder value should still work unless custom placeholder was given.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-analytics-module-ga4': minor
---
Plugin provides Backstage Analytics API for Google Analytics 4. Once installed and configured, analytics events will be sent to GA4 as your users navigate and use your Backstage instance
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
Fixed backend start command on Windows by removing the use of platform dependent path joins.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-app-api': patch
---
Switch `configServiceFactory` to use `ConfigSources` from `@backstage/config-loader` to load config.
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/plugin-scaffolder-react': patch
'@backstage/plugin-scaffolder': patch
---
bug: Invert `templateFilter` predicate to align with `Array.filter`
+40
View File
@@ -0,0 +1,40 @@
---
'@backstage/config-loader': minor
---
Introduced a new config source system to replace `loadConfig`. There is a new `ConfigSource` interface along with utilities provided by `ConfigSources`, as well as a number of built-in configuration source implementations. The new system is more flexible and makes it easier to create new and reusable sources of configuration, such as loading configuration from secret providers.
The following is an example of how to load configuration using the default behavior:
```ts
const source = ConfigSources.default({
argv: options?.argv,
remote: options?.remote,
});
const config = await ConfigSources.toConfig(source);
```
The `ConfigSource` interface looks like this:
```ts
export interface ConfigSource {
readConfigData(options?: ReadConfigDataOptions): AsyncConfigSourceIterator;
}
```
It is best implemented using an async iterator:
```ts
class MyConfigSource implements ConfigSource {
async *readConfigData() {
yield {
config: [
{
context: 'example',
data: { backend: { baseUrl: 'http://localhost' } },
},
],
};
}
}
```
@@ -2,4 +2,4 @@
'@backstage/plugin-scaffolder-backend-module-gitlab': minor
---
Add Gitlab Scaffolder Plugin
Add a new scaffolder action for gitlab to ensure a group exists
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder': minor
---
scaffolder/next: removing the `routeRefs` and exporting the originals on `scaffolderPlugin.routes.x` instead

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