github backstage/backstage release-2021-10-14

latest releases: v1.27.0-next.2, v1.26.5, v1.27.0-next.1...
2 years ago

@backstage/core-components@0.7.0

Minor Changes

  • 5c42360577: Add documentation and more type safety around DependencyGraph
  • a20cbf00d2: The syntax highlighting library used by the CodeSnippet component is now lazy loaded. This most likely has no effect on existing code, but may break tests as the content of the CodeSnippet is now rendered asynchronously.

Patch Changes

  • 75bc878221: Internal refactor to avoid importing all of @material-ui/core.

  • 6ec56d5a57: update the null check to use the optional chaining operator in case of non-null assertion operator is not working in function extractInitials(values: string)

  • 81c2a1af86: Resolve a warning in <Button> related to not using React.forwardRef.

  • 53470ada54: Fix search in Firefox. When the search was performed by pressing enter, the query parameter was first set but then reverted back.

  • b488d8b69f: Change the Table search field placeholder to "Filter" and change icon accordingly

    We had feedback that users expected the catalog table search field to have more sophisticated behaviour
    than simple filtering. This change sets the search field placeholder to read "Filter"
    to avoid confusion with the search feature. The icon is updated to match. This change is applied
    generally in core-components so this change is made consistently across the app given the search
    field is present on all pages via the sidebar.

  • 2435d7a49b: Deprecated HomepageTimer in favor of HeaderWorldClock which is found in the home plugin

  • Updated dependencies

    • @backstage/theme@0.2.11

## @backstage/plugin-catalog-backend@0.17.0

Minor Changes

  • 9fb9256e50: This continues the deprecation of classes used by the legacy catalog engine. New deprecations can be viewed in this PR or in the API reference documentation.

    The batchAddOrUpdateEntities method of the EntitiesCatalog interface has been marked as optional and is being deprecated. It is still implemented and required to be implemented by the legacy catalog classes, but was never implemented in the new catalog.

    This change is only relevant if you are consuming the EntitiesCatalog interface directly, in which case you will get a type error that you need to resolve. It can otherwise be ignored.

Patch Changes

  • 3b59bb915e: Fixes a bug in the catalog where entities were not being marked as orphaned.
  • 55ff928d50: This change refactors the internal package structure to remove the next catalog folder that was used during the implementation and testing phase of the new catalog engine. The implementation is now the default and is therefore restructured to no longer be packaged under next/. This refactor does not change catalog imports from other parts of the project.
  • Updated dependencies
    • @backstage/integration@0.6.8

## @backstage/plugin-catalog-graph@0.2.0

Minor Changes

  • 5c42360577: Add documentation and more type safety around DependencyGraph

Patch Changes

  • Updated dependencies
    • @backstage/plugin-catalog-react@0.6.0
    • @backstage/core-components@0.7.0
    • @backstage/theme@0.2.11

## @backstage/plugin-catalog-react@0.6.0

Minor Changes

  • 82fbda923e: Introduce a new StarredEntitiesApi that is used in the useStarredEntities hook.
    The @backstage/plugin-catalog installs a default implementation that is backed by the StorageApi, but one can also override the starredEntitiesApiRef.

    This change also updates the storage format from a custom string to an entity reference and moves the location in the local storage.
    A migration will convert the previously starred entities to the location on the first load of Backstage.

Patch Changes

  • 0366c9b667: Introduce a useStarredEntity hook to check if a single entity is starred.
    It provides a more efficient implementation compared to the useStarredEntities hook, because the rendering is only triggered if the selected entity is starred, not if any entity is starred.
  • 4aca84f86b: Support material-ui overrides in plugin-catalog-react components
  • b03b9f19e0: added sorting in entity Name column by metadata.title if present
  • Updated dependencies
    • @backstage/integration@0.6.8
    • @backstage/core-app-api@0.1.17
    • @backstage/core-components@0.7.0

## @backstage/cli@0.7.16

Patch Changes

  • 53bdc66623: add a --from option to the plugin install command

  • 84e24fcdaf: Bump sucrase to version 3.20.2

  • 6583c6ac40: Add semicolon in template to make prettier happy

  • c6f927d819: Bump mini-css-extract-plugin to v2

  • 16f044cb6b: Update default backend ESLint configuration to allow usage of __dirname in tests.

  • 1ef9e64901: Add an experimental install <plugin> command.

    Given a pluginId, the command looks for NPM packages matching @backstage/plugin-{pluginId} or backstage-plugin-{pluginId} or {pluginId}. It looks for the experimentalInstallationRecipe in their package.json for the steps of installation. Detailed documentation and API Spec to follow (and to be decided as well).

## @backstage/codemods@0.1.18

Patch Changes

  • Updated dependencies
    • @backstage/core-app-api@0.1.17
    • @backstage/core-components@0.7.0

## @backstage/core-app-api@0.1.17

Patch Changes

  • 75bc878221: Internal refactor to avoid importing all of @material-ui/core.
  • Updated dependencies
    • @backstage/core-components@0.7.0
    • @backstage/theme@0.2.11

## @backstage/create-app@0.3.45

Patch Changes

  • eaca0f53fb: The scaffolder plugin has just released the beta 3 version of software templates, which replaces the handlebars templating syntax. As part of this change, the template entity schema is no longer included in the core catalog-model as with previous versions. The decoupling of the template entities version will allow us to more easily make updates in the future.

    In order to use the new beta 3 templates, the following changes are required for any existing installation, inside packages/backend/src/plugins/catalog.ts:

    ```diff
    +import { ScaffolderEntitiesProcessor } from '@backstage/plugin-scaffolder-backend';

    ...

    const builder = await CatalogBuilder.create(env);

    • builder.addProcessor(new ScaffolderEntitiesProcessor());
      const { processingEngine, router } = await builder.build();
      If you're interested in learning more about creating custom kinds, please check out the [extending the model](https://backstage.io/docs/features/software-catalog/extending-the-model) documentation. ## @backstage/dev-utils@0.2.12 ### Patch Changes - Updated dependencies - @backstage/plugin-catalog-react@0.6.0 - @backstage/core-app-api@0.1.17 - @backstage/core-components@0.7.0 - @backstage/theme@0.2.11 - @backstage/test-utils@0.1.19 - @backstage/integration-react@0.1.12 ## @backstage/integration@0.6.8 ### Patch Changes - eab072161e: By replacing `\n` with a newline for GitHub Apps private keys, this allows users to store the private key as an environment variable and reference it in the YAML. ## @backstage/integration-react@0.1.12 ### Patch Changes - Updated dependencies - @backstage/integration@0.6.8 - @backstage/core-components@0.7.0 - @backstage/theme@0.2.11 ## @backstage/test-utils@0.1.19 ### Patch Changes - 54bbe25c34: Store the namespaced bucket storage for each instance that was created with `MockStorage.create()` instead of global variable. - Updated dependencies - @backstage/core-app-api@0.1.17 - @backstage/theme@0.2.11 ## @backstage/theme@0.2.11 ### Patch Changes - 75bc878221: Internal refactor to avoid importing all of `@material-ui/core`. ## @backstage/plugin-allure@0.1.6 ### Patch Changes - Updated dependencies - @backstage/plugin-catalog-react@0.6.0 - @backstage/core-components@0.7.0 - @backstage/theme@0.2.11 ## @backstage/plugin-analytics-module-ga@0.1.2 ### Patch Changes - Updated dependencies - @backstage/core-components@0.7.0 - @backstage/theme@0.2.11 ## @backstage/plugin-api-docs@0.6.12 ### Patch Changes - d03ee85ff8: Bump `swagger-ui-react` to `^4.0.0-rc.3`. - 3c50c86604: Remove unused dependency on material-icons/font - 6ed423c139: lock down the `swagger-client` - b6ab93c421: Add actions props to the ApiExplorerPage - Updated dependencies - @backstage/plugin-catalog-react@0.6.0 - @backstage/plugin-catalog@0.7.1 - @backstage/core-components@0.7.0 - @backstage/theme@0.2.11 ## @backstage/plugin-auth-backend@0.4.4 ### Patch Changes - 0cfeea8f8f: AWS-ALB: update provider to the latest changes described [here](https://backstage.io/docs/auth/identity-resolver). This removes the `ExperimentalIdentityResolver` type in favor of `SignInResolver` and `AuthHandler`. The AWS ALB provider can now be configured in the same way as the Google provider in the example. - defae8f579: Added extra configuration parameters for active directory file system identity - Updated dependencies - @backstage/test-utils@0.1.19 ## @backstage/plugin-azure-devops@0.1.1 ### Patch Changes - Updated dependencies - @backstage/plugin-catalog-react@0.6.0 - @backstage/core-components@0.7.0 - @backstage/theme@0.2.11 ## @backstage/plugin-azure-devops-backend@0.1.2 ### Patch Changes - a23206049f: Updates function for mapping RepoBuilds to handle undefined properties - b7c0585471: Expands the Azure DevOps backend plugin to provide pull request data to be used by the front end plugin ## @backstage/plugin-badges@0.2.13 ### Patch Changes - Updated dependencies - @backstage/plugin-catalog-react@0.6.0 - @backstage/core-components@0.7.0 - @backstage/theme@0.2.11 ## @backstage/plugin-bitrise@0.1.16 ### Patch Changes - Updated dependencies - @backstage/plugin-catalog-react@0.6.0 - @backstage/core-components@0.7.0 - @backstage/theme@0.2.11 ## @backstage/plugin-catalog@0.7.1 ### Patch Changes - 82fbda923e: Introduce a new `StarredEntitiesApi` that is used in the `useStarredEntities` hook. The `@backstage/plugin-catalog` installs a default implementation that is backed by the `StorageApi`, but one can also override the `starredEntitiesApiRef`. This change also updates the storage format from a custom string to an entity reference and moves the location in the local storage. A migration will convert the previously starred entities to the location on the first load of Backstage. - 93a13dfb42: Support `material-ui` overrides in SystemDiagramCard and EmptityLinksEmptyState components - b03b9f19e0: added sorting in entity `Name` column by `metadata.title` if present - Updated dependencies - @backstage/plugin-catalog-react@0.6.0 - @backstage/core-components@0.7.0 - @backstage/theme@0.2.11 - @backstage/integration-react@0.1.12 ## @backstage/plugin-catalog-backend-module-ldap@0.3.4 ### Patch Changes - Updated dependencies - @backstage/plugin-catalog-backend@0.17.0 ## @backstage/plugin-catalog-backend-module-msgraph@0.2.7 ### Patch Changes - Updated dependencies - @backstage/plugin-catalog-backend@0.17.0 ## @backstage/plugin-catalog-import@0.7.2 ### Patch Changes - Updated dependencies - @backstage/plugin-catalog-react@0.6.0 - @backstage/integration@0.6.8 - @backstage/core-components@0.7.0 - @backstage/integration-react@0.1.12 ## @backstage/plugin-circleci@0.2.27 ### Patch Changes - Updated dependencies - @backstage/plugin-catalog-react@0.6.0 - @backstage/core-components@0.7.0 - @backstage/theme@0.2.11 ## @backstage/plugin-cloudbuild@0.2.27 ### Patch Changes - Updated dependencies - @backstage/plugin-catalog-react@0.6.0 - @backstage/core-components@0.7.0 - @backstage/theme@0.2.11 ## @backstage/plugin-code-coverage@0.1.15 ### Patch Changes - Updated dependencies - @backstage/plugin-catalog-react@0.6.0 - @backstage/core-components@0.7.0 - @backstage/theme@0.2.11 ## @backstage/plugin-code-coverage-backend@0.1.13 ### Patch Changes - da9241530a: check for existence of lines property in files - Updated dependencies - @backstage/integration@0.6.8 ## @backstage/plugin-config-schema@0.1.11 ### Patch Changes - Updated dependencies - @backstage/core-components@0.7.0 - @backstage/theme@0.2.11 ## @backstage/plugin-cost-insights@0.11.10 ### Patch Changes - Updated dependencies - @backstage/core-components@0.7.0 - @backstage/theme@0.2.11 ## @backstage/plugin-explore@0.3.20 ### Patch Changes - Updated dependencies - @backstage/plugin-catalog-react@0.6.0 - @backstage/core-components@0.7.0 - @backstage/theme@0.2.11 ## @backstage/plugin-firehydrant@0.1.7 ### Patch Changes - Updated dependencies - @backstage/plugin-catalog-react@0.6.0 - @backstage/core-components@0.7.0 - @backstage/theme@0.2.11 ## @backstage/plugin-fossa@0.2.20 ### Patch Changes - Updated dependencies - @backstage/plugin-catalog-react@0.6.0 - @backstage/core-components@0.7.0 - @backstage/theme@0.2.11 ## @backstage/plugin-gcp-projects@0.3.8 ### Patch Changes - Updated dependencies - @backstage/core-components@0.7.0 - @backstage/theme@0.2.11 ## @backstage/plugin-git-release-manager@0.3.1 ### Patch Changes - Updated dependencies - @backstage/integration@0.6.8 - @backstage/core-components@0.7.0 - @backstage/theme@0.2.11 ## @backstage/plugin-github-actions@0.4.22 ### Patch Changes - Updated dependencies - @backstage/plugin-catalog-react@0.6.0 - @backstage/integration@0.6.8 - @backstage/core-components@0.7.0 - @backstage/theme@0.2.11 ## @backstage/plugin-github-deployments@0.1.20 ### Patch Changes - Updated dependencies - @backstage/plugin-catalog-react@0.6.0 - @backstage/integration@0.6.8 - @backstage/core-components@0.7.0 - @backstage/theme@0.2.11 - @backstage/integration-react@0.1.12 ## @backstage/plugin-gitops-profiles@0.3.8 ### Patch Changes - Updated dependencies - @backstage/core-components@0.7.0 - @backstage/theme@0.2.11 ## @backstage/plugin-graphiql@0.2.20 ### Patch Changes - c8215e1fe6: Add experimental `experimentalInstallationRecipe` to `package.json`. - Updated dependencies - @backstage/core-components@0.7.0 - @backstage/theme@0.2.11 ## @backstage/plugin-home@0.4.4 ### Patch Changes - ef5bf4235a: Adds a `<WelcomeTitle>` component that shows a playful greeting on the home page. To use it, pass it to the home page header: typescript

      } pageTitleOverride="Home">




      ```
  • 87b2d5ad88: Fix <ComponentTabs> to display only the selected tab, not the other way around.

  • 2435d7a49b: Added HeaderWorldClock to the Home plugin which is a copy of the HomepageTimer from core-components that has been updated to use props over static config from app-config.yaml. To use HeaderWorldClock you'll need to create an array of ClockConfig like this:

    const clockConfigs: ClockConfig[] = [
      {
        label: 'NYC',
        timeZone: 'America/New_York',
      },
      {
        label: 'UTC',
        timeZone: 'UTC',
      },
      {
        label: 'STO',
        timeZone: 'Europe/Stockholm',
      },
      {
        label: 'TYO',
        timeZone: 'Asia/Tokyo',
      },
    ];
    

    Then you can pass clockConfigs into the HeaderWorldClock like this:

    <Page themeId="home">
      <Header title="Home">
        <HeaderWorldClock clockConfigs={clockConfigs} />
      </Header>
      <Content>...</Content>
    </Page>
    
  • Updated dependencies

    • @backstage/core-components@0.7.0
    • @backstage/theme@0.2.11

