container-registry / backstage-plugin-harbor-backend

MIT License
6 stars 17 forks source link

Bump @backstage/backend-common from 0.9.14 to 0.10.0 #22

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps @backstage/backend-common from 0.9.14 to 0.10.0.

Changelog

Sourced from @​backstage/backend-common's changelog.

0.10.0

Minor Changes

  • 2f8a9b665f: Auto-generate secrets for backend-to-backend auth in local development environments.

    When NODE_ENV is 'development', the ServerTokenManager will now generate a secret for backend-to-backend auth to make it simpler to work locally on Backstage instances that use backend-to-backend auth. For production deployments, a secret must still be manually configured as described in the backend-to-backend auth tutorial.

    After the change, the static fromConfig method on the ServerTokenManager requires a logger.

    -  const tokenManager = ServerTokenManager.fromConfig(config);
    +  const tokenManager = ServerTokenManager.fromConfig(config, { logger: root });
    

Patch Changes

  • 776180b740: Fixed bug in backend-common to allow passing of remote option in order to enable passing remote url in --config option. The remote option should be passed along with reloadIntervalSeconds from packages/backend/src/index.ts (Updated the file as well)

    These changes are needed in packages/backend/src/index.ts if remote URLs are desired to be passed in --config option and read and watch remote files for config.

    @@ -86,7 +86,11 @@ async function main() {
       const config = await loadBackendConfig({
         argv: process.argv,
         logger,
    +    remote: {
    +      reloadIntervalSeconds: 60 * 10 // Check remote config changes every 10 minutes. Change to your desired interval in seconds
    +    }
       });
    +
       const createEnv = makeCreateEnv(config);
    

    const healthcheckEnv = useHotMemoize(module, () => createEnv('healthcheck'));

  • 2462b9e275: Ensure temporary directories are cleaned up if an error is thrown in the filter callback of the UrlReader.readTree options.

  • 2f6d8ec3b6: Updated the ReadTreeResponse documentation to clarify that the caller of dir() is responsible for removing the directory after use.

  • Updated dependencies

    • @​backstage/config-loader@​0.9.0
Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication