Back to Backstage

Release v1.3.0-next.0

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

1.51.0-next.234.5 KB
Original Source

Release v1.3.0-next.0

@backstage/[email protected]

Minor Changes

  • b594679ae3: Allow array as non-spread arguments at the CatalogBuilder.

    typescript
    builder.addEntityProvider(...getArrayOfProviders());
    

    can be simplified to

    typescript
    builder.addEntityProvider(getArrayOfProviders());
    

Patch Changes

@backstage/[email protected]

Minor Changes

  • 1f83f0bc84: Added the possibility to pass TLS configuration to ldap connection

Patch Changes

@backstage/[email protected]

Minor Changes

  • 4328737af6: Add support to fetch data for Stateful Sets from Kubernetes

Patch Changes

@backstage/[email protected]

Minor Changes

  • 4328737af6: Add support to fetch data for Stateful Sets

@backstage/[email protected]

Minor Changes

  • 86a4a0f72d: Get data of other fields in Form from a custom field in template Scaffolder. following:

    tsx
    const CustomFieldExtensionComponent = (props: FieldExtensionComponentProps<string[]>) => {
      const { formData } = props.formContext;
      ...
    };
    
    const CustomFieldExtension = scaffolderPlugin.provide(
      createScaffolderFieldExtension({
        name: ...,
        component: CustomFieldExtensionComponent,
        validation: ...
      })
    );
    
  • 72dfcbc8bf: Gerrit Integration: Implemented a RepoUrlPicker for Gerrit.

Patch Changes

@backstage/[email protected]

Minor Changes

  • 72dfcbc8bf: A new scaffolder action has been added: gerrit:publish

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • f72a6b8c62: Applied the luxon dependency fix from the 0.13.4 patch release.
  • 5b22a8c97f: Applied the AWS S3 reading patch from the 0.13.5 patch release.
  • Updated dependencies

@backstage/[email protected]

Patch Changes

  • fde10d24f6: Allow tasks that fail to retry on a loop emitting a warning log every time it fails with the amount of attempts it has
  • Updated dependencies

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • 4f73352608: Updated Lockfile to support new versions of yarn as well as the legacy 1 version
  • 6de866ea74: Added console warning to frontend start when the app.baseUrl and backend.baseUrl are identical

@backstage/[email protected]

Patch Changes

  • 65840b17be: Fix issue where right arrow icon was incorrectly added to side bar items without a sub-menu

  • 6968b65ba1: Updated dependency @react-hookz/web to ^14.0.0.

  • 96d1e01641: Accessibility updates:

    • Added aria-label to the Select component
    • Changed heading level used in the header of Table component

@backstage/[email protected]

Patch Changes

  • 881fbd7e8d: Register TechDocs addons on catalog entity pages, follow the steps below to add them manually:

    diff
    // packages/app/src/components/catalog/EntityPage.tsx
    
    + import { TechDocsAddons } from '@backstage/plugin-techdocs-react';
    + import {
    +   ReportIssue,
    + } from '@backstage/plugin-techdocs-module-addons-contrib';
    
    + const techdocsContent = (
    +   <EntityTechdocsContent>
    +     <TechDocsAddons>
    +       <ReportIssue />
    +     </TechDocsAddons>
    +   </EntityTechdocsContent>
    + );
    
    const defaultEntityPage = (
      ...
      <EntityLayout.Route path="/docs" title="Docs">
    +    {techdocsContent}
      </EntityLayout.Route>
      ...
    );
    
    const serviceEntityPage = (
      ...
      <EntityLayout.Route path="/docs" title="Docs">
    +    {techdocsContent}
      </EntityLayout.Route>
      ...
    );
    
    const websiteEntityPage = (
      ...
      <EntityLayout.Route path="/docs" title="Docs">
    +    {techdocsContent}
      </EntityLayout.Route>
      ...
    );
    
  • 935d8515da: Updated the --version flag to output the version of the current backstage release instead of the version of create-app.

  • 1f70704580: Accessibility updates:

    • Added aria-label to the sidebar Logo link. To enable this for an existing app, please make the following changes:

    packages/app/src/components/Root/Root.tsx

    diff
    const SidebarLogo = () => {
      const classes = useSidebarLogoStyles();
      const { isOpen } = useContext(SidebarContext);
    
      return (
        <div className={classes.root}>
          <Link
            component={NavLink}
            to="/"
            underline="none"
            className={classes.link}
    +       aria-label="Home"
          >
            {isOpen ? <LogoFull /> : <LogoIcon />}
          </Link>
        </div>
      );
    };
    

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • 72dfcbc8bf: Gerrit Integration: Handle absolute paths in resolveUrl properly.

@backstage/[email protected]

Patch Changes

