Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Version Packages #7

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

Conversation

MarceloLeite2604
Copy link
Owner

@MarceloLeite2604 MarceloLeite2604 commented Mar 17, 2021

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to master, this PR will be updated.

Releases

@backstage/[email protected]

Minor Changes

  • 8686eb3: Encode thrown errors in the backend as a JSON payload. This is technically a breaking change, since the response format even of errors are part of the contract. If you relied on the response being text, you will now have some extra JSON "noise" in it. It should still be readable by end users though.

    Before:

    NotFoundError: No entity named 'tara.macgovern2' found, with kind 'user' in namespace 'default'
        at eval (webpack-internal:///../../plugins/catalog-backend/src/service/router.ts:117:17)
    

    After:

    {
      "error": {
        "name": "NotFoundError",
        "message": "No entity named 'tara.macgovern2' found, with kind 'user' in namespace 'default'",
        "stack": "NotFoundError: No entity named 'tara.macgovern2' found, with kind 'user' in namespace 'default'\n    at eval (webpack-internal:///../../plugins/catalog-backend/src/service/router.ts:117:17)"
      },
      "request": {
        "method": "GET",
        "url": "/entities/by-name/user/default/tara.macgovern2"
      },
      "response": {
        "statusCode": 404
      }
    }
  • 8686eb3: Removed the custom error types (e.g. NotFoundError). Those are now instead in the new @backstage/errors package. This is a breaking change, and you will have to update your imports if you were using these types.

    -import { NotFoundError } from '@backstage/backend-common';
    +import { NotFoundError } from '@backstage/errors';

Patch Changes

@backstage/[email protected]

Minor Changes

  • 3385b37: Use scmIntegrationsApiRef from the new @backstage/integration-react.

Patch Changes

@backstage/[email protected]

Minor Changes

  • 3385b37: Use scmIntegrationsApiRef from the new @backstage/integration-react.

Patch Changes

  • 7d8c4c9: Update the wording for unknown URLs in the import flow

  • a0dacc1: Use title form field value for the commit message on catalog import PRs. Also allow customization of the pull requests title or body only. For example:

    <Route
      path="/catalog-import"
      element={
        <CatalogImportPage
          pullRequest={{
            preparePullRequest: () => ({
              title: 'chore: add backstage catalog file [skip ci]',
            }),
          }}
        />
      }
    />
  • 9ca0e40: use local version of lowerCase and upperCase methods

  • Updated dependencies [8686eb3]

  • Updated dependencies [8686eb3]

  • Updated dependencies [9ca0e40]

  • Updated dependencies [34ff49b]

@backstage/[email protected]

Minor Changes

  • e8b2ed9: Changed the way project slug is extracted from an entity. Up until now, the plugin assumed that the project slug is always of the format "owner/repo". However, this is not something that is enforced by Jenkins and sometimes the project name doesn't contain an owner.
    Since this split is not used anywhere and the entire project slug is always used as-is, removed this distinction and just read the project slug from the annotation as-is.

Patch Changes

@backstage/[email protected]

Minor Changes

  • 3385b37: Use scmIntegrationsApiRef from the new @backstage/integration-react.

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • 0434853: Reformulate the json types to break type recursion

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • a51dc00: Export SubRouteRef type, and allow SubRouteRefs to be assigned to plugin.routes.
  • e7f9b94: Allow elements to be used multiple times in the app element tree.
  • 34ff49b: Allow extension components to also return null in addition to a JSX.Element.
  • d88dd21: Internal refactor to allow for future package splits. As part of this ApiRefs are now identified by their ID rather than their reference.
  • c8b54c3: Added new Docs Icon to Core Icons
  • Updated dependencies [0434853]

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • 8686eb3: Use errors from @backstage/errors

  • 424742d: Applies only if you use TechDocs local builder instead of building on CI/CD i.e. if techdocs.builder in your app-config.yaml is set to 'local'

    Improvements

    1. Do not check for updates in the repository if a check has been made in the last 60 seconds. This is to prevent the annoying check for update on every page switch or load.
    2. No need to maintain an in-memory etag storage, and use the one stored in techdocs_metadata.json file alongside generated docs.

    New feature

    1. You can now use a mix of basic and recommended setup i.e. techdocs.builder is 'local' but using an external cloud storage instead of local storage. Previously, in this setup, the docs would never get updated.
  • Updated dependencies [8686eb3]

  • Updated dependencies [0434853]

  • Updated dependencies [8686eb3]

@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

  • 010aed7: Add AnnotateScmSlugEntityProcessor that automatically adds the
    github.com/project-slug annotation for components coming from GitHub.

    The processor is optional and not automatically registered in the catalog
    builder. To add it to your instance, add it to your CatalogBuilder using
    addProcessor():

    const builder = new CatalogBuilder(env);
    builder.addProcessor(AnnotateScmSlugEntityProcessor.fromConfig(env.config));
  • 4bc98a5: Refactor CodeOwnersProcessor to use ScmIntegrations

  • d2f4efc: Add location to thrown exception when parsing YAML

  • 8686eb3: Use errors from @backstage/errors

  • Updated dependencies [8686eb3]

  • Updated dependencies [0434853]

  • Updated dependencies [8686eb3]

@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

  • 34e6bb4: Map description in API RadarEntry to Entry

    The description in the Entry was mapped to the latest timeline entry, which is a changelog. This
    change maps the description in the API to the entry. To maintain backwards compatibility it
    will set the description to the last timeline entry if no description exists at the entry level.

  • b56815b: Fixes issue where radar description dialog is not shown when the entry has an url external to the radar page

  • Updated dependencies [8686eb3]

  • Updated dependencies [9ca0e40]

  • Updated dependencies [34ff49b]

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

  • e7baa0d: Separate techdocs-backend and frontend config schema declarations

  • 8686eb3: Use errors from @backstage/errors

  • 424742d: Applies only if you use TechDocs local builder instead of building on CI/CD i.e. if techdocs.builder in your app-config.yaml is set to 'local'

    Improvements

    1. Do not check for updates in the repository if a check has been made in the last 60 seconds. This is to prevent the annoying check for update on every page switch or load.
    2. No need to maintain an in-memory etag storage, and use the one stored in techdocs_metadata.json file alongside generated docs.

    New feature

    1. You can now use a mix of basic and recommended setup i.e. techdocs.builder is 'local' but using an external cloud storage instead of local storage. Previously, in this setup, the docs would never get updated.
  • Updated dependencies [8686eb3]

  • Updated dependencies [0434853]

  • Updated dependencies [8686eb3]

  • Updated dependencies [424742d]

  • Updated dependencies [8686eb3]

@backstage/[email protected]

Patch Changes

@backstage/[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

@MarceloLeite2604 MarceloLeite2604 force-pushed the changeset-release/master branch from aa7da62 to 7a8a019 Compare April 7, 2021 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant