Back to Backstage

Release v1.46.0-next.1

docs/releases/v1.46.0-next.1-changelog.md

1.51.0-next.212.9 KB
Original Source

Release v1.46.0-next.1

Upgrade Helper: https://backstage.github.io/upgrade-helper/?to=1.46.0-next.1

@backstage/[email protected]

Major Changes

  • 8d6709e: BREAKING: TechDocsAddonTester.renderWithEffects() no longer returns a screen; this means that you can no longer grab assertions such as getByText from its return value.

    Newer versions of @testing-library recommends using the screen export for assertions - and removing this from the addon tester contract allows us to more freely iterate on which underlying version of the testing library is being used.

    One notable effect of this, however, is that the @testing-library screen does NOT support assertions on the shadow DOM, which techdocs relies on. You will therefore want to add a dependency on the shadow-dom-testing-library package in your tests, and using its screen and its dedicated *Shadow* methods. As an example, if you keep doing getByText you will not get matches inside the shadow DOM - switch to getByShadowText instead.

    ts
    import { screen } from 'shadow-dom-testing-library';
    
    // ... render the addon ...
    await TechDocsAddonTester.buildAddonsInTechDocs([<AnAddon />])
      .withDom(<body>TEST_CONTENT</body>)
      .renderWithEffects();
    
    expect(screen.getByShadowText('TEST_CONTENT')).toBeInTheDocument();
    

Patch Changes

@backstage/[email protected]

Minor Changes

  • 16543fa: Breaking change The Cell component has been refactored to be a generic wrapper component that accepts children for custom cell content. The text-specific functionality (previously part of Cell) has been moved to a new CellText component.

    Migration Guide

    If you were using Cell with text-specific props (title, description, leadingIcon, href), you need to update your code to use CellText instead:

    Before:

    tsx
    <Cell
      title="My Title"
      description="My description"
      leadingIcon={<Icon />}
      href="/path"
    />
    

    After:

    tsx
    <CellText
      title="My Title"
      description="My description"
      leadingIcon={<Icon />}
      href="/path"
    />
    

    For custom cell content, use the new generic Cell component:

    tsx
    <Cell></Cell>
    

Patch Changes

  • 50b7927: Fixed Checkbox indicator showing checkmark color when unchecked.

    Affected components: Checkbox

  • 5bacf55: Fixed ButtonIcon incorrectly applying className to inner elements instead of only the root element.

    Affected components: ButtonIcon

  • a20d317: Added row selection support with visual state styling for hover, selected, and pressed states. Fixed checkbox rendering to only show for multi-select toggle mode.

    Affected components: Table, TableHeader, Row, Column

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • 5cfb2a4: Added new run, runOutput, and runCheck utilities to help run child processes in a safe and portable way.

@backstage/[email protected]

Patch Changes

  • 4e8c726: Updated to use new utilities from @backstage/cli-common.
  • Updated dependencies

@backstage/[email protected]

Patch Changes

  • 688f070: Updated to use new utilities from @backstage/cli-common.
  • Updated dependencies

@backstage/[email protected]

Patch Changes

  • 9a942a4: Fixed bug in the LogViewer component where shift + click always opened a new window instead of just changing the selection.

    In addition, improved the LogViewer component by a few usability enhancements:

    • Added support for multiple selections using cmd/ctrl + click
    • Improved the generated hash that is added to the URL to also support ranges & multiple selections
    • Added an hover effect & info tooltip to the "Copy to clipboard" button to indicate its functionality
    • Added some color and a separator to the line numbers to improve readability
  • 207c3c8: long words like urls now breaks to new line on warning panels instead of overflowing the container

  • 5d52dab: Add i18n support for LogViewer search control

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • 688f070: Updated to use new utilities from @backstage/cli-common.
  • d1e38a7: Properly create workspace in OS temporary directory for generate-patch command
  • Updated dependencies

@techdocs/[email protected]

Patch Changes

  • 43629b1: Updated to use new utilities from @backstage/cli-common.
  • Updated dependencies

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • ed5a7a3: Introduce new configuration option to exclude suspended users from GitHub Enterprise instances.

    When it’s set to true, suspended users won’t be returned when querying the organization users for GitHub Enterprise instances. Note that this option should be used only against GitHub Enterprise instances, the property does not exist in the github.com GraphQL schema, setting it will cause a schema validation error and the syncing of users will fail.

@backstage/[email protected]

Patch Changes

  • ed5a7a3: Introduce new configuration option to exclude suspended users from GitHub Enterprise instances.

    When it’s set to true, suspended users won’t be returned when querying the organization users for GitHub Enterprise instances. Note that this option should be used only against GitHub Enterprise instances, the property does not exist in the github.com GraphQL schema, setting it will cause a schema validation error and the syncing of users will fail.

  • Updated dependencies

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • 6d39141: Fixed an issue where EntityOwnerPicker failed to filter options when the input text contained uppercase characters.
  • Updated dependencies

@backstage/[email protected]

Patch Changes

  • df4d646: Moved types, API and client to the common package, allowing both frontend and backend plugins to use the CatalogUnprocessedEntitiesClient.

    The following types, clients and interfaces have been deprecated and should be imported from the @backstage/plugin-catalog-unprocessed-entities-common instead: CatalogUnprocessedEntitiesApi, CatalogUnprocessedEntitiesApiResponse, UnprocessedEntity, UnprocessedEntityCache, UnprocessedEntityError, CatalogUnprocessedEntitiesClient.

    All those types, clients and interfaces are re-exported temporarily in the @backstage/plugin-catalog-unprocessed-entities package until cleaned up.

  • Updated dependencies

@backstage/[email protected]

Patch Changes

  • df4d646: Moved types, API and client to the common package, allowing both frontend and backend plugins to use the CatalogUnprocessedEntitiesClient.

    The following types, clients and interfaces have been deprecated and should be imported from the @backstage/plugin-catalog-unprocessed-entities-common instead: CatalogUnprocessedEntitiesApi, CatalogUnprocessedEntitiesApiResponse, UnprocessedEntity, UnprocessedEntityCache, UnprocessedEntityError, CatalogUnprocessedEntitiesClient.

    All those types, clients and interfaces are re-exported temporarily in the @backstage/plugin-catalog-unprocessed-entities package until cleaned up.

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • 8fa8d87: Add Kubernetes Plugin Secrets Accordion with masked secret datas

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • f966a85: Enabled a pod terminal at GKE
  • 8fa8d87: Add Kubernetes Plugin Secrets Accordion with masked secret datas
  • Updated dependencies

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • 5ca461e: Fixed bug where custom review.name values were incorrectly formatted by startCase, preserving them exactly as written.
  • Updated dependencies

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • 592361e: The techdocs config is now marked as optional.

@backstage/[email protected]

Patch Changes

  • 8d6709e: Updated tests to match test-utils change
  • Updated dependencies

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes