Skip to content

Latest commit

 

History

History
1308 lines (937 loc) · 37.3 KB

v1.4.0-next.2-changelog.md

File metadata and controls

1308 lines (937 loc) · 37.3 KB

Release v1.4.0-next.2

Minor Changes

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

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

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:

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

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:

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

Patch Changes

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.

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

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

Minor Changes

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

Patch Changes

Patch Changes

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

Patch Changes

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

Patch Changes

Patch Changes

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

Patch Changes

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

Patch Changes

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

Patch Changes

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.

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

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

Patch Changes

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

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

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

Patch Changes

Patch Changes

Patch Changes

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:

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

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

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

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

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

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

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

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

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

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes

Patch Changes