Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

chore: Update all minor dependency updates #129

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 1, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@backstage/backend-common (source) ^0.23.0 -> ^0.25.0 age adoption passing confidence
@backstage/backend-common (source) ^0.23.2 -> ^0.25.0 age adoption passing confidence
@backstage/backend-defaults (source) ^0.4.0 -> ^0.5.0 age adoption passing confidence
@backstage/backend-plugin-api (source) ^0.7.0 -> ^0.8.0 age adoption passing confidence
@backstage/backend-tasks (source) ^0.5.23 -> ^0.6.0 age adoption passing confidence
@backstage/catalog-client (source) 1.6.5 -> 1.7.0 age adoption passing confidence
@backstage/catalog-model (source) 1.5.0 -> 1.7.0 age adoption passing confidence
@backstage/cli (source) ^0.26.6 -> ^0.27.0 age adoption passing confidence
@backstage/core-app-api (source) 1.14.1 -> 1.15.0 age adoption passing confidence
@backstage/core-components (source) ^0.14.7 -> ^0.15.0 age adoption passing confidence
@backstage/dev-utils (source) 1.0.36 -> 1.1.0 age adoption passing confidence
@backstage/plugin-auth-backend (source) ^0.22.5 -> ^0.23.0 age adoption passing confidence
@backstage/plugin-auth-backend-module-guest-provider (source) ^0.1.4 -> ^0.2.0 age adoption passing confidence
@backstage/plugin-auth-node (source) ^0.4.13 -> ^0.5.0 age adoption passing confidence
@backstage/plugin-catalog (source) 1.21.1 -> 1.23.0 age adoption passing confidence
@backstage/plugin-catalog-common (source) 1.0.25 -> 1.1.0 age adoption passing confidence
@backstage/plugin-catalog-react (source) 1.12.2 -> 1.13.0 age adoption passing confidence
@backstage/plugin-permission-backend-module-allow-all-policy (source) ^0.1.15 -> ^0.2.0 age adoption passing confidence
@backstage/plugin-scaffolder (source) 1.23.0 -> 1.25.0 age adoption passing confidence
@backstage/plugin-scaffolder-backend (source) 1.23.0 -> 1.25.0 age adoption passing confidence
@backstage/plugin-search-backend-node (source) 1.2.27 -> 1.3.2 age adoption passing confidence
@backstage/plugin-search-react (source) 1.7.13 -> 1.8.0 age adoption passing confidence
@backstage/test-utils (source) 1.5.9 -> 1.6.0 age adoption passing confidence
@commitlint/cli (source) 19.3.0 -> 19.5.0 age adoption passing confidence
@commitlint/config-conventional (source) 19.2.2 -> 19.5.0 age adoption passing confidence
@commitlint/config-lerna-scopes (source) 19.0.0 -> 19.5.0 age adoption passing confidence
@typescript-eslint/parser (source) 7.17.0 -> 7.18.0 age adoption passing confidence
msw (source) 2.3.4 -> 2.4.9 age adoption passing confidence
pg (source) 8.12.0 -> 8.13.0 age adoption passing confidence
react-router (source) 6.23.1 -> 6.26.2 age adoption passing confidence
react-router-dom (source) 6.25.1 -> 6.26.2 age adoption passing confidence
typescript (source) ~5.5.0 -> ~5.6.0 age adoption passing confidence
winston 3.13.1 -> 3.14.2 age adoption passing confidence

Release Notes

backstage/backstage (@​backstage/backend-common)

v0.25.0

Compare Source

@​backstage/backend-common@​0.7.0
Minor Changes
  • e0bfd3d: Refactor the runDockerContainer(…) function to an interface-based api.
    This gives the option to replace the docker runtime in the future.

    Packages and plugins that previously used the dockerode as argument should be migrated to use the new ContainerRunner interface instead.

      import {
    -   runDockerContainer,
    +   ContainerRunner,
        PluginEndpointDiscovery,
      } from '@​backstage/backend-common';
    - import Docker from 'dockerode';
    
      type RouterOptions = {
        // ...
    -   dockerClient: Docker,
    +   containerRunner: ContainerRunner;
      };
    
      export async function createRouter({
        // ...
    -   dockerClient,
    +   containerRunner,
      }: RouterOptions): Promise<express.Router> {
        // ...
    
    +   await containerRunner.runContainer({
    -   await runDockerContainer({
          image: 'docker',
          // ...
    -     dockerClient,
        });
    
        // ...
      }

    To keep the dockerode based runtime, use the DockerContainerRunner implementation:

    + import {
    +   ContainerRunner,
    +   DockerContainerRunner
    + } from '@&#8203;backstage/backend-common';
    - import { runDockerContainer } from '@&#8203;backstage/backend-common';
    
    + const containerRunner: ContainerRunner = new DockerContainerRunner({dockerClient});
    + await containerRunner.runContainer({
    - await runDockerContainer({
        image: 'docker',
        // ...
    -   dockerClient,
      });
Patch Changes
@​backstage/techdocs-common@​0.6.0
Minor Changes
  • e0bfd3d: Migrate the package to use the ContainerRunner interface instead of runDockerContainer(…).
    It also no longer provides the ContainerRunner as an input to the GeneratorBase#run(…) function, but expects it as a constructor parameter instead.

    If you use the TechdocsGenerator you need to update the usage:

    + const containerRunner = new DockerContainerRunner({ dockerClient });
    
    - const generator = new TechdocsGenerator(logger, config);
    + const techdocsGenerator = new TechdocsGenerator({
    +   logger,
    +   containerRunner,
    +   config,
    + });
    
      await this.generator.run({
        inputDir: preparedDir,
        outputDir,
    -   dockerClient: this.dockerClient,
        parsedLocationAnnotation,
        etag: newEtag,
      });
Patch Changes
@​backstage/plugin-cost-insights@​0.9.0
Minor Changes
  • 6f1b82b: make change ratio optional
Patch Changes
@​backstage/plugin-scaffolder-backend@​0.11.0
Minor Changes
  • e0bfd3d: Migrate the plugin to use the ContainerRunner interface instead of runDockerContainer(…).
    It also provides the ContainerRunner to the individual templaters instead of to the createRouter function.

    To apply this change to an existing backend application, add the following to src/plugins/scaffolder.ts:

    - import { SingleHostDiscovery } from '@&#8203;backstage/backend-common';
    + import {
    +   DockerContainerRunner,
    +   SingleHostDiscovery,
    + } from '@&#8203;backstage/backend-common';

    export default async function createPlugin({
    logger,
    config,
    database,
    reader,
    }: PluginEnvironment): Promise {

  • const dockerClient = new Docker();

  • const containerRunner = new DockerContainerRunner({ dockerClient });

  • const cookiecutterTemplater = new CookieCutter({ containerRunner });

  • const cookiecutterTemplater = new CookieCutter();

  • const craTemplater = new CreateReactAppTemplater({ containerRunner });

  • const craTemplater = new CreateReactAppTemplater();
    const templaters = new Templaters();

    templaters.register('cookiecutter', cookiecutterTemplater);
    templaters.register('cra', craTemplater);

    const preparers = await Preparers.fromConfig(config, { logger });
    const publishers = await Publishers.fromConfig(config, { logger });

  • const dockerClient = new Docker();

    const discovery = SingleHostDiscovery.fromConfig(config);
    const catalogClient = new CatalogClient({ discoveryApi: discovery });

    return await createRouter({
    preparers,
    templaters,
    publishers,
    logger,
    config,

  •     dockerClient,
          database,
          catalogClient,
          reader,
        });
      }
    
Patch Changes
@​backstage/plugin-techdocs-backend@​0.8.0
Minor Changes
  • e0bfd3d: Migrate the plugin to use the ContainerRunner interface instead of runDockerContainer(…).
    It also provides the ContainerRunner to the generators instead of to the createRouter function.

    To apply this change to an existing backend application, add the following to src/plugins/techdocs.ts:

    + import { DockerContainerRunner } from '@&#8203;backstage/backend-common';
    
      // ...
    
      export default async function createPlugin({
        logger,
        config,
        discovery,
        reader,
      }: PluginEnvironment): Promise<Router> {
        // Preparers are responsible for fetching source files for documentation.
        const preparers = await Preparers.fromConfig(config, {
          logger,
          reader,
        });
    
    +   // Docker client (conditionally) used by the generators, based on techdocs.generators config.
    +   const dockerClient = new Docker();
    +   const containerRunner = new DockerContainerRunner({ dockerClient });
    
        // Generators are used for generating documentation sites.
        const generators = await Generators.fromConfig(config, {
          logger,
    +     containerRunner,
        });
    
        // Publisher is used for
        // 1. Publishing generated files to storage
        // 2. Fetching files from storage and passing them to TechDocs frontend.
        const publisher = await Publisher.fromConfig(config, {
          logger,
          discovery,
        });
    
        // checks if the publisher is working and logs the result
        await publisher.getReadiness();
    
    -   // Docker client (conditionally) used by the generators, based on techdocs.generators config.
    -   const dockerClient = new Docker();
    
        return await createRouter({
          preparers,
          generators,
          publisher,
    -     dockerClient,
          logger,
          config,
          discovery,
        });
      }
Patch Changes
@​backstage/catalog-client@​0.3.11
Patch Changes
@​backstage/catalog-model@​0.7.8
Patch Changes
@​backstage/cli@​0.6.10
Patch Changes
@​backstage/config@​0.1.5
Patch Changes
  • d8b81fd: Bump json-schema dependency from 0.2.5 to 0.3.0.
@​backstage/config-loader@​0.6.1
Patch Changes
@​backstage/core@​0.7.8
Patch Changes
@​backstage/create-app@​0.3.21
Patch Changes
  • 38ca051: The default @octokit/rest dependency was bumped to "^18.5.3".

  • e0bfd3d: The scaffolder-backend and techdocs-backend plugins have been updated.
    In order to update, you need to apply the following changes to your existing backend application:

    @backstage/plugin-techdocs-backend:

    // packages/backend/src/plugin/techdocs.ts
    
    + import { DockerContainerRunner } from '@&#8203;backstage/backend-common';
    
      // ...
    
      export default async function createPlugin({
        logger,
        config,
        discovery,
        reader,
      }: PluginEnvironment): Promise<Router> {
        // Preparers are responsible for fetching source files for documentation.
        const preparers = await Preparers.fromConfig(config, {
          logger,
          reader,
        });
    
    +   // Docker client (conditionally) used by the generators, based on techdocs.generators config.
    +   const dockerClient = new Docker();
    +   const containerRunner = new DockerContainerRunner({ dockerClient });
    
        // Generators are used for generating documentation sites.
        const generators = await Generators.fromConfig(config, {
          logger,
    +     containerRunner,
        });
    
        // Publisher is used for
        // 1. Publishing generated files to storage
        // 2. Fetching files from storage and passing them to TechDocs frontend.
        const publisher = await Publisher.fromConfig(config, {
          logger,
          discovery,
        });
    
        // checks if the publisher is working and logs the result
        await publisher.getReadiness();
    
    -   // Docker client (conditionally) used by the generators, based on techdocs.generators config.
    -   const dockerClient = new Docker();
    
        return await createRouter({
          preparers,
          generators,
          publisher,
    -     dockerClient,
          logger,
          config,
          discovery,
        });
      }

    @backstage/plugin-scaffolder-backend:

    // packages/backend/src/plugin/scaffolder.ts
    
    - import { SingleHostDiscovery } from '@&#8203;backstage/backend-common';
    + import {
    +   DockerContainerRunner,
    +   SingleHostDiscovery,
    + } from '@&#8203;backstage/backend-common';

    export default async function createPlugin({
    logger,
    config,
    database,
    reader,
    }: PluginEnvironment): Promise {

  • const dockerClient = new Docker();

  • const containerRunner = new DockerContainerRunner({ dockerClient });

  • const cookiecutterTemplater = new CookieCutter({ containerRunner });

  • const cookiecutterTemplater = new CookieCutter();

  • const craTemplater = new CreateReactAppTemplater({ containerRunner });

  • const craTemplater = new CreateReactAppTemplater();
    const templaters = new Templaters();

    templaters.register('cookiecutter', cookiecutterTemplater);
    templaters.register('cra', craTemplater);

    const preparers = await Preparers.fromConfig(config, { logger });
    const publishers = await Publishers.fromConfig(config, { logger });

  • const dockerClient = new Docker();

    const discovery = SingleHostDiscovery.fromConfig(config);
    const catalogClient = new CatalogClient({ discoveryApi: discovery });

    return await createRouter({
    preparers,
    templaters,
    publishers,
    logger,
    config,

  •     dockerClient,
          database,
          catalogClient,
          reader,
        });
      }
    
  • Updated dependencies [e0bfd3d]

  • Updated dependencies [e0bfd3d]

  • Updated dependencies [e0bfd3d]

  • Updated dependencies [38ca051]

  • Updated dependencies [f65adcd]

  • Updated dependencies [8088865]

  • Updated dependencies [b219821]

  • Updated dependencies [7b8272f]

  • Updated dependencies [8aedbb4]

  • Updated dependencies [fc79a6d]

  • Updated dependencies [69eefb5]

  • Updated dependencies [75c8cec]

  • Updated dependencies [b2e2ec7]

  • Updated dependencies [227439a]

  • Updated dependencies [9314a85]

  • Updated dependencies [2e05277]

  • Updated dependencies [4075c63]

  • Updated dependencies [cdb3426]

  • Updated dependencies [d8b81fd]

  • Updated dependencies [d1b1306]

@​backstage/integration@​0.5.2
Patch Changes
@​backstage/theme@​0.2.7
Patch Changes
  • 7b8272f: Remove extra bottom padding in InfoCard content
@​backstage/plugin-app-backend@​0.3.12
Patch Changes
@​backstage/plugin-auth-backend@​0.3.9
Patch Changes
@​backstage/plugin-badges-backend@​0.1.3
Patch Changes

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner August 1, 2024 07:59
@renovate renovate bot changed the title chore: Update dependency react-router to v6.25.1 chore: Update all minor dependency updates Aug 5, 2024
@renovate renovate bot force-pushed the renovate/all-minor branch 3 times, most recently from f306a01 to 47a9da4 Compare August 15, 2024 07:24
@renovate renovate bot force-pushed the renovate/all-minor branch 2 times, most recently from 026df9a to 7e84cbf Compare August 21, 2024 17:52
@renovate renovate bot force-pushed the renovate/all-minor branch 3 times, most recently from 28530d7 to 8a01dbd Compare September 2, 2024 16:40
@renovate renovate bot force-pushed the renovate/all-minor branch 4 times, most recently from 096c526 to 52b4215 Compare September 5, 2024 17:01
@renovate renovate bot force-pushed the renovate/all-minor branch 6 times, most recently from b83b543 to 96e6fc1 Compare September 17, 2024 22:21
@renovate renovate bot force-pushed the renovate/all-minor branch 5 times, most recently from bb04e57 to 286e19f Compare September 24, 2024 17:19
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants