Back to Backstage

Release v1.8.0-next.0

docs/releases/v1.8.0-next.0-changelog.md

1.51.0-next.273.4 KB
Original Source

Release v1.8.0-next.0

@backstage/[email protected]

Minor Changes

  • a7607b5413: BREAKING CHANGE: The UrlReader interface has been updated to require that readUrl is implemented. readUrl has previously been optional to implement but a warning has been logged when calling its predecessor read. The read method is now deprecated and will be removed in a future release.

Patch Changes

  • 55227712dd: Generated development HTTPS backend certificate is now checked for expiration date instead of file age.
  • d05e1841ce: This patch adds GiteaURLReader to the available classes. It currently only reads single files via gitea's public repos api
  • 210a3b5668: Small update to fix compatibility with newer versions of the keyv library
  • c1784a4980: Replaces in-code uses of GitHub with Github and deprecates old versions.
  • Updated dependencies

@backstage/[email protected]

Minor Changes

  • 7539b36748: Added a new ESLint rule that restricts imports of Link from @material-ui

    The rule can be can be overridden in the following way:

    diff
    module.exports = require('@backstage/cli/config/eslint-factory')(__dirname, {
    +  restrictedImports: [
    +    { name: '@material-ui/core', importNames: [] },
    +    { name: '@material-ui/core/Link', importNames: [] },
    +  ],
    });
    

Patch Changes

@backstage/[email protected]

Minor Changes

  • 9b737e5f2e: Updated the React Router wiring to make use of the new basename property of the router components in React Router v6 stable. To implement this, a new optional basename property has been added to the Router app component, which can be forwarded to the concrete router implementation in order to support this new behavior. This is done by default in any app that does not have a Router component override.
  • 127fcad26d: Deprecated the homepage config as the component that used it - HomepageTimer - has been removed and replaced by the HeaderWorldClock in the home plugin

Patch Changes

@backstage/[email protected]

Minor Changes

  • fb3733e446: BREAKING: Removed the HomepageTimer as it has been replaced by the HeaderWorldClock in the Home plugin and was deprecated over a year ago.

Patch Changes

  • 5f695c219a: Set the searchTooltip to "Filter" to follow how the searchPlaceholder is set making this more consistent
  • 7573b65232: Internal refactor of imports to avoid circular dependencies
  • 858986f6b6: Disable base path workaround in Link component when React Router v6 stable is used.
  • f905853ad6: Prefer using Link from @backstage/core-components rather than material-UI.
  • Updated dependencies

@backstage/[email protected]

Minor Changes

  • a228f113d0: The app Router component now accepts an optional basename property.

Patch Changes

@backstage/[email protected]

Minor Changes

  • d05e1841ce: This patch brings Gitea as a valid integration: target, via the ScmIntegration interface. It adds gitea to the relevant static properties (get integration by name, get integration by type) for plugins to be able to reference the same Gitea server.

  • c1784a4980: Replaces in-code uses of GitHub with Github and deprecates old versions.

    Deprecates:

    • getGitHubFileFetchUrl replaced by getGithubFileFetchUrl
    • GitHubIntegrationConfig replaced by GithubIntegrationConfig
    • GitHubIntegration replaced by GithubIntegration
    • readGitHubIntegrationConfig replaced by readGithubIntegrationConfig
    • readGitHubIntegrationConfigs replaced by readGithubIntegrationConfigs
    • replaceGitHubUrlType replaced by replaceGithubUrlType

Patch Changes

  • 7573b65232: Internal refactor of imports to avoid circular dependencies

  • a6d779d58a: Remove explicit default visibility at config.d.ts files.

    ts
    /**
     * @visibility backend
     */
    
  • Updated dependencies

@backstage/[email protected]

Minor Changes

  • 4a75ce761c: Azure Sites (Apps & Functions) support for a given entity. View the current status of the site, quickly jump to site's Overview page, or Log Stream page.

Patch Changes

@backstage/[email protected]

Minor Changes

  • 4a75ce761c: Azure Sites (Apps & Functions) support for a given entity. View the current status of the site, quickly jump to site's Overview page, or Log Stream page.

Patch Changes

@backstage/[email protected]

Minor Changes

  • 4a75ce761c: Azure Sites (Apps & Functions) support for a given entity. View the current status of the site, quickly jump to site's Overview page, or Log Stream page.

@backstage/[email protected]

Minor Changes

  • 28b39e0e0e: The limit prop of BazaarOverviewCard has been removed entirely, and instead replaced with a new optional boolean prop fullWidth. The BazaarOverviewCard now always use full height without fixed width. Also fixed problem with link to Bazaar.

Patch Changes

@backstage/[email protected]

Minor Changes

  • 67fe5bc9a9: BREAKING: Support authenticated backends by including a server token for catalog requests. The constructor of GithubLocationAnalyzer now requires an instance of TokenManager to be supplied:

    diff
    ...
      builder.addLocationAnalyzers(
        new GitHubLocationAnalyzer({
          discovery: env.discovery,
          config: env.config,
    +     tokenManager: env.tokenManager,
        }),
      );
    ...
    
  • f64d66a45c: Added the ability for the GitHub discovery provider to validate that catalog files exist before emitting them.

    Users can now set the validateLocationsExist property to true in their GitHub discovery configuration to opt in to this feature. This feature only works with catalogPaths that do not contain wildcards.

    When validateLocationsExist is set to true, the GitHub discovery provider will retrieve the object from the repository at the provided catalogPath. If this file exists and is non-empty, then it will be emitted as a location for further processing. If this file does not exist or is empty, then it will not be emitted. Not emitting locations that do not exist allows for far fewer calls to the GitHub API to validate locations that do not exist.

Patch Changes

@backstage/[email protected]

Minor Changes

  • 43afded227: Updated recharts to v2.0.0 and fixed typing issues

Patch Changes

@backstage/[email protected]

Minor Changes

  • ead285b9e4: BREAKING: Changed the casing of all exported types to have a lowercase "h" in "github". E.g. "GitHubIssuesPage" was renamed to "GithubIssuesPage". Please rename your imports where necessary.

Patch Changes

@backstage/[email protected]

Minor Changes

  • 0697af30da: Added support for multiple responders in alert list, added new tab with list to support iLert resource 'service', added new tab with list to support iLert resource 'status page'

Patch Changes

@backstage/[email protected]

Minor Changes

  • cbf5d11fdf: The Kubernetes errors when fetching pod metrics are now captured and returned to the frontend.

    • BREAKING The method fetchPodMetricsByNamespace in the interface KubernetesFetcher is changed to fetchPodMetricsByNamespaces. It now accepts a set of namespace strings and returns Promise<FetchResponseWrapper>.
    • Add the PodStatusFetchResponse to the FetchResponse union type.
    • Add NOT_FOUND to the KubernetesErrorTypes union type, the HTTP error with status code 404 will be mapped to this error.

Patch Changes

@backstage/[email protected]

Minor Changes

  • edae17309e: Added props to override default Scaffolder page title, subtitle and pageTitleOverride. Routes like rootRouteRef, selectedTemplateRouteRef, nextRouteRef, nextSelectedTemplateRouteRef were made public and can be used in your app (e.g. in custom TemplateCard component).

Patch Changes

@backstage/[email protected]

Minor Changes

  • ea14eb62a2: Added a set of default Prometheus metrics around scaffolding. See below for a list of metrics and an explanation of their labels:

    • scaffolder_task_count: Tracks successful task runs.

      Labels:

      • template: The entity ref of the scaffolded template
      • user: The entity ref of the user that invoked the template run
      • result: A string describing whether the task ran successfully, failed, or was skipped
    • scaffolder_task_duration: a histogram which tracks the duration of a task run

      Labels:

      • template: The entity ref of the scaffolded template
      • result: A boolean describing whether the task ran successfully
    • scaffolder_step_count: a count that tracks each step run

      Labels:

      • template: The entity ref of the scaffolded template
      • step: The name of the step that was run
      • result: A string describing whether the task ran successfully, failed, or was skipped
    • scaffolder_step_duration: a histogram which tracks the duration of each step run

      Labels:

      • template: The entity ref of the scaffolded template
      • step: The name of the step that was run
      • result: A string describing whether the task ran successfully, failed, or was skipped

    You can find a guide for running Prometheus metrics here: https://github.com/backstage/backstage/blob/master/contrib/docs/tutorials/prometheus-metrics.md

Patch Changes

@backstage/[email protected]

Minor Changes

  • 5691baea69: Add ability to configure filters when using EntityListDocsGrid

    The following example will render two sections of cards grid:

    • One section for documentations tagged as recommended
    • One section for documentations tagged as runbook
    js
    <EntityListDocsGrid groups={{[
      {
        title: "Recommended Documentation",
        filterPredicate: entity =>
          entity?.metadata?.tags?.includes('recommended') ?? false,
      },
      {
        title: "RunBooks Documentation",
        filterPredicate: entity =>
          entity?.metadata?.tags?.includes('runbook') ?? false,
      }
    ]}} />
    

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

  • 4091c73e68: Updated @swc/core to v1.3.9 which fixes a .tsx parser bug. You may want to run yarn backstage-cli versions:bump to get on latest version including the CLI itself.
  • 80bfac5266: Updated the create-app command to no longer require Git to be installed and configured. A git repository will only be initialized if possible and if not already in an git repository.
  • f905853ad6: Prefer using Link from @backstage/core-components rather than material-UI.
  • Updated dependencies

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@techdocs/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • 30e43717c7: Added the HumanDuration type, moved here from @backstage/backend-tasks. This type matches the Duration.fromObject form of luxon.

@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

@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

@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

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • cbf5d11fdf: The Kubernetes errors when fetching pod metrics are now captured and returned to the frontend.

    • BREAKING The method fetchPodMetricsByNamespace in the interface KubernetesFetcher is changed to fetchPodMetricsByNamespaces. It now accepts a set of namespace strings and returns Promise<FetchResponseWrapper>.
    • Add the PodStatusFetchResponse to the FetchResponse union type.
    • Add NOT_FOUND to the KubernetesErrorTypes union type, the HTTP error with status code 404 will be mapped to this error.
  • 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

@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

@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

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

@internal/[email protected]

Patch Changes

@internal/[email protected]

Patch Changes

@internal/[email protected]

Patch Changes

@internal/[email protected]

Patch Changes