Back to Backstage

Release v1.4.0-next.2

docs/releases/v1.4.0-next.2-changelog.md

1.51.0-next.237.3 KB
Original Source

Release v1.4.0-next.2

@backstage/[email protected]

Minor Changes

  • 4cc81372f8: Introduced GroupDefaultParentEntityPolicy to set a default group entity parent.

@backstage/[email protected]

Minor Changes

  • 32204fa794: Add transformLinkUri and transformImageUri to MarkdownContent

Patch Changes

  • b4b711bcc2: Fix the EntityLayout header style so that EntityContextMenu button can display in correct shape when user hover on it
  • 15201b1032: Updated dependency rc-progress to 3.4.0.
  • 385389d23c: Updated to remove usage of the bursts object in the theme palette
  • Updated dependencies

@backstage/[email protected]

Minor Changes

  • a274fe38b9: Add hidden title column to catalog and API table to enable filtering by title.

Patch Changes

  • 258057a4b9: 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:

    diff
    ...
    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

@backstage/[email protected]

Minor Changes

  • 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:

    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.

Patch Changes

@backstage/[email protected]

Minor Changes

  • 81dd5ea989: Introduces a new isomorphic @backstage/plugin-cost-insight-common package to contain shared types across all other cost insights packages and modules.

@backstage/[email protected]

Minor Changes

  • d8eb82f447: Add allowedRepos ui:option to RepoUrlPicker component, and move repoName field to own component

Patch Changes

  • 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.

    • SNYK-JS-PARSEURL-2935944
    • SNYK-JS-PARSEURL-2935947
    • SNYK-JS-PARSEURL-2936249
  • 14146703e5: Add allowArbitraryValues to ui:options in OwnedEntityPicker, similar to allowArbitraryValues in EntityPicker

  • Updated dependencies

@backstage/[email protected]

Minor Changes

  • 4baf8a4ece: Update GitLab Merge Request Action to allow source branch to be deleted
  • 2db07887cb: Added two new scaffolder actions: github:repo:create and github:repo:push

Patch Changes

  • 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.

    • SNYK-JS-PARSEURL-2935944
    • SNYK-JS-PARSEURL-2935947
    • SNYK-JS-PARSEURL-2936249
  • Updated dependencies

@backstage/[email protected]

Minor Changes

  • 818fa28d71: Allow FactRetrieverRegistry to be injected into buildTechInsightsContext so that we can override default registry implementation.

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • 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.

    • SNYK-JS-PARSEURL-2935944
    • SNYK-JS-PARSEURL-2935947
    • SNYK-JS-PARSEURL-2936249
  • Updated dependencies

@backstage/[email protected]

Patch Changes

  • 679b32172e: Updated dependency knex to ^2.0.0.
  • Updated dependencies

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • f6b6fb7165: The test command now ensures that all IO is flushed before exiting when printing --help.

@backstage/[email protected]

Patch Changes

  • f281ad17c0: Adds the ability to define the Backstage app name using a BACKSTAGE_APP_NAME environment variable when running create-app.

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • 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.

    • SNYK-JS-PARSEURL-2935944
    • SNYK-JS-PARSEURL-2935947
    • SNYK-JS-PARSEURL-2936249

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • 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.

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • 679b32172e: Updated dependency knex to ^2.0.0.
  • Updated dependencies

@backstage/[email protected]

Patch Changes

  • 8e03db907a: Auth provider now also export createAuthProviderIntegration
  • 679b32172e: Updated dependency knex to ^2.0.0.
  • Updated dependencies

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • 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.

    • SNYK-JS-PARSEURL-2935944
    • SNYK-JS-PARSEURL-2935947
    • SNYK-JS-PARSEURL-2936249
  • Updated dependencies

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • 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:

    diff
    ...
    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

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • 3e032a5de2: 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.
  • Updated dependencies

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • 60e5f9fe68: Fixed the lack of limitranges as part of the Default Objects to fetch from the kubernetes api
  • Updated dependencies

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • 423e3d8e95: 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

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • 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.

    • SNYK-JS-PARSEURL-2935944
    • SNYK-JS-PARSEURL-2935947
    • SNYK-JS-PARSEURL-2936249
  • Updated dependencies

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

@internal/[email protected]

Patch Changes