From cf187484bf44cb93dcd8ea7a9b8c548f77b8db6c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 10 Dec 2020 11:25:39 +0000 Subject: [PATCH] Version Packages --- .changeset/brave-zoos-fail.md | 5 - .changeset/breezy-chefs-report.md | 5 - .changeset/calm-icons-jump.md | 23 --- .changeset/chatty-pens-bathe.md | 65 -------- .../cost-insights-quick-lizards-smash.md | 7 - .changeset/cost-insights-wet-walls-jog.md | 5 - .changeset/cost-insights-wild-pumpkins-tie.md | 5 - .changeset/dull-dingos-dream.md | 5 - .changeset/eighty-queens-explode.md | 5 - .changeset/fast-frogs-wave.md | 5 - .changeset/five-lies-smile.md | 8 - .changeset/flat-flowers-learn.md | 5 - .changeset/fluffy-pillows-smile.md | 5 - .changeset/friendly-news-know.md | 5 - .changeset/great-spiders-repair.md | 6 - .changeset/grumpy-meals-wink.md | 5 - .changeset/grumpy-toys-live.md | 5 - .changeset/late-tomatoes-sleep.md | 13 -- .changeset/lazy-beans-search.md | 6 - .changeset/nine-forks-sleep.md | 5 - .changeset/perfect-donkeys-hope.md | 5 - .changeset/poor-spies-grin.md | 5 - .changeset/popular-flies-swim.md | 6 - .changeset/purple-ghosts-attack.md | 5 - .changeset/purple-radios-complain.md | 11 -- .changeset/rare-cooks-tan.md | 5 - .changeset/rare-lemons-hug.md | 83 ---------- .changeset/red-worms-fold.md | 9 -- .changeset/seven-tigers-mate.md | 5 - .changeset/seven-tips-begin.md | 13 -- .changeset/seven-tips-more.md | 136 ---------------- .changeset/shaggy-camels-remain.md | 8 - .changeset/silent-boxes-exercise.md | 8 - .changeset/silly-kiwis-rest.md | 6 - .changeset/small-comics-cover.md | 5 - .changeset/tall-hairs-switch.md | 5 - .changeset/unlucky-kiwis-rescue.md | 14 -- .changeset/violet-windows-run.md | 5 - .changeset/witty-rabbits-smell.md | 5 - packages/app/CHANGELOG.md | 61 +++++++ packages/app/package.json | 64 ++++---- packages/backend-common/CHANGELOG.md | 94 +++++++++++ packages/backend-common/package.json | 10 +- packages/backend/CHANGELOG.md | 29 ++++ packages/backend/package.json | 30 ++-- packages/catalog-client/CHANGELOG.md | 10 ++ packages/catalog-client/package.json | 8 +- packages/catalog-model/CHANGELOG.md | 14 ++ packages/catalog-model/package.json | 6 +- packages/cli/CHANGELOG.md | 11 ++ packages/cli/package.json | 16 +- packages/config/CHANGELOG.md | 8 + packages/config/package.json | 2 +- packages/core-api/CHANGELOG.md | 37 +++++ packages/core-api/package.json | 10 +- packages/core/CHANGELOG.md | 29 ++++ packages/core/package.json | 12 +- packages/create-app/CHANGELOG.md | 149 ++++++++++++++++++ packages/create-app/package.json | 52 +++--- packages/dev-utils/CHANGELOG.md | 34 ++++ packages/dev-utils/package.json | 10 +- packages/integration/CHANGELOG.md | 10 ++ packages/integration/package.json | 6 +- packages/test-utils/CHANGELOG.md | 11 ++ packages/test-utils/package.json | 8 +- packages/theme/CHANGELOG.md | 6 + packages/theme/package.json | 4 +- plugins/api-docs/CHANGELOG.md | 28 ++++ plugins/api-docs/package.json | 16 +- plugins/app-backend/CHANGELOG.md | 11 ++ plugins/app-backend/package.json | 8 +- plugins/auth-backend/CHANGELOG.md | 14 ++ plugins/auth-backend/package.json | 12 +- plugins/catalog-backend/CHANGELOG.md | 23 +++ plugins/catalog-backend/package.json | 12 +- plugins/catalog-graphql/CHANGELOG.md | 13 ++ plugins/catalog-graphql/package.json | 12 +- plugins/catalog-import/CHANGELOG.md | 23 +++ plugins/catalog-import/package.json | 18 +-- plugins/catalog/CHANGELOG.md | 19 +++ plugins/catalog/package.json | 20 +-- plugins/circleci/CHANGELOG.md | 20 +++ plugins/circleci/package.json | 16 +- plugins/cloudbuild/CHANGELOG.md | 16 ++ plugins/cloudbuild/package.json | 16 +- plugins/cost-insights/CHANGELOG.md | 27 ++++ plugins/cost-insights/package.json | 16 +- plugins/explore/CHANGELOG.md | 12 ++ plugins/explore/package.json | 12 +- plugins/gcp-projects/CHANGELOG.md | 12 ++ plugins/gcp-projects/package.json | 12 +- plugins/github-actions/CHANGELOG.md | 19 +++ plugins/github-actions/package.json | 18 +-- plugins/gitops-profiles/CHANGELOG.md | 12 ++ plugins/gitops-profiles/package.json | 12 +- plugins/graphiql/CHANGELOG.md | 12 ++ plugins/graphiql/package.json | 12 +- plugins/graphql/CHANGELOG.md | 12 ++ plugins/graphql/package.json | 10 +- plugins/jenkins/CHANGELOG.md | 28 ++++ plugins/jenkins/package.json | 16 +- plugins/kubernetes-backend/CHANGELOG.md | 13 ++ plugins/kubernetes-backend/package.json | 10 +- plugins/kubernetes/CHANGELOG.md | 18 +++ plugins/kubernetes/package.json | 18 +-- plugins/lighthouse/CHANGELOG.md | 22 +++ plugins/lighthouse/package.json | 20 +-- plugins/newrelic/CHANGELOG.md | 12 ++ plugins/newrelic/package.json | 12 +- plugins/org/CHANGELOG.md | 18 +++ plugins/org/package.json | 16 +- plugins/pagerduty/CHANGELOG.md | 16 ++ plugins/pagerduty/package.json | 14 +- plugins/proxy-backend/CHANGELOG.md | 11 ++ plugins/proxy-backend/package.json | 8 +- plugins/register-component/CHANGELOG.md | 16 ++ plugins/register-component/package.json | 16 +- plugins/rollbar-backend/CHANGELOG.md | 11 ++ plugins/rollbar-backend/package.json | 8 +- plugins/rollbar/CHANGELOG.md | 16 ++ plugins/rollbar/package.json | 16 +- plugins/scaffolder-backend/CHANGELOG.md | 14 ++ plugins/scaffolder-backend/package.json | 10 +- plugins/scaffolder/CHANGELOG.md | 16 ++ plugins/scaffolder/package.json | 16 +- plugins/search/CHANGELOG.md | 17 ++ plugins/search/package.json | 16 +- plugins/sentry-backend/CHANGELOG.md | 71 +++++++++ plugins/sentry-backend/package.json | 6 +- plugins/sentry/CHANGELOG.md | 77 +++++++++ plugins/sentry/package.json | 14 +- plugins/sonarqube/CHANGELOG.md | 14 ++ plugins/sonarqube/package.json | 14 +- plugins/tech-radar/CHANGELOG.md | 14 ++ plugins/tech-radar/package.json | 14 +- plugins/techdocs-backend/CHANGELOG.md | 14 ++ plugins/techdocs-backend/package.json | 10 +- plugins/techdocs/CHANGELOG.md | 26 +++ plugins/techdocs/package.json | 20 +-- plugins/user-settings/CHANGELOG.md | 12 ++ plugins/user-settings/package.json | 12 +- plugins/welcome/CHANGELOG.md | 12 ++ plugins/welcome/package.json | 12 +- 143 files changed, 1623 insertions(+), 911 deletions(-) delete mode 100644 .changeset/brave-zoos-fail.md delete mode 100644 .changeset/breezy-chefs-report.md delete mode 100644 .changeset/calm-icons-jump.md delete mode 100644 .changeset/chatty-pens-bathe.md delete mode 100644 .changeset/cost-insights-quick-lizards-smash.md delete mode 100644 .changeset/cost-insights-wet-walls-jog.md delete mode 100644 .changeset/cost-insights-wild-pumpkins-tie.md delete mode 100644 .changeset/dull-dingos-dream.md delete mode 100644 .changeset/eighty-queens-explode.md delete mode 100644 .changeset/fast-frogs-wave.md delete mode 100644 .changeset/five-lies-smile.md delete mode 100644 .changeset/flat-flowers-learn.md delete mode 100644 .changeset/fluffy-pillows-smile.md delete mode 100644 .changeset/friendly-news-know.md delete mode 100644 .changeset/great-spiders-repair.md delete mode 100644 .changeset/grumpy-meals-wink.md delete mode 100644 .changeset/grumpy-toys-live.md delete mode 100644 .changeset/late-tomatoes-sleep.md delete mode 100644 .changeset/lazy-beans-search.md delete mode 100644 .changeset/nine-forks-sleep.md delete mode 100644 .changeset/perfect-donkeys-hope.md delete mode 100644 .changeset/poor-spies-grin.md delete mode 100644 .changeset/popular-flies-swim.md delete mode 100644 .changeset/purple-ghosts-attack.md delete mode 100644 .changeset/purple-radios-complain.md delete mode 100644 .changeset/rare-cooks-tan.md delete mode 100644 .changeset/rare-lemons-hug.md delete mode 100644 .changeset/red-worms-fold.md delete mode 100644 .changeset/seven-tigers-mate.md delete mode 100644 .changeset/seven-tips-begin.md delete mode 100644 .changeset/seven-tips-more.md delete mode 100644 .changeset/shaggy-camels-remain.md delete mode 100644 .changeset/silent-boxes-exercise.md delete mode 100644 .changeset/silly-kiwis-rest.md delete mode 100644 .changeset/small-comics-cover.md delete mode 100644 .changeset/tall-hairs-switch.md delete mode 100644 .changeset/unlucky-kiwis-rescue.md delete mode 100644 .changeset/violet-windows-run.md delete mode 100644 .changeset/witty-rabbits-smell.md create mode 100644 packages/config/CHANGELOG.md create mode 100644 plugins/org/CHANGELOG.md create mode 100644 plugins/pagerduty/CHANGELOG.md diff --git a/.changeset/brave-zoos-fail.md b/.changeset/brave-zoos-fail.md deleted file mode 100644 index 3d24215cac..0000000000 --- a/.changeset/brave-zoos-fail.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@backstage/plugin-jenkins': patch ---- - -Avoid loading data from Jenkins twice. Don't load data when navigating through the pages as all data from all pages is already loaded. diff --git a/.changeset/breezy-chefs-report.md b/.changeset/breezy-chefs-report.md deleted file mode 100644 index baaec3021f..0000000000 --- a/.changeset/breezy-chefs-report.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@backstage/plugin-catalog-backend': patch ---- - -leave unknown placeholder-lookalikes untouched in the catalog processing loop diff --git a/.changeset/calm-icons-jump.md b/.changeset/calm-icons-jump.md deleted file mode 100644 index 16054a80e6..0000000000 --- a/.changeset/calm-icons-jump.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@backstage/core-api': patch -'@backstage/dev-utils': patch ---- - -Update ApiFactory type to correctly infer API type and disallow mismatched implementations. - -This fixes for example the following code: - -```ts -interface MyApi { - myMethod(): void -} - -const myApiRef = createApiRef({...}); - -createApiFactory({ - api: myApiRef, - deps: {}, - // This should've caused an error, since the empty object does not fully implement MyApi - factory: () => ({}), -}) -``` diff --git a/.changeset/chatty-pens-bathe.md b/.changeset/chatty-pens-bathe.md deleted file mode 100644 index 4ca3378b2e..0000000000 --- a/.changeset/chatty-pens-bathe.md +++ /dev/null @@ -1,65 +0,0 @@ ---- -'@backstage/plugin-sentry': minor -'@backstage/plugin-sentry-backend': minor ---- - -The plugin uses the `proxy-backend` instead of a custom `sentry-backend`. -It requires a proxy configuration: - -`app-config.yaml`: - -```yaml -proxy: - '/sentry/api': - target: https://sentry.io/api/ - allowedMethods: ['GET'] - headers: - Authorization: - $env: SENTRY_TOKEN # export SENTRY_TOKEN="Bearer " -``` - -The `MockApiBackend` is no longer configured by the `NODE_ENV` variable. -Instead, the mock backend can be used with an api-override: - -`packages/app/src/apis.ts`: - -```ts -import { createApiFactory } from '@backstage/core'; -import { MockSentryApi, sentryApiRef } from '@backstage/plugin-sentry'; - -export const apis = [ - // ... - - createApiFactory(sentryApiRef, new MockSentryApi()), -]; -``` - -If you already use the Sentry backend, you must remove it from the backend: - -Delete `packages/backend/src/plugins/sentry.ts`. - -```diff -# packages/backend/package.json - -... - "@backstage/plugin-scaffolder-backend": "^0.3.2", -- "@backstage/plugin-sentry-backend": "^0.1.3", - "@backstage/plugin-techdocs-backend": "^0.3.0", -... -``` - -```diff -// packages/backend/src/index.html - - const apiRouter = Router(); - apiRouter.use('/catalog', await catalog(catalogEnv)); - apiRouter.use('/rollbar', await rollbar(rollbarEnv)); - apiRouter.use('/scaffolder', await scaffolder(scaffolderEnv)); -- apiRouter.use('/sentry', await sentry(sentryEnv)); - apiRouter.use('/auth', await auth(authEnv)); - apiRouter.use('/techdocs', await techdocs(techdocsEnv)); - apiRouter.use('/kubernetes', await kubernetes(kubernetesEnv)); - apiRouter.use('/proxy', await proxy(proxyEnv)); - apiRouter.use('/graphql', await graphql(graphqlEnv)); - apiRouter.use(notFoundHandler()); -``` diff --git a/.changeset/cost-insights-quick-lizards-smash.md b/.changeset/cost-insights-quick-lizards-smash.md deleted file mode 100644 index eae60fc744..0000000000 --- a/.changeset/cost-insights-quick-lizards-smash.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@backstage/plugin-cost-insights': minor ---- - -Add support for multiple types of entity cost breakdown. - -This change is backwards-incompatible with plugin-cost-insights 0.3.x; the `entities` field on Entity returned in product cost queries changed from `Entity[]` to `Record prom.register.clear()); - - return promBundle({ - includeMethod: true, - includePath: true, - // Using includePath alone is problematic, as it will include path labels with high - // cardinality (e.g. path params). Instead we would have to template them. However, this - // is difficult, as every backend plugin might use different routes. Instead we only take - // the first directory of the path, to have at least an idea how each plugin performs: - normalizePath, - promClient: { collectDefaultMetrics: {} }, - }); -} -``` - -Last, extend your router configuration with the `metricsHandler`: - -```diff -+import { metricsHandler } from './metrics'; - -... - - const service = createServiceBuilder(module) - .loadConfig(config) - .addRouter('', await healthcheck(healthcheckEnv)) -+ .addRouter('', metricsHandler()) - .addRouter('/api', apiRouter); -``` - -Your Prometheus metrics will be available at the `/metrics` endpoint. diff --git a/.changeset/red-worms-fold.md b/.changeset/red-worms-fold.md deleted file mode 100644 index 41dcc75c4c..0000000000 --- a/.changeset/red-worms-fold.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@backstage/core-api': patch ---- - -Deprecated the `ConcreteRoute`, `MutableRouteRef`, `AbsoluteRouteRef` types and added a new `RouteRef` type as replacement. - -Deprecated and disabled the `createSubRoute` method of `AbsoluteRouteRef`. - -Add an as of yet unused `params` option to `createRouteRef`. diff --git a/.changeset/seven-tigers-mate.md b/.changeset/seven-tigers-mate.md deleted file mode 100644 index c48bcf649a..0000000000 --- a/.changeset/seven-tigers-mate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@backstage/plugin-catalog-backend': patch ---- - -Fix string template literal diff --git a/.changeset/seven-tips-begin.md b/.changeset/seven-tips-begin.md deleted file mode 100644 index 5609315144..0000000000 --- a/.changeset/seven-tips-begin.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -'@backstage/plugin-api-docs': minor ---- - -Stop exposing a custom router from the `api-docs` plugin. Instead, use the -widgets exported by the plugin to compose your custom entity pages. - -Instead of displaying the API definitions directly in the API tab of the -component, it now contains tables linking to the API entities. This also adds -new widgets to display relationships (bot provides & consumes relationships) -between components and APIs. - -See the changelog of `create-app` for a migration guide. diff --git a/.changeset/seven-tips-more.md b/.changeset/seven-tips-more.md deleted file mode 100644 index 9a6c4855c3..0000000000 --- a/.changeset/seven-tips-more.md +++ /dev/null @@ -1,136 +0,0 @@ ---- -'@backstage/create-app': patch ---- - -Adjust template to the latest changes in the `api-docs` plugin. - -## Template Changes - -While updating to the latest `api-docs` plugin, the following changes are -necessary for the `create-app` template in your -`app/src/components/catalog/EntityPage.tsx`. This adds: - -- A custom entity page for API entities -- Changes the API tab to include the new `ConsumedApisCard` and - `ProvidedApisCard` that link to the API entity. - -```diff - import { -+ ApiDefinitionCard, -- Router as ApiDocsRouter, -+ ConsumedApisCard, -+ ProvidedApisCard, -+ ConsumedApisCard, -+ ConsumingComponentsCard, -+ ProvidedApisCard, -+ ProvidingComponentsCard - } from '@backstage/plugin-api-docs'; - -... - -+const ComponentApisContent = ({ entity }: { entity: Entity }) => ( -+ -+ -+ -+ -+ -+ -+ -+ -+); - - const ServiceEntityPage = ({ entity }: { entity: Entity }) => ( - - } - /> - } - /> - } -+ element={} - /> -... - --export const EntityPage = () => { -- const { entity } = useEntity(); -- switch (entity?.spec?.type) { -- case 'service': -- return ; -- case 'website': -- return ; -- default: -- return ; -- } --}; - -+export const ComponentEntityPage = ({ entity }: { entity: Entity }) => { -+ switch (entity?.spec?.type) { -+ case 'service': -+ return ; -+ case 'website': -+ return ; -+ default: -+ return ; -+ } -+}; -+ -+const ApiOverviewContent = ({ entity }: { entity: Entity }) => ( -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+ -+); -+ -+const ApiDefinitionContent = ({ entity }: { entity: ApiEntity }) => ( -+ -+ -+ -+ -+ -+); -+ -+const ApiEntityPage = ({ entity }: { entity: Entity }) => ( -+ -+ } -+ /> -+ } -+ /> -+ -+); -+ -+export const EntityPage = () => { -+ const { entity } = useEntity(); -+ -+ switch (entity?.kind?.toLowerCase()) { -+ case 'component': -+ return ; -+ case 'api': -+ return ; -+ default: -+ return ; -+ } -+}; -``` diff --git a/.changeset/shaggy-camels-remain.md b/.changeset/shaggy-camels-remain.md deleted file mode 100644 index f1c4e17643..0000000000 --- a/.changeset/shaggy-camels-remain.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'example-backend': patch -'@backstage/plugin-scaffolder-backend': patch -'@backstage/plugin-techdocs-backend': patch -'@backstage/create-app': patch ---- - -Unify `dockerode` library and type dependency versions diff --git a/.changeset/silent-boxes-exercise.md b/.changeset/silent-boxes-exercise.md deleted file mode 100644 index 0d2003cec9..0000000000 --- a/.changeset/silent-boxes-exercise.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@backstage/catalog-model': minor -'@backstage/plugin-catalog-backend': minor ---- - -Remove the deprecated fields `ancestors` and `descendants` from the `Group` entity. - -See https://github.com/backstage/backstage/issues/3049 and the PRs linked from it for details. diff --git a/.changeset/silly-kiwis-rest.md b/.changeset/silly-kiwis-rest.md deleted file mode 100644 index acb0d79bb2..0000000000 --- a/.changeset/silly-kiwis-rest.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@backstage/plugin-techdocs': minor ---- - -Removed modifyCss transformer and moved the css to injectCss transformer -Fixed issue where some internal doc links would cause a reload of the page diff --git a/.changeset/small-comics-cover.md b/.changeset/small-comics-cover.md deleted file mode 100644 index 90fa15593d..0000000000 --- a/.changeset/small-comics-cover.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@backstage/theme': patch ---- - -Add a little more padding in dense tables diff --git a/.changeset/tall-hairs-switch.md b/.changeset/tall-hairs-switch.md deleted file mode 100644 index 2a2f915a6c..0000000000 --- a/.changeset/tall-hairs-switch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@backstage/core': patch ---- - -Export the `defaultConfigLoader` implementation diff --git a/.changeset/unlucky-kiwis-rescue.md b/.changeset/unlucky-kiwis-rescue.md deleted file mode 100644 index 71afaeb44a..0000000000 --- a/.changeset/unlucky-kiwis-rescue.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -'@backstage/core': minor ---- - -Introducing a new optional property within `app-config.yaml` called `auth.environment` to have configurable environment value for `auth.providers` - -**Default Value:** 'development' - -**Optional Values:** 'production' | 'development' - -**Migration-steps:** - -- To override the default value, one could simply introduce the new property `environment` within the `auth` section of the `config.yaml` -- re-run the build to reflect the changed configs diff --git a/.changeset/violet-windows-run.md b/.changeset/violet-windows-run.md deleted file mode 100644 index 5f385d4dfe..0000000000 --- a/.changeset/violet-windows-run.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@backstage/config': patch ---- - -Fix useless conditional diff --git a/.changeset/witty-rabbits-smell.md b/.changeset/witty-rabbits-smell.md deleted file mode 100644 index fbe2234b45..0000000000 --- a/.changeset/witty-rabbits-smell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@backstage/plugin-org': patch ---- - -Support transitive ownerships of users and groups. diff --git a/packages/app/CHANGELOG.md b/packages/app/CHANGELOG.md index 1b6e5cf1e0..03958c831c 100644 --- a/packages/app/CHANGELOG.md +++ b/packages/app/CHANGELOG.md @@ -1,5 +1,66 @@ # example-app +## 0.2.6 + +### Patch Changes + +- Updated dependencies [b2a07d2dc] +- Updated dependencies [075d3dc5a] +- Updated dependencies [e3071a0d4] +- Updated dependencies [d6e8099ed] +- Updated dependencies [88ef11b45] +- Updated dependencies [06dbe707b] +- Updated dependencies [2527628e1] +- Updated dependencies [011708102] +- Updated dependencies [04efbbdd2] +- Updated dependencies [90458fed6] +- Updated dependencies [6011b7d3e] +- Updated dependencies [79418ddb6] +- Updated dependencies [d2938af4c] +- Updated dependencies [61897fb2c] +- Updated dependencies [e1f4e24ef] +- Updated dependencies [6a0d7a9fb] +- Updated dependencies [0f8877168] +- Updated dependencies [1c69d4716] +- Updated dependencies [246799c7f] +- Updated dependencies [83b6e0c1f] +- Updated dependencies [87a33d2fe] +- Updated dependencies [1665ae8bb] +- Updated dependencies [04f26f88d] +- Updated dependencies [ff243ce96] +- Updated dependencies [2b71db211] + - @backstage/plugin-jenkins@0.3.3 + - @backstage/plugin-sentry@0.3.0 + - @backstage/plugin-cost-insights@0.5.0 + - @backstage/cli@0.4.1 + - @backstage/core@0.4.0 + - @backstage/plugin-circleci@0.2.4 + - @backstage/plugin-catalog@0.2.6 + - @backstage/plugin-pagerduty@0.2.2 + - @backstage/plugin-catalog-import@0.3.1 + - @backstage/test-utils@0.1.5 + - @backstage/plugin-search@0.2.3 + - @backstage/plugin-api-docs@0.4.0 + - @backstage/catalog-model@0.5.0 + - @backstage/plugin-techdocs@0.4.0 + - @backstage/theme@0.2.2 + - @backstage/plugin-org@0.3.1 + - @backstage/plugin-cloudbuild@0.2.4 + - @backstage/plugin-explore@0.2.2 + - @backstage/plugin-gcp-projects@0.2.2 + - @backstage/plugin-github-actions@0.2.4 + - @backstage/plugin-gitops-profiles@0.2.2 + - @backstage/plugin-graphiql@0.2.2 + - @backstage/plugin-kubernetes@0.3.2 + - @backstage/plugin-lighthouse@0.2.5 + - @backstage/plugin-newrelic@0.2.2 + - @backstage/plugin-register-component@0.2.4 + - @backstage/plugin-rollbar@0.2.6 + - @backstage/plugin-scaffolder@0.3.3 + - @backstage/plugin-tech-radar@0.3.1 + - @backstage/plugin-user-settings@0.2.3 + - @backstage/plugin-welcome@0.2.3 + ## 0.2.5 ### Patch Changes diff --git a/packages/app/package.json b/packages/app/package.json index d46ce8b439..9d05ae659a 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -1,40 +1,40 @@ { "name": "example-app", - "version": "0.2.5", + "version": "0.2.6", "private": true, "bundled": true, "dependencies": { - "@backstage/catalog-model": "^0.4.0", - "@backstage/cli": "^0.4.0", - "@backstage/core": "^0.3.2", - "@backstage/plugin-api-docs": "^0.3.1", - "@backstage/plugin-catalog": "^0.2.5", - "@backstage/plugin-catalog-import": "^0.3.0", - "@backstage/plugin-circleci": "^0.2.3", - "@backstage/plugin-cloudbuild": "^0.2.3", - "@backstage/plugin-cost-insights": "^0.4.2", - "@backstage/plugin-explore": "^0.2.1", - "@backstage/plugin-gcp-projects": "^0.2.1", - "@backstage/plugin-github-actions": "^0.2.3", - "@backstage/plugin-gitops-profiles": "^0.2.1", - "@backstage/plugin-graphiql": "^0.2.1", - "@backstage/plugin-org": "^0.3.0", - "@backstage/plugin-jenkins": "^0.3.2", - "@backstage/plugin-kubernetes": "^0.3.1", - "@backstage/plugin-lighthouse": "^0.2.4", - "@backstage/plugin-newrelic": "^0.2.1", - "@backstage/plugin-pagerduty": "0.2.1", - "@backstage/plugin-register-component": "^0.2.3", - "@backstage/plugin-rollbar": "^0.2.5", - "@backstage/plugin-scaffolder": "^0.3.2", - "@backstage/plugin-sentry": "^0.2.4", - "@backstage/plugin-search": "^0.2.2", - "@backstage/plugin-tech-radar": "^0.3.0", - "@backstage/plugin-techdocs": "^0.3.1", - "@backstage/plugin-user-settings": "^0.2.2", - "@backstage/plugin-welcome": "^0.2.2", - "@backstage/test-utils": "^0.1.4", - "@backstage/theme": "^0.2.1", + "@backstage/catalog-model": "^0.5.0", + "@backstage/cli": "^0.4.1", + "@backstage/core": "^0.4.0", + "@backstage/plugin-api-docs": "^0.4.0", + "@backstage/plugin-catalog": "^0.2.6", + "@backstage/plugin-catalog-import": "^0.3.1", + "@backstage/plugin-circleci": "^0.2.4", + "@backstage/plugin-cloudbuild": "^0.2.4", + "@backstage/plugin-cost-insights": "^0.5.0", + "@backstage/plugin-explore": "^0.2.2", + "@backstage/plugin-gcp-projects": "^0.2.2", + "@backstage/plugin-github-actions": "^0.2.4", + "@backstage/plugin-gitops-profiles": "^0.2.2", + "@backstage/plugin-graphiql": "^0.2.2", + "@backstage/plugin-org": "^0.3.1", + "@backstage/plugin-jenkins": "^0.3.3", + "@backstage/plugin-kubernetes": "^0.3.2", + "@backstage/plugin-lighthouse": "^0.2.5", + "@backstage/plugin-newrelic": "^0.2.2", + "@backstage/plugin-pagerduty": "0.2.2", + "@backstage/plugin-register-component": "^0.2.4", + "@backstage/plugin-rollbar": "^0.2.6", + "@backstage/plugin-scaffolder": "^0.3.3", + "@backstage/plugin-sentry": "^0.3.0", + "@backstage/plugin-search": "^0.2.3", + "@backstage/plugin-tech-radar": "^0.3.1", + "@backstage/plugin-techdocs": "^0.4.0", + "@backstage/plugin-user-settings": "^0.2.3", + "@backstage/plugin-welcome": "^0.2.3", + "@backstage/test-utils": "^0.1.5", + "@backstage/theme": "^0.2.2", "@material-ui/core": "^4.11.0", "@material-ui/icons": "^4.9.1", "@octokit/rest": "^18.0.0", diff --git a/packages/backend-common/CHANGELOG.md b/packages/backend-common/CHANGELOG.md index 0c3741ec84..702b1dcbf2 100644 --- a/packages/backend-common/CHANGELOG.md +++ b/packages/backend-common/CHANGELOG.md @@ -1,5 +1,99 @@ # @backstage/backend-common +## 0.4.0 + +### Minor Changes + +- 12bbd748c: Removes the Prometheus integration from `backend-common`. + + Rational behind this change is to keep the metrics integration of Backstage + generic. Instead of directly relying on Prometheus, Backstage will expose + metrics in a generic way. Integrators can then export the metrics in their + desired format. For example using Prometheus. + + To keep the existing behavior, you need to integrate Prometheus in your + backend: + + First, add a dependency on `express-prom-bundle` and `prom-client` to your backend. + + ```diff + // packages/backend/package.json + "dependencies": { + + "express-prom-bundle": "^6.1.0", + + "prom-client": "^12.0.0", + ``` + + Then, add a handler for metrics and a simple instrumentation for the endpoints. + + ```typescript + // packages/backend/src/metrics.ts + import { useHotCleanup } from '@backstage/backend-common'; + import { RequestHandler } from 'express'; + import promBundle from 'express-prom-bundle'; + import prom from 'prom-client'; + import * as url from 'url'; + + const rootRegEx = new RegExp('^/([^/]*)/.*'); + const apiRegEx = new RegExp('^/api/([^/]*)/.*'); + + export function normalizePath(req: any): string { + const path = url.parse(req.originalUrl || req.url).pathname || '/'; + + // Capture /api/ and the plugin name + if (apiRegEx.test(path)) { + return path.replace(apiRegEx, '/api/$1'); + } + + // Only the first path segment at root level + return path.replace(rootRegEx, '/$1'); + } + + /** + * Adds a /metrics endpoint, register default runtime metrics and instrument the router. + */ + export function metricsHandler(): RequestHandler { + // We can only initialize the metrics once and have to clean them up between hot reloads + useHotCleanup(module, () => prom.register.clear()); + + return promBundle({ + includeMethod: true, + includePath: true, + // Using includePath alone is problematic, as it will include path labels with high + // cardinality (e.g. path params). Instead we would have to template them. However, this + // is difficult, as every backend plugin might use different routes. Instead we only take + // the first directory of the path, to have at least an idea how each plugin performs: + normalizePath, + promClient: { collectDefaultMetrics: {} }, + }); + } + ``` + + Last, extend your router configuration with the `metricsHandler`: + + ```diff + +import { metricsHandler } from './metrics'; + + ... + + const service = createServiceBuilder(module) + .loadConfig(config) + .addRouter('', await healthcheck(healthcheckEnv)) + + .addRouter('', metricsHandler()) + .addRouter('/api', apiRouter); + ``` + + Your Prometheus metrics will be available at the `/metrics` endpoint. + +### Patch Changes + +- 38e24db00: Move the core url and auth logic to integration for the four major providers +- Updated dependencies [38e24db00] +- Updated dependencies [b8ecf6f48] +- Updated dependencies [e3bd9fc2f] +- Updated dependencies [e3bd9fc2f] + - @backstage/integration@0.1.3 + - @backstage/config@0.1.2 + ## 0.3.3 ### Patch Changes diff --git a/packages/backend-common/package.json b/packages/backend-common/package.json index 13b827762c..02b7e6e836 100644 --- a/packages/backend-common/package.json +++ b/packages/backend-common/package.json @@ -1,7 +1,7 @@ { "name": "@backstage/backend-common", "description": "Common functionality library for Backstage backends", - "version": "0.3.3", + "version": "0.4.0", "main": "src/index.ts", "types": "src/index.ts", "private": false, @@ -30,9 +30,9 @@ }, "dependencies": { "@backstage/cli-common": "^0.1.1", - "@backstage/config": "^0.1.1", + "@backstage/config": "^0.1.2", "@backstage/config-loader": "^0.4.0", - "@backstage/integration": "^0.1.2", + "@backstage/integration": "^0.1.3", "@types/cors": "^2.8.6", "@types/express": "^4.17.6", "archiver": "^5.0.2", @@ -65,8 +65,8 @@ } }, "devDependencies": { - "@backstage/cli": "^0.4.0", - "@backstage/test-utils": "^0.1.4", + "@backstage/cli": "^0.4.1", + "@backstage/test-utils": "^0.1.5", "@types/archiver": "^3.1.1", "@types/compression": "^1.7.0", "@types/concat-stream": "^1.6.0", diff --git a/packages/backend/CHANGELOG.md b/packages/backend/CHANGELOG.md index 838ca7d302..d0a8f4112a 100644 --- a/packages/backend/CHANGELOG.md +++ b/packages/backend/CHANGELOG.md @@ -1,5 +1,34 @@ # example-backend +## 0.2.6 + +### Patch Changes + +- 1e22f8e0b: Unify `dockerode` library and type dependency versions +- Updated dependencies [6e8bb3ac0] +- Updated dependencies [e708679d7] +- Updated dependencies [047c018c9] +- Updated dependencies [38e24db00] +- Updated dependencies [e3bd9fc2f] +- Updated dependencies [12bbd748c] +- Updated dependencies [38d63fbe1] +- Updated dependencies [1e22f8e0b] +- Updated dependencies [83b6e0c1f] +- Updated dependencies [e3bd9fc2f] + - @backstage/plugin-catalog-backend@0.4.0 + - @backstage/backend-common@0.4.0 + - @backstage/config@0.1.2 + - @backstage/plugin-scaffolder-backend@0.3.4 + - @backstage/plugin-techdocs-backend@0.3.2 + - @backstage/catalog-model@0.5.0 + - example-app@0.2.6 + - @backstage/plugin-app-backend@0.3.3 + - @backstage/plugin-auth-backend@0.2.6 + - @backstage/plugin-graphql-backend@0.1.4 + - @backstage/plugin-kubernetes-backend@0.2.2 + - @backstage/plugin-proxy-backend@0.2.3 + - @backstage/plugin-rollbar-backend@0.1.5 + ## 0.2.5 ### Patch Changes diff --git a/packages/backend/package.json b/packages/backend/package.json index 9b0ae65eed..74b459d691 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -1,6 +1,6 @@ { "name": "example-backend", - "version": "0.2.5", + "version": "0.2.6", "main": "dist/index.cjs.js", "types": "src/index.ts", "license": "Apache-2.0", @@ -27,23 +27,23 @@ "migrate:create": "knex migrate:make -x ts" }, "dependencies": { - "@backstage/backend-common": "^0.3.3", - "@backstage/catalog-model": "^0.4.0", - "@backstage/config": "^0.1.1", - "@backstage/plugin-app-backend": "^0.3.2", - "@backstage/plugin-auth-backend": "^0.2.5", - "@backstage/plugin-catalog-backend": "^0.3.0", - "@backstage/plugin-graphql-backend": "^0.1.3", - "@backstage/plugin-kubernetes-backend": "^0.2.1", - "@backstage/plugin-proxy-backend": "^0.2.2", - "@backstage/plugin-rollbar-backend": "^0.1.4", - "@backstage/plugin-scaffolder-backend": "^0.3.3", - "@backstage/plugin-techdocs-backend": "^0.3.1", + "@backstage/backend-common": "^0.4.0", + "@backstage/catalog-model": "^0.5.0", + "@backstage/config": "^0.1.2", + "@backstage/plugin-app-backend": "^0.3.3", + "@backstage/plugin-auth-backend": "^0.2.6", + "@backstage/plugin-catalog-backend": "^0.4.0", + "@backstage/plugin-graphql-backend": "^0.1.4", + "@backstage/plugin-kubernetes-backend": "^0.2.2", + "@backstage/plugin-proxy-backend": "^0.2.3", + "@backstage/plugin-rollbar-backend": "^0.1.5", + "@backstage/plugin-scaffolder-backend": "^0.3.4", + "@backstage/plugin-techdocs-backend": "^0.3.2", "@gitbeaker/node": "^25.2.0", "@octokit/rest": "^18.0.0", "azure-devops-node-api": "^10.1.1", "dockerode": "^3.2.1", - "example-app": "^0.2.5", + "example-app": "^0.2.6", "express": "^4.17.1", "express-promise-router": "^3.0.3", "knex": "^0.21.6", @@ -53,7 +53,7 @@ "winston": "^3.2.1" }, "devDependencies": { - "@backstage/cli": "^0.4.0", + "@backstage/cli": "^0.4.1", "@types/dockerode": "^3.2.1", "@types/express": "^4.17.6", "@types/express-serve-static-core": "^4.17.5", diff --git a/packages/catalog-client/CHANGELOG.md b/packages/catalog-client/CHANGELOG.md index 3ea3b496d7..e649db0f22 100644 --- a/packages/catalog-client/CHANGELOG.md +++ b/packages/catalog-client/CHANGELOG.md @@ -1,5 +1,15 @@ # @backstage/catalog-client +## 0.3.3 + +### Patch Changes + +- Updated dependencies [e3bd9fc2f] +- Updated dependencies [83b6e0c1f] +- Updated dependencies [e3bd9fc2f] + - @backstage/config@0.1.2 + - @backstage/catalog-model@0.5.0 + ## 0.3.2 ### Patch Changes diff --git a/packages/catalog-client/package.json b/packages/catalog-client/package.json index 97e2c47422..36500c7c23 100644 --- a/packages/catalog-client/package.json +++ b/packages/catalog-client/package.json @@ -1,6 +1,6 @@ { "name": "@backstage/catalog-client", - "version": "0.3.2", + "version": "0.3.3", "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0", @@ -29,12 +29,12 @@ "clean": "backstage-cli clean" }, "dependencies": { - "@backstage/catalog-model": "^0.4.0", - "@backstage/config": "^0.1.1", + "@backstage/catalog-model": "^0.5.0", + "@backstage/config": "^0.1.2", "cross-fetch": "^3.0.6" }, "devDependencies": { - "@backstage/cli": "^0.4.0", + "@backstage/cli": "^0.4.1", "@types/jest": "^26.0.7", "msw": "^0.21.2" }, diff --git a/packages/catalog-model/CHANGELOG.md b/packages/catalog-model/CHANGELOG.md index be8e4a1d70..7316836a71 100644 --- a/packages/catalog-model/CHANGELOG.md +++ b/packages/catalog-model/CHANGELOG.md @@ -1,5 +1,19 @@ # @backstage/catalog-model +## 0.5.0 + +### Minor Changes + +- 83b6e0c1f: Remove the deprecated fields `ancestors` and `descendants` from the `Group` entity. + + See https://github.com/backstage/backstage/issues/3049 and the PRs linked from it for details. + +### Patch Changes + +- Updated dependencies [e3bd9fc2f] +- Updated dependencies [e3bd9fc2f] + - @backstage/config@0.1.2 + ## 0.4.0 ### Minor Changes diff --git a/packages/catalog-model/package.json b/packages/catalog-model/package.json index 1d06be8054..ad0a2740f7 100644 --- a/packages/catalog-model/package.json +++ b/packages/catalog-model/package.json @@ -1,6 +1,6 @@ { "name": "@backstage/catalog-model", - "version": "0.4.0", + "version": "0.5.0", "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0", @@ -29,7 +29,7 @@ "clean": "backstage-cli clean" }, "dependencies": { - "@backstage/config": "^0.1.1", + "@backstage/config": "^0.1.2", "@types/json-schema": "^7.0.5", "@types/yup": "^0.29.8", "json-schema": "^0.2.5", @@ -38,7 +38,7 @@ "yup": "^0.29.3" }, "devDependencies": { - "@backstage/cli": "^0.4.0", + "@backstage/cli": "^0.4.1", "@types/express": "^4.17.6", "@types/jest": "^26.0.7", "@types/lodash": "^4.14.151", diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index 45214cd1e0..ddf7a7ee76 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,16 @@ # @backstage/cli +## 0.4.1 + +### Patch Changes + +- 06dbe707b: Update experimental backend bundle command to only output archives to `dist/` instead of a full workspace mirror in `dist-workspace/`. +- 011708102: Fixes a big in the bundling logic that caused `node_modules` inside local monorepo packages to be transformed. +- 61897fb2c: Fix config schema for `.app.listen` +- Updated dependencies [e3bd9fc2f] +- Updated dependencies [e3bd9fc2f] + - @backstage/config@0.1.2 + ## 0.4.0 ### Minor Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index a4ddf2e519..a71e4c8b10 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,7 +1,7 @@ { "name": "@backstage/cli", "description": "CLI for developing Backstage plugins and apps", - "version": "0.4.0", + "version": "0.4.1", "private": false, "publishConfig": { "access": "public" @@ -29,7 +29,7 @@ }, "dependencies": { "@backstage/cli-common": "^0.1.1", - "@backstage/config": "^0.1.1", + "@backstage/config": "^0.1.2", "@backstage/config-loader": "^0.4.0", "@hot-loader/react-dom": "^16.13.0", "@lerna/package-graph": "^3.18.5", @@ -111,12 +111,12 @@ "yn": "^4.0.0" }, "devDependencies": { - "@backstage/backend-common": "^0.3.3", - "@backstage/config": "^0.1.1", - "@backstage/core": "^0.3.2", - "@backstage/dev-utils": "^0.1.5", - "@backstage/test-utils": "^0.1.4", - "@backstage/theme": "^0.2.1", + "@backstage/backend-common": "^0.4.0", + "@backstage/config": "^0.1.2", + "@backstage/core": "^0.4.0", + "@backstage/dev-utils": "^0.1.6", + "@backstage/test-utils": "^0.1.5", + "@backstage/theme": "^0.2.2", "@types/diff": "^4.0.2", "@types/fs-extra": "^9.0.1", "@types/html-webpack-plugin": "^3.2.2", diff --git a/packages/config/CHANGELOG.md b/packages/config/CHANGELOG.md new file mode 100644 index 0000000000..06a9d8e4f1 --- /dev/null +++ b/packages/config/CHANGELOG.md @@ -0,0 +1,8 @@ +# @backstage/config + +## 0.1.2 + +### Patch Changes + +- e3bd9fc2f: Fix unneeded defensive code +- e3bd9fc2f: Fix useless conditional diff --git a/packages/config/package.json b/packages/config/package.json index f1ae07ef64..4e6c2f7157 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,7 +1,7 @@ { "name": "@backstage/config", "description": "Config API used by Backstage core, backend, and CLI", - "version": "0.1.1", + "version": "0.1.2", "private": false, "publishConfig": { "access": "public", diff --git a/packages/core-api/CHANGELOG.md b/packages/core-api/CHANGELOG.md index 23f2ba1545..79aa22f481 100644 --- a/packages/core-api/CHANGELOG.md +++ b/packages/core-api/CHANGELOG.md @@ -1,5 +1,42 @@ # @backstage/core-api +## 0.2.5 + +### Patch Changes + +- b6557c098: Update ApiFactory type to correctly infer API type and disallow mismatched implementations. + + This fixes for example the following code: + + ```ts + interface MyApi { + myMethod(): void + } + + const myApiRef = createApiRef({...}); + + createApiFactory({ + api: myApiRef, + deps: {}, + // This should've caused an error, since the empty object does not fully implement MyApi + factory: () => ({}), + }) + ``` + +- d8d5a17da: Deprecated the `ConcreteRoute`, `MutableRouteRef`, `AbsoluteRouteRef` types and added a new `RouteRef` type as replacement. + + Deprecated and disabled the `createSubRoute` method of `AbsoluteRouteRef`. + + Add an as of yet unused `params` option to `createRouteRef`. + +- Updated dependencies [e3bd9fc2f] +- Updated dependencies [e1f4e24ef] +- Updated dependencies [1665ae8bb] +- Updated dependencies [e3bd9fc2f] + - @backstage/config@0.1.2 + - @backstage/test-utils@0.1.5 + - @backstage/theme@0.2.2 + ## 0.2.4 ### Patch Changes diff --git a/packages/core-api/package.json b/packages/core-api/package.json index b1397f2e38..05acadffd5 100644 --- a/packages/core-api/package.json +++ b/packages/core-api/package.json @@ -1,7 +1,7 @@ { "name": "@backstage/core-api", "description": "Internal Core API used by Backstage plugins and apps", - "version": "0.2.4", + "version": "0.2.5", "private": false, "publishConfig": { "access": "public", @@ -29,9 +29,9 @@ "clean": "backstage-cli clean" }, "dependencies": { - "@backstage/config": "^0.1.1", - "@backstage/test-utils": "^0.1.4", - "@backstage/theme": "^0.2.1", + "@backstage/config": "^0.1.2", + "@backstage/test-utils": "^0.1.5", + "@backstage/theme": "^0.2.2", "@material-ui/core": "^4.11.0", "@material-ui/icons": "^4.9.1", "@types/react": "^16.9", @@ -43,7 +43,7 @@ "zen-observable": "^0.8.15" }, "devDependencies": { - "@backstage/cli": "^0.4.0", + "@backstage/cli": "^0.4.1", "@backstage/test-utils-core": "^0.1.1", "@testing-library/jest-dom": "^5.10.1", "@testing-library/react": "^10.4.1", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index cb403685e1..aeb1c961b7 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,34 @@ # @backstage/core +## 0.4.0 + +### Minor Changes + +- ff243ce96: Introducing a new optional property within `app-config.yaml` called `auth.environment` to have configurable environment value for `auth.providers` + + **Default Value:** 'development' + + **Optional Values:** 'production' | 'development' + + **Migration-steps:** + + - To override the default value, one could simply introduce the new property `environment` within the `auth` section of the `config.yaml` + - re-run the build to reflect the changed configs + +### Patch Changes + +- 2527628e1: Link `component` prop now accepts any element type. +- 1c69d4716: Fix React warning of descendant paragraph tag +- 04f26f88d: Export the `defaultConfigLoader` implementation +- Updated dependencies [b6557c098] +- Updated dependencies [e3bd9fc2f] +- Updated dependencies [d8d5a17da] +- Updated dependencies [1665ae8bb] +- Updated dependencies [e3bd9fc2f] + - @backstage/core-api@0.2.5 + - @backstage/config@0.1.2 + - @backstage/theme@0.2.2 + ## 0.3.2 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index dc9ed4c540..54d4b1a267 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,7 +1,7 @@ { "name": "@backstage/core", "description": "Core API used by Backstage plugins and apps", - "version": "0.3.2", + "version": "0.4.0", "private": false, "publishConfig": { "access": "public", @@ -29,9 +29,9 @@ "clean": "backstage-cli clean" }, "dependencies": { - "@backstage/config": "^0.1.1", - "@backstage/core-api": "^0.2.4", - "@backstage/theme": "^0.2.1", + "@backstage/config": "^0.1.2", + "@backstage/core-api": "^0.2.5", + "@backstage/theme": "^0.2.2", "@material-ui/core": "^4.11.0", "@material-ui/icons": "^4.9.1", "@material-ui/lab": "4.0.0-alpha.45", @@ -65,8 +65,8 @@ "zen-observable": "^0.8.15" }, "devDependencies": { - "@backstage/cli": "^0.4.0", - "@backstage/test-utils": "^0.1.4", + "@backstage/cli": "^0.4.1", + "@backstage/test-utils": "^0.1.5", "@testing-library/jest-dom": "^5.10.1", "@testing-library/react": "^10.4.1", "@testing-library/user-event": "^12.0.7", diff --git a/packages/create-app/CHANGELOG.md b/packages/create-app/CHANGELOG.md index 66050cd50a..b8b630d2e4 100644 --- a/packages/create-app/CHANGELOG.md +++ b/packages/create-app/CHANGELOG.md @@ -1,5 +1,154 @@ # @backstage/create-app +## 0.2.4 + +### Patch Changes + +- 94348441e: Add `"files": ["dist"]` to both app and backend packages. This ensures that packaged versions of these packages do not contain unnecessary files. + + To apply this change to an existing app, add the following to `packages/app/package.json` and `packages/backend/package.json`: + + ```json + "files": [ + "dist" + ] + ``` + +- cb5fc4b29: Adjust template to the latest changes in the `api-docs` plugin. + + ## Template Changes + + While updating to the latest `api-docs` plugin, the following changes are + necessary for the `create-app` template in your + `app/src/components/catalog/EntityPage.tsx`. This adds: + + - A custom entity page for API entities + - Changes the API tab to include the new `ConsumedApisCard` and + `ProvidedApisCard` that link to the API entity. + + ```diff + import { + + ApiDefinitionCard, + - Router as ApiDocsRouter, + + ConsumedApisCard, + + ProvidedApisCard, + + ConsumedApisCard, + + ConsumingComponentsCard, + + ProvidedApisCard, + + ProvidingComponentsCard + } from '@backstage/plugin-api-docs'; + + ... + + +const ComponentApisContent = ({ entity }: { entity: Entity }) => ( + + + + + + + + + + + + + + + + + +); + + const ServiceEntityPage = ({ entity }: { entity: Entity }) => ( + + } + /> + } + /> + } + + element={} + /> + ... + + -export const EntityPage = () => { + - const { entity } = useEntity(); + - switch (entity?.spec?.type) { + - case 'service': + - return ; + - case 'website': + - return ; + - default: + - return ; + - } + -}; + + +export const ComponentEntityPage = ({ entity }: { entity: Entity }) => { + + switch (entity?.spec?.type) { + + case 'service': + + return ; + + case 'website': + + return ; + + default: + + return ; + + } + +}; + + + +const ApiOverviewContent = ({ entity }: { entity: Entity }) => ( + + + + + + + + + + + + + + + + + + + + + + + + + + + +); + + + +const ApiDefinitionContent = ({ entity }: { entity: ApiEntity }) => ( + + + + + + + + + + + +); + + + +const ApiEntityPage = ({ entity }: { entity: Entity }) => ( + + + + } + + /> + + } + + /> + + + +); + + + +export const EntityPage = () => { + + const { entity } = useEntity(); + + + + switch (entity?.kind?.toLowerCase()) { + + case 'component': + + return ; + + case 'api': + + return ; + + default: + + return ; + + } + +}; + ``` + +- 1e22f8e0b: Unify `dockerode` library and type dependency versions + ## 0.2.3 ### Patch Changes diff --git a/packages/create-app/package.json b/packages/create-app/package.json index 384a6f11a2..5b7484b575 100644 --- a/packages/create-app/package.json +++ b/packages/create-app/package.json @@ -1,7 +1,7 @@ { "name": "@backstage/create-app", "description": "Create app package for Backstage", - "version": "0.2.3", + "version": "0.2.4", "private": false, "publishConfig": { "access": "public" @@ -37,31 +37,31 @@ "recursive-readdir": "^2.2.2" }, "devDependencies": { - "@backstage/backend-common": "^0.3.3", - "@backstage/catalog-model": "^0.4.0", - "@backstage/cli": "^0.4.0", - "@backstage/config": "^0.1.1", - "@backstage/core": "^0.3.2", - "@backstage/plugin-api-docs": "^0.3.1", - "@backstage/plugin-app-backend": "^0.3.2", - "@backstage/plugin-auth-backend": "^0.2.5", - "@backstage/plugin-catalog": "^0.2.5", - "@backstage/plugin-catalog-backend": "^0.3.0", - "@backstage/plugin-circleci": "^0.2.3", - "@backstage/plugin-explore": "^0.2.1", - "@backstage/plugin-github-actions": "^0.2.3", - "@backstage/plugin-lighthouse": "^0.2.4", - "@backstage/plugin-proxy-backend": "^0.2.2", - "@backstage/plugin-register-component": "^0.2.3", - "@backstage/plugin-rollbar-backend": "^0.1.4", - "@backstage/plugin-scaffolder": "^0.3.2", - "@backstage/plugin-scaffolder-backend": "^0.3.3", - "@backstage/plugin-tech-radar": "^0.3.0", - "@backstage/plugin-techdocs": "^0.3.1", - "@backstage/plugin-techdocs-backend": "^0.3.1", - "@backstage/plugin-user-settings": "^0.2.2", - "@backstage/test-utils": "^0.1.4", - "@backstage/theme": "^0.2.1", + "@backstage/backend-common": "^0.4.0", + "@backstage/catalog-model": "^0.5.0", + "@backstage/cli": "^0.4.1", + "@backstage/config": "^0.1.2", + "@backstage/core": "^0.4.0", + "@backstage/plugin-api-docs": "^0.4.0", + "@backstage/plugin-app-backend": "^0.3.3", + "@backstage/plugin-auth-backend": "^0.2.6", + "@backstage/plugin-catalog": "^0.2.6", + "@backstage/plugin-catalog-backend": "^0.4.0", + "@backstage/plugin-circleci": "^0.2.4", + "@backstage/plugin-explore": "^0.2.2", + "@backstage/plugin-github-actions": "^0.2.4", + "@backstage/plugin-lighthouse": "^0.2.5", + "@backstage/plugin-proxy-backend": "^0.2.3", + "@backstage/plugin-register-component": "^0.2.4", + "@backstage/plugin-rollbar-backend": "^0.1.5", + "@backstage/plugin-scaffolder": "^0.3.3", + "@backstage/plugin-scaffolder-backend": "^0.3.4", + "@backstage/plugin-tech-radar": "^0.3.1", + "@backstage/plugin-techdocs": "^0.4.0", + "@backstage/plugin-techdocs-backend": "^0.3.2", + "@backstage/plugin-user-settings": "^0.2.3", + "@backstage/test-utils": "^0.1.5", + "@backstage/theme": "^0.2.2", "@types/fs-extra": "^9.0.1", "@types/inquirer": "^7.3.1", "@types/ora": "^3.2.0", diff --git a/packages/dev-utils/CHANGELOG.md b/packages/dev-utils/CHANGELOG.md index 9a1048aa3d..e634a09c20 100644 --- a/packages/dev-utils/CHANGELOG.md +++ b/packages/dev-utils/CHANGELOG.md @@ -1,5 +1,39 @@ # @backstage/dev-utils +## 0.1.6 + +### Patch Changes + +- b6557c098: Update ApiFactory type to correctly infer API type and disallow mismatched implementations. + + This fixes for example the following code: + + ```ts + interface MyApi { + myMethod(): void + } + + const myApiRef = createApiRef({...}); + + createApiFactory({ + api: myApiRef, + deps: {}, + // This should've caused an error, since the empty object does not fully implement MyApi + factory: () => ({}), + }) + ``` + +- e1f4e24ef: Fix @backstage/cli not being a devDependency +- Updated dependencies [2527628e1] +- Updated dependencies [e1f4e24ef] +- Updated dependencies [1c69d4716] +- Updated dependencies [1665ae8bb] +- Updated dependencies [04f26f88d] +- Updated dependencies [ff243ce96] + - @backstage/core@0.4.0 + - @backstage/test-utils@0.1.5 + - @backstage/theme@0.2.2 + ## 0.1.5 ### Patch Changes diff --git a/packages/dev-utils/package.json b/packages/dev-utils/package.json index 21d6732ed5..d52e14a728 100644 --- a/packages/dev-utils/package.json +++ b/packages/dev-utils/package.json @@ -1,7 +1,7 @@ { "name": "@backstage/dev-utils", "description": "Utilities for developing Backstage plugins.", - "version": "0.1.5", + "version": "0.1.6", "private": false, "publishConfig": { "access": "public", @@ -29,9 +29,9 @@ "clean": "backstage-cli clean" }, "dependencies": { - "@backstage/core": "^0.3.1", - "@backstage/test-utils": "^0.1.4", - "@backstage/theme": "^0.2.1", + "@backstage/core": "^0.4.0", + "@backstage/test-utils": "^0.1.5", + "@backstage/theme": "^0.2.2", "@material-ui/core": "^4.11.0", "@material-ui/icons": "^4.9.1", "@testing-library/jest-dom": "^5.10.1", @@ -45,7 +45,7 @@ "react-router-dom": "6.0.0-beta.0" }, "devDependencies": { - "@backstage/cli": "^0.4.0", + "@backstage/cli": "^0.4.1", "@types/jest": "^26.0.7", "@types/node": "^12.0.0" }, diff --git a/packages/integration/CHANGELOG.md b/packages/integration/CHANGELOG.md index 12a776d448..f080685efe 100644 --- a/packages/integration/CHANGELOG.md +++ b/packages/integration/CHANGELOG.md @@ -1,5 +1,15 @@ # @backstage/integration +## 0.1.3 + +### Patch Changes + +- 38e24db00: Move the core url and auth logic to integration for the four major providers +- b8ecf6f48: Add the basics of cross-integration concerns +- Updated dependencies [e3bd9fc2f] +- Updated dependencies [e3bd9fc2f] + - @backstage/config@0.1.2 + ## 0.1.2 ### Patch Changes diff --git a/packages/integration/package.json b/packages/integration/package.json index 6ea0e5e2b0..ccda8ea025 100644 --- a/packages/integration/package.json +++ b/packages/integration/package.json @@ -1,6 +1,6 @@ { "name": "@backstage/integration", - "version": "0.1.2", + "version": "0.1.3", "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0", @@ -29,12 +29,12 @@ "clean": "backstage-cli clean" }, "dependencies": { - "@backstage/config": "^0.1.1", + "@backstage/config": "^0.1.2", "cross-fetch": "^3.0.6", "git-url-parse": "^11.4.0" }, "devDependencies": { - "@backstage/cli": "^0.4.0", + "@backstage/cli": "^0.4.1", "@types/jest": "^26.0.7", "msw": "^0.21.2" }, diff --git a/packages/test-utils/CHANGELOG.md b/packages/test-utils/CHANGELOG.md index dbeb79ed78..b311d58b94 100644 --- a/packages/test-utils/CHANGELOG.md +++ b/packages/test-utils/CHANGELOG.md @@ -1,5 +1,16 @@ # @backstage/test-utils +## 0.1.5 + +### Patch Changes + +- e1f4e24ef: Fix @backstage/cli not being a devDependency +- Updated dependencies [b6557c098] +- Updated dependencies [d8d5a17da] +- Updated dependencies [1665ae8bb] + - @backstage/core-api@0.2.5 + - @backstage/theme@0.2.2 + ## 0.1.4 ### Patch Changes diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json index d35080f204..e550caee4b 100644 --- a/packages/test-utils/package.json +++ b/packages/test-utils/package.json @@ -1,7 +1,7 @@ { "name": "@backstage/test-utils", "description": "Utilities to test Backstage plugins and apps.", - "version": "0.1.4", + "version": "0.1.5", "private": false, "publishConfig": { "access": "public", @@ -29,9 +29,9 @@ "clean": "backstage-cli clean" }, "dependencies": { - "@backstage/core-api": "^0.2.4", + "@backstage/core-api": "^0.2.5", "@backstage/test-utils-core": "^0.1.1", - "@backstage/theme": "^0.2.0", + "@backstage/theme": "^0.2.2", "@material-ui/core": "^4.11.0", "@testing-library/jest-dom": "^5.10.1", "@testing-library/react": "^10.4.1", @@ -45,7 +45,7 @@ "zen-observable": "^0.8.15" }, "devDependencies": { - "@backstage/cli": "^0.4.0", + "@backstage/cli": "^0.4.1", "@types/jest": "^26.0.7", "@types/node": "^12.0.0" }, diff --git a/packages/theme/CHANGELOG.md b/packages/theme/CHANGELOG.md index 08cf256c48..13d95ab856 100644 --- a/packages/theme/CHANGELOG.md +++ b/packages/theme/CHANGELOG.md @@ -1,5 +1,11 @@ # @backstage/theme +## 0.2.2 + +### Patch Changes + +- 1665ae8bb: Add a little more padding in dense tables + ## 0.2.1 ### Patch Changes diff --git a/packages/theme/package.json b/packages/theme/package.json index 18b75afff4..54f43a1443 100644 --- a/packages/theme/package.json +++ b/packages/theme/package.json @@ -1,7 +1,7 @@ { "name": "@backstage/theme", "description": "material-ui theme for use with Backstage.", - "version": "0.2.1", + "version": "0.2.2", "private": false, "publishConfig": { "access": "public", @@ -31,7 +31,7 @@ "@material-ui/core": "^4.11.0" }, "devDependencies": { - "@backstage/cli": "^0.4.0" + "@backstage/cli": "^0.4.1" }, "files": [ "dist" diff --git a/plugins/api-docs/CHANGELOG.md b/plugins/api-docs/CHANGELOG.md index 3b9c1951d4..53e1da905b 100644 --- a/plugins/api-docs/CHANGELOG.md +++ b/plugins/api-docs/CHANGELOG.md @@ -1,5 +1,33 @@ # @backstage/plugin-api-docs +## 0.4.0 + +### Minor Changes + +- 246799c7f: Stop exposing a custom router from the `api-docs` plugin. Instead, use the + widgets exported by the plugin to compose your custom entity pages. + + Instead of displaying the API definitions directly in the API tab of the + component, it now contains tables linking to the API entities. This also adds + new widgets to display relationships (bot provides & consumes relationships) + between components and APIs. + + See the changelog of `create-app` for a migration guide. + +### Patch Changes + +- Updated dependencies [2527628e1] +- Updated dependencies [6011b7d3e] +- Updated dependencies [1c69d4716] +- Updated dependencies [83b6e0c1f] +- Updated dependencies [1665ae8bb] +- Updated dependencies [04f26f88d] +- Updated dependencies [ff243ce96] + - @backstage/core@0.4.0 + - @backstage/plugin-catalog@0.2.6 + - @backstage/catalog-model@0.5.0 + - @backstage/theme@0.2.2 + ## 0.3.1 ### Patch Changes diff --git a/plugins/api-docs/package.json b/plugins/api-docs/package.json index e6deb39b48..944903067b 100644 --- a/plugins/api-docs/package.json +++ b/plugins/api-docs/package.json @@ -1,6 +1,6 @@ { "name": "@backstage/plugin-api-docs", - "version": "0.3.1", + "version": "0.4.0", "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0", @@ -29,10 +29,10 @@ "clean": "backstage-cli clean" }, "dependencies": { - "@backstage/catalog-model": "^0.4.0", - "@backstage/core": "^0.3.2", - "@backstage/plugin-catalog": "^0.2.5", - "@backstage/theme": "^0.2.1", + "@backstage/catalog-model": "^0.5.0", + "@backstage/core": "^0.4.0", + "@backstage/plugin-catalog": "^0.2.6", + "@backstage/theme": "^0.2.2", "@kyma-project/asyncapi-react": "^0.14.2", "@material-icons/font": "^1.0.2", "@material-ui/core": "^4.11.0", @@ -49,9 +49,9 @@ "swagger-ui-react": "^3.37.2" }, "devDependencies": { - "@backstage/cli": "^0.4.0", - "@backstage/dev-utils": "^0.1.5", - "@backstage/test-utils": "^0.1.4", + "@backstage/cli": "^0.4.1", + "@backstage/dev-utils": "^0.1.6", + "@backstage/test-utils": "^0.1.5", "@testing-library/jest-dom": "^5.10.1", "@testing-library/react": "^10.4.1", "@testing-library/user-event": "^12.0.7", diff --git a/plugins/app-backend/CHANGELOG.md b/plugins/app-backend/CHANGELOG.md index e92b886f2d..e16ac1fb9c 100644 --- a/plugins/app-backend/CHANGELOG.md +++ b/plugins/app-backend/CHANGELOG.md @@ -1,5 +1,16 @@ # @backstage/plugin-app-backend +## 0.3.3 + +### Patch Changes + +- Updated dependencies [38e24db00] +- Updated dependencies [e3bd9fc2f] +- Updated dependencies [12bbd748c] +- Updated dependencies [e3bd9fc2f] + - @backstage/backend-common@0.4.0 + - @backstage/config@0.1.2 + ## 0.3.2 ### Patch Changes diff --git a/plugins/app-backend/package.json b/plugins/app-backend/package.json index d64a58e017..0dde9c9d13 100644 --- a/plugins/app-backend/package.json +++ b/plugins/app-backend/package.json @@ -1,6 +1,6 @@ { "name": "@backstage/plugin-app-backend", - "version": "0.3.2", + "version": "0.3.3", "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0", @@ -29,9 +29,9 @@ "clean": "backstage-cli clean" }, "dependencies": { - "@backstage/backend-common": "^0.3.3", + "@backstage/backend-common": "^0.4.0", "@backstage/config-loader": "^0.4.0", - "@backstage/config": "^0.1.1", + "@backstage/config": "^0.1.2", "@types/express": "^4.17.6", "express": "^4.17.1", "express-promise-router": "^3.0.3", @@ -40,7 +40,7 @@ "yn": "^4.0.0" }, "devDependencies": { - "@backstage/cli": "^0.4.0", + "@backstage/cli": "^0.4.1", "@types/supertest": "^2.0.8", "msw": "^0.20.5", "supertest": "^4.0.2" diff --git a/plugins/auth-backend/CHANGELOG.md b/plugins/auth-backend/CHANGELOG.md index 9bdd04783a..d0e0b63706 100644 --- a/plugins/auth-backend/CHANGELOG.md +++ b/plugins/auth-backend/CHANGELOG.md @@ -1,5 +1,19 @@ # @backstage/plugin-auth-backend +## 0.2.6 + +### Patch Changes + +- Updated dependencies [38e24db00] +- Updated dependencies [e3bd9fc2f] +- Updated dependencies [12bbd748c] +- Updated dependencies [83b6e0c1f] +- Updated dependencies [e3bd9fc2f] + - @backstage/backend-common@0.4.0 + - @backstage/config@0.1.2 + - @backstage/catalog-model@0.5.0 + - @backstage/catalog-client@0.3.3 + ## 0.2.5 ### Patch Changes diff --git a/plugins/auth-backend/package.json b/plugins/auth-backend/package.json index 5440a1342d..1c9ebbe261 100644 --- a/plugins/auth-backend/package.json +++ b/plugins/auth-backend/package.json @@ -1,6 +1,6 @@ { "name": "@backstage/plugin-auth-backend", - "version": "0.2.5", + "version": "0.2.6", "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0", @@ -29,10 +29,10 @@ "clean": "backstage-cli clean" }, "dependencies": { - "@backstage/backend-common": "^0.3.3", - "@backstage/catalog-client": "^0.3.2", - "@backstage/catalog-model": "^0.4.0", - "@backstage/config": "^0.1.1", + "@backstage/backend-common": "^0.4.0", + "@backstage/catalog-client": "^0.3.3", + "@backstage/catalog-model": "^0.5.0", + "@backstage/config": "^0.1.2", "@types/express": "^4.17.6", "compression": "^1.7.4", "cookie-parser": "^1.4.5", @@ -64,7 +64,7 @@ "yn": "^4.0.0" }, "devDependencies": { - "@backstage/cli": "^0.4.0", + "@backstage/cli": "^0.4.1", "@types/body-parser": "^1.19.0", "@types/cookie-parser": "^1.4.2", "@types/express-session": "^1.17.2", diff --git a/plugins/catalog-backend/CHANGELOG.md b/plugins/catalog-backend/CHANGELOG.md index 935d52f116..43a07252b8 100644 --- a/plugins/catalog-backend/CHANGELOG.md +++ b/plugins/catalog-backend/CHANGELOG.md @@ -1,5 +1,28 @@ # @backstage/plugin-catalog-backend +## 0.4.0 + +### Minor Changes + +- 83b6e0c1f: Remove the deprecated fields `ancestors` and `descendants` from the `Group` entity. + + See https://github.com/backstage/backstage/issues/3049 and the PRs linked from it for details. + +### Patch Changes + +- 6e8bb3ac0: leave unknown placeholder-lookalikes untouched in the catalog processing loop +- e708679d7: refreshAllLocations uses a child logger of the HigherOrderOperation with a meta `component` : `catalog-all-locations-refresh` +- 047c018c9: Batch the fetching of relations +- 38d63fbe1: Fix string template literal +- Updated dependencies [38e24db00] +- Updated dependencies [e3bd9fc2f] +- Updated dependencies [12bbd748c] +- Updated dependencies [83b6e0c1f] +- Updated dependencies [e3bd9fc2f] + - @backstage/backend-common@0.4.0 + - @backstage/config@0.1.2 + - @backstage/catalog-model@0.5.0 + ## 0.3.0 ### Minor Changes diff --git a/plugins/catalog-backend/package.json b/plugins/catalog-backend/package.json index 19947d65f7..1a5b24f64c 100644 --- a/plugins/catalog-backend/package.json +++ b/plugins/catalog-backend/package.json @@ -1,6 +1,6 @@ { "name": "@backstage/plugin-catalog-backend", - "version": "0.3.0", + "version": "0.4.0", "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0", @@ -30,9 +30,9 @@ }, "dependencies": { "@azure/msal-node": "^1.0.0-alpha.8", - "@backstage/backend-common": "^0.3.3", - "@backstage/catalog-model": "^0.4.0", - "@backstage/config": "^0.1.1", + "@backstage/backend-common": "^0.4.0", + "@backstage/catalog-model": "^0.5.0", + "@backstage/config": "^0.1.2", "@octokit/graphql": "^4.5.6", "@types/express": "^4.17.6", "@types/ldapjs": "^1.0.9", @@ -57,8 +57,8 @@ "yup": "^0.29.3" }, "devDependencies": { - "@backstage/cli": "^0.4.0", - "@backstage/test-utils": "^0.1.4", + "@backstage/cli": "^0.4.1", + "@backstage/test-utils": "^0.1.5", "@types/core-js": "^2.5.4", "@types/git-url-parse": "^9.0.0", "@types/lodash": "^4.14.151", diff --git a/plugins/catalog-graphql/CHANGELOG.md b/plugins/catalog-graphql/CHANGELOG.md index 2bb4d9ac54..7cef0b765a 100644 --- a/plugins/catalog-graphql/CHANGELOG.md +++ b/plugins/catalog-graphql/CHANGELOG.md @@ -1,5 +1,18 @@ # @backstage/plugin-catalog-graphql +## 0.2.4 + +### Patch Changes + +- Updated dependencies [38e24db00] +- Updated dependencies [e3bd9fc2f] +- Updated dependencies [12bbd748c] +- Updated dependencies [83b6e0c1f] +- Updated dependencies [e3bd9fc2f] + - @backstage/backend-common@0.4.0 + - @backstage/config@0.1.2 + - @backstage/catalog-model@0.5.0 + ## 0.2.3 ### Patch Changes diff --git a/plugins/catalog-graphql/package.json b/plugins/catalog-graphql/package.json index 3f28c023fd..fa6bd7c4d4 100644 --- a/plugins/catalog-graphql/package.json +++ b/plugins/catalog-graphql/package.json @@ -1,6 +1,6 @@ { "name": "@backstage/plugin-catalog-graphql", - "version": "0.2.3", + "version": "0.2.4", "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0", @@ -30,9 +30,9 @@ "clean": "backstage-cli clean" }, "dependencies": { - "@backstage/backend-common": "^0.3.3", - "@backstage/catalog-model": "^0.4.0", - "@backstage/config": "^0.1.1", + "@backstage/backend-common": "^0.4.0", + "@backstage/catalog-model": "^0.5.0", + "@backstage/config": "^0.1.2", "@graphql-modules/core": "^0.7.17", "apollo-server": "^2.16.1", "cross-fetch": "^3.0.6", @@ -42,8 +42,8 @@ "winston": "^3.2.1" }, "devDependencies": { - "@backstage/cli": "^0.4.0", - "@backstage/test-utils": "^0.1.4", + "@backstage/cli": "^0.4.1", + "@backstage/test-utils": "^0.1.5", "@graphql-codegen/cli": "^1.17.7", "@graphql-codegen/typescript": "^1.17.7", "@graphql-codegen/typescript-resolvers": "^1.17.7", diff --git a/plugins/catalog-import/CHANGELOG.md b/plugins/catalog-import/CHANGELOG.md index bdbb8681de..bc86a6ac0c 100644 --- a/plugins/catalog-import/CHANGELOG.md +++ b/plugins/catalog-import/CHANGELOG.md @@ -1,5 +1,28 @@ # @backstage/plugin-catalog-import +## 0.3.1 + +### Patch Changes + +- 79418ddb6: Align plugin ID and fix variable typo +- d2938af4c: Add register existing component instructions +- Updated dependencies [6e8bb3ac0] +- Updated dependencies [2527628e1] +- Updated dependencies [e708679d7] +- Updated dependencies [047c018c9] +- Updated dependencies [6011b7d3e] +- Updated dependencies [1c69d4716] +- Updated dependencies [38d63fbe1] +- Updated dependencies [83b6e0c1f] +- Updated dependencies [1665ae8bb] +- Updated dependencies [04f26f88d] +- Updated dependencies [ff243ce96] + - @backstage/plugin-catalog-backend@0.4.0 + - @backstage/core@0.4.0 + - @backstage/plugin-catalog@0.2.6 + - @backstage/catalog-model@0.5.0 + - @backstage/theme@0.2.2 + ## 0.3.0 ### Minor Changes diff --git a/plugins/catalog-import/package.json b/plugins/catalog-import/package.json index 9f5f9b9913..0343433981 100644 --- a/plugins/catalog-import/package.json +++ b/plugins/catalog-import/package.json @@ -1,6 +1,6 @@ { "name": "@backstage/plugin-catalog-import", - "version": "0.3.0", + "version": "0.3.1", "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0", @@ -30,11 +30,11 @@ "clean": "backstage-cli clean" }, "dependencies": { - "@backstage/catalog-model": "^0.4.0", - "@backstage/core": "^0.3.2", - "@backstage/plugin-catalog": "^0.2.5", - "@backstage/plugin-catalog-backend": "^0.3.0", - "@backstage/theme": "^0.2.1", + "@backstage/catalog-model": "^0.5.0", + "@backstage/core": "^0.4.0", + "@backstage/plugin-catalog": "^0.2.6", + "@backstage/plugin-catalog-backend": "^0.4.0", + "@backstage/theme": "^0.2.2", "@material-ui/core": "^4.11.0", "@material-ui/icons": "^4.9.1", "@material-ui/lab": "4.0.0-alpha.45", @@ -49,9 +49,9 @@ "yaml": "^1.10.0" }, "devDependencies": { - "@backstage/cli": "^0.4.0", - "@backstage/dev-utils": "^0.1.5", - "@backstage/test-utils": "^0.1.4", + "@backstage/cli": "^0.4.1", + "@backstage/dev-utils": "^0.1.6", + "@backstage/test-utils": "^0.1.5", "@testing-library/jest-dom": "^5.10.1", "@testing-library/react": "^10.4.1", "@testing-library/user-event": "^12.0.7", diff --git a/plugins/catalog/CHANGELOG.md b/plugins/catalog/CHANGELOG.md index 7630bdb077..e47808bfa0 100644 --- a/plugins/catalog/CHANGELOG.md +++ b/plugins/catalog/CHANGELOG.md @@ -1,5 +1,24 @@ # @backstage/plugin-catalog +## 0.2.6 + +### Patch Changes + +- 6011b7d3e: Added pagerduty plugin to example app +- Updated dependencies [2527628e1] +- Updated dependencies [1c69d4716] +- Updated dependencies [83b6e0c1f] +- Updated dependencies [87a33d2fe] +- Updated dependencies [1665ae8bb] +- Updated dependencies [04f26f88d] +- Updated dependencies [ff243ce96] + - @backstage/core@0.4.0 + - @backstage/catalog-model@0.5.0 + - @backstage/plugin-techdocs@0.4.0 + - @backstage/theme@0.2.2 + - @backstage/plugin-scaffolder@0.3.3 + - @backstage/catalog-client@0.3.3 + ## 0.2.5 ### Patch Changes diff --git a/plugins/catalog/package.json b/plugins/catalog/package.json index 93d8638353..ad9cff8ed8 100644 --- a/plugins/catalog/package.json +++ b/plugins/catalog/package.json @@ -1,6 +1,6 @@ { "name": "@backstage/plugin-catalog", - "version": "0.2.5", + "version": "0.2.6", "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0", @@ -30,12 +30,12 @@ "clean": "backstage-cli clean" }, "dependencies": { - "@backstage/catalog-client": "^0.3.2", - "@backstage/catalog-model": "^0.4.0", - "@backstage/core": "^0.3.2", - "@backstage/plugin-scaffolder": "^0.3.2", - "@backstage/plugin-techdocs": "^0.3.1", - "@backstage/theme": "^0.2.1", + "@backstage/catalog-client": "^0.3.3", + "@backstage/catalog-model": "^0.5.0", + "@backstage/core": "^0.4.0", + "@backstage/plugin-scaffolder": "^0.3.3", + "@backstage/plugin-techdocs": "^0.4.0", + "@backstage/theme": "^0.2.2", "@material-ui/core": "^4.11.0", "@material-ui/icons": "^4.9.1", "@material-ui/lab": "4.0.0-alpha.45", @@ -52,9 +52,9 @@ "swr": "^0.3.0" }, "devDependencies": { - "@backstage/cli": "^0.4.0", - "@backstage/dev-utils": "^0.1.5", - "@backstage/test-utils": "^0.1.4", + "@backstage/cli": "^0.4.1", + "@backstage/dev-utils": "^0.1.6", + "@backstage/test-utils": "^0.1.5", "@microsoft/microsoft-graph-types": "^1.25.0", "@testing-library/jest-dom": "^5.10.1", "@testing-library/react": "^10.4.1", diff --git a/plugins/circleci/CHANGELOG.md b/plugins/circleci/CHANGELOG.md index 7986cca2ec..dc3bf0d5ca 100644 --- a/plugins/circleci/CHANGELOG.md +++ b/plugins/circleci/CHANGELOG.md @@ -1,5 +1,25 @@ # @backstage/plugin-circleci +## 0.2.4 + +### Patch Changes + +- 04efbbdd2: Refactor to support ADR004 module exporting. + + For more information, see https://backstage.io/docs/architecture-decisions/adrs-adr004. + +- Updated dependencies [2527628e1] +- Updated dependencies [6011b7d3e] +- Updated dependencies [1c69d4716] +- Updated dependencies [83b6e0c1f] +- Updated dependencies [1665ae8bb] +- Updated dependencies [04f26f88d] +- Updated dependencies [ff243ce96] + - @backstage/core@0.4.0 + - @backstage/plugin-catalog@0.2.6 + - @backstage/catalog-model@0.5.0 + - @backstage/theme@0.2.2 + ## 0.2.3 ### Patch Changes diff --git a/plugins/circleci/package.json b/plugins/circleci/package.json index d62dac8d21..76fc13df52 100644 --- a/plugins/circleci/package.json +++ b/plugins/circleci/package.json @@ -1,6 +1,6 @@ { "name": "@backstage/plugin-circleci", - "version": "0.2.3", + "version": "0.2.4", "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0", @@ -31,10 +31,10 @@ "postpack": "backstage-cli postpack" }, "dependencies": { - "@backstage/catalog-model": "^0.4.0", - "@backstage/core": "^0.3.2", - "@backstage/plugin-catalog": "^0.2.5", - "@backstage/theme": "^0.2.1", + "@backstage/catalog-model": "^0.5.0", + "@backstage/core": "^0.4.0", + "@backstage/plugin-catalog": "^0.2.6", + "@backstage/theme": "^0.2.2", "@material-ui/core": "^4.11.0", "@material-ui/icons": "^4.9.1", "@material-ui/lab": "4.0.0-alpha.45", @@ -50,9 +50,9 @@ "react-use": "^15.3.3" }, "devDependencies": { - "@backstage/cli": "^0.4.0", - "@backstage/dev-utils": "^0.1.5", - "@backstage/test-utils": "^0.1.4", + "@backstage/cli": "^0.4.1", + "@backstage/dev-utils": "^0.1.6", + "@backstage/test-utils": "^0.1.5", "@testing-library/jest-dom": "^5.10.1", "@testing-library/react": "^10.4.1", "@testing-library/user-event": "^12.0.7", diff --git a/plugins/cloudbuild/CHANGELOG.md b/plugins/cloudbuild/CHANGELOG.md index 1f707ac777..f2a636cc4c 100644 --- a/plugins/cloudbuild/CHANGELOG.md +++ b/plugins/cloudbuild/CHANGELOG.md @@ -1,5 +1,21 @@ # @backstage/plugin-cloudbuild +## 0.2.4 + +### Patch Changes + +- Updated dependencies [2527628e1] +- Updated dependencies [6011b7d3e] +- Updated dependencies [1c69d4716] +- Updated dependencies [83b6e0c1f] +- Updated dependencies [1665ae8bb] +- Updated dependencies [04f26f88d] +- Updated dependencies [ff243ce96] + - @backstage/core@0.4.0 + - @backstage/plugin-catalog@0.2.6 + - @backstage/catalog-model@0.5.0 + - @backstage/theme@0.2.2 + ## 0.2.3 ### Patch Changes diff --git a/plugins/cloudbuild/package.json b/plugins/cloudbuild/package.json index 8e52b29442..dd040c6cea 100644 --- a/plugins/cloudbuild/package.json +++ b/plugins/cloudbuild/package.json @@ -1,6 +1,6 @@ { "name": "@backstage/plugin-cloudbuild", - "version": "0.2.3", + "version": "0.2.4", "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0", @@ -30,10 +30,10 @@ "clean": "backstage-cli clean" }, "dependencies": { - "@backstage/catalog-model": "^0.4.0", - "@backstage/core": "^0.3.2", - "@backstage/plugin-catalog": "^0.2.5", - "@backstage/theme": "^0.2.1", + "@backstage/catalog-model": "^0.5.0", + "@backstage/core": "^0.4.0", + "@backstage/plugin-catalog": "^0.2.6", + "@backstage/theme": "^0.2.2", "@material-ui/core": "^4.11.0", "@material-ui/icons": "^4.9.1", "@material-ui/lab": "4.0.0-alpha.45", @@ -49,9 +49,9 @@ "react-use": "^15.3.3" }, "devDependencies": { - "@backstage/cli": "^0.4.0", - "@backstage/dev-utils": "^0.1.5", - "@backstage/test-utils": "^0.1.4", + "@backstage/cli": "^0.4.1", + "@backstage/dev-utils": "^0.1.6", + "@backstage/test-utils": "^0.1.5", "@testing-library/jest-dom": "^5.10.1", "@testing-library/react": "^10.4.1", "@testing-library/user-event": "^12.0.7", diff --git a/plugins/cost-insights/CHANGELOG.md b/plugins/cost-insights/CHANGELOG.md index b545b2ec37..a6764a21c8 100644 --- a/plugins/cost-insights/CHANGELOG.md +++ b/plugins/cost-insights/CHANGELOG.md @@ -1,5 +1,32 @@ # @backstage/plugin-cost-insights +## 0.5.0 + +### Minor Changes + +- e3071a0d4: Add support for multiple types of entity cost breakdown. + + This change is backwards-incompatible with plugin-cost-insights 0.3.x; the `entities` field on Entity returned in product cost queries changed from `Entity[]` to `Record