@techdocs/[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

  • 6387b7a98a: Add export for isAllureReportAvailable and ALLURE_PROJECT_ID_ANNOTATION so it can be used outside of plugin
  • 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

  • 9079a78078: Added configurable algorithms array for IdentityClient
  • 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

  • 449dcef98e: Updates the isKind, ìsComponentType, and isNamespace to allow an array of possible values

  • 1f70704580: Accessibility updates:

    • Added screen reader elements to describe default table Action buttons
  • 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

  • 3ac4522537: do not create location object if file with component definition do not exists in project, that decrease count of request to gitlab with 404 status code. Now we can create processor with new flag to enable this logic:

    ts
    const processor = GitLabDiscoveryProcessor.fromConfig(config, {
      logger,
      skipReposWithoutExactFileMatch: true,
    });
    

    WARNING: This new functionality does not support globs in the repo file path

  • Updated dependencies

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • 1f70704580: Accessibility updates:

    • Wrapped the EntityLifecyclePicker, EntityOwnerPicker, EntityTagPicker, in label elements
    • Changed group name Typography component to span (from default h6), added aria-label to the List component, and role of menuitem to the container of the MenuItem component
  • 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

  • eb2544b21b: Add missing export in configuration schema.
  • 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

  • 6968b65ba1: Updated dependency @react-hookz/web to ^14.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

@backstage/[email protected]

Patch Changes

  • 4328737af6: Add support to fetch data for Stateful Sets and display an accordion in the same way as with Deployments
  • 81304e3e91: Fix for HPA matching when deploying same HPA in multiple namespaces
  • 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

  • e7794a0aaa: propagate indexing errors so they don't appear successful to the task scheduler
  • 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

  • 881fbd7e8d: Fix EntityTechdocsContent component to use objects instead of <Route> elements, otherwise "outlet" will be null on sub-pages and add-ons won't render.

  • 17c059dfd0: Restructures reader style transformations to improve code readability:

    • Extracts the style rules to separate files;
    • Creates a hook that processes each rule;
    • And creates another hook that returns a transformer responsible for injecting them into the head tag of a given element.
  • 3b45ad701f: Packages a set of tweaks to the TechDocs addons rendering process:

    • Prevents displaying sidebars until page styles are loaded and the sidebar position is updated;
    • Prevents new sidebar locations from being created every time the reader page is rendered if these locations already exist;
    • Centers the styles loaded event to avoid having multiple locations setting the opacity style in Shadow Dom causing the screen to flash multiple times.
  • 816f7475ec: Convert sanitizeDOM transformer to hook as part of code readability improvements in dom file.

  • 50ff56a80f: Change the EntityDocsPage path to be more specific and also add integration tests for sub-routes on this page.

  • Updated dependencies

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • 5d66d4ff67: Output logs from a TechDocs build to a logging transport in addition to existing frontend event stream, for capturing these logs to other sources.

    This allows users to capture debugging information around why tech docs fail to build without needing to rely on end users capturing information from their web browser.

    The most common use case is to log to the same place as the rest of the backend application logs.

    Sample usage:

    import { DockerContainerRunner } from '@backstage/backend-common';
    import {
      createRouter,
      Generators,
      Preparers,
      Publisher,
    } from '@backstage/plugin-techdocs-backend';
    import Docker from 'dockerode';
    import { Router } from 'express';
    import { PluginEnvironment } from '../types';
    
    export default async function createPlugin(
      env: PluginEnvironment,
    ): Promise<Router> {
      const preparers = await Preparers.fromConfig(env.config, {
        logger: env.logger,
        reader: env.reader,
      });
    
      const dockerClient = new Docker();
      const containerRunner = new DockerContainerRunner({ dockerClient });
    
      const generators = await Generators.fromConfig(env.config, {
        logger: env.logger,
        containerRunner,
      });
    
      const publisher = await Publisher.fromConfig(env.config, {
        logger: env.logger,
        discovery: env.discovery,
      });
    
      await publisher.getReadiness();
    
      return await createRouter({
        preparers,
        generators,
        publisher,
        logger: env.logger,
        // Passing a buildLogTransport as a parameter in createRouter will enable
        // capturing build logs to a backend log stream
        buildLogTransport: env.logger,
        config: env.config,
        discovery: env.discovery,
        cache: env.cache,
      });
    }
    
  • Updated dependencies

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • 3b45ad701f: Creates a TechDocsShadowDom component that takes a tree of elements and an onAppend handler:

    • Calls the onAppend handler when appending the element tree to the shadow root;
    • Also dispatches an event when styles are loaded to let transformers know that the computed styles are ready to be consumed.
  • Updated dependencies

@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

@internal/[email protected]

Patch Changes