Merge branch 'backstage:master' into scaffolder-taskID

This commit is contained in:
fabiovincenzi
2024-12-09 10:42:26 +01:00
committed by GitHub
1223 changed files with 38175 additions and 7479 deletions
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
Fixed an issue where the `--successCache` option for the `repo test` and `repo lint` commands would be include the workspace path in generated cache keys. This previously broke caching in environments where the workspace path varies across builds.
-7
View File
@@ -1,7 +0,0 @@
---
'@backstage/plugin-catalog': minor
---
- Updated EntityLayout component to implement breadcrumb navigation based on the entity relations.
- Added parentEntityRelations prop to EntityLayoutProps to specify relation types for parent entities.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-api-docs': minor
---
Added support for pagination in api-docs plugin - DefaultApiExplorerPage
+5
View File
@@ -0,0 +1,5 @@
---
'yarn-plugin-backstage': patch
---
Use yarn's built-in http utilities for fetching release manifests
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/catalog-client': minor
---
Internal update to use the updated generated code from `backstage-cli package schema openapi generate --client-package ...`.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/create-app': patch
---
Updated Dockerfile to include `backstage.json` file
+8
View File
@@ -0,0 +1,8 @@
---
'@backstage/plugin-catalog-backend-module-incremental-ingestion': patch
'@backstage/plugin-scaffolder-backend': patch
'@backstage/backend-defaults': patch
'@backstage/plugin-catalog-backend': patch
---
Updated dependency `@opentelemetry/api` to `^1.9.0`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
Fix dev server reloads of plugin discovery for new frontend system.
-10
View File
@@ -1,10 +0,0 @@
---
'@backstage/backend-dynamic-feature-service': minor
---
**BREAKING** The `dynamicPluginsFeatureLoader` options related to the root logger behavior (`transports`, `level`, `format`) are now gathered under a single `logger` option which is a function taking an optional `Config` argument and returning the logger options.
This breaking change is required for 2 reasons:
- it's totally possible that the current `Config` would be required to provide the logger options,
- the logger-related options should be gathered under a common `logger` option because, when the root auditing service is introduced, distinct but similarly-named options would be required for the auditor as well.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
If the Backstage yarn plugin is installed, it will now be automatically updated as part of `versions:bump`.
+44
View File
@@ -0,0 +1,44 @@
---
'@backstage/plugin-home': patch
---
Added a new Quick Start Card to `plugin-home`, which can display basic info to get users the info they need to onboard to the Catalog.
```
import { QuickStartCard } from '@backstage/plugin-home';
<QuickStartCard
title="Onboarding to the Catalog"
modalTitle="Onboarding Quick Start"
docsLinkTitle="Learn more with getting started docs"
docsLink="https://backstage.io/docs/getting-started"
image={
<img
src={ContentImage}
alt="quick start"
width="100%"
height="100%"
/>
}
cardDescription="Backstage system model will help you create new entities"
video={
<video
controls
preload="auto"
poster={"./videoPoster.png"}
>
<source src={"OnboardingDemo.mp4"} type="video/mp4" />
</video>
}
downloadImage={
<Button
href={QuickStartPDF}
target={'_blank'}
download={true}
>
Download infographic button
</Button>
}
/>
```
See the [storybook examples](https://backstage.io/storybook/?path=/story/plugins-home-components-quickstartcard--default)
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
The check for `react-dom/client` in the Jest configuration will now properly always run from the target directory.
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/backend-defaults': minor
---
Added a new `backend.health.headers` configuration that can be used to set additional headers to include in health check responses.
**BREAKING CONSUMERS**: As part of this change the `createHealthRouter` function exported from `@backstage/backend-defaults/rootHttpRouter` now requires the root config service to be passed through the `config` option.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/config': minor
---
Make `readDurationFromConfig` support both ISO and ms formats as well, to make it easier to enter time as an end user
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/cli': patch
---
Remove special-casing for `@types` packages when generating dependency entries
during templating
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/create-app': patch
---
Updated the template to use `@backstage/cli/config/prettier` instead of `@spotify/prettier-config`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/create-app': patch
---
Bumped create-app version.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/create-app': patch
---
Bumped create-app version.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-defaults': patch
---
Export `PluginTokenHandler` and `pluginTokenHandlerDecoratorServiceRef` to allow for custom decoration of the plugin token handler without having to re-implement the entire handler.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend-module-github': patch
---
Pass in a default schedule to the `GithubEntityProvider` if none is provided
+18
View File
@@ -0,0 +1,18 @@
---
'@backstage/backend-defaults': minor
'@backstage/backend-test-utils': minor
---
**BREAKING** Upgraded @keyv/redis and keyv packages to resolve a bug related to incorrect resolution of cache keys.
This is a breaking change for clients using the `redis` store for cache with `useRedisSets` option set to false since cache keys will be calculated differently (without the sets:namespace: prefix). For clients with default configuration (or useRedisSets set to false) the cache keys will stay the same, but since @keyv/redis library no longer supports redis sets they won't be utilised anymore.
If you were using `useRedisSets` option in configuration make sure to remove it from `app-config.yaml`:
```diff
backend:
cache:
store: redis
connection: redis://user:pass@cache.example.com:6379
- useRedisSets: false
```
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/theme': patch
---
Internal refactor to avoid top-level imports from MUI.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog': patch
---
Fixed an issue causing the `CatalogIndexPage` to not properly filter results when using offset pagination.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/integration': minor
---
Add the integration for Azure blob storage to read the credentials to access the storage account and provide the default credential provider.
-7
View File
@@ -1,7 +0,0 @@
---
'@backstage/plugin-events-node': patch
---
Fixed an issue where subscribing to events threw an error and gave up too easily. Calling the subscribe method will cause the background polling loop to keep trying to connect to the events backend, even if the initial request fails.
By default the events service will attempt to publish and subscribe to events from the events bus API in the events backend, but if it fails due to the events backend not being installed, it will bail and never try calling the API again. There is now a new `events.useEventBus` configuration and option for the `DefaultEventsService` that lets you control this behavior. You can set it to `'never'` to disabled API calls to the events backend completely, or `'always'` to never allow it to be disabled.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
Perform the by-query count inlined with the main query
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/core-app-api': patch
'@backstage/plugin-app': patch
---
The OAuth 2 client implementations will now attempt to refresh the session when the existing session doesn't have the required scopes. The previous behavior was to only try to refresh the session of it was missing, and otherwise directly request a new session. This fixes an issue where some auth providers will not return access tokens with certain scopes unless explicitly requested, leading to an auth popup even if the underlying session already had been granted the requested scopes.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-defaults': patch
---
The user and plugin token verification in the default `AuthService` implementation will no longer forward verification errors to the caller, and instead log them as warnings.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog-backend-module-ldap': patch
---
Added a `dnCaseSensitive` flag to support LDAP servers with mixed-case attributes.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-api-docs': patch
---
bump `@asyncapi/react-component` to latest `2.x`
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-defaults': patch
---
Export `DefaultHttpAuthService` to allow for custom token extraction logic.
-8
View File
@@ -1,8 +0,0 @@
---
'@backstage/plugin-catalog-backend-module-incremental-ingestion': minor
---
Use `HumanDuration` for all duration needs in the public API, instead of `luxon` types. These are generally compatible, with a few caveats:
- If you scheduled things to run quarterly (`quarter` or `quarters`), you can use `{ months: 3 }` instead.
- If you used the singular nouns such as `year: 1`, use plurals instead (e.g. `years: 1`).
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-search-backend-module-elasticsearch': patch
---
Update the ElasticSearchSearchEngine translator to handle phrase searches.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/backend-defaults': patch
---
Removed dependency `@backstage/backend-common`.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend-module-incremental-ingestion': patch
---
Deprecate old-backend-system `IncrementalCatalogBuilder`
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend-module-ldap': minor
---
Updated fix for ldap entity mapping which doesn't require extra config setting of dnCaseSensitive
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-auth-backend-module-google-provider': patch
---
Fix visibility of config for use in front end code
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-notifications': minor
---
Rephrasing labels of the View filter to be more clear. Based on the received users' feedback.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/types': minor
---
Introduce `createDeferred` and `DeferredPromise`.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-react': patch
---
Fixed an issue causing the `EntityOwnerPicker` to reset scrolling when more elements are loaded.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': minor
---
Implement `/entities` in terms of `queryEntities` to not run into memory and performance problems on large catalogs
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/backend-defaults': patch
---
Log request and response metadata so it can be used for filtering log messages.
The format of the request date was also changed from `clf` to `utc`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-app-backend': patch
---
The `index.html` templating is now done and served from memory rather than written to the filesystem. This means that you can now use config injection with a read-only filesystem, and you no longer need to use the `app.disableConfigInjection` flag.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/create-app': patch
---
Updated engines to support Node 20 or 22
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-techdocs': patch
---
Fixed an issue where `<TechDocsReaderPageContent />` would re-render infinitely under certain conditions.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-defaults': minor
---
Implemented `AzureBlobStorageUrlReader` to read from the url of committed location from the entity provider
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-auth-backend': patch
'@backstage/plugin-auth-node': patch
---
Improved error forwarding for OAuth refresh endpoints
+8
View File
@@ -0,0 +1,8 @@
---
'@backstage/plugin-scaffolder-backend': patch
'@backstage/plugin-scaffolder-common': patch
'@backstage/plugin-scaffolder-react': patch
'@backstage/plugin-scaffolder': patch
---
Experimental support for `formDecorators` to enable secret collection and mutations to the parameters for scaffolder tasks
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/backend-plugin-api': patch
'@backstage/backend-app-api': patch
---
Removed unused `express` dependencies.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-search-backend-module-catalog': patch
---
Fixed a bug where the `filter` setting of the collator was not permitted to be an array.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-defaults': patch
---
The default `authServiceFactory` now correctly depends on the plugin scoped `Logger` services rather than the root scoped one.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': minor
---
**BREAKING**: Updates ESLint config to ignore all generated source code under `src/**/generated/**/*.ts`.
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/plugin-search-backend-module-techdocs': patch
'@backstage/plugin-search-backend-module-catalog': patch
'@backstage/plugin-search-backend-module-explore': patch
---
Update README
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/integration-aws-node': patch
---
The `getDefaultCredentialsChain` function now accepts and applies a `region` parameter, preventing it from defaulting to `us-east-1` when no region is specified.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-search': patch
---
Removes the card UI from the search results type filter for a cleaner UI consistent with other filters
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/backend-dynamic-feature-service': patch
---
Enhance the `CommonJSModuleLoader` to add support for `resolvePackagePath` calls from backend dynamic plugins, with customizable package resolution, and make the `CommonJSModuleLoader` public API.
Fixing this backend dynamic plugin limitation related to `resolvePackagePath` is important for backend dynamic plugins which use the database, since database migration scripts systematically use `resolvePackagePath`.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
Fix a bug where sometimes the `by-query` endpoint could return nulls for entities that were not yet stitched.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
The --no-node-snapshot check needs to be done against process.execArgv instead of process.argv
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-app-backend': patch
---
Fixed a bug where config would not be injected on the `/` and `/index.html` paths.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder-react': patch
---
Fix issue with form state not refreshing when updating
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
Fixed an issue with the `--successCache` flag for `repo test` where the tree hash for the wrong package directory would sometimes be used to generate the cache key.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/release-manifests': patch
---
Switch to native fetch for loading release manifests
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-kubernetes-react': patch
---
add the pod delete feature to the kubernetes react plugin
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/plugin-auth-backend-module-aws-alb-provider': minor
'@backstage/plugin-auth-backend': minor
---
**BREAKING**: The AWS ALB `fullProfile` will no longer have the its username or email converted to lowercase. This is to ensure unique handling of the users. You may need to update and configure a custom sign-in resolver or profile transform as a result.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog-react': patch
---
Fixed bug in `EntityDisplayName` where text was overflowing.
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/plugin-catalog-backend': minor
'@backstage/plugin-search-backend': minor
---
Internal update to use the new generated server types from `backstage-cli package schema openapi generate --server`.
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-search-react': patch
'@backstage/plugin-search': patch
---
Use Select from core-components and update Lifecycle filter to use Select instead checkboxes.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder-react': patch
---
Fix issue with `Stepper` and trying to trim additional properties. This is now all behind `liveOmit` and `omitExtraData` instead.
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/backend-defaults': patch
'@backstage/plugin-catalog-backend-module-incremental-ingestion': patch
---
Add task metrics as two gauges that track the last start and end timestamps as epoch seconds.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-node': minor
---
Updated the `catalogServiceMock` return type to match both `CatalogService` and `CatalogApi`
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-techdocs': patch
---
Fix an issue with index page of documentation site being re-rendered.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/repo-tools': patch
---
Generated OpenAPI clients now support paths with tags.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-techdocs': patch
---
Fix techdocs config schema for custom elements sanitizer
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/plugin-events-backend': patch
'@backstage/plugin-events-node': patch
---
Fix `events.useEventBus` by propagating config to `DefaultEventsService`
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-app-backend': minor
---
Configuration is no longer injected into static assets if a `index.html.tmpl` file is present.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
Compute deltas more efficiently, which generally leads to less wasted processing cycles
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
Implement `/entities/by-name/:kind/:namespace/:name` using `getEntitiesByRefs`
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder-backend-module-gitlab': patch
---
Improve error messages from Gitlab
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
Added `--alwaysPack` as a replacement for the now hidden `--alwaysYarnPack` flag for the `build-workspace` command.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-events-node': patch
---
Clarified purpose of subscriber ID in TSDoc for `EventsServiceSubscribeOptions`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-notifications': patch
---
Added title to the Notifications' table. The title clearly states the filter selection and total count of messages. This change aligns the look and feel closer to other tables.
+9
View File
@@ -0,0 +1,9 @@
---
'@backstage/plugin-scaffolder-backend-module-gitlab': minor
'@backstage/plugin-scaffolder-backend-module-bitbucket-cloud': patch
'@backstage/plugin-scaffolder-react': patch
'@backstage/plugin-scaffolder-node': patch
'@backstage/plugin-scaffolder': patch
---
Added the autocomplete feature to GitlabRepoUrlPicker
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-notifications': patch
---
The "Created after" filter renamed to the "Sent out" based on the received users' feedback.
-15
View File
@@ -1,15 +0,0 @@
---
'@backstage/cli': patch
---
Added a new `"rejectFrontendNetworkRequests"` configuration flag that can be set in the `"jest"` field in the root `package.json`:
```json
{
"jest": {
"rejectFrontendNetworkRequests": true
}
}
```
This flag causes rejection of any form of network requests that are attempted to be made in frontend or common package tests. This flag can only be set in the root `package.json` and can not be overridden in individual package configurations.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-auth-backend': patch
---
Fix issue with `jwks` endpoint returning invalid data with `firestore`
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-react': patch
---
Fix catalog filtering to allow searching entities by display name
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog': minor
---
Consistent title behaviour across CatalogTable, CursorPaginatedCatalogTable, and OffsetPaginatedCatalogTable.
-7
View File
@@ -1,7 +0,0 @@
---
'@backstage/plugin-scaffolder-common': patch
'@backstage/plugin-scaffolder-react': patch
'@backstage/plugin-scaffolder': minor
---
Add scaffolder permission `scaffolder.template.management` for accessing the template management features
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/backend-test-utils': minor
---
Made it possible to construct `mockServices.database` with a given knex instance
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
Add `--max-warnings -1` support to `backstage-cli package lint`
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
The `--successCache` option for the `repo test` and `repo lint` commands now use an additive store that keeps old entries around for a week before they are cleaned up automatically.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog-import': patch
---
Fixed parsing of catalog-info.yaml when creating a PR to register a repository if the file contains more than one document
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/core-components': patch
---
Change core component Table tool bar search box to the a appropriate Search icon and text
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli-node': patch
---
add PackageManager and Lockfile interfaces for future use
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
Fix issue with token not being available because it's now non-enumerable
-9
View File
@@ -1,9 +0,0 @@
---
'@backstage/cli': patch
---
When using the experimental Rspack flag the app build and dev server now injects configuration via a `<script type="backstage.io/config">...</script>` tag in `index.html` rather than the `process.env.APP_CONFIG` definition, which will now be defined as an empty array instead.
This requires the app to be using the config loader from the 1.31 release of Backstage. Make sure your app is using at least that version if you are upgrading to this version of the CLI.
If you have copied the implementation of the `defaultConfigLoader`, make sure to update it to the new implementation. In particular the config loader needs to be able to read configuration from `script` tags with the type `backstage.io/config`.
-9
View File
@@ -1,9 +0,0 @@
---
'@backstage/cli': minor
---
Added a new optimization to the `repo test` command that will filter out unused packages in watch mode if all provide filters are paths that point from the repo root. This significantly speeds up running individual tests from the repo root in a large workspace, for example:
```sh
yarn test packages/app/src/App.test.tsx
```
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-api-docs': patch
---
Uses theme values to style the API definition schema so that theme overrides apply.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-techdocs': patch
---
Avoid page re-rendering when clicking on anchor links in the same documentation page.
-7
View File
@@ -1,7 +0,0 @@
---
'@backstage/plugin-catalog-backend-module-incremental-ingestion': patch
'@backstage/plugin-scaffolder-backend': patch
'@backstage/config-loader': patch
---
Internal refactor to use the deferred from the types package

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