docs/releases/v1.4.0-next.2-changelog.md
GroupDefaultParentEntityPolicy to set a default group entity parent.transformLinkUri and transformImageUri to MarkdownContentrc-progress to 3.4.0.bursts object in the theme palette258057a4b9: Adding ability to customize the "unregister entity" menu item in the entity context menu on the entity page with options 'visible','hidden','disabled'.With this three new options, one can hide the "unregister entity" menu item from the list, disable or keep it enabled.
The boolean input for "unregister entity" will be deprecated later in favour of the above three options.
385389d23c: Updated to remove usage of the bursts object in the theme palette
be26d95141: Added new EntityProcessingStatusPicker that will filter for entities with orphans and/or errors.
If you are using the default Catalog page this picker will be added automatically. For those who have customized their Catalog page you'll need to add this manually by doing something like this:
...
import {
CatalogFilterLayout,
EntityTypePicker,
UserListPicker,
EntityTagPicker
+ EntityProcessingStatusPicker,
} from '@backstage/plugin-catalog-react';
...
export const CustomCatalogPage = ({
columns,
actions,
initiallySelectedFilter = 'owned',
}: CatalogPageProps) => {
return (
...
<EntityListProvider>
<CatalogFilterLayout>
<CatalogFilterLayout.Filters>
<EntityKindPicker initialFilter="component" hidden />
<EntityTypePicker />
<UserListPicker initialFilter={initiallySelectedFilter} />
<EntityTagPicker />
+ <EntityProcessingStatusPicker />
<CatalogFilterLayout.Filters>
<CatalogFilterLayout.Content>
<CatalogTable columns={columns} actions={actions} />
</CatalogFilterLayout.Content>
</CatalogFilterLayout>
</EntityListProvider>
...
};
Updated dependencies
a145672f0f: 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:
// packages/backend/src/plugins/catalog.ts
builder.addProcessor(
MicrosoftGraphOrgReaderProcessor.fromConfig(env.config, {
logger: env.logger,
// [...]
}),
);
Previous registration when using the provider:
// 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:
# 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).
# 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
# [...]
// 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.
allowedRepos ui:option to RepoUrlPicker component, and move repoName field to own componente2d7b76f43: Upgrade git-url-parse to 12.0.0.
Motivation for upgrade is transitively upgrading parse-url which is vulnerable to several CVEs detected by Snyk.
14146703e5: Add allowArbitraryValues to ui:options in OwnedEntityPicker, similar to allowArbitraryValues in EntityPicker
Updated dependencies
github:repo:create and github:repo:push679b32172e: Updated dependency knex to ^2.0.0.
e2d7b76f43: Upgrade git-url-parse to 12.0.0.
Motivation for upgrade is transitively upgrading parse-url which is vulnerable to several CVEs detected by Snyk.
Updated dependencies
knex to ^2.0.0.679b32172e: Updated dependency knex to ^2.0.0.
e2d7b76f43: Upgrade git-url-parse to 12.0.0.
Motivation for upgrade is transitively upgrading parse-url which is vulnerable to several CVEs detected by Snyk.
Updated dependencies
knex to ^2.0.0.knex to ^2.0.0.test command now ensures that all IO is flushed before exiting when printing --help.BACKSTAGE_APP_NAME
environment variable when running create-app.e2d7b76f43: Upgrade git-url-parse to 12.0.0.
Motivation for upgrade is transitively upgrading parse-url which is vulnerable to several CVEs detected by Snyk.
ff4f56eb49: DEPRECATED: The bursts object from BackstagePaletteAdditions has been depreciated and will be removed in a future release
The genPageTheme function now includes an optional options object with an optional fontColor which defaults to white if not provided.
e2d7b76f43: Upgrade git-url-parse to 12.0.0.
Motivation for upgrade is transitively upgrading parse-url which is vulnerable to several CVEs detected by Snyk.
Updated dependencies
knex to ^2.0.0.knex to ^2.0.0.knex to ^2.0.0.679b32172e: Updated dependency knex to ^2.0.0.
e2d7b76f43: Upgrade git-url-parse to 12.0.0.
Motivation for upgrade is transitively upgrading parse-url which is vulnerable to several CVEs detected by Snyk.
Updated dependencies
openapi-types to ^12.0.0.e2d7b76f43: Upgrade git-url-parse to 12.0.0.
Motivation for upgrade is transitively upgrading parse-url which is vulnerable to several CVEs detected by Snyk.
Updated dependencies
be26d95141: Added new EntityProcessingStatusPicker that will filter for entities with orphans and/or errors.
If you are using the default Catalog page this picker will be added automatically. For those who have customized their Catalog page you'll need to add this manually by doing something like this:
...
import {
CatalogFilterLayout,
EntityTypePicker,
UserListPicker,
EntityTagPicker
+ EntityProcessingStatusPicker,
} from '@backstage/plugin-catalog-react';
...
export const CustomCatalogPage = ({
columns,
actions,
initiallySelectedFilter = 'owned',
}: CatalogPageProps) => {
return (
...
<EntityListProvider>
<CatalogFilterLayout>
<CatalogFilterLayout.Filters>
<EntityKindPicker initialFilter="component" hidden />
<EntityTypePicker />
<UserListPicker initialFilter={initiallySelectedFilter} />
<EntityTagPicker />
+ <EntityProcessingStatusPicker />
<CatalogFilterLayout.Filters>
<CatalogFilterLayout.Content>
<CatalogTable columns={columns} actions={actions} />
</CatalogFilterLayout.Content>
</CatalogFilterLayout>
</EntityListProvider>
...
};
Updated dependencies
knex to ^2.0.0.rc-progress to 3.4.0.JenkinsApiJenkinsApikafkajs to ^2.0.0.limitranges as part of the Default Objects to fetch from the kubernetes apilimitranges as part of the Default Objects to fetch from the kubernetes api423e3d8e95: 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
679b32172e: Updated dependency knex to ^2.0.0.
Updated dependencies
rc-progress to 3.4.0.e2d7b76f43: Upgrade git-url-parse to 12.0.0.
Motivation for upgrade is transitively upgrading parse-url which is vulnerable to several CVEs detected by Snyk.
7739141ab2: Fix: When docs are shown in an entity page under the docs tab the sidebars start overlapping with the header and tabs in the page when you scroll the documentation content.
Updated dependencies
knex to ^2.0.0.e2d7b76f43: Upgrade git-url-parse to 12.0.0.
Motivation for upgrade is transitively upgrading parse-url which is vulnerable to several CVEs detected by Snyk.
Updated dependencies
e2d7b76f43: Upgrade git-url-parse to 12.0.0.
Motivation for upgrade is transitively upgrading parse-url which is vulnerable to several CVEs detected by Snyk.
Updated dependencies