docs/releases/v1.9.0-next.2-changelog.md
coreServices object. For example, the loggerServiceRef is now accessed via coreServices.logger instead.9a1864976a: Added a new display property to the AlertMessage which can accept the values permanent or transient.
Here's a rough example of how to trigger an alert using the new display property:
import { alertApiRef, useApi } from '@backstage/core-plugin-api';
const ExampleTransient = () => {
const alertApi = useApi(alertApiRef);
alertApi.post({
message: 'Example of Transient Alert',
severity: 'success',
display: 'transient',
});
};
OwnershipCard works again). EntityKindPicker now accepts an optional allowedKinds prop, just like CatalogKindHeader.CatalogKindHeader from DefaultCatalogPage. Deprecated CatalogKindHeader in favour of EntityKindPicker.coreServices from @backstage/backend-plugin-api.delta mutation deletions.delta mutation deletions.coreServices from @backstage/backend-plugin-api.b32005e98a: Deprecated the taskWorkers option in RouterOptions in favor of concurrentTasksLimit which sets the limit of concurrent tasks in a single TaskWorker
TaskWorker can now run multiple (defaults to 10) tasks concurrently using the concurrentTasksLimit option available in both RouterOptions and CreateWorkerOptions.
To use the option to create a TaskWorker:
const worker = await TaskWorker.create({
taskBroker,
actionRegistry,
integrations,
logger,
workingDirectory,
additionalTemplateFilters,
+ concurrentTasksLimit: 10 // (1 to Infinity)
});
coreServices from @backstage/backend-plugin-api.value of a search analytics event is now set as the total number of search results (when available)coreServices from @backstage/backend-plugin-api.@types/http-errors to ^2.0.0.index.html from correct endpoint on subsequent requests.minimatch to 5.1.1 and switch version range to ^.@rollup/plugin-commonjs to ^23.0.0.@rollup/plugin-yaml to ^4.0.0.@rollup/plugin-json to ^5.0.0.app.baseUrl configuration to match the current location.origin. The backend.baseUrl will also be rewritten in the same way when the app.baseUrl and backend.baseUrl have matching origins. This will reduce the need for separate frontend builds for different environments.d2e3bf6737: Made AlertDisplay not crash on undefined messages
5fb6d5e92e: Updated dependency @react-hookz/web to ^19.0.0.
146378c146: Updated dependency @react-hookz/web to ^20.0.0.
8015ff1258: Tweaked wording to use inclusive terminology
830687539f: Sync components in @backstage/core-components with the Component Design Guidelines
1ae86ab5fb: Added an option to allow the AlertMessage to be self-closing. This is done with a new display property that is set to transient on the AlertMessage when triggering a message to the AlertApi. The length of time that these transient messages stay open for can be set using the transientTimeoutMs prop on the AlertDisplay in the App.tsx. Here is an example:
const App = () => (
<AppProvider>
+ <AlertDisplay transientTimeoutMs={2500} />
<OAuthRequestDialog />
<AppRouter>
<Root>{routes}</Root>
</AppRouter>
</AppProvider>
);
The above example will set the transient timeout to 2500ms from the default of 5000ms
16e31e690f: InfoCard - Remove subheader container when there is not a subheader or icon
Updated dependencies
search events in order to enable
Site Search functionality in GA. For more information consult READMEcoreServices from @backstage/backend-plugin-api.title as optional parameter to BazaarOverviewCardcoreServices from @backstage/backend-plugin-api.coreServices from @backstage/backend-plugin-api.repo:push more efficiently.coreServices from @backstage/backend-plugin-api.coreServices from @backstage/backend-plugin-api.coreServices from @backstage/backend-plugin-api.coreServices from @backstage/backend-plugin-api.coreServices from @backstage/backend-plugin-api.coreServices from @backstage/backend-plugin-api.coreServices from @backstage/backend-plugin-api.maxDepth prop for EntityRelationsGraph to a smaller value to provide better readability.coreServices from @backstage/backend-plugin-api.coreServices from @backstage/backend-plugin-api.coreServices from @backstage/backend-plugin-api.coreServices from @backstage/backend-plugin-api.@react-hookz/web to ^19.0.0.@react-hookz/web to ^20.0.0.@react-hookz/web to ^19.0.0.@react-hookz/web to ^20.0.0.json-schema-library to version ^7.3.9 which does not pull in the gson-pointer library@react-hookz/web to ^19.0.0.@react-hookz/web to ^20.0.0.vault.publicUrl as alternative to vault.baseUrl for editUrl and showUrl in case vault.baseUrl is internal