## @backstage/plugin-ilert@0.1.15

Patch Changes

  • Updated dependencies
    • @backstage/plugin-catalog-react@0.6.0
    • @backstage/core-components@0.7.0
    • @backstage/theme@0.2.11

## @backstage/plugin-jenkins@0.5.10

Patch Changes

  • Updated dependencies
    • @backstage/plugin-catalog-react@0.6.0
    • @backstage/core-components@0.7.0
    • @backstage/theme@0.2.11

## @backstage/plugin-kafka@0.2.19

Patch Changes

  • Updated dependencies
    • @backstage/plugin-catalog-react@0.6.0
    • @backstage/core-components@0.7.0
    • @backstage/theme@0.2.11

## @backstage/plugin-kubernetes@0.4.17

Patch Changes

  • 89bcf90b66: Refactor kubernetes fetcher to reduce boilerplate code
  • Updated dependencies
    • @backstage/plugin-catalog-react@0.6.0
    • @backstage/core-components@0.7.0
    • @backstage/theme@0.2.11

## @backstage/plugin-kubernetes-backend@0.3.17

Patch Changes

  • 89bcf90b66: Refactor kubernetes fetcher to reduce boilerplate code

  • a982e166c5: Enable customization of services used by the kubernetes backend plugin

    The createRouter function has been deprecated in favor of a KubernetesBuilder object.
    Here's how you should upgrade your projects when configuring the Kubernetes backend plugin.
    in your packages/backend/src/plugins/kubernetes.ts file for instance:

    import { KubernetesBuilder } from '@backstage/plugin-kubernetes-backend';
    import { PluginEnvironment } from '../types';
    
    
    export default async function createPlugin({
      logger,
      config,
    }: PluginEnvironment) {
      const { router } = await KubernetesBuilder.createBuilder({
        logger,
        config,
      }).build();
      return router;
    }
    

    @backstage/plugin-lighthouse@0.2.29

    Patch Changes

    • Updated dependencies

    • @backstage/plugin-catalog-react@0.6.0

    • @backstage/core-components@0.7.0

    • @backstage/theme@0.2.11

      @backstage/plugin-newrelic@0.3.8

      Patch Changes

    • Updated dependencies

    • @backstage/core-components@0.7.0

    • @backstage/theme@0.2.11

      @backstage/plugin-org@0.3.27

      Patch Changes

    • Updated dependencies

    • @backstage/plugin-catalog-react@0.6.0

    • @backstage/core-components@0.7.0

    • @backstage/theme@0.2.11

      @backstage/plugin-pagerduty@0.3.17

      Patch Changes

    • Updated dependencies

    • @backstage/plugin-catalog-react@0.6.0

    • @backstage/core-components@0.7.0

    • @backstage/theme@0.2.11

      @backstage/plugin-rollbar@0.3.18

      Patch Changes

    • Updated dependencies

    • @backstage/plugin-catalog-react@0.6.0

    • @backstage/core-components@0.7.0

    • @backstage/theme@0.2.11

      @backstage/plugin-scaffolder@0.11.8

      Patch Changes

    • 0366c9b667: Introduce a useStarredEntity hook to check if a single entity is starred.
      It provides a more efficient implementation compared to the useStarredEntities hook, because the rendering is only triggered if the selected entity is starred, not if any entity is starred.

    • Updated dependencies

    • @backstage/plugin-catalog-react@0.6.0

    • @backstage/integration@0.6.8

    • @backstage/core-components@0.7.0

    • @backstage/theme@0.2.11

    • @backstage/integration-react@0.1.12

      @backstage/plugin-scaffolder-backend@0.15.8

      Patch Changes

    • 42c618abf6: Use resolveSafeChildPath in the fetchContents function to forbid reading files outside the base directory when a template is registered from a file: location.

    • 18083d1821: Introduce the new scaffolder.backstage.io/v1beta3 template kind with nunjucks support 🥋

    • Updated dependencies

    • @backstage/integration@0.6.8

    • @backstage/plugin-catalog-backend@0.17.0

      @backstage/plugin-search@0.4.15

      Patch Changes

    • 56bd537256: SearchBar component to accept optional placeholder prop

    • Updated dependencies

    • @backstage/plugin-catalog-react@0.6.0

    • @backstage/core-components@0.7.0

    • @backstage/theme@0.2.11

      @backstage/plugin-sentry@0.3.25

      Patch Changes

    • Updated dependencies

    • @backstage/plugin-catalog-react@0.6.0

    • @backstage/core-components@0.7.0

    • @backstage/theme@0.2.11

      @backstage/plugin-shortcuts@0.1.12

      Patch Changes

    • Updated dependencies

    • @backstage/core-components@0.7.0

    • @backstage/theme@0.2.11

      @backstage/plugin-sonarqube@0.2.6

      Patch Changes

    • Updated dependencies

    • @backstage/plugin-catalog-react@0.6.0

    • @backstage/core-components@0.7.0

    • @backstage/theme@0.2.11

      @backstage/plugin-splunk-on-call@0.3.14

      Patch Changes

    • Updated dependencies

    • @backstage/plugin-catalog-react@0.6.0

    • @backstage/core-components@0.7.0

    • @backstage/theme@0.2.11

      @backstage/plugin-tech-radar@0.4.11

      Patch Changes

    • Updated dependencies

    • @backstage/core-components@0.7.0

    • @backstage/theme@0.2.11

      @backstage/plugin-techdocs@0.12.2

      Patch Changes

    • 76fef740fe: Refactored <Reader /> component internals to support future extensibility.

    • Updated dependencies

    • @backstage/plugin-catalog-react@0.6.0

    • @backstage/plugin-catalog@0.7.1

    • @backstage/integration@0.6.8

    • @backstage/core-components@0.7.0

    • @backstage/theme@0.2.11

    • @backstage/plugin-search@0.4.15

    • @backstage/integration-react@0.1.12

      @backstage/plugin-todo@0.1.14

      Patch Changes

    • Updated dependencies

    • @backstage/plugin-catalog-react@0.6.0

    • @backstage/core-components@0.7.0

    • @backstage/theme@0.2.11

      @backstage/plugin-user-settings@0.3.9

      Patch Changes

    • Updated dependencies

    • @backstage/core-components@0.7.0

    • @backstage/theme@0.2.11

      @backstage/plugin-welcome@0.3.8

      Patch Changes

    • Updated dependencies

    • @backstage/core-components@0.7.0

    • @backstage/theme@0.2.11

      @backstage/plugin-xcmetrics@0.2.9

      Patch Changes

    • Updated dependencies

    • @backstage/core-components@0.7.0

    • @backstage/theme@0.2.11

      example-app@0.2.50

      Patch Changes

    • Updated dependencies

    • @backstage/plugin-catalog-react@0.6.0

    • @backstage/plugin-catalog@0.7.1

    • @backstage/plugin-api-docs@0.6.12

    • @backstage/plugin-scaffolder@0.11.8

    • @backstage/core-app-api@0.1.17

    • @backstage/core-components@0.7.0

    • @backstage/theme@0.2.11

    • @backstage/plugin-graphiql@0.2.20

    • @backstage/cli@0.7.16

    • @backstage/plugin-home@0.4.4

    • @backstage/plugin-catalog-graph@0.2.0

    • @backstage/plugin-search@0.4.15

    • @backstage/plugin-techdocs@0.12.2

    • @backstage/plugin-kubernetes@0.4.17

    • @backstage/plugin-azure-devops@0.1.1

    • @backstage/plugin-badges@0.2.13

    • @backstage/plugin-catalog-import@0.7.2

    • @backstage/plugin-circleci@0.2.27

    • @backstage/plugin-cloudbuild@0.2.27

    • @backstage/plugin-code-coverage@0.1.15

    • @backstage/plugin-explore@0.3.20

    • @backstage/plugin-github-actions@0.4.22

    • @backstage/plugin-jenkins@0.5.10

    • @backstage/plugin-kafka@0.2.19

    • @backstage/plugin-lighthouse@0.2.29

    • @backstage/plugin-org@0.3.27

    • @backstage/plugin-pagerduty@0.3.17

    • @backstage/plugin-rollbar@0.3.18

    • @backstage/plugin-sentry@0.3.25

    • @backstage/plugin-todo@0.1.14

    • @backstage/integration-react@0.1.12

    • @backstage/plugin-cost-insights@0.11.10

    • @backstage/plugin-gcp-projects@0.3.8

    • @backstage/plugin-newrelic@0.3.8

    • @backstage/plugin-shortcuts@0.1.12

    • @backstage/plugin-tech-radar@0.4.11

    • @backstage/plugin-user-settings@0.3.9

      example-backend@0.2.50

      Patch Changes

    • Updated dependencies

    • @backstage/plugin-auth-backend@0.4.4

    • @backstage/integration@0.6.8

    • @backstage/plugin-scaffolder-backend@0.15.8

    • @backstage/plugin-catalog-backend@0.17.0

    • @backstage/plugin-azure-devops-backend@0.1.2

    • @backstage/plugin-code-coverage-backend@0.1.13

    • @backstage/plugin-kubernetes-backend@0.3.17

    • example-app@0.2.50

Don't miss a new backstage release

NewReleases is sending notifications on new releases.