diff --git a/.changeset/afraid-flies-try.md b/.changeset/afraid-flies-try.md
new file mode 100644
index 0000000000..15d2e3942c
--- /dev/null
+++ b/.changeset/afraid-flies-try.md
@@ -0,0 +1,7 @@
+---
+'@backstage/plugin-cost-insights': patch
+---
+
+Move cost-insights data specific API types (non react) into an @backstage/plugin-cost-insights-common
+isomorphic package. This allows these types to be shared in any backend packages or other cost-insight
+modules.
diff --git a/.changeset/blue-monkeys-explain.md b/.changeset/blue-monkeys-explain.md
new file mode 100644
index 0000000000..69382ff11d
--- /dev/null
+++ b/.changeset/blue-monkeys-explain.md
@@ -0,0 +1,6 @@
+---
+'@backstage/create-app': patch
+---
+
+Adds the ability to define the Backstage app name using a `BACKSTAGE_APP_NAME`
+environment variable when running `create-app`.
diff --git a/.changeset/bright-balloons-hide.md b/.changeset/bright-balloons-hide.md
new file mode 100644
index 0000000000..5163e72dc1
--- /dev/null
+++ b/.changeset/bright-balloons-hide.md
@@ -0,0 +1,5 @@
+---
+'@backstage/core-components': patch
+---
+
+Change BackstageIconLinkVertical style to use pallette instead of explicit color
diff --git a/.changeset/cool-toys-flow.md b/.changeset/cool-toys-flow.md
new file mode 100644
index 0000000000..799bf3ace4
--- /dev/null
+++ b/.changeset/cool-toys-flow.md
@@ -0,0 +1,5 @@
+---
+'@backstage/core-components': minor
+---
+
+Add `transformLinkUri` and `transformImageUri` to `MarkdownContent`
diff --git a/.changeset/create-app-1656408352.md b/.changeset/create-app-1656408352.md
new file mode 100644
index 0000000000..b50d431d4b
--- /dev/null
+++ b/.changeset/create-app-1656408352.md
@@ -0,0 +1,5 @@
+---
+'@backstage/create-app': patch
+---
+
+Bumped create-app version.
diff --git a/.changeset/cuddly-flowers-provide.md b/.changeset/cuddly-flowers-provide.md
new file mode 100644
index 0000000000..729ac96cda
--- /dev/null
+++ b/.changeset/cuddly-flowers-provide.md
@@ -0,0 +1,5 @@
+---
+'@backstage/plugin-fossa': patch
+---
+
+Allow configuration of base URL for Fossa links
diff --git a/.changeset/eight-suits-fail.md b/.changeset/eight-suits-fail.md
new file mode 100644
index 0000000000..742154da91
--- /dev/null
+++ b/.changeset/eight-suits-fail.md
@@ -0,0 +1,6 @@
+---
+'@backstage/plugin-kubernetes-backend': patch
+'@backstage/plugin-kubernetes-common': patch
+---
+
+Fixed the lack of `limitranges` as part of the Default Objects to fetch from the kubernetes api
diff --git a/.changeset/eighty-windows-brush.md b/.changeset/eighty-windows-brush.md
new file mode 100644
index 0000000000..753b53fbb4
--- /dev/null
+++ b/.changeset/eighty-windows-brush.md
@@ -0,0 +1,5 @@
+---
+'@backstage/plugin-tech-insights-backend': minor
+---
+
+Allow FactRetrieverRegistry to be injected into buildTechInsightsContext so that we can override default registry implementation.
diff --git a/.changeset/five-fireants-run.md b/.changeset/five-fireants-run.md
new file mode 100644
index 0000000000..589d46cc81
--- /dev/null
+++ b/.changeset/five-fireants-run.md
@@ -0,0 +1,5 @@
+---
+'@backstage/core-components': patch
+---
+
+Fix the EntityLayout header style so that EntityContextMenu button can display in correct shape when user hover on it
diff --git a/.changeset/forty-seals-complain.md b/.changeset/forty-seals-complain.md
new file mode 100644
index 0000000000..b2435b2d3a
--- /dev/null
+++ b/.changeset/forty-seals-complain.md
@@ -0,0 +1,5 @@
+---
+'@backstage/plugin-scaffolder-backend': patch
+---
+
+Improve error messaging when passing in malformed auth
diff --git a/.changeset/great-roses-pump.md b/.changeset/great-roses-pump.md
index 16a49bd464..0e15d186d4 100644
--- a/.changeset/great-roses-pump.md
+++ b/.changeset/great-roses-pump.md
@@ -4,7 +4,7 @@
Previously, the color of the Entity Context Menu (in the Entity Page Header) was hardcoded as `white`.
-This was an issue for themes that use a header with a white background. By default, the color of the icon is now `theme.palette.bursts.fontColor`.
+This was an issue for themes that use a header with a white background. By default, the color of the icon is now `theme.page.fontColor`.
It can now also be overridden in the theme, which is only necessary if the header title, subtitle and three-dots icon need to have different colors. For example:
diff --git a/.changeset/hot-rice-sin.md b/.changeset/hot-rice-sin.md
new file mode 100644
index 0000000000..5a3d6fdb7a
--- /dev/null
+++ b/.changeset/hot-rice-sin.md
@@ -0,0 +1,5 @@
+---
+'@backstage/plugin-scaffolder': minor
+---
+
+Add `allowedRepos` `ui:option` to `RepoUrlPicker` component, and move `repoName` field to own component
diff --git a/.changeset/light-hornets-eat.md b/.changeset/light-hornets-eat.md
new file mode 100644
index 0000000000..795e51fb67
--- /dev/null
+++ b/.changeset/light-hornets-eat.md
@@ -0,0 +1,5 @@
+---
+'@backstage/plugin-cost-insights-common': minor
+---
+
+Introduces a new isomorphic @backstage/plugin-cost-insight-common package to contain shared types across all other cost insights packages and modules.
diff --git a/.changeset/little-geckos-end.md b/.changeset/little-geckos-end.md
new file mode 100644
index 0000000000..328095aa44
--- /dev/null
+++ b/.changeset/little-geckos-end.md
@@ -0,0 +1,18 @@
+---
+'@backstage/plugin-kubernetes-backend': minor
+---
+
+Add new endpoints to Kubernetes backend plugin
+
+BREAKING: Kubernetes backend plugin now depends on CatalogApi
+
+```typescript
+// Create new CatalogClient
+const catalogApi = new CatalogClient({ discoveryApi: env.discovery });
+const { router } = await KubernetesBuilder.createBuilder({
+ logger: env.logger,
+ config: env.config,
+ // Inject it into createBuilder params
+ catalogApi,
+}).build();
+```
diff --git a/.changeset/long-bananas-rescue.md b/.changeset/long-bananas-rescue.md
new file mode 100644
index 0000000000..d990fd67c6
--- /dev/null
+++ b/.changeset/long-bananas-rescue.md
@@ -0,0 +1,91 @@
+---
+'@backstage/plugin-catalog-backend-module-msgraph': minor
+---
+
+Align `msgraph` plugin's entity provider config with other providers. **Deprecated** entity processor as well as previous config.
+
+You will see warning at the log output until you migrate to the new setup.
+All deprecated parts will be removed eventually after giving some time to migrate.
+
+Please find information on how to migrate your current setup to the new one below.
+
+**Migration Guide:**
+
+There were two different way on how to use the msgraph plugin: processor or provider.
+
+Previous registration for the processor:
+
+```typescript
+// packages/backend/src/plugins/catalog.ts
+builder.addProcessor(
+ MicrosoftGraphOrgReaderProcessor.fromConfig(env.config, {
+ logger: env.logger,
+ // [...]
+ }),
+);
+```
+
+Previous registration when using the provider:
+
+```typescript
+// packages/backend/src/plugins/catalog.ts
+builder.addEntityProvider(
+ MicrosoftGraphOrgEntityProvider.fromConfig(env.config, {
+ id: 'https://graph.microsoft.com/v1.0',
+ target: 'https://graph.microsoft.com/v1.0',
+ logger: env.logger,
+ schedule: env.scheduler.createScheduledTaskRunner({
+ frequency: { minutes: 30 },
+ timeout: { minutes: 3 },
+ }),
+ // [...]
+ }),
+);
+```
+
+Previous configuration as used for both:
+
+```yaml
+# app-config.yaml
+catalog:
+ processors:
+ microsoftGraphOrg:
+ providers:
+ - target: https://graph.microsoft.com/v1.0
+ # [...]
+```
+
+**Replacement:**
+
+Please check https://github.com/backstage/backstage/blob/master/plugins/catalog-backend-module-msgraph/README.md for the complete documentation of all configuration options (config as well as registration of the provider).
+
+```yaml
+# app-config.yaml
+catalog:
+ providers:
+ microsoftGraphOrg:
+ # In case you used the deprecated configuration with the entity provider
+ # using the value of `target` will keep the same location key for all
+ providerId: # some stable ID which will be used as part of the location key for all ingested data
+ target: https://graph.microsoft.com/v1.0
+ # [...]
+```
+
+```typescript
+// packages/backend/src/plugins/catalog.ts
+builder.addEntityProvider(
+ MicrosoftGraphOrgEntityProvider.fromConfig(env.config, {
+ logger: env.logger,
+ schedule: env.scheduler.createScheduledTaskRunner({
+ frequency: { minutes: 30 },
+ timeout: { minutes: 3 },
+ }),
+ // [...]
+ }),
+);
+```
+
+In case you've used multiple entity providers before
+**and** you had different transformers for each of them
+you can provide these directly at the one `fromConfig` call
+by passing a Record with the provider ID as key.
diff --git a/.changeset/many-vans-thank.md b/.changeset/many-vans-thank.md
new file mode 100644
index 0000000000..16f8c8a69b
--- /dev/null
+++ b/.changeset/many-vans-thank.md
@@ -0,0 +1,6 @@
+---
+'@backstage/plugin-jenkins': patch
+'@backstage/plugin-jenkins-backend': patch
+---
+
+feature: added support for multiple branches to the `JenkinsApi`
diff --git a/.changeset/metal-windows-share.md b/.changeset/metal-windows-share.md
new file mode 100644
index 0000000000..b4443a620f
--- /dev/null
+++ b/.changeset/metal-windows-share.md
@@ -0,0 +1,7 @@
+---
+'@backstage/plugin-search-backend-module-pg': patch
+---
+
+**DEPRECATED**: `PgSearchEngine` static `from` has been deprecated and will be removed in a future release. Use static `fromConfig` method to instantiate.
+
+Added support for highlighting matched terms in search result data
diff --git a/.changeset/moody-crabs-march.md b/.changeset/moody-crabs-march.md
new file mode 100644
index 0000000000..b5ddf12ffa
--- /dev/null
+++ b/.changeset/moody-crabs-march.md
@@ -0,0 +1,6 @@
+---
+'@backstage/plugin-vault': patch
+'@backstage/plugin-vault-backend': patch
+---
+
+Added a path notion in addition to secret name to allow to differentiate secrets in sub-paths
diff --git a/.changeset/ninety-coats-learn.md b/.changeset/ninety-coats-learn.md
new file mode 100644
index 0000000000..9d6945e9c0
--- /dev/null
+++ b/.changeset/ninety-coats-learn.md
@@ -0,0 +1,5 @@
+---
+'@backstage/core-components': patch
+---
+
+Fix relative `sub-paths` by concatenating the app's base path with them.
diff --git a/.changeset/old-onions-hear.md b/.changeset/old-onions-hear.md
new file mode 100644
index 0000000000..82dcc09190
--- /dev/null
+++ b/.changeset/old-onions-hear.md
@@ -0,0 +1,5 @@
+---
+'@backstage/plugin-scaffolder-backend': minor
+---
+
+Update GitLab Merge Request Action to allow source branch to be deleted
diff --git a/.changeset/plenty-clouds-guess.md b/.changeset/plenty-clouds-guess.md
new file mode 100644
index 0000000000..cc56bd604d
--- /dev/null
+++ b/.changeset/plenty-clouds-guess.md
@@ -0,0 +1,5 @@
+---
+'@backstage/plugin-auth-backend': patch
+---
+
+Added an option for the auth backend router to select the algorithm for the JWT token signing keys
diff --git a/.changeset/polite-lions-sell.md b/.changeset/polite-lions-sell.md
new file mode 100644
index 0000000000..07b5fcbd77
--- /dev/null
+++ b/.changeset/polite-lions-sell.md
@@ -0,0 +1,5 @@
+---
+'@backstage/plugin-auth-backend': patch
+---
+
+Auth provider now also export createAuthProviderIntegration
diff --git a/.changeset/pre.json b/.changeset/pre.json
index 6ea515cda8..7b30cba7ba 100644
--- a/.changeset/pre.json
+++ b/.changeset/pre.json
@@ -157,39 +157,100 @@
"@backstage/plugin-vault": "0.1.0",
"@backstage/plugin-vault-backend": "0.1.0",
"@backstage/plugin-xcmetrics": "0.2.26",
- "@backstage/plugin-api-docs-module-protoc-gen-doc": "0.0.0"
+ "@backstage/plugin-api-docs-module-protoc-gen-doc": "0.0.0",
+ "@backstage/plugin-catalog-backend-module-openapi": "0.0.0",
+ "@backstage/plugin-cost-insights-common": "0.0.0"
},
"changesets": [
+ "afraid-flies-try",
"beige-horses-scream",
+ "blue-monkeys-explain",
"breezy-poems-grab",
"breezy-seas-exist",
+ "bright-balloons-hide",
+ "calm-experts-buy",
"chilled-mirrors-grab",
+ "cool-toys-flow",
+ "create-app-1656408352",
"curly-candles-battle",
"curvy-weeks-matter",
+ "eight-suits-fail",
+ "eighty-windows-brush",
"eleven-mice-collect",
+ "five-fireants-run",
+ "forty-seals-complain",
"great-roses-pump",
+ "green-actors-argue",
+ "happy-boxes-melt",
+ "hot-rice-sin",
"large-kangaroos-poke",
+ "lemon-goats-obey",
+ "light-hornets-eat",
+ "long-bananas-rescue",
+ "many-vans-thank",
+ "metal-singers-matter",
+ "metal-windows-share",
"modern-ducks-lay",
+ "moody-crabs-march",
"nasty-zoos-cross",
"nervous-humans-sip",
+ "old-onions-hear",
+ "plenty-clouds-guess",
"polite-eagles-invite",
+ "polite-lions-sell",
+ "popular-pots-yell",
+ "pretty-masks-live",
+ "proud-toys-return",
"purple-beans-march",
+ "quiet-pens-notice",
"red-games-decide",
+ "renovate-149779d",
+ "renovate-2ae4dda",
+ "renovate-4b5ff24",
+ "renovate-7438bff",
+ "renovate-833a91b",
"renovate-9454dab",
"rude-llamas-lie",
+ "search-boats-double",
+ "search-lightning-cult",
+ "search-turtles-itch",
+ "serious-houses-watch",
+ "serious-zebras-joke",
"shaggy-melons-drive",
+ "sharp-numbers-taste",
"sharp-planes-turn",
+ "shiny-seahorses-do",
+ "shiny-turkeys-doubt",
+ "short-deers-remember",
"short-olives-train",
+ "shy-cameras-develop",
+ "silent-coats-brake",
+ "silly-geese-design",
+ "silver-needles-unite",
+ "smart-elephants-knock",
"smooth-sheep-hide",
+ "strange-tables-flash",
"strange-trains-collect",
+ "strong-lies-explain",
"sweet-plants-sparkle",
"tame-guests-wave",
+ "techdocs-eyes-sit",
"techdocs-gorgeous-plants-sniff",
+ "techdocs-sheep-talk",
+ "techdocs-sixty-mugs-hug",
"techdocs-the-whole-pulse",
+ "thick-cats-kiss",
"thick-radios-drive",
+ "thirty-rivers-watch",
+ "tricky-ravens-visit",
+ "twelve-candles-jump",
+ "two-crews-accept",
"unlucky-stingrays-juggle",
"weak-bananas-deliver",
+ "weak-jeans-cry",
+ "weak-llamas-repeat",
"wet-dolphins-act",
- "wicked-icons-grin"
+ "wicked-icons-grin",
+ "wicked-ladybugs-argue"
]
}
diff --git a/.changeset/proud-toys-return.md b/.changeset/proud-toys-return.md
new file mode 100644
index 0000000000..f93e6ef4a8
--- /dev/null
+++ b/.changeset/proud-toys-return.md
@@ -0,0 +1,5 @@
+---
+'@backstage/catalog-model': minor
+---
+
+Introduced `GroupDefaultParentEntityPolicy` to set a default group entity parent.
diff --git a/.changeset/renovate-0546761.md b/.changeset/renovate-0546761.md
new file mode 100644
index 0000000000..ed7b8b19a3
--- /dev/null
+++ b/.changeset/renovate-0546761.md
@@ -0,0 +1,103 @@
+---
+'@backstage/backend-common': patch
+'@backstage/backend-test-utils': patch
+'@backstage/catalog-client': patch
+'@backstage/cli': patch
+'@backstage/config-loader': patch
+'@backstage/core-app-api': patch
+'@backstage/core-components': patch
+'@backstage/core-plugin-api': patch
+'@backstage/integration-react': patch
+'@backstage/integration': patch
+'@backstage/release-manifests': patch
+'@backstage/test-utils': patch
+'@backstage/plugin-adr-backend': patch
+'@backstage/plugin-adr': patch
+'@backstage/plugin-airbrake-backend': patch
+'@backstage/plugin-airbrake': patch
+'@backstage/plugin-allure': patch
+'@backstage/plugin-analytics-module-ga': patch
+'@backstage/plugin-apache-airflow': patch
+'@backstage/plugin-api-docs': patch
+'@backstage/plugin-app-backend': patch
+'@backstage/plugin-auth-backend': patch
+'@backstage/plugin-auth-node': patch
+'@backstage/plugin-azure-devops-backend': patch
+'@backstage/plugin-azure-devops': patch
+'@backstage/plugin-badges': patch
+'@backstage/plugin-bitbucket-cloud-common': patch
+'@backstage/plugin-bitrise': patch
+'@backstage/plugin-catalog-backend-module-azure': patch
+'@backstage/plugin-catalog-backend-module-bitbucket-cloud': patch
+'@backstage/plugin-catalog-backend-module-bitbucket': patch
+'@backstage/plugin-catalog-backend-module-gerrit': patch
+'@backstage/plugin-catalog-backend-module-github': patch
+'@backstage/plugin-catalog-backend-module-gitlab': patch
+'@backstage/plugin-catalog-backend-module-msgraph': patch
+'@backstage/plugin-catalog-backend': patch
+'@backstage/plugin-catalog-graphql': patch
+'@backstage/plugin-catalog-import': patch
+'@backstage/plugin-circleci': patch
+'@backstage/plugin-cloudbuild': patch
+'@backstage/plugin-code-climate': patch
+'@backstage/plugin-code-coverage-backend': patch
+'@backstage/plugin-code-coverage': patch
+'@backstage/plugin-codescene': patch
+'@backstage/plugin-config-schema': patch
+'@backstage/plugin-cost-insights': patch
+'@backstage/plugin-dynatrace': patch
+'@backstage/plugin-explore-react': patch
+'@backstage/plugin-explore': patch
+'@backstage/plugin-firehydrant': patch
+'@backstage/plugin-fossa': patch
+'@backstage/plugin-gcalendar': patch
+'@backstage/plugin-gcp-projects': patch
+'@backstage/plugin-git-release-manager': patch
+'@backstage/plugin-github-actions': patch
+'@backstage/plugin-github-deployments': patch
+'@backstage/plugin-github-pull-requests-board': patch
+'@backstage/plugin-gitops-profiles': patch
+'@backstage/plugin-gocd': patch
+'@backstage/plugin-graphiql': patch
+'@backstage/plugin-graphql-backend': patch
+'@backstage/plugin-home': patch
+'@backstage/plugin-ilert': patch
+'@backstage/plugin-jenkins-backend': patch
+'@backstage/plugin-jenkins': patch
+'@backstage/plugin-kafka': patch
+'@backstage/plugin-kubernetes': patch
+'@backstage/plugin-lighthouse': patch
+'@backstage/plugin-newrelic': patch
+'@backstage/plugin-org': patch
+'@backstage/plugin-pagerduty': patch
+'@backstage/plugin-periskop-backend': patch
+'@backstage/plugin-periskop': patch
+'@backstage/plugin-permission-backend': patch
+'@backstage/plugin-permission-common': patch
+'@backstage/plugin-permission-node': patch
+'@backstage/plugin-rollbar-backend': patch
+'@backstage/plugin-rollbar': patch
+'@backstage/plugin-scaffolder-backend-module-cookiecutter': patch
+'@backstage/plugin-scaffolder-backend': patch
+'@backstage/plugin-scaffolder': patch
+'@backstage/plugin-search': patch
+'@backstage/plugin-sentry': patch
+'@backstage/plugin-shortcuts': patch
+'@backstage/plugin-sonarqube': patch
+'@backstage/plugin-splunk-on-call': patch
+'@backstage/plugin-stack-overflow': patch
+'@backstage/plugin-tech-insights': patch
+'@backstage/plugin-tech-radar': patch
+'@backstage/plugin-techdocs-addons-test-utils': patch
+'@backstage/plugin-techdocs-backend': patch
+'@backstage/plugin-techdocs-module-addons-contrib': patch
+'@backstage/plugin-techdocs': patch
+'@backstage/plugin-todo-backend': patch
+'@backstage/plugin-todo': patch
+'@backstage/plugin-user-settings': patch
+'@backstage/plugin-vault-backend': patch
+'@backstage/plugin-vault': patch
+'@backstage/plugin-xcmetrics': patch
+---
+
+Updated dependency `msw` to `^0.43.0`.
diff --git a/.changeset/renovate-149779d.md b/.changeset/renovate-149779d.md
new file mode 100644
index 0000000000..58d764485e
--- /dev/null
+++ b/.changeset/renovate-149779d.md
@@ -0,0 +1,5 @@
+---
+'@backstage/plugin-kafka-backend': patch
+---
+
+Updated dependency `kafkajs` to `^2.0.0`.
diff --git a/.changeset/renovate-2ae4dda.md b/.changeset/renovate-2ae4dda.md
new file mode 100644
index 0000000000..2cedbcb9d7
--- /dev/null
+++ b/.changeset/renovate-2ae4dda.md
@@ -0,0 +1,5 @@
+---
+'@backstage/plugin-catalog-backend-module-openapi': patch
+---
+
+Updated dependency `openapi-types` to `^12.0.0`.
diff --git a/.changeset/renovate-7438bff.md b/.changeset/renovate-7438bff.md
new file mode 100644
index 0000000000..43a4ac5016
--- /dev/null
+++ b/.changeset/renovate-7438bff.md
@@ -0,0 +1,16 @@
+---
+'@backstage/backend-common': patch
+'@backstage/backend-tasks': patch
+'@backstage/backend-test-utils': patch
+'@backstage/plugin-app-backend': patch
+'@backstage/plugin-auth-backend': patch
+'@backstage/plugin-bazaar-backend': patch
+'@backstage/plugin-catalog-backend': patch
+'@backstage/plugin-code-coverage-backend': patch
+'@backstage/plugin-scaffolder-backend': patch
+'@backstage/plugin-search-backend-module-pg': patch
+'@backstage/plugin-tech-insights-backend': patch
+'@backstage/plugin-techdocs-backend': patch
+---
+
+Updated dependency `knex` to `^2.0.0`.
diff --git a/.changeset/renovate-833a91b.md b/.changeset/renovate-833a91b.md
new file mode 100644
index 0000000000..15e23ec5ff
--- /dev/null
+++ b/.changeset/renovate-833a91b.md
@@ -0,0 +1,7 @@
+---
+'@backstage/core-components': patch
+'@backstage/plugin-codescene': patch
+'@backstage/plugin-sonarqube': patch
+---
+
+Updated dependency `rc-progress` to `3.4.0`.
diff --git a/.changeset/renovate-913f3dc.md b/.changeset/renovate-913f3dc.md
new file mode 100644
index 0000000000..edb2f95356
--- /dev/null
+++ b/.changeset/renovate-913f3dc.md
@@ -0,0 +1,5 @@
+---
+'@backstage/config-loader': patch
+---
+
+Updated dependency `typescript-json-schema` to `^0.54.0`.
diff --git a/.changeset/renovate-cbb545a.md b/.changeset/renovate-cbb545a.md
new file mode 100644
index 0000000000..be423e8252
--- /dev/null
+++ b/.changeset/renovate-cbb545a.md
@@ -0,0 +1,5 @@
+---
+'@backstage/plugin-api-docs': patch
+---
+
+Updated dependency `@asyncapi/react-component` to `1.0.0-next.39`.
diff --git a/.changeset/search-boats-double.md b/.changeset/search-boats-double.md
new file mode 100644
index 0000000000..92fd372cb8
--- /dev/null
+++ b/.changeset/search-boats-double.md
@@ -0,0 +1,5 @@
+---
+'@backstage/plugin-search-react': patch
+---
+
+Fix search pagination to reset page cursor also when a term is cleared.
diff --git a/.changeset/search-lightning-cult.md b/.changeset/search-lightning-cult.md
new file mode 100644
index 0000000000..79cd256e77
--- /dev/null
+++ b/.changeset/search-lightning-cult.md
@@ -0,0 +1,24 @@
+---
+'@backstage/plugin-search-backend-module-elasticsearch': minor
+---
+
+**BREAKING**: In order to remain interoperable with all currently supported
+deployments of Elasticsearch, this package will now conditionally use either
+the `@elastic/elasticsearch` or `@opensearch-project/opensearch` client when
+communicating with your deployed cluster.
+
+If you do not rely on types exported from this package, or if you do not make
+use of the `createElasticSearchClientOptions` or `newClient` methods on the
+`ElasticSearchSearchEngine` class, then upgrading to this version should not
+require any further action on your part. Everything will continue to work as it
+always has.
+
+If you _do_ rely on either of the above methods or any underlying types, some
+changes may be needed to your custom code. A type guard is now exported by this
+package (`isOpenSearchCompatible(options)`), which you may use to help clarify
+which client options are compatible with which client constructors.
+
+If you are using this package with the `search.elasticsearch.provider` set to
+`aws`, and you are making use of the `newClient` method in particular, you may
+wish to start using the `@opensearch-project/opensearch` client in your custom
+code.
diff --git a/.changeset/serious-houses-watch.md b/.changeset/serious-houses-watch.md
new file mode 100644
index 0000000000..63d5253bcb
--- /dev/null
+++ b/.changeset/serious-houses-watch.md
@@ -0,0 +1,7 @@
+---
+'@backstage/theme': patch
+---
+
+**DEPRECATED**: The `bursts` object from `BackstagePaletteAdditions` has been depreciated and will be removed in a future release
+
+The `genPageTheme` function now includes an optional options object with an optional `fontColor` which defaults to white if not provided.
diff --git a/.changeset/shiny-seahorses-do.md b/.changeset/shiny-seahorses-do.md
new file mode 100644
index 0000000000..06892900bf
--- /dev/null
+++ b/.changeset/shiny-seahorses-do.md
@@ -0,0 +1,5 @@
+---
+'@backstage/plugin-badges-backend': patch
+---
+
+Add missing installation instructions
diff --git a/.changeset/short-deers-remember.md b/.changeset/short-deers-remember.md
new file mode 100644
index 0000000000..7579e7773b
--- /dev/null
+++ b/.changeset/short-deers-remember.md
@@ -0,0 +1,21 @@
+---
+'@backstage/backend-common': patch
+'@backstage/integration': patch
+'@backstage/plugin-adr': patch
+'@backstage/plugin-catalog-backend': patch
+'@backstage/plugin-catalog-import': patch
+'@backstage/plugin-scaffolder': patch
+'@backstage/plugin-scaffolder-backend': patch
+'@backstage/plugin-techdocs': patch
+'@backstage/plugin-techdocs-module-addons-contrib': patch
+'@backstage/plugin-techdocs-node': patch
+---
+
+Upgrade git-url-parse to 12.0.0.
+
+Motivation for upgrade is transitively upgrading parse-url which is vulnerable
+to several CVEs detected by Snyk.
+
+- SNYK-JS-PARSEURL-2935944
+- SNYK-JS-PARSEURL-2935947
+- SNYK-JS-PARSEURL-2936249
diff --git a/.changeset/silly-geese-design.md b/.changeset/silly-geese-design.md
new file mode 100644
index 0000000000..d4f8de2510
--- /dev/null
+++ b/.changeset/silly-geese-design.md
@@ -0,0 +1,6 @@
+---
+'@backstage/plugin-api-docs': patch
+'@backstage/plugin-catalog': minor
+---
+
+Add hidden title column to catalog and API table to enable filtering by title.
diff --git a/.changeset/silver-needles-unite.md b/.changeset/silver-needles-unite.md
new file mode 100644
index 0000000000..b5fed7e615
--- /dev/null
+++ b/.changeset/silver-needles-unite.md
@@ -0,0 +1,26 @@
+---
+'@backstage/plugin-home': patch
+---
+
+Added support for customizing the time format used in the `HeaderWorldClock` component
+
+Here's an example of how this can be used in the `HomePage.tsx` found in `\packages\app\src\components\home` to change the clock to be in the 24hr time format:
+
+```diff
++const timeFormat: Intl.DateTimeFormatOptions = {
++ hour: '2-digit',
++ minute: '2-digit',
++ hour12: false,
++};
+
+export const homePage = (
+
+ } pageTitleOverride="Home">
++
+
+
+
+
+
+
+```
diff --git a/.changeset/small-shoes-hide.md b/.changeset/small-shoes-hide.md
new file mode 100644
index 0000000000..b1f95e9f2d
--- /dev/null
+++ b/.changeset/small-shoes-hide.md
@@ -0,0 +1,5 @@
+---
+'@backstage/plugin-search-backend-node': patch
+---
+
+Exports `MissingIndexError` that can be used by the search engines for better error handling when missing index.
diff --git a/.changeset/smart-elephants-knock.md b/.changeset/smart-elephants-knock.md
new file mode 100644
index 0000000000..7aed10a71e
--- /dev/null
+++ b/.changeset/smart-elephants-knock.md
@@ -0,0 +1,5 @@
+---
+'@backstage/cli': patch
+---
+
+The `test` command now ensures that all IO is flushed before exiting when printing `--help`.
diff --git a/.changeset/techdocs-sixty-mugs-hug.md b/.changeset/techdocs-sixty-mugs-hug.md
new file mode 100644
index 0000000000..a1a9e815a1
--- /dev/null
+++ b/.changeset/techdocs-sixty-mugs-hug.md
@@ -0,0 +1,5 @@
+---
+'@backstage/plugin-techdocs': patch
+---
+
+Fix: When docs are shown in an entity page under the docs tab the sidebars start overlapping with the header and tabs in the page when you scroll the documentation content.
diff --git a/.changeset/ten-cobras-wash.md b/.changeset/ten-cobras-wash.md
new file mode 100644
index 0000000000..81915d958d
--- /dev/null
+++ b/.changeset/ten-cobras-wash.md
@@ -0,0 +1,5 @@
+---
+'@backstage/plugin-auth-backend': minor
+---
+
+Allowed post method on /refresh path
diff --git a/.changeset/tender-chicken-learn.md b/.changeset/tender-chicken-learn.md
new file mode 100644
index 0000000000..bd95c5545f
--- /dev/null
+++ b/.changeset/tender-chicken-learn.md
@@ -0,0 +1,5 @@
+---
+'@backstage/plugin-search-backend': patch
+---
+
+If error is `MissingIndexError` we return a 400 response with a more clear error message.
diff --git a/.changeset/tender-terms-flash.md b/.changeset/tender-terms-flash.md
new file mode 100644
index 0000000000..ca5fdb3799
--- /dev/null
+++ b/.changeset/tender-terms-flash.md
@@ -0,0 +1,5 @@
+---
+'@backstage/integration': patch
+---
+
+Avoid double encoding of the file path in `getBitbucketServerDownloadUrl`
diff --git a/.changeset/thick-cats-kiss.md b/.changeset/thick-cats-kiss.md
new file mode 100644
index 0000000000..8817115ec3
--- /dev/null
+++ b/.changeset/thick-cats-kiss.md
@@ -0,0 +1,7 @@
+---
+'@backstage/plugin-catalog': patch
+---
+
+Adding ability to customize the "unregister entity" menu item in the entity context menu on the entity page with options 'visible','hidden','disabled'.With this three new options, one can hide the "unregister entity" menu item from the list, disable or keep it enabled.
+
+The boolean input for "unregister entity" will be deprecated later in favour of the above three options.
diff --git a/.changeset/thirty-rivers-watch.md b/.changeset/thirty-rivers-watch.md
new file mode 100644
index 0000000000..d92343f365
--- /dev/null
+++ b/.changeset/thirty-rivers-watch.md
@@ -0,0 +1,5 @@
+---
+'@backstage/plugin-scaffolder-backend': minor
+---
+
+Added two new scaffolder actions: `github:repo:create` and `github:repo:push`
diff --git a/.changeset/tricky-ravens-visit.md b/.changeset/tricky-ravens-visit.md
new file mode 100644
index 0000000000..8500c9b64e
--- /dev/null
+++ b/.changeset/tricky-ravens-visit.md
@@ -0,0 +1,6 @@
+---
+'@backstage/core-components': patch
+'@backstage/plugin-catalog': patch
+---
+
+Updated to remove usage of the `bursts` object in the theme palette
diff --git a/.changeset/two-owls-cry.md b/.changeset/two-owls-cry.md
new file mode 100644
index 0000000000..ca371781a1
--- /dev/null
+++ b/.changeset/two-owls-cry.md
@@ -0,0 +1,5 @@
+---
+'@backstage/plugin-search-backend-module-elasticsearch': patch
+---
+
+Throws `MissingIndexError` when no index of type exist.
diff --git a/.changeset/weak-jeans-cry.md b/.changeset/weak-jeans-cry.md
new file mode 100644
index 0000000000..79f419e3db
--- /dev/null
+++ b/.changeset/weak-jeans-cry.md
@@ -0,0 +1,5 @@
+---
+'@backstage/plugin-scaffolder': patch
+---
+
+Add `allowArbitraryValues` to `ui:options` in `OwnedEntityPicker`, similar to `allowArbitraryValues` in `EntityPicker`
diff --git a/.changeset/wicked-ladybugs-argue.md b/.changeset/wicked-ladybugs-argue.md
new file mode 100644
index 0000000000..9a36cf17cb
--- /dev/null
+++ b/.changeset/wicked-ladybugs-argue.md
@@ -0,0 +1,43 @@
+---
+'@backstage/plugin-catalog': patch
+'@backstage/plugin-catalog-react': patch
+---
+
+Added new `EntityProcessingStatusPicker` that will filter for entities with orphans and/or errors.
+
+If you are using the default Catalog page this picker will be added automatically. For those who have customized their Catalog page you'll need to add this manually by doing something like this:
+
+```diff
+...
+import {
+ CatalogFilterLayout,
+ EntityTypePicker,
+ UserListPicker,
+ EntityTagPicker
++ EntityProcessingStatusPicker,
+} from '@backstage/plugin-catalog-react';
+...
+export const CustomCatalogPage = ({
+ columns,
+ actions,
+ initiallySelectedFilter = 'owned',
+}: CatalogPageProps) => {
+ return (
+ ...
+
+
+
+
+
+
+
++
+
+
+
+
+
+
+ ...
+};
+```
diff --git a/.github/workflows/automate_merge_renovate_prs.yaml b/.github/workflows/automate_merge_renovate_prs.yaml
deleted file mode 100644
index 8de488cf05..0000000000
--- a/.github/workflows/automate_merge_renovate_prs.yaml
+++ /dev/null
@@ -1,85 +0,0 @@
-name: Automate Merge Renovate PRs
-
-on:
- workflow_dispatch:
- schedule:
- - cron: '*/10 * * * *'
-
-jobs:
- diff:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/github-script@v6
- with:
- script: |
- const owner = "backstage";
- const repo = "backstage";
- const query = `{
- repository(owner: "backstage", name: "backstage") {
- pullRequests(labels: ["dependencies"], last: 10, states: [OPEN]) {
- nodes {
- title
- author {
- login
- }
- number
- mergeable
- files(first: 1) {
- nodes {
- path
- }
- }
- changedFiles
- commits(last: 1) {
- nodes {
- commit {
- statusCheckRollup {
- state
- }
- }
- }
- }
- reviewDecision
- reviews(first: 10) {
- nodes {
- author {
- login
- }
- }
- }
- }
- }
- }
- }`;
-
- const date = new Date();
- if (date.getDay() === 2) {
- console.log("Skipping auto merge because Tuesday is release day");
- return;
- }
-
- const r = await github.graphql(query);
- const mergable = r.repository.pullRequests.nodes.filter(
- (pr) =>
- pr.author.login === "renovate" &&
- pr.mergeable === "MERGEABLE" &&
- pr.changedFiles === 1 &&
- pr.files.nodes[0].path.split("/").slice(-1)[0] === "yarn.lock" &&
- pr.commits.nodes[0].commit.statusCheckRollup.state === "SUCCESS" &&
- pr.reviewDecision === "APPROVED"
- );
-
- if (mergable.length === 0) {
- console.log("no mergable PRs");
- return;
- }
-
- for (const pr of mergable) {
- console.log(`Merging #${pr.number} - ${pr.title}`);
- await github.rest.pulls.merge({
- owner,
- repo,
- pull_number: pr.number,
- });
- await new Promise((r) => setTimeout(r, 2000));
- }
diff --git a/.github/workflows/automate_review-labels-scheduled.yaml b/.github/workflows/automate_review-labels-scheduled.yaml
deleted file mode 100644
index 3ba13cfd17..0000000000
--- a/.github/workflows/automate_review-labels-scheduled.yaml
+++ /dev/null
@@ -1,31 +0,0 @@
-# on a review from someone in the reviewers group, remove the awaiting-review label and add the awaiting-author label
-name: Automate review labels - scheduled
-on:
- schedule:
- - cron: '* * * * *'
-
-jobs:
- label:
- runs-on: ubuntu-latest
- steps:
- - name: Get Token
- id: get_workflow_token
- uses: peter-murray/workflow-application-token-action@v1
- with:
- application_id: ${{ secrets.BACKSTAGE_GOALIE_APPLICATION_ID }}
- application_private_key: ${{ secrets.BACKSTAGE_GOALIE_PRIVATE_KEY }}
- organization: backstage
-
- - uses: actions/checkout@v3
- - uses: actions/setup-node@v3
- with:
- node-version: 14
- - run: npm install codeowners
-
- - uses: actions/github-script@v6
- id: fix-labels
- with:
- github-token: ${{ steps.get_workflow_token.outputs.token }}
- script: |
- const script = require('./scripts/goalie-labels.js')
- await script({github, context, core})
diff --git a/.github/workflows/automate_review-labels.yaml b/.github/workflows/automate_review-labels.yaml
deleted file mode 100644
index cae71f6aaa..0000000000
--- a/.github/workflows/automate_review-labels.yaml
+++ /dev/null
@@ -1,84 +0,0 @@
-# When the target of the PR changes, open, re-open or sync, then re-add the label.
-
-name: Automate review labels
-on:
- pull_request_target:
- types:
- - opened
- - closed
- - synchronize
-
-permissions:
- issues: write
- pull-requests: write
-
-jobs:
- label:
- runs-on: ubuntu-latest
- steps:
- # THESE SCRIPTS SHOULD BE INLINED AND NOT IN REPO
- # DUE TO THE TOKEN PERMISSIONS THAT ARE GIVEN
- # TO THE WORKFLOW. THIS SCRIPT WILL AND SHOULD
- # RUN FROM THE BASE REPO ALL TIMES.
- - uses: actions/github-script@v6
- id: fix-labels
- with:
- github-token: ${{ secrets.GITHUB_TOKEN }}
- script: |
- if (['opened', 'synchronize'].includes('${{ github.event.action }}')) {
- // if it's the author, always add awaiting-review label
- const isAuthor = context.payload.pull_request.user.login === context.actor
- if (isAuthor) {
- await github.rest.issues.addLabels({
- issue_number: context.issue.number,
- owner: context.repo.owner,
- repo: context.repo.repo,
- labels: ['awaiting-review']
- });
- }
- }
-
- if ('${{ github.event.action}}' === 'closed') {
- await github.rest.issues.removeLabel({
- issue_number: context.issue.number,
- owner: context.repo.owner,
- repo: context.repo.repo,
- labels: 'awaiting-review'
- }).catch((e) => {
- console.log(e)
- });
- }
-
- - name: Add PRs to review board
- uses: actions/github-script@v6
- if: github.event.action == 'opened' || github.event.action == 'reopened'
- env:
- PROJECT_ID: PN_kwDOBFKqdc02LQ
- with:
- github-token: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
- script: |
- const prLookup = await github.graphql(`
- query($owner: String!, $repo: String!, $number: Int!){
- repository(owner: $owner, name: $repo) {
- pullRequest(number: $number) {
- id
- }
- }
- }
- `, context.issue);
-
- await github.graphql(`
- mutation($projectId: ID!, $contentId: ID!) {
- addProjectNextItem(input: {
- projectId: $projectId,
- contentId: $contentId,
- }) {
- projectNextItem {
- id
- }
- }
- }
- `, {
- projectId: process.env.PROJECT_ID,
- contentId: prLookup.repository.pullRequest.id
- })
diff --git a/.github/workflows/automate_stale.yml b/.github/workflows/automate_stale.yml
index f9c655fc4a..8978048c89 100644
--- a/.github/workflows/automate_stale.yml
+++ b/.github/workflows/automate_stale.yml
@@ -25,6 +25,6 @@ jobs:
If you are the author and the PR has been closed, feel free to re-open the PR and continue the contribution!
days-before-pr-stale: 7
days-before-pr-close: 5
- exempt-pr-labels: reviewer-approved,awaiting-review,will-fix
+ exempt-pr-labels: reviewer-approved,will-fix
stale-pr-label: stale
operations-per-run: 100
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0718c8a8b9..e38df375b6 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -9,9 +9,116 @@ concurrency:
cancel-in-progress: true
jobs:
+ # This step only runs yarn install to make sure that an exact match is available
+ # in the cache. The two following verify and tests jobs then always install from cache.
+ install:
+ runs-on: ubuntu-latest
+
+ strategy:
+ matrix:
+ node-version: [14.x, 16.x]
+
+ env:
+ CI: true
+ NODE_OPTIONS: --max-old-space-size=4096
+
+ steps:
+ - uses: actions/checkout@v3
+
+ - name: use node.js ${{ matrix.node-version }}
+ uses: actions/setup-node@v3
+ with:
+ node-version: ${{ matrix.node-version }}
+ registry-url: https://registry.npmjs.org/ # Needed for auth
+
+ - name: yarn install
+ uses: backstage/actions/yarn-install@v0.5.0
+ with:
+ cache-prefix: ${{ runner.os }}-v${{ matrix.node-version }}
+
+ # The verify jobs runs all the verification that doesn't require a
+ # diff towards master, since it takes some time to fetch that.
verify:
runs-on: ubuntu-latest
+ needs: install
+
+ strategy:
+ matrix:
+ node-version: [14.x, 16.x]
+
+ env:
+ CI: true
+ NODE_OPTIONS: --max-old-space-size=4096
+
+ steps:
+ - uses: actions/checkout@v3
+
+ - name: use node.js ${{ matrix.node-version }}
+ uses: actions/setup-node@v3
+ with:
+ node-version: ${{ matrix.node-version }}
+ registry-url: https://registry.npmjs.org/ # Needed for auth
+
+ - name: yarn install
+ uses: backstage/actions/yarn-install@v0.5.0
+ with:
+ cache-prefix: ${{ runner.os }}-v${{ matrix.node-version }}
+
+ - name: verify changesets
+ run: node scripts/verify-changesets.js
+
+ - name: verify local dependency ranges
+ run: node scripts/verify-local-dependencies.js
+
+ - name: validate config
+ run: yarn backstage-cli config:check --lax
+
+ - name: type checking and declarations
+ run: yarn tsc:full
+
+ - name: prettier
+ run: yarn prettier:check
+
+ # We need to generate the API references as well, so that we can verify the doc links
+ - name: check api reports and generate API reference
+ run: yarn build:api-reports:only --ci --docs
+
+ - name: verify api reference
+ run: node scripts/verify-api-reference.js
+
+ - name: verify doc links
+ run: node scripts/verify-links.js
+
+ - name: build all packages
+ run: yarn backstage-cli repo build --all
+
+ - name: verify type dependencies
+ run: yarn lint:type-deps
+
+ - name: verify plugin template
+ run: yarn lerna -- run diff -- --check
+
+ - name: ensure clean working directory
+ run: |
+ if files=$(git ls-files --exclude-standard --others --modified) && [[ -z "$files" ]]; then
+ exit 0
+ else
+ echo ""
+ echo "Working directory has been modified:"
+ echo ""
+ git status --short
+ echo ""
+ exit 1
+ fi
+
+ # The test job runs all tests as well as any verification step that
+ # requires a diff towards master.
+ test:
+ runs-on: ubuntu-latest
+
+ needs: install
+
strategy:
matrix:
node-version: [14.x, 16.x]
@@ -64,93 +171,28 @@ jobs:
- name: fetch branch master
run: git fetch origin master
- # Beginning of yarn setup, keep in sync between all workflows.
- # TODO(Rugvip): move this to composite action once all features we use are supported
- name: use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/ # Needed for auth
- # Cache every node_modules folder inside the monorepo
- - name: cache all node_modules
- id: cache-modules
- uses: actions/cache@v3
- with:
- path: '**/node_modules'
- # We use both yarn.lock and package.json as cache keys to ensure that
- # changes to local monorepo packages bust the cache.
- key: ${{ runner.os }}-v${{ matrix.node-version }}-node_modules-${{ hashFiles('yarn.lock', '**/package.json') }}
-
- # If we get a cache hit for node_modules, there's no need to bring in the global
- # yarn cache or run yarn install, as all dependencies will be installed already.
-
- - name: find location of global yarn cache
- id: yarn-cache
- if: steps.cache-modules.outputs.cache-hit != 'true'
- run: echo "::set-output name=dir::$(yarn cache dir)"
-
- - name: cache global yarn cache
- uses: actions/cache@v3
- if: steps.cache-modules.outputs.cache-hit != 'true'
- with:
- path: ${{ steps.yarn-cache.outputs.dir }}
- key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
- restore-keys: |
- ${{ runner.os }}-yarn-
-
- name: yarn install
- if: steps.cache-modules.outputs.cache-hit != 'true'
- run: yarn install --frozen-lockfile
- # End of yarn setup
+ uses: backstage/actions/yarn-install@v0.5.0
+ with:
+ cache-prefix: ${{ runner.os }}-v${{ matrix.node-version }}
- name: check for yarn.lock changes
id: yarn-lock
run: git diff --quiet origin/master HEAD -- yarn.lock
continue-on-error: true
- - name: prettier
- run: yarn prettier:check
-
- name: lock
run: yarn lock:check
- - name: validate config
- run: yarn backstage-cli config:check --lax
-
- name: lint
run: yarn backstage-cli repo lint --since origin/master
- - name: type checking and declarations
- run: yarn tsc:full
-
- # We need to generate the API references as well, so that we can verify the doc links
- - name: check api reports and generate API reference
- run: yarn build:api-reports:only --ci --docs
-
- - name: verify api reference
- run: node scripts/verify-api-reference.js
-
- - name: verify changesets
- run: node scripts/verify-changesets.js
-
- - name: verify doc links
- run: node scripts/verify-links.js
-
- - name: verify local dependency ranges
- run: node scripts/verify-local-dependencies.js
-
- - name: build changed packages
- if: ${{ steps.yarn-lock.outcome == 'success' }}
- run: yarn backstage-cli repo build --all --since origin/master
-
- - name: build all packages
- if: ${{ steps.yarn-lock.outcome == 'failure' }}
- run: yarn backstage-cli repo build --all
-
- - name: verify type dependencies
- run: yarn lint:type-deps
-
- name: test changed packages
if: ${{ steps.yarn-lock.outcome == 'success' }}
run: yarn lerna -- run test --since origin/master -- --coverage --runInBand
@@ -173,9 +215,6 @@ jobs:
BACKSTAGE_TEST_DATABASE_POSTGRES9_CONNECTION_STRING: postgresql://postgres:postgres@localhost:${{ job.services.postgres9.ports[5432] }}
BACKSTAGE_TEST_DATABASE_MYSQL8_CONNECTION_STRING: mysql://root:root@localhost:${{ job.services.mysql8.ports[3306] }}/ignored
- - name: verify plugin template
- run: yarn lerna -- run diff -- --check
-
- name: ensure clean working directory
run: |
if files=$(git ls-files --exclude-standard --others --modified) && [[ -z "$files" ]]; then
diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml
new file mode 100644
index 0000000000..5b5c8b63c8
--- /dev/null
+++ b/.github/workflows/cron.yml
@@ -0,0 +1,15 @@
+name: Cron
+on:
+ workflow_dispatch:
+ schedule:
+ - cron: '*/5 * * * *'
+
+jobs:
+ cron:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: backstage/actions/cron@v0.5.0
+ with:
+ app-id: ${{ secrets.BACKSTAGE_GOALIE_APPLICATION_ID }}
+ private-key: ${{ secrets.BACKSTAGE_GOALIE_PRIVATE_KEY }}
+ installation-id: ${{ secrets.BACKSTAGE_GOALIE_INSTALLATION_ID }}
diff --git a/.github/workflows/deploy_docker-image.yml b/.github/workflows/deploy_docker-image.yml
new file mode 100644
index 0000000000..6cb97d1a9e
--- /dev/null
+++ b/.github/workflows/deploy_docker-image.yml
@@ -0,0 +1,89 @@
+name: Build and push Docker Hub image
+on:
+ repository_dispatch:
+ types: [release-published]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: checkout
+ uses: actions/checkout@v2
+ with:
+ path: backstage
+ ref: v${{ github.event.client_payload.version }}
+
+ - name: setup-node
+ uses: actions/setup-node@v1
+ with:
+ node-version: 16.x
+ registry-url: https://registry.npmjs.org/
+
+ # Beginning of yarn setup, keep in sync between all workflows.
+ # TODO(Rugvip): move this to composite action once all features we use are supported
+ - name: use node.js ${{ matrix.node-version }}
+ uses: actions/setup-node@v1
+ with:
+ node-version: ${{ matrix.node-version }}
+ registry-url: https://registry.npmjs.org/ # Needed for auth
+
+ # Cache every node_modules folder inside the monorepo
+ - name: cache all node_modules
+ id: cache-modules
+ uses: actions/cache@v2
+ with:
+ path: '**/node_modules'
+ # We use both yarn.lock and package.json as cache keys to ensure that
+ # changes to local monorepo packages bust the cache.
+ key: ${{ runner.os }}-v${{ matrix.node-version }}-node_modules-${{ hashFiles('yarn.lock', '**/package.json') }}
+
+ # If we get a cache hit for node_modules, there's no need to bring in the global
+ # yarn cache or run yarn install, as all dependencies will be installed already.
+
+ - name: find location of global yarn cache
+ id: yarn-cache
+ if: steps.cache-modules.outputs.cache-hit != 'true'
+ run: echo "::set-output name=dir::$(yarn cache dir)"
+
+ - name: cache global yarn cache
+ uses: actions/cache@v2
+ if: steps.cache-modules.outputs.cache-hit != 'true'
+ with:
+ path: ${{ steps.yarn-cache.outputs.dir }}
+ key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
+ restore-keys: |
+ ${{ runner.os }}-yarn-
+ - name: yarn install
+ if: steps.cache-modules.outputs.cache-hit != 'true'
+ run: yarn install --frozen-lockfile
+ # End of yarn setup
+
+ - name: create-app
+ run: npx @backstage/create-app
+ env:
+ BACKSTAGE_APP_NAME: example-app
+
+ - name: yarn build
+ run: yarn build
+ working-directory: ./example-app
+
+ - name: Login to GitHub Container Registry
+ uses: docker/login-action@v1
+ with:
+ registry: ghcr.io
+ username: ${{ github.actor }}
+ password: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Set up Docker Buildx
+ uses: docker/setup-buildx-action@v1
+
+ - name: Build and push
+ uses: docker/build-push-action@v2
+ with:
+ context: './example-app'
+ file: ./example-app/packages/backend/Dockerfile
+ push: true
+ tags: |
+ ghcr.io/${{ github.repository_owner }}/backstage:latest
+ ghcr.io/${{ github.repository_owner }}/backstage:${{ github.event.client_payload.version }}
diff --git a/.github/workflows/deploy_microsite.yml b/.github/workflows/deploy_microsite.yml
index d0f8dc1e79..ffada71523 100644
--- a/.github/workflows/deploy_microsite.yml
+++ b/.github/workflows/deploy_microsite.yml
@@ -55,7 +55,7 @@ jobs:
run: ls microsite/build/backstage && ls microsite/build/backstage/storybook
- name: Deploy both microsite and storybook to gh-pages
- uses: JamesIves/github-pages-deploy-action@v4.3.3
+ uses: JamesIves/github-pages-deploy-action@v4.3.4
with:
branch: gh-pages
folder: microsite/build/backstage
diff --git a/.github/workflows/deploy_nightly.yml b/.github/workflows/deploy_nightly.yml
index c90894bce4..427a7139a0 100644
--- a/.github/workflows/deploy_nightly.yml
+++ b/.github/workflows/deploy_nightly.yml
@@ -20,33 +20,15 @@ jobs:
steps:
- uses: actions/checkout@v3
- # Beginning of yarn setup, keep in sync between all workflows, see ci.yml
- name: use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/ # Needed for auth
- - name: cache all node_modules
- id: cache-modules
- uses: actions/cache@v3
- with:
- path: '**/node_modules'
- key: ${{ runner.os }}-v${{ matrix.node-version }}-node_modules-${{ hashFiles('yarn.lock', '**/package.json') }}
- - name: find location of global yarn cache
- id: yarn-cache
- if: steps.cache-modules.outputs.cache-hit != 'true'
- run: echo "::set-output name=dir::$(yarn cache dir)"
- - name: cache global yarn cache
- uses: actions/cache@v3
- if: steps.cache-modules.outputs.cache-hit != 'true'
- with:
- path: ${{ steps.yarn-cache.outputs.dir }}
- key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
- restore-keys: |
- ${{ runner.os }}-yarn-
- name: yarn install
- run: yarn install --frozen-lockfile
- # End of yarn setup
+ uses: backstage/actions/yarn-install@v0.5.0
+ with:
+ cache-prefix: ${{ runner.os }}-v${{ matrix.node-version }}
# No verification done here, only build & publish. If the master branch
# is broken we will see that from those builds, but we still want to push nightly
diff --git a/.github/workflows/deploy_packages.yml b/.github/workflows/deploy_packages.yml
index b63507df0c..30d4bf9ee2 100644
--- a/.github/workflows/deploy_packages.yml
+++ b/.github/workflows/deploy_packages.yml
@@ -61,33 +61,15 @@ jobs:
steps:
- uses: actions/checkout@v3
- # Beginning of yarn setup, keep in sync between all workflows, see ci.yml
- name: use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/ # Needed for auth
- - name: cache all node_modules
- id: cache-modules
- uses: actions/cache@v3
- with:
- path: '**/node_modules'
- key: ${{ runner.os }}-v${{ matrix.node-version }}-node_modules-${{ hashFiles('yarn.lock', '**/package.json') }}
- - name: find location of global yarn cache
- id: yarn-cache
- if: steps.cache-modules.outputs.cache-hit != 'true'
- run: echo "::set-output name=dir::$(yarn cache dir)"
- - name: cache global yarn cache
- uses: actions/cache@v3
- if: steps.cache-modules.outputs.cache-hit != 'true'
- with:
- path: ${{ steps.yarn-cache.outputs.dir }}
- key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
- restore-keys: |
- ${{ runner.os }}-yarn-
- name: yarn install
- run: yarn install --frozen-lockfile
- # End of yarn setup
+ uses: backstage/actions/yarn-install@v0.5.0
+ with:
+ cache-prefix: ${{ runner.os }}-v${{ matrix.node-version }}
- name: Fetch previous commit for release check
run: git fetch origin '${{ github.event.before }}'
@@ -157,33 +139,15 @@ jobs:
steps:
- uses: actions/checkout@v3
- # Beginning of yarn setup, keep in sync between all workflows, see ci.yml
- name: use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/ # Needed for auth
- - name: cache all node_modules
- id: cache-modules
- uses: actions/cache@v3
- with:
- path: '**/node_modules'
- key: ${{ runner.os }}-v${{ matrix.node-version }}-node_modules-${{ hashFiles('yarn.lock', '**/package.json') }}
- - name: find location of global yarn cache
- id: yarn-cache
- if: steps.cache-modules.outputs.cache-hit != 'true'
- run: echo "::set-output name=dir::$(yarn cache dir)"
- - name: cache global yarn cache
- uses: actions/cache@v3
- if: steps.cache-modules.outputs.cache-hit != 'true'
- with:
- path: ${{ steps.yarn-cache.outputs.dir }}
- key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
- restore-keys: |
- ${{ runner.os }}-yarn-
- name: yarn install
- run: yarn install --frozen-lockfile
- # End of yarn setup
+ uses: backstage/actions/yarn-install@v0.5.0
+ with:
+ cache-prefix: ${{ runner.os }}-v${{ matrix.node-version }}
- name: build type declarations
run: yarn tsc:full
@@ -209,7 +173,7 @@ jobs:
# Grabs the version in the root package.json and creates a tag on GitHub
- name: Create a release tag
id: create_tag
- run: node scripts/create-release-tag.js --dispatch-workflows
+ run: node scripts/create-release-tag.js
env:
GITHUB_TOKEN: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
@@ -219,6 +183,13 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
+ - name: Dispatch repository event
+ uses: peter-evans/repository-dispatch@v2
+ with:
+ token: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
+ event-type: release-published
+ client-payload: '{"version": "${{ steps.create_tag.outputs.version }}"}'
+
# Notify everyone about this great new release :D
- name: Discord notification
uses: Ilshidur/action-discord@0.3.2
diff --git a/.github/workflows/issue.yaml b/.github/workflows/issue.yaml
new file mode 100644
index 0000000000..bc0dd15617
--- /dev/null
+++ b/.github/workflows/issue.yaml
@@ -0,0 +1,13 @@
+name: Issue
+on:
+ issues:
+ types: [opened]
+
+jobs:
+ sync:
+ runs-on: ubuntu-latest
+
+ if: github.repository == 'backstage/backstage'
+ steps:
+ - name: Issue sync
+ uses: backstage/actions/issue-sync@v0.5.0
diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml
new file mode 100644
index 0000000000..c8fe3e2d69
--- /dev/null
+++ b/.github/workflows/pr.yaml
@@ -0,0 +1,32 @@
+name: PR
+on:
+ pull_request_target:
+ types:
+ - opened
+ - synchronize
+ - reopened
+ - closed
+ issue_comment:
+ types:
+ - created
+ pull_request_review_comment:
+ types:
+ - created
+
+jobs:
+ sync:
+ runs-on: ubuntu-latest
+
+ # Avoid running on issue comments
+ if: github.repository == 'backstage/backstage' && ( github.event.pull_request || github.event.issue.pull_request )
+ steps:
+ - name: PR sync
+ uses: backstage/actions/pr-sync@v0.5.0
+ with:
+ github-token: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
+ app-id: ${{ secrets.BACKSTAGE_GOALIE_APPLICATION_ID }}
+ private-key: ${{ secrets.BACKSTAGE_GOALIE_PRIVATE_KEY }}
+ installation-id: ${{ secrets.BACKSTAGE_GOALIE_INSTALLATION_ID }}
+ project-id: PVT_kwDOBFKqdc02LQ
+ excluded-users: ${{ secrets.OOO_USERS }}
+ owning-teams: '@backstage/techdocs'
diff --git a/.github/workflows/sync_approve_renovate_pr.yaml b/.github/workflows/sync_approve_renovate_pr.yaml
deleted file mode 100644
index 2d25bea223..0000000000
--- a/.github/workflows/sync_approve_renovate_pr.yaml
+++ /dev/null
@@ -1,37 +0,0 @@
-name: Approve renovate lock file changes
-on:
- pull_request_target:
- paths:
- - '.github/workflows/sync_renovate-changesets.yml'
- - '**/yarn.lock'
-
-jobs:
- generate-changeset:
- runs-on: ubuntu-latest
- if: github.actor == 'renovate[bot]' && github.repository == 'backstage/backstage'
- steps:
- - name: Approve
- uses: actions/github-script@v6
- with:
- github-token: ${{ secrets.GH_SERVICE_ACCOUNT_TOKEN }}
- script: |
- const owner = 'backstage';
- const repo = 'backstage';
-
- const r = await github.rest.pulls.listFiles({
- owner,
- repo,
- pull_number: context.issue.number,
- });
-
- if (r.data.some((f) => f.filename.split('/').slice(-1)[0] !== 'yarn.lock')) {
- console.log('skipping approval since some files are not yarn.lock');
- return;
- }
-
- await github.rest.pulls.createReview({
- owner,
- repo,
- pull_number: context.issue.number,
- event: 'APPROVE'
- })
diff --git a/.github/workflows/sync_code-formatting.yml b/.github/workflows/sync_code-formatting.yml
index b6fce0e68d..0d3add5f12 100644
--- a/.github/workflows/sync_code-formatting.yml
+++ b/.github/workflows/sync_code-formatting.yml
@@ -14,33 +14,15 @@ jobs:
# Fetch changes to previous commit - required for 'only_changed' in Prettier action
fetch-depth: 0
- # Beginning of yarn setup, keep in sync between all workflows, see ci.yml
- name: use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/ # Needed for auth
- - name: cache all node_modules
- id: cache-modules
- uses: actions/cache@v3
- with:
- path: '**/node_modules'
- key: ${{ runner.os }}-v${{ matrix.node-version }}-node_modules-${{ hashFiles('yarn.lock', '**/package.json') }}
- - name: find location of global yarn cache
- id: yarn-cache
- if: steps.cache-modules.outputs.cache-hit != 'true'
- run: echo "::set-output name=dir::$(yarn cache dir)"
- - name: cache global yarn cache
- uses: actions/cache@v3
- if: steps.cache-modules.outputs.cache-hit != 'true'
- with:
- path: ${{ steps.yarn-cache.outputs.dir }}
- key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
- restore-keys: |
- ${{ runner.os }}-yarn-
- name: yarn install
- run: yarn install --frozen-lockfile
- # End of yarn setup
+ uses: backstage/actions/yarn-install@v0.5.0
+ with:
+ cache-prefix: ${{ runner.os }}-v${{ matrix.node-version }}
- name: Run Prettier on ADOPTERS.md
uses: creyD/prettier_action@v4.2
diff --git a/.github/workflows/sync_issue-labels.yml b/.github/workflows/sync_issue-labels.yml
deleted file mode 100644
index 91b5f79f5d..0000000000
--- a/.github/workflows/sync_issue-labels.yml
+++ /dev/null
@@ -1,38 +0,0 @@
-name: Sync Issue Labels
-on:
- issues:
- types: [opened]
-jobs:
- label-issue:
- runs-on: ubuntu-latest
- if: github.repository == 'backstage/backstage'
- steps:
- - name: View context attributes
- uses: actions/github-script@v6
- with:
- script: |
- const keywords = {
- 'techdocs|tech-docs|tech docs': 'docs-like-code',
- 'search': 'search',
- 'catalog': 'catalog',
- 'scaffolder': 'scaffolder',
- };
-
- const labels = Object.entries(keywords)
- .map(([regexp, label]) => {
- if (new RegExp(regexp, 'gi').test(context.payload.issue.title)) {
- return label;
- }
- })
- .filter(Boolean);
-
- if(!labels.length) {
- return;
- }
-
- github.rest.issues.addLabels({
- issue_number: context.issue.number,
- owner: context.repo.owner,
- repo: context.repo.repo,
- labels
- });
diff --git a/.github/workflows/sync_release-manifest.yml b/.github/workflows/sync_release-manifest.yml
index 816a3e632f..8cf6991aaf 100644
--- a/.github/workflows/sync_release-manifest.yml
+++ b/.github/workflows/sync_release-manifest.yml
@@ -1,10 +1,7 @@
name: Sync Release Manifest
on:
- workflow_dispatch:
- inputs:
- version:
- description: Version number, without any 'v' prefix
- required: true
+ repository_dispatch:
+ types: [release-published]
jobs:
create-new-version:
@@ -23,7 +20,7 @@ jobs:
with:
path: backstage
# 'v' prefix is added here for the tag, we keep it out of the manifest logic
- ref: v${{ github.event.inputs.version }}
+ ref: v${{ github.event.client_payload.version }}
# Checkout backstage/versions into /backstage/versions, which is where store the output
- name: Checkout versions
@@ -44,10 +41,10 @@ jobs:
cd backstage
mkdir -p scripts
wget -O scripts/assemble-manifest.js https://raw.githubusercontent.com/backstage/backstage/master/scripts/assemble-manifest.js
- node scripts/assemble-manifest.js ${{ github.event.inputs.version }}
+ node scripts/assemble-manifest.js ${{ github.event.client_payload.version }}
cd versions
git add .
- git commit -am "${{ github.event.inputs.version }}"
+ git commit -am "${{ github.event.client_payload.version }}"
git push
- name: Dispatch update-helper update
diff --git a/.github/workflows/sync_snyk-github-issues.yml b/.github/workflows/sync_snyk-github-issues.yml
index e45a36c8e8..9d0726e915 100644
--- a/.github/workflows/sync_snyk-github-issues.yml
+++ b/.github/workflows/sync_snyk-github-issues.yml
@@ -16,33 +16,15 @@ jobs:
steps:
- uses: actions/checkout@v3
- # Beginning of yarn setup, keep in sync between all workflows, see ci.yml
- name: use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/ # Needed for auth
- - name: cache all node_modules
- id: cache-modules
- uses: actions/cache@v3
- with:
- path: '**/node_modules'
- key: ${{ runner.os }}-v${{ matrix.node-version }}-node_modules-${{ hashFiles('yarn.lock', '**/package.json') }}
- - name: find location of global yarn cache
- id: yarn-cache
- if: steps.cache-modules.outputs.cache-hit != 'true'
- run: echo "::set-output name=dir::$(yarn cache dir)"
- - name: cache global yarn cache
- uses: actions/cache@v3
- if: steps.cache-modules.outputs.cache-hit != 'true'
- with:
- path: ${{ steps.yarn-cache.outputs.dir }}
- key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
- restore-keys: |
- ${{ runner.os }}-yarn-
- name: yarn install
- run: yarn install --frozen-lockfile
- # End of yarn setup
+ uses: backstage/actions/yarn-install@v0.5.0
+ with:
+ cache-prefix: ${{ runner.os }}-v${{ matrix.node-version }}
- name: Create Snyk report
uses: snyk/actions/node@master
diff --git a/.github/workflows/verify_dco.yaml b/.github/workflows/verify_dco.yaml
deleted file mode 100644
index 2094327d23..0000000000
--- a/.github/workflows/verify_dco.yaml
+++ /dev/null
@@ -1,65 +0,0 @@
-name: Verify DCO
-on:
- schedule:
- - cron: '*/15 * * * *'
-
-jobs:
- dco-helper:
- runs-on: ubuntu-latest
- steps:
- - name: Verify DCO status for open pull requests
- uses: actions/github-script@v6
- with:
- script: |
- const owner = "backstage";
- const repo = "backstage";
- const pulls = await github.paginate(github.rest.pulls.list, {
- state: "open",
- owner,
- repo,
- });
-
- for (const pull of pulls) {
- // Pick out the PRs that have the DCO check
- const checks = await github.rest.checks.listForRef({
- owner,
- repo,
- ref: pull.head.sha,
- check_name: "DCO",
- status: "completed",
- });
- // Skip if there are no checks
- if (!checks.data.check_runs.length) {
- continue;
- }
- // Skip if the conclusion is not action_required
- if (checks.data.check_runs[0].conclusion !== "action_required") {
- console.log(`No checks found for PR #${pull.number}, skipping`);
- continue;
- }
-
- const comments = await github.paginate(github.rest.issues.listComments, {
- owner,
- repo,
- issue_number: pull.number,
- });
- if (comments.find((c) =>
- c.user.login === "github-actions[bot]" &&
- c.body.includes("")
- )
- ) {
- console.log(`already commented on PR #${pull.number}, skipping`);
- continue;
- }
- console.log(`creating comment on PR #${pull.number}`);
- const body = `
- Thanks for the contribution!
- All commits need to be DCO signed before they are reviewed. Please refer to the the [DCO section in CONTRIBUTING.md](https://github.com/backstage/backstage/blob/master/CONTRIBUTING.md#developer-certificate-of-origin) or the [DCO](${checks.data.check_runs[0].html_url}) status for more info.
- `;
- await github.rest.issues.createComment({
- repo,
- owner,
- issue_number: pull.number,
- body,
- });
- }
diff --git a/.github/workflows/verify_e2e-linux.yml b/.github/workflows/verify_e2e-linux.yml
index 884d8bf172..126670b67f 100644
--- a/.github/workflows/verify_e2e-linux.yml
+++ b/.github/workflows/verify_e2e-linux.yml
@@ -40,35 +40,15 @@ jobs:
steps:
- uses: actions/checkout@v3
- # Beginning of yarn setup, keep in sync between all workflows, see ci.yml
- name: use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/ # Needed for auth
- - name: cache all node_modules
- id: cache-modules
- uses: actions/cache@v3
- with:
- path: '**/node_modules'
- key: ${{ runner.os }}-v${{ matrix.node-version }}-node_modules-${{ hashFiles('yarn.lock', '**/package.json') }}
- - name: find location of global yarn cache
- id: yarn-cache
- if: steps.cache-modules.outputs.cache-hit != 'true'
- run: echo "::set-output name=dir::$(yarn cache dir)"
- - name: setup chrome
- uses: browser-actions/setup-chrome@latest
- - name: cache global yarn cache
- uses: actions/cache@v3
- if: steps.cache-modules.outputs.cache-hit != 'true'
- with:
- path: ${{ steps.yarn-cache.outputs.dir }}
- key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
- restore-keys: |
- ${{ runner.os }}-yarn-
- name: yarn install
- run: yarn install --frozen-lockfile
- # End of yarn setup
+ uses: backstage/actions/yarn-install@v0.5.0
+ with:
+ cache-prefix: ${{ runner.os }}-v${{ matrix.node-version }}
- run: yarn tsc
- run: yarn backstage-cli repo build
diff --git a/.github/workflows/verify_storybook.yml b/.github/workflows/verify_storybook.yml
index a13aa3ae71..89679b530a 100644
--- a/.github/workflows/verify_storybook.yml
+++ b/.github/workflows/verify_storybook.yml
@@ -17,44 +17,30 @@ on:
jobs:
chromatic:
- runs-on: ubuntu-latest
+ runs-on: ${{ matrix.os }}
+
+ strategy:
+ matrix:
+ os: [ubuntu-latest]
+ node-version: [16.x]
+
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Required to retrieve git history
- # Beginning of yarn setup, keep in sync between all workflows, see ci.yml
- name: use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/ # Needed for auth
- - name: cache all node_modules
- id: cache-modules
- uses: actions/cache@v3
+ - name: yarn install
+ uses: backstage/actions/yarn-install@v0.5.0
with:
- path: '**/node_modules'
- key: ${{ runner.os }}-v${{ matrix.node-version }}-node_modules-${{ hashFiles('yarn.lock', '**/package.json') }}
- - name: find location of global yarn cache
- id: yarn-cache
- if: steps.cache-modules.outputs.cache-hit != 'true'
- run: echo "::set-output name=dir::$(yarn cache dir)"
- - name: cache global yarn cache
- uses: actions/cache@v3
- if: steps.cache-modules.outputs.cache-hit != 'true'
- with:
- path: ${{ steps.yarn-cache.outputs.dir }}
- key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
- restore-keys: |
- ${{ runner.os }}-yarn-
-
- - name: top-level install
- run: yarn install --frozen-lockfile
-
+ cache-prefix: ${{ runner.os }}-v${{ matrix.node-version }}
- name: storybook yarn install
run: yarn install --frozen-lockfile
working-directory: storybook
- # End of yarn setup
- run: yarn build-storybook
diff --git a/.github/workflows/verify_windows.yml b/.github/workflows/verify_windows.yml
index bb8aa9e5aa..e286d42c7e 100644
--- a/.github/workflows/verify_windows.yml
+++ b/.github/workflows/verify_windows.yml
@@ -26,25 +26,15 @@ jobs:
steps:
- uses: actions/checkout@v3
- # Beginning of yarn setup, keep in sync between all workflows, see ci.yml
- name: use node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/ # Needed for auth
- - name: find location of global yarn cache
- id: yarn-cache
- run: echo "::set-output name=dir::$(yarn cache dir)"
- - name: cache global yarn cache
- uses: actions/cache@v3
- with:
- path: ${{ steps.yarn-cache.outputs.dir }}
- key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
- restore-keys: |
- ${{ runner.os }}-yarn-
+
+ # Windows file operation slowness means there's no point caching this
- name: yarn install
run: yarn install --frozen-lockfile
- # End of yarn setup
- name: lint
run: yarn backstage-cli repo lint
diff --git a/.prettierignore b/.prettierignore
index 393c35fdbe..8f1fae0456 100644
--- a/.prettierignore
+++ b/.prettierignore
@@ -5,6 +5,7 @@ coverage
*.hbs
templates
api-report.md
+cli-report.md
plugins/scaffolder-backend/sample-templates
.vscode
dist-types
diff --git a/ADOPTERS.md b/ADOPTERS.md
index e8d2aeed8b..1cb0577c44 100644
--- a/ADOPTERS.md
+++ b/ADOPTERS.md
@@ -1,6 +1,8 @@
# Adopters
-_If you're using Backstage in your organization, please try to add your company name to this list. This really helps the project to gain momentum and credibility. It's a small contribution back to the project with a big impact._
+_If you're using Backstage in your organization, please try to add your company name to this list. It really helps the project to gain momentum and credibility. It's a small contribution back to the project with a big impact._
+_You can do this by using the [Adopter form](https://form.typeform.com/to/zcOaKikB) or by editing this file after following the [CONTRIBUTING.md](./CONTRIBUTING.md)._
+
| Organization | Contact | Description of Use |
|-----------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
@@ -36,7 +38,7 @@ _If you're using Backstage in your organization, please try to add your company
| [PagerDuty](https://www.pagerduty.com/) | [Mark Shaw](https://github.com/markshawtoronto) | Developer portal, initially focused on software templates and tech-docs. |
| [MoonShiner](https://moonshiner.at) | [Fabian Hippmann](https://github.com/FabianHippmann) | Developer portal - helps us keep track of our customer projects, onboard new developers & improve our development process 🌕🚀🧑🚀 |
| [FundApps](https://www.fundapps.co/) | [Elliot Greenwood](https://github.com/egnwd) | Developer Portal - A place for us to keep track of our projects and documentation for all services and processes |
-| [DAZN](https://dazn.com/) | [Lou Bichard](https://twitter.com/loujaybee), [Marco Crivellaro](https://github.com/crivetechie), [Alex Hollerith](mailto:alex.hollerith@dazn.com), [Kamil Wolny](https://github.com/mrwolny) | Ingesting all of DAZN's repos for the catalog, migrating our internal platform apps (pull request boards, release information, inner source marketplace etc) to Backstage plugins (where applicable). |
+| [DAZN](https://dazn.com/) | [David Rubio Vidal](https://github.com/davidrv87), [Marco Crivellaro](https://github.com/crivetechie), [Alex Hollerith](mailto:alex.hollerith@dazn.com), [Kamil Wolny](https://github.com/mrwolny) | Ingesting all of DAZN's repos for the catalog, migrating our internal platform apps (pull request boards, release information, inner source marketplace etc) to Backstage plugins (where applicable). |
| [HelloFresh](https://www.hellofresh.de/) | [@iammuho](https://github.com/iammuho), [@ElenaForester](https://github.com/ElenaForester), [@diegomarangoni](https://github.com/diegomarangoni) | Our developer portal at HelloFresh - Spread across an organisation of 500+ engineers globally. |
| [FactSet](https://www.factset.com/) | [@kuangp](https://github.com/kuangp) | Developer portal to provide discoverability to all internal components, APIs, documentation, and scaffold templates with integrations to our internal infrastructure tools. |
| [Workrise](https://www.workrise.com/) | [Michael Rode](https://github.com/michaelrode) | Developer portal, main gateway to our infrastructure, documentation and internal tooling. |
@@ -176,7 +178,7 @@ _If you're using Backstage in your organization, please try to add your company
| [idwall](https://idwall.co) | [Rodrigo Catão Araujo](mailto:rodrigo@idwall.co) | Developer Portal for internal engineers to access service catalog, documentation, observability, infrastructure and internal tooling. |
| [Jaguar Land Rover](https://www.jaguarlandrover.com) | [Josh Walker](mailto:jwalke18@jaguarlandrover.com) | Users can request a Gitlab user, which creates a commit with the Terraform code. |
| [Glovo](http://glovoapp.com/) | [Yaser Toutah](mailto:yaser.toutah@glovoapp.com) | Developer Portal to improve our Developer Experience, identify ownership and track metadata for our services and tools. It's our Service Catalog. In addition to that, we use it for Service Creation, and much more. |
-| [Dixa](https://dixa.com) | [Jens Møller](mailto:jsc@dixa.com) | We are in early stages, but using it to get overview of our repositories and ownership of these. We want among many things to use it for compliance and easier access to key metrics for our repos. |
+| [Dixa](https://dixa.com) | [Jens Møller](https://github.com/jensamoller) | We are in early stages, but using it to get overview of our repositories and ownership of these. We want among many things to use it for compliance and easier access to key metrics for our repos. |
| [Notino](https://notino.com) | [Jan Remunda](mailto:jan.remunda@notino.com) | Backstage is our developer portal. We use it as service catalog and for technical documentation. |
| [Polarpoint](https://polarpoint.io/) | [Surj Bains](https://github.com/polarpoint-io) | We are using Backstage as our Developer portal as well as for hosting our DevOps portal for software catalog. |
| [Niche](https://niche.com) | [Zach Romitz](mailto:zach.romitz@niche.com) | We are using the Software Catalog, Software Templates, API documentation, and Techdocs to try and centralize service information. |
@@ -184,3 +186,7 @@ _If you're using Backstage in your organization, please try to add your company
| [Funding Circle](https://www.fundingcircle.com/) | [Ariel Pacciaroni](https://github.com/arielpacciaroni) | We are building the internal developer portal using Backstage project and centralizing all services information at one place. The portal helps us track down repositories ownership as well as direct access to key information on every component. |
| [Clarivate](https://www.clarivate.com) | [Gabriele Carteni](mailto:gabriele.carteni@clarivate.com) | We are building our Developer Portal using Backstage to have a better control over our software ecosystem, integrate SDLC tools and promote best practices |
| [Cho Tot](https://www.chotot.com) | [Chotot Team](mailto:sre@chotot.vn) | Internal developer portal, service catalog with CI/CD tools. |
+| [William Hill](https://www.williamhillgroup.com/) | [Pat Mills](mailto:pat.mills@williamhill.com), [Nathan Flynn](mailto:nflynn@williamhill.co.uk), and [Nishkarsh Raj](mailto:nishkarsh.raj@williamhill.co.uk) | William Hill are leveraging Backstage to build our Engineering Portal. Our mission is to centralize the software catalog inventory to enable service discoverability, reduce the onboarding time for new Engineers, provide a single pane of glass to accelerate Developer Productivity and Save Engineers time. Our aspiration is to create an InnerSource community focussed on organization-wide patterns that are re-usable and can be self-served with the Scaffolder. |
+| [Vodafone NewZealand Limited](https://vodafone.co.nz) | [Ankit Gupta](mailto:ankit.gupta@vodafone.nz), [DevOps COE](mailto:devopstooling@vodafone.nz) | Vodafone NZ are leveraging Backstage to build centralised and self service Engineering Portal. Our mission is to standardised Pipeline templates across the Engineering teams, One shop stop to create the pipelines and repository with a template approach which reduces creation part from days to minutes and no wait time for developers. A unified view for Azure DevOps pipeline, Azure Repo pull requests, Deployment status from Azure RedHat Openshift-ArgoCD and SonarQube Security and code quality scans report on a single pan to provide a streamlined view for all microservices across the app stack. |
+| [Coamo](http://www.coamo.com.br) | [@holiiveira](https://github.com/holiiveira), [@gpxlnx](https://github.com/gpxlnx) | We're starting to use it as the main tool of a DevOps platform. Our goal is to provide software templates, centralize our software catalog enabling efficient service discovery, and make it easy to manage the entire software ecosystem in one place.
+ |
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index eb60bc48e0..1afbf072fc 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -58,9 +58,9 @@ If you are proposing a feature:
- Remember that this is a volunteer-driven project, and that contributions
are welcome :)
-### Add your company to ADOPTERS
+### Add your company to `ADOPTERS`
-Have you started using Backstage? Adding your company to [ADOPTERS](ADOPTERS.md) really helps the project.
+Have you started using Backstage? Adding your company to [ADOPTERS](ADOPTERS.md) really helps the project, you can do this by filling out this [Adopter form](https://form.typeform.com/to/zcOaKikB).
## Get Started!
diff --git a/app-config.yaml b/app-config.yaml
index a56a3df9d1..9a3206026e 100644
--- a/app-config.yaml
+++ b/app-config.yaml
@@ -234,16 +234,6 @@ catalog:
# dn: ou=access,ou=groups,ou=example,dc=example,dc=net
# options:
# filter: (&(objectClass=some-group-class)(!(groupType=email)))
- microsoftGraphOrg:
- ### Example for how to add your Microsoft Graph tenant
- #providers:
- # - target: https://graph.microsoft.com/v1.0
- # authority: https://login.microsoftonline.com
- # tenantId: ${MICROSOFT_GRAPH_TENANT_ID}
- # clientId: ${MICROSOFT_GRAPH_CLIENT_ID}
- # clientSecret: ${MICROSOFT_GRAPH_CLIENT_SECRET_TOKEN}
- # userFilter: accountEnabled eq true and userType eq 'member'
- # groupFilter: securityEnabled eq false and mailEnabled eq true and groupTypes/any(c:c+eq+'Unified')
locations:
# Add a location here to ingest it, for example from a URL:
diff --git a/cypress/yarn.lock b/cypress/yarn.lock
index 1ccce4ea24..991d2d8562 100644
--- a/cypress/yarn.lock
+++ b/cypress/yarn.lock
@@ -304,9 +304,9 @@ cross-spawn@^7.0.0:
which "^2.0.1"
cypress@^10.0.0:
- version "10.2.0"
- resolved "https://registry.npmjs.org/cypress/-/cypress-10.2.0.tgz#ca078abfceb13be2a33cbba6e0e80ded770f542a"
- integrity sha512-+i9lY5ENlfi2mJwsggzR+XASOIgMd7S/Gd3/13NCpv596n3YSplMAueBTIxNLcxDpTcIksp+9pM3UaDrJDpFqA==
+ version "10.3.0"
+ resolved "https://registry.npmjs.org/cypress/-/cypress-10.3.0.tgz#fae8d32f0822fcfb938e79c7c31ef344794336ae"
+ integrity sha512-txkQWKzvBVnWdCuKs5Xc08gjpO89W2Dom2wpZgT9zWZT5jXxqPIxqP/NC1YArtkpmp3fN5HW8aDjYBizHLUFvg==
dependencies:
"@cypress/request" "^2.88.10"
"@cypress/xvfb" "^1.2.4"
diff --git a/docs/auth/add-auth-provider.md b/docs/auth/add-auth-provider.md
index eb8973bec1..01c18f04cd 100644
--- a/docs/auth/add-auth-provider.md
+++ b/docs/auth/add-auth-provider.md
@@ -350,6 +350,7 @@ router.get('/auth/providerA/handler/frame');
router.post('/auth/providerA/handler/frame');
router.post('/auth/providerA/logout');
router.get('/auth/providerA/refresh'); // if supported
+router.post('/auth/providerA/refresh'); // if supported
```
As you can see each endpoint is prefixed with both `/auth` and its provider
diff --git a/docs/features/search/search-engines.md b/docs/features/search/search-engines.md
index 9bb8b8c343..ecd8a85109 100644
--- a/docs/features/search/search-engines.md
+++ b/docs/features/search/search-engines.md
@@ -59,10 +59,38 @@ configured and make the following changes to your backend:
// Initialize a connection to a search engine.
const searchEngine = (await PgSearchEngine.supported(env.database))
- ? await PgSearchEngine.from({ database: env.database })
+ ? await PgSearchEngine.fromConfig(env.config, { database: env.database })
: new LunrSearchEngine({ logger: env.logger });
```
+## Optional Configuration
+
+The following is an example of the optional configuration that can be applied when using Postgres as the search backend. Currently this is mostly for just the highlight feature:
+
+```yaml
+search:
+ pg:
+ highlightOptions:
+ useHighlight: true # Used to enable to disable the highlight feature. The default value is true
+ maxWord: 35 # Used to set the longest headlines to output. The default value is 35.
+ minWord: 15 # Used to set the shortest headlines to output. The default value is 15.
+ shortWord: 3 # Words of this length or less will be dropped at the start and end of a headline, unless they are query terms. The default value of three (3) eliminates common English articles.
+ highlightAll: false # If true the whole document will be used as the headline, ignoring the preceding three parameters. The default is false.
+ maxFragments: 0 # Maximum number of text fragments to display. The default value of zero selects a non-fragment-based headline generation method. A value greater than zero selects fragment-based headline generation (see the linked documentation above for more details).
+ fragmentDelimiter: ' ... ' # Delimiter string used to concatenate fragments. Defaults to " ... ".
+```
+
+**Note:** the highlight search term feature uses `ts_headline` which has been known to potentially impact performance. You only need this minimal config to disable it should you have issues:
+
+```yaml
+search:
+ pg:
+ highlightOptions:
+ useHighlight: false
+```
+
+The Postgres documentation on [Highlighting Results](https://www.postgresql.org/docs/current/textsearch-controls.html#TEXTSEARCH-HEADLINE) has more details.
+
## ElasticSearch
Backstage supports ElasticSearch search engine connections, indexing and
@@ -80,15 +108,16 @@ const searchEngine = await ElasticSearchSearchEngine.initialize({
const indexBuilder = new IndexBuilder({ logger: env.logger, searchEngine });
```
-For the engine to be available, your backend package needs a dependency into
+For the engine to be available, your backend package needs a dependency on
package `@backstage/plugin-search-backend-module-elasticsearch`.
ElasticSearch needs some additional configuration before it is ready to use
within your instance. The configuration options are documented in the
[configuration schema definition file.](https://github.com/backstage/backstage/blob/master/plugins/search-backend-module-elasticsearch/config.d.ts)
-The underlying functionality is using official ElasticSearch client version 7.x,
-meaning that ElasticSearch version 7 is the only one confirmed to be supported.
+The underlying functionality uses either the official ElasticSearch client
+version 7.x (meaning that ElasticSearch version 7 is the only one confirmed to
+be supported), or the OpenSearch client, when the `aws` provider is configured.
Should you need to create your own bespoke search experiences that require more
than just a query translator (such as faceted search or Relay pagination), you
@@ -97,9 +126,19 @@ search clients. The version of the client need not be the same as one used
internally by the elastic search engine plugin. For example:
```typescript
-import { Client } from '@elastic/elastic-search';
+import { isOpenSearchCompatible } from '@backstage/plugin-search-backend-module-elasticsearch';
+import { Client as ElasticClient } from '@elastic/elastic-search';
+import { Client as OpenSearchClient } from '@opensearch-project/opensearch';
-const client = searchEngine.newClient(options => new Client(options));
+const client = searchEngine.newClient(options => {
+ // In reality, you would only import / instantiate one of the following, but
+ // for illustrative purposes, here are both:
+ if (isOpenSearchCompatible(options)) {
+ return new OpenSearchClient(options);
+ } else {
+ return new ElasticClient(options);
+ }
+});
```
#### Set custom index template
diff --git a/docs/features/software-catalog/configuration.md b/docs/features/software-catalog/configuration.md
index 849823a59e..5abd266099 100644
--- a/docs/features/software-catalog/configuration.md
+++ b/docs/features/software-catalog/configuration.md
@@ -106,8 +106,7 @@ with [Static Location Configuration](#static-location-configuration) or a
discovery processor like
[GitHub Discovery](../../integrations/github/discovery.md). To enforce usage of
processors to locate entities we can configure the catalog into `readonly` mode.
-This configuration disables the mutating backend catalog APIs and disallows
-users from registering new entities at run-time.
+This configuration disables registering and deleting locations with the catalog APIs.
```yaml
catalog:
@@ -117,6 +116,8 @@ catalog:
> **Note that any plugin relying on the catalog API for creating, updating and
> deleting entities will not work in this mode.**
+Deleting an entity by UUID, `DELETE /entities/by-uid/:uid`, is allowed when using this mode. It may be rediscovered as noted in [explicit deletion](life-of-an-entity.md#explicit-deletion).
+
A common use case for this configuration is when organizations have a remote
source that should be mirrored into Backstage. To make Backstage a mirror of
this remote source, users cannot also register new entities with e.g. the
diff --git a/docs/features/software-templates/adding-templates.md b/docs/features/software-templates/adding-templates.md
index db765fc7ee..e8176a688b 100644
--- a/docs/features/software-templates/adding-templates.md
+++ b/docs/features/software-templates/adding-templates.md
@@ -86,6 +86,13 @@ contains more information about the required fields.
Once we have a `template.yaml` ready, we can then add it to the software catalog
for use by the scaffolder.
+> Note: When you add or modify a template, you will need to refresh the location entity.
+> Otherwise, Backstage won't display the template in the available templates,
+> or it will keep showing the old template. You can refresh the location instance by
+> going into `Catalog` web page, choosing `Locations` instead of `Components`, and selecting the correct location entity.
+> From there, you can click on the refresh icon representing "Scheduled entity refresh" action.
+> Afterwards, you should see your template updated.
+
You can add the template files to the catalog through
[static location configuration](../software-catalog/configuration.md#static-location-configuration),
for example:
@@ -97,6 +104,8 @@ catalog:
target: https://github.com/backstage/software-templates/blob/main/scaffolder-templates/react-ssr-template/template.yaml
rules:
- allow: [Template]
+ - type: file
+ target: template.yaml # Backstage will expect the file to be in packages/backend/template.yaml
```
Or you can add the template using the `catalog-import` plugin, which unless
diff --git a/docs/features/software-templates/writing-custom-actions.md b/docs/features/software-templates/writing-custom-actions.md
index 8e698e1a05..a9e1d297f3 100644
--- a/docs/features/software-templates/writing-custom-actions.md
+++ b/docs/features/software-templates/writing-custom-actions.md
@@ -9,8 +9,9 @@ by writing custom actions which can be used along side our
[built-in actions](./builtin-actions.md).
> Note: When adding custom actions, the actions array will **replace the
-> built-in actions too**. To ensure you can continue to include the builtin
-> actions, see below to include them during registration of your action.
+> built-in actions too**. Meaning, you will no longer be able to use them.
+> If you want to continue using the builtin actions, include them in the actions
+> array when registering your custom actions, as seen below.
## Writing your Custom Action
@@ -122,27 +123,32 @@ will set the available actions that the scaffolder has access to.
```ts
import { createBuiltinActions } from '@backstage/plugin-scaffolder-backend';
import { ScmIntegrations } from '@backstage/integration';
+import { createNewFileAction } from './actions/custom';
-const integrations = ScmIntegrations.fromConfig(env.config);
+export default async function createPlugin(
+ env: PluginEnvironment,
+): Promise {
+ const catalogClient = new CatalogClient({ discoveryApi: env.discovery });
+ const integrations = ScmIntegrations.fromConfig(env.config);
-const builtInActions = createBuiltinActions({
- containerRunner,
- integrations,
- catalogClient,
- config: env.config,
- reader: env.reader,
-});
+ const builtInActions = createBuiltinActions({
+ integrations,
+ catalogClient,
+ config: env.config,
+ reader: env.reader,
+ });
-const actions = [...builtInActions, createNewFileAction()];
-return await createRouter({
- containerRunner,
- catalogClient,
- actions,
- logger: env.logger,
- config: env.config,
- database: env.database,
- reader: env.reader,
-});
+ const actions = [...builtInActions, createNewFileAction()];
+
+ return createRouter({
+ actions,
+ catalogClient: catalogClient,
+ logger: env.logger,
+ config: env.config,
+ database: env.database,
+ reader: env.reader,
+ });
+}
```
## List of custom action packages
diff --git a/docs/features/software-templates/writing-templates.md b/docs/features/software-templates/writing-templates.md
index ff9962d8d4..81367b19c5 100644
--- a/docs/features/software-templates/writing-templates.md
+++ b/docs/features/software-templates/writing-templates.md
@@ -320,6 +320,30 @@ The `allowedHosts` part should be set to where you wish to enable this template
to publish to. And it can be any host that is listed in your `integrations`
config in `app-config.yaml`.
+Besides specifying `allowedHosts` you can also restrict the template to publish to
+repositories owned by specific users/groups/namespaces by setting the `allowedOwners`
+option. With the `allowedRepos` option you are able to narrow it down further to a
+specific set of repository names. A full example could look like this:
+
+```yaml
+- title: Choose a location
+ required:
+ - repoUrl
+ properties:
+ repoUrl:
+ title: Repository Location
+ type: string
+ ui:field: RepoUrlPicker
+ ui:options:
+ allowedHosts:
+ - github.com
+ allowedOwners:
+ - backstage
+ - someGithubUser
+ allowedRepos:
+ - backstage
+```
+
The `RepoUrlPicker` is a custom field that we provide part of the
`plugin-scaffolder`. You can provide your own custom fields by
[writing your own Custom Field Extensions](./writing-custom-field-extensions.md)
@@ -485,6 +509,64 @@ the value of `firstName` from the parameters). This is great for passing the
values from the form into different steps and reusing these input variables.
These template strings preserve the type of the parameter.
+The `${{ parameters.firstName }}` pattern will work only in the template file.
+If you want to start using values provided from the UI in your code, you will have to use
+the `${{ values.firstName }}` pattern. Additionally, you have to pass
+the parameters from the UI to the input of the `fetch:template` step.
+
+```yaml
+apiVersion: scaffolder.backstage.io/v1beta3
+kind: Template
+metadata:
+ name: v1beta3-demo
+ title: Test Action
+ description: scaffolder v1beta3 template demo
+spec:
+ owner: backstage/techdocs-core
+ type: service
+ parameters:
+ - title: Fill in some steps
+ required:
+ - name
+ properties:
+ name:
+ title: Name
+ type: string
+ description: Unique name of your project
+ urlParameter:
+ title: URL endpoint
+ type: string
+ description: URL endpoint at which the component can be reached
+ default: 'https://www.example.com'
+ enabledDB:
+ title: Enable Database
+ type: boolean
+ default: false
+ ...
+ steps:
+ - id: fetch-base
+ name: Fetch Base
+ action: fetch:template
+ input:
+ url: ./template
+ values:
+ name: ${{ parameters.name }}
+ url: ${{ parameters.urlParameter }}
+ enabledDB: ${{ parameters.enabledDB }}
+```
+
+Afterwards, if you are using the builtin templating action, you can start using
+the variables in your code. You can use also any other templating functions from
+[Nunjucks](https://mozilla.github.io/nunjucks/templating.html#tags) as well.
+
+```bash
+#!/bin/bash
+echo "Hi my name is ${{ values.name }}, and you can fine me at ${{ values.url }}!"
+{% if values.enabledDB %}
+echo "You have enabled your database!"
+{% endif %}
+```
+
As you can see above in the `Outputs` section, `actions` and `steps` can also
output things. You can grab that output using `steps.$stepId.output.$property`.
diff --git a/docs/features/techdocs/addons.md b/docs/features/techdocs/addons.md
index 831729d093..fe1058b2ca 100644
--- a/docs/features/techdocs/addons.md
+++ b/docs/features/techdocs/addons.md
@@ -52,6 +52,8 @@ Addons are rendered in the order in which they are registered.
## Installing and using Addons
+To start using Addons you need to add the `@backstage/plugin-techdocs-module-addons-contrib` package to your app. You can do that by running this command from the root of your project: `yarn add --cwd packages/app @backstage/plugin-techdocs-module-addons-contrib`
+
Addons can be installed and configured in much the same way as extensions for
other Backstage plugins: by adding them underneath an extension registry
component (``) under the route representing the TechDocs Reader
@@ -74,6 +76,18 @@ import { ReportIssue } from '@backstage/plugin-techdocs-module-addons-contrib';
;
```
+If you are using a custom [TechDocs reader page](./how-to-guides.md#how-to-customize-the-techdocs-reader-page) your setup will be very similar, here's an example:
+
+```ts
+}>
+
+
+ {/* Other addons can be added here. */}
+
+ {techDocsPage} // This is your custom TechDocs reader page
+
+```
+
The process for configuring Addons on the documentation tab on the entity page
is very similar; instead of adding the `` registry under a
``, you'd add it as a child of ``:
diff --git a/docs/features/techdocs/configuration.md b/docs/features/techdocs/configuration.md
index 9440d9a824..8a54d76ed0 100644
--- a/docs/features/techdocs/configuration.md
+++ b/docs/features/techdocs/configuration.md
@@ -160,7 +160,8 @@ techdocs:
# techdocs.cache is optional, and is only recommended when you've configured
# an external techdocs.publisher.type above. Also requires backend.cache to
- # be configured with a valid cache store.
+ # be configured with a valid cache store. Configure techdocs.cache.ttl to
+ # enable caching of techdocs assets.
cache:
# Represents the number of milliseconds a statically built asset should
# stay cached. Cache invalidation is handled automatically by the frontend,
diff --git a/docs/getting-started/index.md b/docs/getting-started/index.md
index 8c2f6bc865..d560b97eae 100644
--- a/docs/getting-started/index.md
+++ b/docs/getting-started/index.md
@@ -21,7 +21,7 @@ guide to do a repository-based installation.
### Prerequisites
-- Access to a Linux-based operating system, such as Linux, MacOS or
+- Access to a Unix-based operating system, such as Linux, MacOS or
[Windows Subsystem for Linux](https://docs.microsoft.com/en-us/windows/wsl/)
- An account with elevated rights to install the dependencies
- `curl` or `wget` installed
diff --git a/docs/overview/architecture-overview.md b/docs/overview/architecture-overview.md
index 382399e603..3c9417268b 100644
--- a/docs/overview/architecture-overview.md
+++ b/docs/overview/architecture-overview.md
@@ -341,7 +341,8 @@ separate Docker images.
The backend container can be built by running the following command:
```bash
-yarn run docker-build
+yarn run build
+yarn run build-image
```
This will create a container called `example-backend`.
diff --git a/docs/overview/roadmap.md b/docs/overview/roadmap.md
index 727000728f..df242ed172 100644
--- a/docs/overview/roadmap.md
+++ b/docs/overview/roadmap.md
@@ -15,9 +15,9 @@ work"](#future-work). With "next" we mean features planned for release within
the ongoing quarter from April through June 2022. With "future" we mean
features on the radar, but not yet scheduled.
-| [What's next](#whats-next) | [Future work](#future-work) |
-| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- |
-| [Ease of onboarding](#ease-of-onboarding)
[Backstage Search 1.0](#search-1.0)
[TechDocs Addon Framework](#techdocs-addon-framework)
[Backend Services (initial)](#backend-services-initial)
[Backstage Security Audit](#backstage-security-audit)
[SIGs for contributors](#sigs-for-contributors) | Security Plan (and Strategy)
Composable Homepage 1.0
GraphQL
Telemetry
Improved UX design |
+| [What's next](#whats-next) | [Future work](#future-work) |
+| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- |
+| [Backstage Search 1.0](#search-1.0)
[Backend Services (MVP)](#backend-services-mvp)
[Backstage Security Audit](#backstage-security-audit)
[Backstage Threat Model](#backstage-threat-model)
[TechDocs Addon Framework](#techdocs-addon-framework)
[Software Catalog pagination](#software-catalog-pagination)
[More SIGs](#more-sigs) | Ease of onboarding
Composable Homepage 1.0
Creator experience
GraphQL
Telemetry |
The long-term roadmap (12 - 36 months) is not detailed in the public roadmap.
Third-party contributions are also not currently included in the roadmap. Let us
@@ -30,47 +30,22 @@ The feature set below is planned for the ongoing quarter, and grouped by theme.
The list order doesn't necessarily reflect priority, and the development/release
cycle will vary based on maintainer schedules.
-### Ease of onboarding
-
-A faster (with less development) and easier setup of a proof-of-concept
-deployment, as part of the onboarding experience, has been a common and loud
-suggestion from new adopters as well as analysts looking at Backstage.
-
-With this initiative we plan to start facing this important topic with the most
-commonly used and challenging tasks. More in particular we plan to reduce the
-effort required to go from zero to production in installing and customizing
-Backstage, as well as reducing the effort required to populate the Software
-Catalog.
-
-More iterations will be required in the following quarters, but this will be a
-good improvement in the onboarding experience, especially for the benefit of new
-adopters.
-
### Backstage Search 1.0
Fix the few remaining issues to get Backstage Search platform up to 1.0. For more information, see the [Backstage Search documentation and roadmap page](https://backstage.io/docs/features/search/search-overview).
-### TechDocs Addon Framework
-
-Addons are TechDocs features that are added on top of the base docs-like-code experience. An example would be a feature that showed comments on the page. We plan to add an Addon framework and open source a selection of the Addons that we use internally at Spotify. We encourage the Backstage community to add further Addons.
-
-For more information about the TechDocs Addon Framework, see the documentation page [here](https://backstage.io/docs/features/techdocs/addons)
-
-For general information about TechDocs including roadmap, see [here](https://backstage.io/docs/features/techdocs/techdocs-overview).
-
-### Backend Services (initial)
+### Backend Services (MVP)
To better scale and maintain the Backstage instances, a backend services system
is planned to be introduced as part of the software architecture. This layer of
backend services will help in decoupling the various modules (e.g. Catalog and
Scaffolder) from the frontend experience.
-In this quarter we plan to start designing the new architecture, together with
-the first experimentation and development of the software components.
+After the experimentation and design happened in the past quarter, soon we plan to release a first version to start providing the first benefits to adopters and developers.
### Backstage Security Audit
-This is the continuation of the initiative started in the previous quarter. This
+This is the continuation of the initiative started in the previous quarters. This
quarter will see the publication of the report describing the outcome of the
audit, together the first fixes and the development of some of the changes
required to address the vulnerabilities.
@@ -84,12 +59,34 @@ initiative.
This initiative is done together with, and with the support of, the [Cloud
Native Computing Foundation (CNCF)](https://www.cncf.io/).
-### SIGs for contributors
+### Backstage Threat Model
-The request to better coordinate the increasing number of contributions coming
-from the various adopters' developers is loud and clear. We think that the
-community is mature enough to start launching the SIGs (Special Interest Groups)
-following the successful model of Kubernetes.
+This is another (relevant) initiative planned to make Backstage a secure product for the adopters. The goals of this initiative are:
+
+1. Understand where security investment and attention is needed.
+2. Guide the upcoming security audit.
+3. Communicate expectations to Backstage adopters and inform and attract security researchers.
+
+The planned artifacts are:
+
+- Concise high level threat model that will be included as part of the Backstage security documentation.
+- Granular threat model created in conjunction with the security audit to inform further security investment areas for Backstage.
+
+### TechDocs Addon Framework
+
+Addons are TechDocs features that are added on top of the base docs-like-code experience. An example would be a feature that showed comments on the page. We plan to add an Addon framework and open source a selection of the Addons that we use internally at Spotify. We encourage the Backstage community to add further Addons.
+
+For more information about the TechDocs Addon Framework, see the documentation page [here](https://backstage.io/docs/features/techdocs/addons).
+
+For general information about TechDocs including roadmap, see [here](https://backstage.io/docs/features/techdocs/techdocs-overview).
+
+### Software Catalog pagination
+
+Today adopters with a big catalog (with several thousands of software components) might not have an ideal end-user experience when viewing the `/catalog` page. The issue is related to how the entities are fetched by the frontend. In order to provide a better end-user experience the pagination of the catalog’s entities needs to be enforced. Some experimentation is already completed but in this quarter we plan to continue, and hopefully complete, this relevant enhancement.
+
+### More SIGs
+
+In the last quarter we launched the [Catalog SIG (Special Interest Group)](https://github.com/backstage/community/tree/main/sigs/sig-catalog) to better coordinate the increasing number of contributions to the project. We think that this is the proper path to follow to engage more with the contributors. For this reason we will launch other SIGs dedicated to the most interesting topics for the community.
## Future work
@@ -97,18 +94,17 @@ The following feature list doesn't represent a commitment to develop, and the
list order doesn't reflect any priority or importance, but these features are on
the maintainers' radar, with clear interest expressed by the community.
-- **Security Plan (and Strategy):** The purpose of the Security Strategy is to
- move another step along the path to maturing the platform, setting the
- expectations of any adopters from a security standpoint.
+- **Ease of onboarding:** A faster (with less development) and easier setup of
+ Backstage and the most relevant/adopted plugins.
- **Composable Homepage 1.0:** Driving this to 1.0 by adding some composable
components.
+- **Creator experience:** Provide a better Backstage user experience through
+ visual guidelines and templates, especially navigation across plug-ins and
+ portal functionalities.
- **[GraphQL](https://graphql.org/) support:** Introduce the ability to query
Backstage backend services with a standard query language for APIs.
- **Telemetry:** To efficiently generate logging and metrics in such a way that
adopters can get insights so that Backstage can be monitored and improved.
-- **Improved UX design:** Provide a better Backstage user experience through
- visual guidelines and templates, especially navigation across plug-ins and
- portal functionalities.
## How to influence the roadmap
diff --git a/docs/permissions/plugin-authors/03-adding-a-resource-permission-check.md b/docs/permissions/plugin-authors/03-adding-a-resource-permission-check.md
index e818557402..a76518b202 100644
--- a/docs/permissions/plugin-authors/03-adding-a-resource-permission-check.md
+++ b/docs/permissions/plugin-authors/03-adding-a-resource-permission-check.md
@@ -160,12 +160,12 @@ Create a new `plugins/todo-list-backend/src/conditionExports.ts` file and add th
```typescript
import { TODO_LIST_RESOURCE_TYPE } from '@internal/plugin-todo-list-common';
import { createConditionExports } from '@backstage/plugin-permission-node';
-import { permissionRules } from './service/rules';
+import { rules } from './service/rules';
const { conditions, createConditionalDecision } = createConditionExports({
- pluginId: 'catalog',
- resourceType: RESOURCE_TYPE_CATALOG_ENTITY,
- rules: permissionRules,
+ pluginId: 'todolist',
+ resourceType: TODO_LIST_RESOURCE_TYPE,
+ rules,
});
export const todoListConditions = conditions;
@@ -173,7 +173,12 @@ export const todoListConditions = conditions;
export const createTodoListConditionalDecision = createConditionalDecision;
```
-Make sure `todoListConditions` and `createTodoListConditionalDecision` are exported from the `todo-list-backend` package.
+Make sure `todoListConditions` and `createTodoListConditionalDecision` are exported from the `todo-list-backend` package by editing `plugins/todo-list-backend/src/index.ts`:
+
+```diff
+ export * from './service/router';
++ export * from './conditionExports';
+```
## Test the authorized update endpoint
diff --git a/docs/releases/v1.4.0-next.1-changelog.md b/docs/releases/v1.4.0-next.1-changelog.md
new file mode 100644
index 0000000000..0780178d4d
--- /dev/null
+++ b/docs/releases/v1.4.0-next.1-changelog.md
@@ -0,0 +1,1474 @@
+# Release v1.4.0-next.1
+
+## @backstage/cli@0.18.0-next.1
+
+### Minor Changes
+
+- 96a82d9791: **BREAKING**: Removed the following deprecated package commands:
+
+ - `app:build` - Use `package build` instead
+ - `app:serve` - Use `package start` instead
+ - `backend:build` - Use `package build` instead
+ - `backend:bundle` - Use `package build` instead
+ - `backend:dev` - Use `package start` instead
+ - `plugin:build` - Use `package build` instead
+ - `plugin:serve` - Use `package start` instead
+ - `build` - Use `package build` instead
+ - `lint` - Use `package lint` instead
+ - `prepack` - Use `package prepack` instead
+ - `postpack` - Use `package postpack` instead
+
+ In order to replace these you need to have [migrated to using package roles](https://backstage.io/docs/tutorials/package-role-migration).
+
+### Patch Changes
+
+- 86640214f0: Upgrade `@rollup/plugin-node-resolve` to `^13.0.6`
+- e661242844: Updated dependency `run-script-webpack-plugin` to `^0.1.0`.
+- Updated dependencies
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/config-loader@1.1.3-next.0
+
+## @backstage/errors@1.1.0-next.0
+
+### Minor Changes
+
+- 6d61b44466: The `ResponseError.fromResponse` now accepts a more narrow response type, in order to avoid incompatibilities between different fetch implementations.
+
+ The `response` property of `ResponseError` has also been narrowed to a new `ConsumedResponse` type that omits all the properties for consuming the body of the response. This is not considered a breaking change as it was always an error to try to consume the body of the response.
+
+## @backstage/plugin-apache-airflow@0.2.0-next.1
+
+### Minor Changes
+
+- 01f976ea72: Exposed DagTableComponent as standalone component + added a prop to get only select DAGs instead of the full list
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+
+## @backstage/plugin-auth-backend@0.15.0-next.1
+
+### Minor Changes
+
+- 9d4040777e: **BREAKING**: Removed all directly exported auth provider factories, option types, and sign-in resolvers. For example: `AwsAlbProviderOptions`, `bitbucketUserIdSignInResolver`, `createGithubProvider`. These are all still accessible via the `providers` export. For example, use `providers.github.create()` rather than `createGithubProvider()`, and `providers.bitbucket.resolvers.userIdMatchingUserEntityAnnotation()` rather than `bitbucketUserIdSignInResolver`.
+
+ **BREAKING**: Removed the exported `AuthProviderFactoryOptions` type as well as the deprecated option fields of the `AuthProviderFactory` callback. This includes the `tokenManager`, `tokenIssuer`, `discovery`, and `catalogApi` fields. Existing usage of these should be replaced with the new utilities in the `resolverContext` field. The deprecated `TokenIssuer` type is now also removed, since it is no longer used.
+
+ **BREAKING**: Removed `getEntityClaims`, use `getDefaultOwnershipEntityRefs` instead.
+
+ **DEPRECATION**: Deprecated `AtlassianAuthProvider` as it was unintentionally exported.
+
+### Patch Changes
+
+- f2cf79d62e: Added an option for the auth backend router to select the algorithm for the JWT token signing keys
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/catalog-client@1.0.4-next.1
+ - @backstage/plugin-auth-node@0.2.3-next.1
+
+## @backstage/plugin-catalog-backend-module-openapi@0.1.0-next.0
+
+### Minor Changes
+
+- 67503d159e: Add basic OpenAPI \\$ref support.
+
+ For more information see [here](https://github.com/backstage/backstage/tree/master/plugins/catalog-backend-module-openapi).
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/plugin-catalog-backend@1.2.1-next.1
+ - @backstage/integration@1.2.2-next.1
+
+## @backstage/plugin-search-backend-module-elasticsearch@0.2.0-next.1
+
+### Minor Changes
+
+- c5af773757: **BREAKING**: In order to remain interoperable with all currently supported
+ deployments of Elasticsearch, this package will now conditionally use either
+ the `@elastic/elasticsearch` or `@opensearch-project/opensearch` client when
+ communicating with your deployed cluster.
+
+ If you do not rely on types exported from this package, or if you do not make
+ use of the `createElasticSearchClientOptions` or `newClient` methods on the
+ `ElasticSearchSearchEngine` class, then upgrading to this version should not
+ require any further action on your part. Everything will continue to work as it
+ always has.
+
+ If you _do_ rely on either of the above methods or any underlying types, some
+ changes may be needed to your custom code. A type guard is now exported by this
+ package (`isOpenSearchCompatible(options)`), which you may use to help clarify
+ which client options are compatible with which client constructors.
+
+ If you are using this package with the `search.elasticsearch.provider` set to
+ `aws`, and you are making use of the `newClient` method in particular, you may
+ wish to start using the `@opensearch-project/opensearch` client in your custom
+ code.
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/plugin-search-backend-node@0.6.3-next.1
+ - @backstage/plugin-search-common@0.3.6-next.0
+
+## @backstage/plugin-techdocs-backend@1.2.0-next.1
+
+### Minor Changes
+
+- 860765ff45: Added local publishing target directory `config`: `techdocs.publisher.local.publishDirectory`
+
+### Patch Changes
+
+- 726577958f: Add sample headings on the documented component homepage.
+- Updated dependencies
+ - @backstage/plugin-techdocs-node@1.2.0-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/catalog-client@1.0.4-next.1
+ - @backstage/integration@1.2.2-next.1
+ - @backstage/plugin-catalog-common@1.0.4-next.0
+ - @backstage/plugin-permission-common@0.6.3-next.0
+ - @backstage/plugin-search-common@0.3.6-next.0
+
+## @backstage/plugin-techdocs-node@1.2.0-next.1
+
+### Minor Changes
+
+- 860765ff45: Added local publishing target directory `config`: `techdocs.publisher.local.publishDirectory`
+
+### Patch Changes
+
+- a5d73da942: Fix the flag parsing for `legacyCopyReadmeMdToIndexMd` in `techdocs-cli generate` command, and decouple it's logic from the `techdocs-ref` flag.
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/integration@1.2.2-next.1
+ - @backstage/plugin-search-common@0.3.6-next.0
+
+## @backstage/app-defaults@1.0.4-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-permission-react@0.4.3-next.0
+
+## @backstage/backend-common@0.14.1-next.1
+
+### Patch Changes
+
+- 0fc57887e8: Improve plural handling in logging output for secrets
+- Updated dependencies
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/integration@1.2.2-next.1
+ - @backstage/config-loader@1.1.3-next.0
+
+## @backstage/backend-tasks@0.3.3-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+
+## @backstage/backend-test-utils@0.1.26-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/cli@0.18.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+
+## @backstage/catalog-client@1.0.4-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+
+## @backstage/catalog-model@1.1.0-next.1
+
+### Patch Changes
+
+- f1dcc6f3c6: Added type predicates for all entity types, e.g. isUserEntity
+- Updated dependencies
+ - @backstage/errors@1.1.0-next.0
+
+## @backstage/config-loader@1.1.3-next.0
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/errors@1.1.0-next.0
+
+## @backstage/core-components@0.9.6-next.1
+
+### Patch Changes
+
+- 3c440ea77e: Change BackstageIconLinkVertical style to use pallette instead of explicit color
+- 7e115d42f9: Support displaying subtitle text in `SidebarSubmenuItem`
+- Updated dependencies
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/theme@0.2.16-next.0
+
+## @backstage/create-app@0.4.29-next.1
+
+### Patch Changes
+
+- Bumped create-app version.
+
+## @backstage/dev-utils@1.0.4-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/app-defaults@1.0.4-next.1
+ - @backstage/integration-react@1.1.2-next.1
+ - @backstage/test-utils@1.1.2-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/integration@1.2.2-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/errors@1.1.0-next.0
+
+## @backstage/integration-react@1.1.2-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/integration@1.2.2-next.1
+
+## @techdocs/cli@1.1.3-next.1
+
+### Patch Changes
+
+- a5d73da942: Fix the flag parsing for `legacyCopyReadmeMdToIndexMd` in `techdocs-cli generate` command, and decouple it's logic from the `techdocs-ref` flag.
+- Updated dependencies
+ - @backstage/plugin-techdocs-node@1.2.0-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+
+## @backstage/test-utils@1.1.2-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-permission-common@0.6.3-next.0
+ - @backstage/plugin-permission-react@0.4.3-next.0
+
+## @backstage/theme@0.2.16-next.0
+
+### Patch Changes
+
+- 4c09c09102: Adds optional `htmlFontSize` property and also sets typography design tokens for h5 and h6 in base theme.
+
+## @backstage/plugin-adr@0.1.2-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/integration-react@1.1.2-next.1
+ - @backstage/plugin-adr-common@0.1.2-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+ - @backstage/plugin-search-common@0.3.6-next.0
+ - @backstage/plugin-search-react@0.2.2-next.1
+
+## @backstage/plugin-adr-backend@0.1.2-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/catalog-client@1.0.4-next.1
+ - @backstage/integration@1.2.2-next.1
+ - @backstage/plugin-adr-common@0.1.2-next.1
+ - @backstage/plugin-search-common@0.3.6-next.0
+
+## @backstage/plugin-adr-common@0.1.2-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/integration@1.2.2-next.1
+ - @backstage/plugin-search-common@0.3.6-next.0
+
+## @backstage/plugin-airbrake@0.3.7-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/dev-utils@1.0.4-next.1
+ - @backstage/test-utils@1.1.2-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-allure@0.1.23-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-analytics-module-ga@0.1.18-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/theme@0.2.16-next.0
+
+## @backstage/plugin-api-docs@0.8.7-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/plugin-catalog@1.3.1-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-app-backend@0.3.34-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/config-loader@1.1.3-next.0
+
+## @backstage/plugin-auth-node@0.2.3-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+
+## @backstage/plugin-azure-devops@0.1.23-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-badges@0.2.31-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-badges-backend@0.1.28-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/catalog-client@1.0.4-next.1
+
+## @backstage/plugin-bazaar@0.1.22-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/cli@0.18.0-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/plugin-catalog@1.3.1-next.1
+ - @backstage/catalog-client@1.0.4-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-bitrise@0.1.34-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-catalog@1.3.1-next.1
+
+### Patch Changes
+
+- f1dcc6f3c6: Use entity type predicates from catalog-model
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/catalog-client@1.0.4-next.1
+ - @backstage/integration-react@1.1.2-next.1
+ - @backstage/plugin-catalog-common@1.0.4-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+ - @backstage/plugin-search-common@0.3.6-next.0
+ - @backstage/plugin-search-react@0.2.2-next.1
+
+## @backstage/plugin-catalog-backend@1.2.1-next.1
+
+### Patch Changes
+
+- f1dcc6f3c6: Use entity type predicates from catalog-model
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/catalog-client@1.0.4-next.1
+ - @backstage/integration@1.2.2-next.1
+ - @backstage/plugin-catalog-common@1.0.4-next.0
+ - @backstage/plugin-permission-common@0.6.3-next.0
+ - @backstage/plugin-permission-node@0.6.3-next.1
+ - @backstage/plugin-search-common@0.3.6-next.0
+
+## @backstage/plugin-catalog-backend-module-aws@0.1.7-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/plugin-catalog-backend@1.2.1-next.1
+ - @backstage/backend-tasks@0.3.3-next.1
+ - @backstage/integration@1.2.2-next.1
+
+## @backstage/plugin-catalog-backend-module-azure@0.1.5-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/plugin-catalog-backend@1.2.1-next.1
+ - @backstage/backend-tasks@0.3.3-next.1
+ - @backstage/integration@1.2.2-next.1
+
+## @backstage/plugin-catalog-backend-module-bitbucket@0.2.1-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/plugin-catalog-backend@1.2.1-next.1
+ - @backstage/integration@1.2.2-next.1
+
+## @backstage/plugin-catalog-backend-module-gerrit@0.1.2-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/plugin-catalog-backend@1.2.1-next.1
+ - @backstage/backend-tasks@0.3.3-next.1
+ - @backstage/integration@1.2.2-next.1
+
+## @backstage/plugin-catalog-backend-module-github@0.1.5-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/plugin-catalog-backend@1.2.1-next.1
+ - @backstage/backend-tasks@0.3.3-next.1
+ - @backstage/integration@1.2.2-next.1
+
+## @backstage/plugin-catalog-backend-module-gitlab@0.1.5-next.1
+
+### Patch Changes
+
+- 49ff472c0b: Add the possibility in the `GitlabDiscoveryEntityProvider` to scan the whole project instead of concrete groups. For that, use a configuration like this one, where the group parameter is omitted (not mandatory anymore):
+
+ ```yaml
+ catalog:
+ providers:
+ gitlab:
+ yourProviderId:
+ host: gitlab-host # Identifies one of the hosts set up in the integrations
+ branch: main # Optional. Uses `master` as default
+ entityFilename: catalog-info.yaml # Optional. Defaults to `catalog-info.yaml`
+ ```
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/plugin-catalog-backend@1.2.1-next.1
+ - @backstage/backend-tasks@0.3.3-next.1
+ - @backstage/integration@1.2.2-next.1
+
+## @backstage/plugin-catalog-backend-module-ldap@0.5.1-next.1
+
+### Patch Changes
+
+- fbfbff6bf7: Add possibility to resolve relations by RDN, in addition to UUID and DN
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/plugin-catalog-backend@1.2.1-next.1
+ - @backstage/backend-tasks@0.3.3-next.1
+
+## @backstage/plugin-catalog-common@1.0.4-next.0
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/plugin-permission-common@0.6.3-next.0
+ - @backstage/plugin-search-common@0.3.6-next.0
+
+## @backstage/plugin-catalog-graph@0.2.19-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/catalog-client@1.0.4-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-catalog-import@0.8.10-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/catalog-client@1.0.4-next.1
+ - @backstage/integration@1.2.2-next.1
+ - @backstage/integration-react@1.1.2-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-catalog-react@1.1.2-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/catalog-client@1.0.4-next.1
+ - @backstage/integration@1.2.2-next.1
+ - @backstage/plugin-catalog-common@1.0.4-next.0
+ - @backstage/plugin-permission-common@0.6.3-next.0
+ - @backstage/plugin-permission-react@0.4.3-next.0
+
+## @backstage/plugin-circleci@0.3.7-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-cloudbuild@0.3.7-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-code-climate@0.1.7-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-code-coverage@0.1.34-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-code-coverage-backend@0.1.32-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/catalog-client@1.0.4-next.1
+ - @backstage/integration@1.2.2-next.1
+
+## @backstage/plugin-codescene@0.1.2-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/theme@0.2.16-next.0
+
+## @backstage/plugin-config-schema@0.1.30-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/theme@0.2.16-next.0
+
+## @backstage/plugin-cost-insights@0.11.29-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/theme@0.2.16-next.0
+
+## @backstage/plugin-dynatrace@0.1.1-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/theme@0.2.16-next.0
+
+## @backstage/plugin-explore@0.3.38-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-firehydrant@0.1.24-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-fossa@0.2.39-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-gcalendar@0.3.3-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/theme@0.2.16-next.0
+
+## @backstage/plugin-gcp-projects@0.3.26-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/theme@0.2.16-next.0
+
+## @backstage/plugin-git-release-manager@0.3.20-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/integration@1.2.2-next.1
+
+## @backstage/plugin-github-actions@0.5.7-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/integration@1.2.2-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-github-deployments@0.1.38-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/integration@1.2.2-next.1
+ - @backstage/integration-react@1.1.2-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-github-pull-requests-board@0.1.1-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/integration@1.2.2-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-gitops-profiles@0.3.25-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/theme@0.2.16-next.0
+
+## @backstage/plugin-gocd@0.1.13-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-graphiql@0.2.39-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/theme@0.2.16-next.0
+
+## @backstage/plugin-home@0.4.23-next.1
+
+### Patch Changes
+
+- a46e317a75: Added support for customizing the time format used in the `HeaderWorldClock` component
+
+ Here's an example of how this can be used in the `HomePage.tsx` found in `\packages\app\src\components\home` to change the clock to be in the 24hr time format:
+
+ ```diff
+ +const timeFormat: Intl.DateTimeFormatOptions = {
+ + hour: '2-digit',
+ + minute: '2-digit',
+ + hour12: false,
+ +};
+
+ export const homePage = (
+
+ } pageTitleOverride="Home">
+ +
+
+
+
+
+
+
+ ```
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/plugin-stack-overflow@0.1.3-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-ilert@0.1.33-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-jenkins@0.7.6-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+ - @backstage/plugin-jenkins-common@0.1.6-next.0
+
+## @backstage/plugin-jenkins-backend@0.1.24-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/catalog-client@1.0.4-next.1
+ - @backstage/plugin-auth-node@0.2.3-next.1
+ - @backstage/plugin-jenkins-common@0.1.6-next.0
+ - @backstage/plugin-permission-common@0.6.3-next.0
+
+## @backstage/plugin-jenkins-common@0.1.6-next.0
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/plugin-catalog-common@1.0.4-next.0
+ - @backstage/plugin-permission-common@0.6.3-next.0
+
+## @backstage/plugin-kafka@0.3.7-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-kafka-backend@0.2.27-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+
+## @backstage/plugin-kubernetes@0.6.7-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-kubernetes-backend@0.7.0-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+
+## @backstage/plugin-lighthouse@0.3.7-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-newrelic@0.3.25-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/theme@0.2.16-next.0
+
+## @backstage/plugin-newrelic-dashboard@0.1.15-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-org@0.5.7-next.1
+
+### Patch Changes
+
+- 1e984b11fc: Render namespaces for teams with subtitles in `MyGroupsSidebarItem`
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-pagerduty@0.5.0-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-periskop@0.1.5-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-permission-backend@0.5.9-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/plugin-auth-node@0.2.3-next.1
+ - @backstage/plugin-permission-common@0.6.3-next.0
+ - @backstage/plugin-permission-node@0.6.3-next.1
+
+## @backstage/plugin-permission-common@0.6.3-next.0
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/errors@1.1.0-next.0
+
+## @backstage/plugin-permission-node@0.6.3-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/plugin-auth-node@0.2.3-next.1
+ - @backstage/plugin-permission-common@0.6.3-next.0
+
+## @backstage/plugin-permission-react@0.4.3-next.0
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/plugin-permission-common@0.6.3-next.0
+
+## @backstage/plugin-rollbar@0.4.7-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-scaffolder@1.4.0-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/catalog-client@1.0.4-next.1
+ - @backstage/integration@1.2.2-next.1
+ - @backstage/integration-react@1.1.2-next.1
+ - @backstage/plugin-catalog-common@1.0.4-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+ - @backstage/plugin-permission-react@0.4.3-next.0
+
+## @backstage/plugin-scaffolder-backend@1.4.0-next.1
+
+### Patch Changes
+
+- 801d606909: Improve error messaging when passing in malformed auth
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/plugin-catalog-backend@1.2.1-next.1
+ - @backstage/catalog-client@1.0.4-next.1
+ - @backstage/integration@1.2.2-next.1
+
+## @backstage/plugin-scaffolder-backend-module-cookiecutter@0.2.9-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/plugin-scaffolder-backend@1.4.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/integration@1.2.2-next.1
+
+## @backstage/plugin-scaffolder-backend-module-rails@0.4.2-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/plugin-scaffolder-backend@1.4.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/integration@1.2.2-next.1
+
+## @backstage/plugin-search@0.9.1-next.1
+
+### Patch Changes
+
+- 509c4092f0: To allow people to use a global search context in the search modal, the code for the search modal has been changed to only create a local search context if there is no parent context already defined.
+
+ If you want to continue using a local context even if you define a global one, you will have to wrap the modal in a new local context manually:
+
+ ```tsx
+
+
+
+ ```
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+ - @backstage/plugin-search-common@0.3.6-next.0
+ - @backstage/plugin-search-react@0.2.2-next.1
+
+## @backstage/plugin-search-backend@0.5.4-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/plugin-auth-node@0.2.3-next.1
+ - @backstage/plugin-permission-common@0.6.3-next.0
+ - @backstage/plugin-permission-node@0.6.3-next.1
+ - @backstage/plugin-search-backend-node@0.6.3-next.1
+ - @backstage/plugin-search-common@0.3.6-next.0
+
+## @backstage/plugin-search-backend-module-pg@0.3.5-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/plugin-search-backend-node@0.6.3-next.1
+ - @backstage/plugin-search-common@0.3.6-next.0
+
+## @backstage/plugin-search-backend-node@0.6.3-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/backend-tasks@0.3.3-next.1
+ - @backstage/plugin-permission-common@0.6.3-next.0
+ - @backstage/plugin-search-common@0.3.6-next.0
+
+## @backstage/plugin-search-common@0.3.6-next.0
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/plugin-permission-common@0.6.3-next.0
+
+## @backstage/plugin-search-react@0.2.2-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-search-common@0.3.6-next.0
+
+## @backstage/plugin-sentry@0.3.45-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-shortcuts@0.2.8-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/theme@0.2.16-next.0
+
+## @backstage/plugin-sonarqube@0.3.7-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-splunk-on-call@0.3.31-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-stack-overflow@0.1.3-next.1
+
+### Patch Changes
+
+- 52b4f796e3: app-config is now picked up properly.
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/plugin-home@0.4.23-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-search-common@0.3.6-next.0
+
+## @backstage/plugin-stack-overflow-backend@0.1.3-next.0
+
+### Patch Changes
+
+- 52b4f796e3: app-config is now picked up properly.
+- Updated dependencies
+ - @backstage/plugin-search-common@0.3.6-next.0
+
+## @backstage/plugin-tech-insights@0.2.3-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-tech-insights-backend@0.4.2-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/backend-tasks@0.3.3-next.1
+ - @backstage/catalog-client@1.0.4-next.1
+
+## @backstage/plugin-tech-insights-backend-module-jsonfc@0.1.18-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+
+## @backstage/plugin-tech-radar@0.5.14-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/theme@0.2.16-next.0
+
+## @backstage/plugin-techdocs@1.2.1-next.1
+
+### Patch Changes
+
+- 726577958f: Remove the 60% factor from the font size calculation of headers to use the exact size defined in BackstageTheme.
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/integration@1.2.2-next.1
+ - @backstage/integration-react@1.1.2-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+ - @backstage/plugin-search-common@0.3.6-next.0
+ - @backstage/plugin-search-react@0.2.2-next.1
+
+## @backstage/plugin-techdocs-addons-test-utils@1.0.2-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/plugin-catalog@1.3.1-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-techdocs@1.2.1-next.1
+ - @backstage/integration-react@1.1.2-next.1
+ - @backstage/test-utils@1.1.2-next.1
+ - @backstage/plugin-search-react@0.2.2-next.1
+
+## @backstage/plugin-techdocs-module-addons-contrib@1.0.2-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/integration@1.2.2-next.1
+ - @backstage/integration-react@1.1.2-next.1
+
+## @backstage/plugin-todo@0.2.9-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-todo-backend@0.1.31-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/catalog-client@1.0.4-next.1
+ - @backstage/integration@1.2.2-next.1
+
+## @backstage/plugin-user-settings@0.4.6-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/theme@0.2.16-next.0
+
+## @backstage/plugin-vault@0.1.1-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
+## @backstage/plugin-vault-backend@0.2.0-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/backend-tasks@0.3.3-next.1
+ - @backstage/backend-test-utils@0.1.26-next.1
+
+## @backstage/plugin-xcmetrics@0.2.27-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/theme@0.2.16-next.0
+
+## example-app@0.2.73-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/cli@0.18.0-next.1
+ - @backstage/plugin-apache-airflow@0.2.0-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/plugin-search@0.9.1-next.1
+ - @backstage/plugin-org@0.5.7-next.1
+ - @backstage/plugin-catalog@1.3.1-next.1
+ - @backstage/plugin-home@0.4.23-next.1
+ - @backstage/plugin-stack-overflow@0.1.3-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-techdocs@1.2.1-next.1
+ - @backstage/app-defaults@1.0.4-next.1
+ - @backstage/integration-react@1.1.2-next.1
+ - @backstage/plugin-airbrake@0.3.7-next.1
+ - @backstage/plugin-api-docs@0.8.7-next.1
+ - @backstage/plugin-azure-devops@0.1.23-next.1
+ - @backstage/plugin-badges@0.2.31-next.1
+ - @backstage/plugin-catalog-common@1.0.4-next.0
+ - @backstage/plugin-catalog-graph@0.2.19-next.1
+ - @backstage/plugin-catalog-import@0.8.10-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+ - @backstage/plugin-circleci@0.3.7-next.1
+ - @backstage/plugin-cloudbuild@0.3.7-next.1
+ - @backstage/plugin-code-coverage@0.1.34-next.1
+ - @backstage/plugin-cost-insights@0.11.29-next.1
+ - @backstage/plugin-dynatrace@0.1.1-next.1
+ - @backstage/plugin-explore@0.3.38-next.1
+ - @backstage/plugin-gcalendar@0.3.3-next.1
+ - @backstage/plugin-gcp-projects@0.3.26-next.1
+ - @backstage/plugin-github-actions@0.5.7-next.1
+ - @backstage/plugin-gocd@0.1.13-next.1
+ - @backstage/plugin-graphiql@0.2.39-next.1
+ - @backstage/plugin-jenkins@0.7.6-next.1
+ - @backstage/plugin-kafka@0.3.7-next.1
+ - @backstage/plugin-kubernetes@0.6.7-next.1
+ - @backstage/plugin-lighthouse@0.3.7-next.1
+ - @backstage/plugin-newrelic@0.3.25-next.1
+ - @backstage/plugin-newrelic-dashboard@0.1.15-next.1
+ - @backstage/plugin-pagerduty@0.5.0-next.1
+ - @backstage/plugin-permission-react@0.4.3-next.0
+ - @backstage/plugin-rollbar@0.4.7-next.1
+ - @backstage/plugin-scaffolder@1.4.0-next.1
+ - @backstage/plugin-search-common@0.3.6-next.0
+ - @backstage/plugin-sentry@0.3.45-next.1
+ - @backstage/plugin-shortcuts@0.2.8-next.1
+ - @backstage/plugin-tech-insights@0.2.3-next.1
+ - @backstage/plugin-tech-radar@0.5.14-next.1
+ - @backstage/plugin-techdocs-module-addons-contrib@1.0.2-next.1
+ - @backstage/plugin-todo@0.2.9-next.1
+ - @backstage/plugin-user-settings@0.4.6-next.1
+ - @backstage/plugin-search-react@0.2.2-next.1
+
+## example-backend@0.2.73-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/plugin-scaffolder-backend@1.4.0-next.1
+ - @backstage/plugin-auth-backend@0.15.0-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/plugin-search-backend-module-elasticsearch@0.2.0-next.1
+ - @backstage/plugin-catalog-backend@1.2.1-next.1
+ - @backstage/plugin-techdocs-backend@1.2.0-next.1
+ - example-app@0.2.73-next.1
+ - @backstage/backend-tasks@0.3.3-next.1
+ - @backstage/catalog-client@1.0.4-next.1
+ - @backstage/integration@1.2.2-next.1
+ - @backstage/plugin-app-backend@0.3.34-next.1
+ - @backstage/plugin-auth-node@0.2.3-next.1
+ - @backstage/plugin-badges-backend@0.1.28-next.1
+ - @backstage/plugin-code-coverage-backend@0.1.32-next.1
+ - @backstage/plugin-jenkins-backend@0.1.24-next.1
+ - @backstage/plugin-kafka-backend@0.2.27-next.1
+ - @backstage/plugin-kubernetes-backend@0.7.0-next.1
+ - @backstage/plugin-permission-backend@0.5.9-next.1
+ - @backstage/plugin-permission-common@0.6.3-next.0
+ - @backstage/plugin-permission-node@0.6.3-next.1
+ - @backstage/plugin-scaffolder-backend-module-rails@0.4.2-next.1
+ - @backstage/plugin-search-backend@0.5.4-next.1
+ - @backstage/plugin-search-backend-module-pg@0.3.5-next.1
+ - @backstage/plugin-search-backend-node@0.6.3-next.1
+ - @backstage/plugin-tech-insights-backend@0.4.2-next.1
+ - @backstage/plugin-tech-insights-backend-module-jsonfc@0.1.18-next.1
+ - @backstage/plugin-todo-backend@0.1.31-next.1
+
+## techdocs-cli-embedded-app@0.2.72-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/cli@0.18.0-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/plugin-catalog@1.3.1-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-techdocs@1.2.1-next.1
+ - @backstage/app-defaults@1.0.4-next.1
+ - @backstage/integration-react@1.1.2-next.1
+ - @backstage/test-utils@1.1.2-next.1
+
+## @internal/plugin-todo-list@1.0.3-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/theme@0.2.16-next.0
+
+## @internal/plugin-todo-list-backend@1.0.3-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/plugin-auth-node@0.2.3-next.1
+
+## @internal/plugin-todo-list-common@1.0.3-next.0
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/plugin-permission-common@0.6.3-next.0
diff --git a/docs/releases/v1.4.0-next.2-changelog.md b/docs/releases/v1.4.0-next.2-changelog.md
new file mode 100644
index 0000000000..fe00c648dd
--- /dev/null
+++ b/docs/releases/v1.4.0-next.2-changelog.md
@@ -0,0 +1,1308 @@
+# Release v1.4.0-next.2
+
+## @backstage/catalog-model@1.1.0-next.2
+
+### Minor Changes
+
+- 4cc81372f8: Introduced `GroupDefaultParentEntityPolicy` to set a default group entity parent.
+
+## @backstage/core-components@0.10.0-next.2
+
+### Minor Changes
+
+- 32204fa794: Add `transformLinkUri` and `transformImageUri` to `MarkdownContent`
+
+### Patch Changes
+
+- b4b711bcc2: Fix the EntityLayout header style so that EntityContextMenu button can display in correct shape when user hover on it
+- 15201b1032: Updated dependency `rc-progress` to `3.4.0`.
+- 385389d23c: Updated to remove usage of the `bursts` object in the theme palette
+- Updated dependencies
+ - @backstage/theme@0.2.16-next.1
+
+## @backstage/plugin-catalog@1.4.0-next.2
+
+### Minor Changes
+
+- a274fe38b9: Add hidden title column to catalog and API table to enable filtering by title.
+
+### Patch Changes
+
+- 258057a4b9: Adding ability to customize the "unregister entity" menu item in the entity context menu on the entity page with options 'visible','hidden','disabled'.With this three new options, one can hide the "unregister entity" menu item from the list, disable or keep it enabled.
+
+ The boolean input for "unregister entity" will be deprecated later in favour of the above three options.
+
+- 385389d23c: Updated to remove usage of the `bursts` object in the theme palette
+
+- be26d95141: Added new `EntityProcessingStatusPicker` that will filter for entities with orphans and/or errors.
+
+ If you are using the default Catalog page this picker will be added automatically. For those who have customized their Catalog page you'll need to add this manually by doing something like this:
+
+ ```diff
+ ...
+ import {
+ CatalogFilterLayout,
+ EntityTypePicker,
+ UserListPicker,
+ EntityTagPicker
+ + EntityProcessingStatusPicker,
+ } from '@backstage/plugin-catalog-react';
+ ...
+ export const CustomCatalogPage = ({
+ columns,
+ actions,
+ initiallySelectedFilter = 'owned',
+ }: CatalogPageProps) => {
+ return (
+ ...
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ ...
+ };
+ ```
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/plugin-search-react@0.2.2-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+ - @backstage/integration-react@1.1.2-next.2
+
+## @backstage/plugin-catalog-backend-module-msgraph@0.4.0-next.1
+
+### Minor Changes
+
+- a145672f0f: Align `msgraph` plugin's entity provider config with other providers. **Deprecated** entity processor as well as previous config.
+
+ You will see warning at the log output until you migrate to the new setup.
+ All deprecated parts will be removed eventually after giving some time to migrate.
+
+ Please find information on how to migrate your current setup to the new one below.
+
+ **Migration Guide:**
+
+ There were two different way on how to use the msgraph plugin: processor or provider.
+
+ Previous registration for the processor:
+
+ ```typescript
+ // packages/backend/src/plugins/catalog.ts
+ builder.addProcessor(
+ MicrosoftGraphOrgReaderProcessor.fromConfig(env.config, {
+ logger: env.logger,
+ // [...]
+ }),
+ );
+ ```
+
+ Previous registration when using the provider:
+
+ ```typescript
+ // packages/backend/src/plugins/catalog.ts
+ builder.addEntityProvider(
+ MicrosoftGraphOrgEntityProvider.fromConfig(env.config, {
+ id: 'https://graph.microsoft.com/v1.0',
+ target: 'https://graph.microsoft.com/v1.0',
+ logger: env.logger,
+ schedule: env.scheduler.createScheduledTaskRunner({
+ frequency: { minutes: 30 },
+ timeout: { minutes: 3 },
+ }),
+ // [...]
+ }),
+ );
+ ```
+
+ Previous configuration as used for both:
+
+ ```yaml
+ # app-config.yaml
+ catalog:
+ processors:
+ microsoftGraphOrg:
+ providers:
+ - target: https://graph.microsoft.com/v1.0
+ # [...]
+ ```
+
+ **Replacement:**
+
+ Please check for the complete documentation of all configuration options (config as well as registration of the provider).
+
+ ```yaml
+ # app-config.yaml
+ catalog:
+ providers:
+ microsoftGraphOrg:
+ # In case you used the deprecated configuration with the entity provider
+ # using the value of `target` will keep the same location key for all
+ providerId: # some stable ID which will be used as part of the location key for all ingested data
+ target: https://graph.microsoft.com/v1.0
+ # [...]
+ ```
+
+ ```typescript
+ // packages/backend/src/plugins/catalog.ts
+ builder.addEntityProvider(
+ MicrosoftGraphOrgEntityProvider.fromConfig(env.config, {
+ logger: env.logger,
+ schedule: env.scheduler.createScheduledTaskRunner({
+ frequency: { minutes: 30 },
+ timeout: { minutes: 3 },
+ }),
+ // [...]
+ }),
+ );
+ ```
+
+ In case you've used multiple entity providers before
+ **and** you had different transformers for each of them
+ you can provide these directly at the one `fromConfig` call
+ by passing a Record with the provider ID as key.
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/backend-tasks@0.3.3-next.2
+ - @backstage/plugin-catalog-backend@1.2.1-next.2
+
+## @backstage/plugin-cost-insights-common@0.1.0-next.0
+
+### Minor Changes
+
+- 81dd5ea989: Introduces a new isomorphic @backstage/plugin-cost-insight-common package to contain shared types across all other cost insights packages and modules.
+
+## @backstage/plugin-scaffolder@1.4.0-next.2
+
+### Minor Changes
+
+- d8eb82f447: Add `allowedRepos` `ui:option` to `RepoUrlPicker` component, and move `repoName` field to own component
+
+### Patch Changes
+
+- e2d7b76f43: Upgrade git-url-parse to 12.0.0.
+
+ Motivation for upgrade is transitively upgrading parse-url which is vulnerable
+ to several CVEs detected by Snyk.
+
+ - SNYK-JS-PARSEURL-2935944
+ - SNYK-JS-PARSEURL-2935947
+ - SNYK-JS-PARSEURL-2936249
+
+- 14146703e5: Add `allowArbitraryValues` to `ui:options` in `OwnedEntityPicker`, similar to `allowArbitraryValues` in `EntityPicker`
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/integration@1.2.2-next.2
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+ - @backstage/integration-react@1.1.2-next.2
+
+## @backstage/plugin-scaffolder-backend@1.4.0-next.2
+
+### Minor Changes
+
+- 4baf8a4ece: Update GitLab Merge Request Action to allow source branch to be deleted
+- 2db07887cb: Added two new scaffolder actions: `github:repo:create` and `github:repo:push`
+
+### Patch Changes
+
+- 679b32172e: Updated dependency `knex` to `^2.0.0`.
+
+- e2d7b76f43: Upgrade git-url-parse to 12.0.0.
+
+ Motivation for upgrade is transitively upgrading parse-url which is vulnerable
+ to several CVEs detected by Snyk.
+
+ - SNYK-JS-PARSEURL-2935944
+ - SNYK-JS-PARSEURL-2935947
+ - SNYK-JS-PARSEURL-2936249
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/backend-common@0.14.1-next.2
+ - @backstage/plugin-catalog-backend@1.2.1-next.2
+ - @backstage/integration@1.2.2-next.2
+
+## @backstage/plugin-tech-insights-backend@0.5.0-next.2
+
+### Minor Changes
+
+- 818fa28d71: Allow FactRetrieverRegistry to be injected into buildTechInsightsContext so that we can override default registry implementation.
+
+### Patch Changes
+
+- 679b32172e: Updated dependency `knex` to `^2.0.0`.
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/backend-common@0.14.1-next.2
+ - @backstage/backend-tasks@0.3.3-next.2
+
+## @backstage/app-defaults@1.0.4-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/theme@0.2.16-next.1
+
+## @backstage/backend-common@0.14.1-next.2
+
+### Patch Changes
+
+- 679b32172e: Updated dependency `knex` to `^2.0.0`.
+
+- e2d7b76f43: Upgrade git-url-parse to 12.0.0.
+
+ Motivation for upgrade is transitively upgrading parse-url which is vulnerable
+ to several CVEs detected by Snyk.
+
+ - SNYK-JS-PARSEURL-2935944
+ - SNYK-JS-PARSEURL-2935947
+ - SNYK-JS-PARSEURL-2936249
+
+- Updated dependencies
+ - @backstage/integration@1.2.2-next.2
+
+## @backstage/backend-tasks@0.3.3-next.2
+
+### Patch Changes
+
+- 679b32172e: Updated dependency `knex` to `^2.0.0`.
+- Updated dependencies
+ - @backstage/backend-common@0.14.1-next.2
+
+## @backstage/backend-test-utils@0.1.26-next.2
+
+### Patch Changes
+
+- 679b32172e: Updated dependency `knex` to `^2.0.0`.
+- Updated dependencies
+ - @backstage/backend-common@0.14.1-next.2
+ - @backstage/cli@0.18.0-next.2
+
+## @backstage/cli@0.18.0-next.2
+
+### Patch Changes
+
+- f6b6fb7165: The `test` command now ensures that all IO is flushed before exiting when printing `--help`.
+
+## @backstage/create-app@0.4.29-next.2
+
+### Patch Changes
+
+- f281ad17c0: Adds the ability to define the Backstage app name using a `BACKSTAGE_APP_NAME`
+ environment variable when running `create-app`.
+
+## @backstage/dev-utils@1.0.4-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+ - @backstage/app-defaults@1.0.4-next.2
+ - @backstage/integration-react@1.1.2-next.2
+
+## @backstage/integration@1.2.2-next.2
+
+### Patch Changes
+
+- e2d7b76f43: Upgrade git-url-parse to 12.0.0.
+
+ Motivation for upgrade is transitively upgrading parse-url which is vulnerable
+ to several CVEs detected by Snyk.
+
+ - SNYK-JS-PARSEURL-2935944
+ - SNYK-JS-PARSEURL-2935947
+ - SNYK-JS-PARSEURL-2936249
+
+## @backstage/integration-react@1.1.2-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/integration@1.2.2-next.2
+
+## @backstage/theme@0.2.16-next.1
+
+### Patch Changes
+
+- ff4f56eb49: **DEPRECATED**: The `bursts` object from `BackstagePaletteAdditions` has been depreciated and will be removed in a future release
+
+ The `genPageTheme` function now includes an optional options object with an optional `fontColor` which defaults to white if not provided.
+
+## @backstage/plugin-adr@0.1.2-next.2
+
+### Patch Changes
+
+- e2d7b76f43: Upgrade git-url-parse to 12.0.0.
+
+ Motivation for upgrade is transitively upgrading parse-url which is vulnerable
+ to several CVEs detected by Snyk.
+
+ - SNYK-JS-PARSEURL-2935944
+ - SNYK-JS-PARSEURL-2935947
+ - SNYK-JS-PARSEURL-2936249
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/plugin-search-react@0.2.2-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+ - @backstage/integration-react@1.1.2-next.2
+
+## @backstage/plugin-airbrake@0.3.7-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+ - @backstage/dev-utils@1.0.4-next.2
+
+## @backstage/plugin-allure@0.1.23-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-analytics-module-ga@0.1.18-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/theme@0.2.16-next.1
+
+## @backstage/plugin-apache-airflow@0.2.0-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+
+## @backstage/plugin-api-docs@0.8.7-next.2
+
+### Patch Changes
+
+- a274fe38b9: Add hidden title column to catalog and API table to enable filtering by title.
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog@1.4.0-next.2
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-app-backend@0.3.34-next.2
+
+### Patch Changes
+
+- 679b32172e: Updated dependency `knex` to `^2.0.0`.
+- Updated dependencies
+ - @backstage/backend-common@0.14.1-next.2
+
+## @backstage/plugin-auth-backend@0.15.0-next.2
+
+### Patch Changes
+
+- 8e03db907a: Auth provider now also export createAuthProviderIntegration
+- 679b32172e: Updated dependency `knex` to `^2.0.0`.
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/backend-common@0.14.1-next.2
+
+## @backstage/plugin-azure-devops@0.1.23-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-badges@0.2.31-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-badges-backend@0.1.28-next.2
+
+### Patch Changes
+
+- 58fd5ee9d5: Add missing installation instructions
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/backend-common@0.14.1-next.2
+
+## @backstage/plugin-bazaar@0.1.22-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/plugin-catalog@1.4.0-next.2
+ - @backstage/cli@0.18.0-next.2
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-bazaar-backend@0.1.18-next.1
+
+### Patch Changes
+
+- 679b32172e: Updated dependency `knex` to `^2.0.0`.
+- Updated dependencies
+ - @backstage/backend-common@0.14.1-next.2
+ - @backstage/backend-test-utils@0.1.26-next.2
+
+## @backstage/plugin-bitrise@0.1.34-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-catalog-backend@1.2.1-next.2
+
+### Patch Changes
+
+- 679b32172e: Updated dependency `knex` to `^2.0.0`.
+
+- e2d7b76f43: Upgrade git-url-parse to 12.0.0.
+
+ Motivation for upgrade is transitively upgrading parse-url which is vulnerable
+ to several CVEs detected by Snyk.
+
+ - SNYK-JS-PARSEURL-2935944
+ - SNYK-JS-PARSEURL-2935947
+ - SNYK-JS-PARSEURL-2936249
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/backend-common@0.14.1-next.2
+ - @backstage/integration@1.2.2-next.2
+
+## @backstage/plugin-catalog-backend-module-openapi@0.1.0-next.1
+
+### Patch Changes
+
+- 4881dc4c84: Updated dependency `openapi-types` to `^12.0.0`.
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/backend-common@0.14.1-next.2
+ - @backstage/plugin-catalog-backend@1.2.1-next.2
+ - @backstage/integration@1.2.2-next.2
+
+## @backstage/plugin-catalog-graph@0.2.19-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-catalog-import@0.8.10-next.2
+
+### Patch Changes
+
+- e2d7b76f43: Upgrade git-url-parse to 12.0.0.
+
+ Motivation for upgrade is transitively upgrading parse-url which is vulnerable
+ to several CVEs detected by Snyk.
+
+ - SNYK-JS-PARSEURL-2935944
+ - SNYK-JS-PARSEURL-2935947
+ - SNYK-JS-PARSEURL-2936249
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/integration@1.2.2-next.2
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+ - @backstage/integration-react@1.1.2-next.2
+
+## @backstage/plugin-catalog-react@1.1.2-next.2
+
+### Patch Changes
+
+- be26d95141: Added new `EntityProcessingStatusPicker` that will filter for entities with orphans and/or errors.
+
+ If you are using the default Catalog page this picker will be added automatically. For those who have customized their Catalog page you'll need to add this manually by doing something like this:
+
+ ```diff
+ ...
+ import {
+ CatalogFilterLayout,
+ EntityTypePicker,
+ UserListPicker,
+ EntityTagPicker
+ + EntityProcessingStatusPicker,
+ } from '@backstage/plugin-catalog-react';
+ ...
+ export const CustomCatalogPage = ({
+ columns,
+ actions,
+ initiallySelectedFilter = 'owned',
+ }: CatalogPageProps) => {
+ return (
+ ...
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ ...
+ };
+ ```
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/integration@1.2.2-next.2
+
+## @backstage/plugin-circleci@0.3.7-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-cloudbuild@0.3.7-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-code-climate@0.1.7-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-code-coverage@0.1.34-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-code-coverage-backend@0.1.32-next.2
+
+### Patch Changes
+
+- 679b32172e: Updated dependency `knex` to `^2.0.0`.
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/backend-common@0.14.1-next.2
+ - @backstage/integration@1.2.2-next.2
+
+## @backstage/plugin-codescene@0.1.2-next.2
+
+### Patch Changes
+
+- 15201b1032: Updated dependency `rc-progress` to `3.4.0`.
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/theme@0.2.16-next.1
+
+## @backstage/plugin-config-schema@0.1.30-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/theme@0.2.16-next.1
+
+## @backstage/plugin-cost-insights@0.11.29-next.2
+
+### Patch Changes
+
+- 3e032a5de2: Move cost-insights data specific API types (non react) into an @backstage/plugin-cost-insights-common
+ isomorphic package. This allows these types to be shared in any backend packages or other cost-insight
+ modules.
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/plugin-cost-insights-common@0.1.0-next.0
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+
+## @backstage/plugin-dynatrace@0.1.1-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+
+## @backstage/plugin-explore@0.3.38-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-firehydrant@0.1.24-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-fossa@0.2.39-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-gcalendar@0.3.3-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/theme@0.2.16-next.1
+
+## @backstage/plugin-gcp-projects@0.3.26-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/theme@0.2.16-next.1
+
+## @backstage/plugin-git-release-manager@0.3.20-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/integration@1.2.2-next.2
+
+## @backstage/plugin-github-actions@0.5.7-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/integration@1.2.2-next.2
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-github-deployments@0.1.38-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/integration@1.2.2-next.2
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+ - @backstage/integration-react@1.1.2-next.2
+
+## @backstage/plugin-github-pull-requests-board@0.1.1-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/integration@1.2.2-next.2
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-gitops-profiles@0.3.25-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/theme@0.2.16-next.1
+
+## @backstage/plugin-gocd@0.1.13-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-graphiql@0.2.39-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/theme@0.2.16-next.1
+
+## @backstage/plugin-home@0.4.23-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+ - @backstage/plugin-stack-overflow@0.1.3-next.2
+
+## @backstage/plugin-ilert@0.1.33-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-jenkins@0.7.6-next.2
+
+### Patch Changes
+
+- 8747824221: feature: added support for multiple branches to the `JenkinsApi`
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-jenkins-backend@0.1.24-next.2
+
+### Patch Changes
+
+- 8747824221: feature: added support for multiple branches to the `JenkinsApi`
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/backend-common@0.14.1-next.2
+
+## @backstage/plugin-kafka@0.3.7-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-kafka-backend@0.2.27-next.2
+
+### Patch Changes
+
+- 8751667541: Updated dependency `kafkajs` to `^2.0.0`.
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/backend-common@0.14.1-next.2
+
+## @backstage/plugin-kubernetes@0.6.7-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/plugin-kubernetes-common@0.4.0-next.1
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-kubernetes-backend@0.7.0-next.2
+
+### Patch Changes
+
+- 60e5f9fe68: Fixed the lack of `limitranges` as part of the Default Objects to fetch from the kubernetes api
+- Updated dependencies
+ - @backstage/plugin-kubernetes-common@0.4.0-next.1
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/backend-common@0.14.1-next.2
+
+## @backstage/plugin-kubernetes-common@0.4.0-next.1
+
+### Patch Changes
+
+- 60e5f9fe68: Fixed the lack of `limitranges` as part of the Default Objects to fetch from the kubernetes api
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.2
+
+## @backstage/plugin-lighthouse@0.3.7-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-newrelic@0.3.25-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/theme@0.2.16-next.1
+
+## @backstage/plugin-newrelic-dashboard@0.1.15-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-org@0.5.7-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-pagerduty@0.5.0-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-periskop@0.1.5-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-rollbar@0.4.7-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-search@0.9.1-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/plugin-search-react@0.2.2-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-search-backend-module-pg@0.3.5-next.2
+
+### Patch Changes
+
+- 423e3d8e95: **DEPRECATED**: `PgSearchEngine` static `from` has been deprecated and will be removed in a future release. Use static `fromConfig` method to instantiate.
+
+ Added support for highlighting matched terms in search result data
+
+- 679b32172e: Updated dependency `knex` to `^2.0.0`.
+
+- Updated dependencies
+ - @backstage/backend-common@0.14.1-next.2
+
+## @backstage/plugin-search-react@0.2.2-next.2
+
+### Patch Changes
+
+- 60408ca9d4: Fix search pagination to reset page cursor also when a term is cleared.
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/theme@0.2.16-next.1
+
+## @backstage/plugin-sentry@0.3.45-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-shortcuts@0.2.8-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/theme@0.2.16-next.1
+
+## @backstage/plugin-sonarqube@0.3.7-next.2
+
+### Patch Changes
+
+- 15201b1032: Updated dependency `rc-progress` to `3.4.0`.
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-splunk-on-call@0.3.31-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-stack-overflow@0.1.3-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-home@0.4.23-next.2
+
+## @backstage/plugin-tech-insights@0.2.3-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-tech-radar@0.5.14-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/theme@0.2.16-next.1
+
+## @backstage/plugin-techdocs@1.2.1-next.2
+
+### Patch Changes
+
+- e2d7b76f43: Upgrade git-url-parse to 12.0.0.
+
+ Motivation for upgrade is transitively upgrading parse-url which is vulnerable
+ to several CVEs detected by Snyk.
+
+ - SNYK-JS-PARSEURL-2935944
+ - SNYK-JS-PARSEURL-2935947
+ - SNYK-JS-PARSEURL-2936249
+
+- 7739141ab2: Fix: When docs are shown in an entity page under the docs tab the sidebars start overlapping with the header and tabs in the page when you scroll the documentation content.
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/plugin-search-react@0.2.2-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/integration@1.2.2-next.2
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+ - @backstage/integration-react@1.1.2-next.2
+ - @backstage/plugin-techdocs-react@1.0.2-next.1
+
+## @backstage/plugin-techdocs-addons-test-utils@1.0.2-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/plugin-search-react@0.2.2-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-techdocs@1.2.1-next.2
+ - @backstage/plugin-catalog@1.4.0-next.2
+ - @backstage/integration-react@1.1.2-next.2
+ - @backstage/plugin-techdocs-react@1.0.2-next.1
+
+## @backstage/plugin-techdocs-backend@1.2.0-next.2
+
+### Patch Changes
+
+- 679b32172e: Updated dependency `knex` to `^2.0.0`.
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/backend-common@0.14.1-next.2
+ - @backstage/integration@1.2.2-next.2
+ - @backstage/plugin-techdocs-node@1.2.0-next.2
+
+## @backstage/plugin-techdocs-module-addons-contrib@1.0.2-next.2
+
+### Patch Changes
+
+- e2d7b76f43: Upgrade git-url-parse to 12.0.0.
+
+ Motivation for upgrade is transitively upgrading parse-url which is vulnerable
+ to several CVEs detected by Snyk.
+
+ - SNYK-JS-PARSEURL-2935944
+ - SNYK-JS-PARSEURL-2935947
+ - SNYK-JS-PARSEURL-2936249
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/integration@1.2.2-next.2
+ - @backstage/integration-react@1.1.2-next.2
+ - @backstage/plugin-techdocs-react@1.0.2-next.1
+
+## @backstage/plugin-techdocs-node@1.2.0-next.2
+
+### Patch Changes
+
+- e2d7b76f43: Upgrade git-url-parse to 12.0.0.
+
+ Motivation for upgrade is transitively upgrading parse-url which is vulnerable
+ to several CVEs detected by Snyk.
+
+ - SNYK-JS-PARSEURL-2935944
+ - SNYK-JS-PARSEURL-2935947
+ - SNYK-JS-PARSEURL-2936249
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/backend-common@0.14.1-next.2
+ - @backstage/integration@1.2.2-next.2
+
+## @backstage/plugin-techdocs-react@1.0.2-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+
+## @backstage/plugin-todo@0.2.9-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-user-settings@0.4.6-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/theme@0.2.16-next.1
+
+## @backstage/plugin-vault@0.1.1-next.2
+
+### Patch Changes
+
+- 7ee4abdcc9: Added a path notion in addition to secret name to allow to differentiate secrets in sub-paths
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## @backstage/plugin-vault-backend@0.2.0-next.2
+
+### Patch Changes
+
+- 7ee4abdcc9: Added a path notion in addition to secret name to allow to differentiate secrets in sub-paths
+- Updated dependencies
+ - @backstage/backend-common@0.14.1-next.2
+ - @backstage/backend-tasks@0.3.3-next.2
+ - @backstage/backend-test-utils@0.1.26-next.2
+
+## @backstage/plugin-xcmetrics@0.2.27-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/theme@0.2.16-next.1
+
+## example-app@0.2.73-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/plugin-cost-insights@0.11.29-next.2
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/plugin-scaffolder@1.4.0-next.2
+ - @backstage/plugin-jenkins@0.7.6-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/plugin-search-react@0.2.2-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-import@0.8.10-next.2
+ - @backstage/plugin-techdocs@1.2.1-next.2
+ - @backstage/plugin-techdocs-module-addons-contrib@1.0.2-next.2
+ - @backstage/plugin-api-docs@0.8.7-next.2
+ - @backstage/plugin-catalog@1.4.0-next.2
+ - @backstage/cli@0.18.0-next.2
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+ - @backstage/app-defaults@1.0.4-next.2
+ - @backstage/integration-react@1.1.2-next.2
+ - @backstage/plugin-airbrake@0.3.7-next.2
+ - @backstage/plugin-apache-airflow@0.2.0-next.2
+ - @backstage/plugin-azure-devops@0.1.23-next.2
+ - @backstage/plugin-badges@0.2.31-next.2
+ - @backstage/plugin-catalog-graph@0.2.19-next.2
+ - @backstage/plugin-circleci@0.3.7-next.2
+ - @backstage/plugin-cloudbuild@0.3.7-next.2
+ - @backstage/plugin-code-coverage@0.1.34-next.2
+ - @backstage/plugin-dynatrace@0.1.1-next.2
+ - @backstage/plugin-explore@0.3.38-next.2
+ - @backstage/plugin-gcalendar@0.3.3-next.2
+ - @backstage/plugin-gcp-projects@0.3.26-next.2
+ - @backstage/plugin-github-actions@0.5.7-next.2
+ - @backstage/plugin-gocd@0.1.13-next.2
+ - @backstage/plugin-graphiql@0.2.39-next.2
+ - @backstage/plugin-home@0.4.23-next.2
+ - @backstage/plugin-kafka@0.3.7-next.2
+ - @backstage/plugin-kubernetes@0.6.7-next.2
+ - @backstage/plugin-lighthouse@0.3.7-next.2
+ - @backstage/plugin-newrelic@0.3.25-next.2
+ - @backstage/plugin-newrelic-dashboard@0.1.15-next.2
+ - @backstage/plugin-org@0.5.7-next.2
+ - @backstage/plugin-pagerduty@0.5.0-next.2
+ - @backstage/plugin-rollbar@0.4.7-next.2
+ - @backstage/plugin-search@0.9.1-next.2
+ - @backstage/plugin-sentry@0.3.45-next.2
+ - @backstage/plugin-shortcuts@0.2.8-next.2
+ - @backstage/plugin-stack-overflow@0.1.3-next.2
+ - @backstage/plugin-tech-insights@0.2.3-next.2
+ - @backstage/plugin-tech-radar@0.5.14-next.2
+ - @backstage/plugin-techdocs-react@1.0.2-next.1
+ - @backstage/plugin-todo@0.2.9-next.2
+ - @backstage/plugin-user-settings@0.4.6-next.2
+
+## example-backend@0.2.73-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/plugin-kubernetes-backend@0.7.0-next.2
+ - @backstage/plugin-tech-insights-backend@0.5.0-next.2
+ - @backstage/plugin-jenkins-backend@0.1.24-next.2
+ - @backstage/plugin-search-backend-module-pg@0.3.5-next.2
+ - @backstage/plugin-scaffolder-backend@1.4.0-next.2
+ - @backstage/plugin-auth-backend@0.15.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/plugin-kafka-backend@0.2.27-next.2
+ - @backstage/backend-common@0.14.1-next.2
+ - @backstage/backend-tasks@0.3.3-next.2
+ - @backstage/plugin-app-backend@0.3.34-next.2
+ - @backstage/plugin-catalog-backend@1.2.1-next.2
+ - @backstage/plugin-code-coverage-backend@0.1.32-next.2
+ - @backstage/plugin-techdocs-backend@1.2.0-next.2
+ - @backstage/plugin-badges-backend@0.1.28-next.2
+ - @backstage/integration@1.2.2-next.2
+ - example-app@0.2.73-next.2
+
+## techdocs-cli-embedded-app@0.2.72-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-techdocs@1.2.1-next.2
+ - @backstage/plugin-catalog@1.4.0-next.2
+ - @backstage/cli@0.18.0-next.2
+ - @backstage/app-defaults@1.0.4-next.2
+ - @backstage/integration-react@1.1.2-next.2
+ - @backstage/plugin-techdocs-react@1.0.2-next.1
+
+## @internal/plugin-todo-list@1.0.3-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/theme@0.2.16-next.1
diff --git a/microsite/data/on-demand/20211117-01.yaml b/microsite/data/on-demand/20211117-1.yaml
similarity index 100%
rename from microsite/data/on-demand/20211117-01.yaml
rename to microsite/data/on-demand/20211117-1.yaml
diff --git a/microsite/data/on-demand/20211118-01.yaml b/microsite/data/on-demand/20211118-1.yaml
similarity index 100%
rename from microsite/data/on-demand/20211118-01.yaml
rename to microsite/data/on-demand/20211118-1.yaml
diff --git a/microsite/data/on-demand/20211215-01.yaml b/microsite/data/on-demand/20211215-1.yaml
similarity index 100%
rename from microsite/data/on-demand/20211215-01.yaml
rename to microsite/data/on-demand/20211215-1.yaml
diff --git a/microsite/data/on-demand/20211216-01.yaml b/microsite/data/on-demand/20211216-1.yaml
similarity index 100%
rename from microsite/data/on-demand/20211216-01.yaml
rename to microsite/data/on-demand/20211216-1.yaml
diff --git a/microsite/data/on-demand/20220216-01.yaml b/microsite/data/on-demand/20220216-1.yaml
similarity index 100%
rename from microsite/data/on-demand/20220216-01.yaml
rename to microsite/data/on-demand/20220216-1.yaml
diff --git a/microsite/data/on-demand/20220223-01.yaml b/microsite/data/on-demand/20220223-1.yaml
similarity index 100%
rename from microsite/data/on-demand/20220223-01.yaml
rename to microsite/data/on-demand/20220223-1.yaml
diff --git a/microsite/data/on-demand/20220518-01.yaml b/microsite/data/on-demand/20220518-1.yaml
similarity index 100%
rename from microsite/data/on-demand/20220518-01.yaml
rename to microsite/data/on-demand/20220518-1.yaml
diff --git a/microsite/data/on-demand/20220525.yaml b/microsite/data/on-demand/20220525-1.yaml
similarity index 100%
rename from microsite/data/on-demand/20220525.yaml
rename to microsite/data/on-demand/20220525-1.yaml
diff --git a/microsite/data/on-demand/20220615-01.yaml b/microsite/data/on-demand/20220615-1.yaml
similarity index 97%
rename from microsite/data/on-demand/20220615-01.yaml
rename to microsite/data/on-demand/20220615-1.yaml
index 8ac660a71c..fb296dd6ce 100644
--- a/microsite/data/on-demand/20220615-01.yaml
+++ b/microsite/data/on-demand/20220615-1.yaml
@@ -1,7 +1,7 @@
---
title: Adopters Community Sessions
date: June 15, 2022
-category: Upcoming
+category: Meetup
description: Adopters Community Session ✨. It's the monthly meetup where we all come together to listen to the latest maintainer updates, learn from each other about adopting, share exciting new demos or discuss any relevant topic like developer effectiveness, developer experience, developer portals, etc.
youtubeUrl: https://youtu.be/aKZnjnE5Wy8
youtubeImgUrl: https://backstage.io/img/b-sessions.png
diff --git a/microsite/data/on-demand/20220622-1.yaml b/microsite/data/on-demand/20220622-1.yaml
index 0bbd53525a..27634609cb 100644
--- a/microsite/data/on-demand/20220622-1.yaml
+++ b/microsite/data/on-demand/20220622-1.yaml
@@ -1,9 +1,9 @@
---
title: Contributor Community Sessions
date: June 22, 2022
-category: Upcoming
+category: Meetup
description: Join the maintainers and contributors for the Contributor Community Sessions
-youtubeUrl: https://youtu.be/aKZnjnE5Wy8
+youtubeUrl: https://youtu.be/E-jWqWXBxUY
youtubeImgUrl: https://backstage.io/img/b-sessions.png
rsvpUrl: https://calendar.google.com/calendar/embed?src=c_qup9gbhn9sqpuao6trttd8mk5s@group.calendar.google.com
eventUrl: https://github.com/backstage/community/issues/49
diff --git a/microsite/data/on-demand/20220720-1.yaml b/microsite/data/on-demand/20220720-1.yaml
new file mode 100644
index 0000000000..a1f51859f4
--- /dev/null
+++ b/microsite/data/on-demand/20220720-1.yaml
@@ -0,0 +1,9 @@
+---
+title: Adopters Community Sessions
+date: July 20, 2022
+category: Upcoming
+description: Adopters Community Session ✨. It's the monthly meetup where we all come together to listen to the latest maintainer updates, learn from each other about adopting, share exciting new demos or discuss any relevant topic like developer effectiveness, developer experience, developer portals, etc.
+youtubeUrl: https://youtu.be/4VFNlPxWcx8
+youtubeImgUrl: https://backstage.io/img/b-sessions.png
+rsvpUrl: https://calendar.google.com/calendar/embed?src=c_qup9gbhn9sqpuao6trttd8mk5s@group.calendar.google.com
+eventUrl: https://github.com/backstage/community/issues/52
diff --git a/microsite/data/on-demand/20220727-1.yaml b/microsite/data/on-demand/20220727-1.yaml
new file mode 100644
index 0000000000..5f7712596f
--- /dev/null
+++ b/microsite/data/on-demand/20220727-1.yaml
@@ -0,0 +1,9 @@
+---
+title: Contributor Community Sessions
+date: July 27, 2022
+category: Upcoming
+description: Join the maintainers and contributors for the Contributor Community Sessions
+youtubeUrl: https://youtu.be/4VFNlPxWcx8
+youtubeImgUrl: https://backstage.io/img/b-sessions.png
+rsvpUrl: https://calendar.google.com/calendar/embed?src=c_qup9gbhn9sqpuao6trttd8mk5s@group.calendar.google.com
+eventUrl: https://github.com/backstage/community/issues/52
diff --git a/microsite/pages/en/community.js b/microsite/pages/en/community.js
index 26366b25df..3d79c82f93 100644
--- a/microsite/pages/en/community.js
+++ b/microsite/pages/en/community.js
@@ -8,6 +8,30 @@
const React = require('react');
const Components = require(`${process.cwd()}/core/Components.js`);
const Block = Components.Block;
+const BulletLine = Components.BulletLine;
+
+const PARTNERS = [
+ {
+ name: 'Frontside Software',
+ url: 'https://frontside.com/backstage/',
+ logo: 'img/partner-logo-frontside.png',
+ },
+ {
+ name: 'Roadie',
+ url: 'https://roadie.io/',
+ logo: 'img/partner-logo-roadie.png',
+ },
+ {
+ name: 'ThoughtWorks',
+ url: 'https://www.thoughtworks.com',
+ logo: 'img/partner-logo-thoughtworks.png',
+ },
+ {
+ name: 'VMWare',
+ url: 'https://www.vmware.com',
+ logo: 'img/partner-logo-vmware.png',
+ },
+];
const Background = props => {
const { config: siteConfig } = props;
@@ -17,14 +41,11 @@ const Background = props => {
- Backstage Community
-
-
+ Backstage Community
- What's the use of having fun if you can't share it? Exactly. Join
- the vibrant community around the Backstage project. Be it on
- GitHub, social media, Discord... You'll find a welcoming
- environment. To ensure this, we follow the{' '}
+ Join the vibrant community around Backstage through social media
+ and different meetups. To ensure that you have a welcoming
+ environment, we follow{' '}
{' '}
CNCF Code of Conduct
@@ -32,110 +53,110 @@ const Background = props => {
in everything we do.
-
+
- Main community channels
-
- Chat and get support on our{' '}
- Discord
-
- Get into contributing with the{' '}
-
- Good First Issues
-
-
- Subscribe to the{' '}
-
- Community newsletter
-
-
- Join the{' '}
-
- Twitter community
-
-
+
+ Get started in our community!
+
+
-
-
-
- Backstage Community Sessions
-
- Missed a meetup? Wondering when the next one is coming up? We've
- got you covered! Check out our all-new Meetups page.
-
- Meetups
-
-
- Adopter Community Sessions
-
- Backstage Community Sessions is the monthly meetup where we all
- come together to listen to the latest maintainer updates, learn
- from each other about adopting, share exciting new demos or
- discuss any relevant topic like developer effectiveness, developer
- experience, developer portals, etc. Have something to share, or a
- burning question? Add it to the{' '}
- issue.
-
-
-
- Contributor Community Sessions
-
- Discuss all things contributing, diving deep under the hood of
- Backstage (Backstage of Backstage? Backerstage?). An open
- discussion with maintainers and contributors of Backstage. If you
- like Backstage, this is your favorite Zoom meeting of the month,
- guaranteed! Have something to share, or a burning question? Add it
- to the{' '}
- issue.
-
+
+
+
+ Offical Backstage initiatives
+
+ Stay tuned to the latest developments
+
+
+
+
+ Community sessions
+
+ Maintainers and adopters meet monthly to share updates, demos,
+ and ideas. Yep, all sessions are recorded!
+
+
+ Join a session
+
+
+
+
+ Newsletter
+
+ The official monthly Backstage newsletter. Don't miss the latest
+ news from your favorite project!
+
+
+ Subscribe
+
+
+
+
+ Contributor Spotlight
+
+ A recognition for valuable community work. Nominate contributing
+ members for their efforts! We'll put them in the spotlight ❤️
+
+ Nominate now
+
+
-
-
-
-
- Backstage official Newsletter
+
+
+
+ Community initiatives
-
+
+ Open Mic Meetup
- The official monthly Backstage newsletter. Containing the latest
- news from your favorite project.
-
-
- Subscribe
-
-
-
-
-
-
-
-
- Spotlight
-
- A recognition for valuable community work, the{' '}
- Contributor Spotlight. Nominate contributing members for
- their efforts! We'll put them in the spotlight ❤️.
-
-
- Nominate now
-
-
- Open Mic Meetup
-
- A monthly casual get together of Backstage users sharing their
- experiences and helping each other. Hosted by{' '}
+ A casual get together of Backstage users sharing their experiences
+ and helping each other. Hosted by{' '}
Roadie.io and{' '}
Frontside Software.
-
Learn more
-
- Backstage Weekly
+
+ Backstage Weekly Newsletter
A weekly newsletter with news, updates and things community from
your friends at Roadie.io.
@@ -146,6 +167,23 @@ const Background = props => {
+
+
+
+
+ Commercial Partners
+
+ {PARTNERS.map(partner => (
+
+
+
+
+
+
+
+ ))}
+
+
);
};
diff --git a/microsite/pages/en/live.js b/microsite/pages/en/live.js
index 062af419fc..f2ebd4bb1d 100644
--- a/microsite/pages/en/live.js
+++ b/microsite/pages/en/live.js
@@ -34,7 +34,7 @@ const Background = props => {
diff --git a/microsite/static/img/partner-logo-frontside.png b/microsite/static/img/partner-logo-frontside.png
new file mode 100644
index 0000000000..c8cad6bce1
Binary files /dev/null and b/microsite/static/img/partner-logo-frontside.png differ
diff --git a/microsite/static/img/partner-logo-roadie.png b/microsite/static/img/partner-logo-roadie.png
new file mode 100644
index 0000000000..41b169f55b
Binary files /dev/null and b/microsite/static/img/partner-logo-roadie.png differ
diff --git a/microsite/static/img/partner-logo-thoughtworks.png b/microsite/static/img/partner-logo-thoughtworks.png
new file mode 100644
index 0000000000..53c3bc2a9e
Binary files /dev/null and b/microsite/static/img/partner-logo-thoughtworks.png differ
diff --git a/microsite/static/img/partner-logo-vmware.png b/microsite/static/img/partner-logo-vmware.png
new file mode 100644
index 0000000000..049975ca15
Binary files /dev/null and b/microsite/static/img/partner-logo-vmware.png differ
diff --git a/package.json b/package.json
index 823db687d3..9f219cfa11 100644
--- a/package.json
+++ b/package.json
@@ -49,7 +49,7 @@
"@types/react": "^17",
"@types/react-dom": "^17"
},
- "version": "1.4.0-next.0",
+ "version": "1.4.0-next.2",
"dependencies": {
"@manypkg/get-packages": "^1.1.3",
"@microsoft/api-documenter": "^7.17.11",
diff --git a/packages/app-defaults/CHANGELOG.md b/packages/app-defaults/CHANGELOG.md
index 929e53e248..2786d4a5e4 100644
--- a/packages/app-defaults/CHANGELOG.md
+++ b/packages/app-defaults/CHANGELOG.md
@@ -1,5 +1,22 @@
# @backstage/app-defaults
+## 1.0.4-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/theme@0.2.16-next.1
+
+## 1.0.4-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-permission-react@0.4.3-next.0
+
## 1.0.4-next.0
### Patch Changes
diff --git a/packages/app-defaults/package.json b/packages/app-defaults/package.json
index 92de05204d..e67af42404 100644
--- a/packages/app-defaults/package.json
+++ b/packages/app-defaults/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/app-defaults",
"description": "Provides the default wiring of a Backstage App",
- "version": "1.0.4-next.0",
+ "version": "1.0.4-next.2",
"private": false,
"publishConfig": {
"access": "public",
@@ -33,11 +33,11 @@
"start": "backstage-cli package start"
},
"dependencies": {
- "@backstage/core-components": "^0.9.6-next.0",
+ "@backstage/core-components": "^0.10.0-next.2",
"@backstage/core-app-api": "^1.0.4-next.0",
"@backstage/core-plugin-api": "^1.0.3",
- "@backstage/plugin-permission-react": "^0.4.2",
- "@backstage/theme": "^0.2.15",
+ "@backstage/plugin-permission-react": "^0.4.3-next.0",
+ "@backstage/theme": "^0.2.16-next.1",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"react-router-dom": "6.0.0-beta.0"
@@ -46,8 +46,8 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
- "@backstage/test-utils": "^1.1.2-next.0",
+ "@backstage/cli": "^0.18.0-next.2",
+ "@backstage/test-utils": "^1.1.2-next.1",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^12.1.3",
"@types/jest": "^26.0.7",
diff --git a/packages/app/CHANGELOG.md b/packages/app/CHANGELOG.md
index 119200eca6..0f28d87448 100644
--- a/packages/app/CHANGELOG.md
+++ b/packages/app/CHANGELOG.md
@@ -1,5 +1,117 @@
# example-app
+## 0.2.73-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/plugin-cost-insights@0.11.29-next.2
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/plugin-scaffolder@1.4.0-next.2
+ - @backstage/plugin-jenkins@0.7.6-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/plugin-search-react@0.2.2-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-import@0.8.10-next.2
+ - @backstage/plugin-techdocs@1.2.1-next.2
+ - @backstage/plugin-techdocs-module-addons-contrib@1.0.2-next.2
+ - @backstage/plugin-api-docs@0.8.7-next.2
+ - @backstage/plugin-catalog@1.4.0-next.2
+ - @backstage/cli@0.18.0-next.2
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+ - @backstage/app-defaults@1.0.4-next.2
+ - @backstage/integration-react@1.1.2-next.2
+ - @backstage/plugin-airbrake@0.3.7-next.2
+ - @backstage/plugin-apache-airflow@0.2.0-next.2
+ - @backstage/plugin-azure-devops@0.1.23-next.2
+ - @backstage/plugin-badges@0.2.31-next.2
+ - @backstage/plugin-catalog-graph@0.2.19-next.2
+ - @backstage/plugin-circleci@0.3.7-next.2
+ - @backstage/plugin-cloudbuild@0.3.7-next.2
+ - @backstage/plugin-code-coverage@0.1.34-next.2
+ - @backstage/plugin-dynatrace@0.1.1-next.2
+ - @backstage/plugin-explore@0.3.38-next.2
+ - @backstage/plugin-gcalendar@0.3.3-next.2
+ - @backstage/plugin-gcp-projects@0.3.26-next.2
+ - @backstage/plugin-github-actions@0.5.7-next.2
+ - @backstage/plugin-gocd@0.1.13-next.2
+ - @backstage/plugin-graphiql@0.2.39-next.2
+ - @backstage/plugin-home@0.4.23-next.2
+ - @backstage/plugin-kafka@0.3.7-next.2
+ - @backstage/plugin-kubernetes@0.6.7-next.2
+ - @backstage/plugin-lighthouse@0.3.7-next.2
+ - @backstage/plugin-newrelic@0.3.25-next.2
+ - @backstage/plugin-newrelic-dashboard@0.1.15-next.2
+ - @backstage/plugin-org@0.5.7-next.2
+ - @backstage/plugin-pagerduty@0.5.0-next.2
+ - @backstage/plugin-rollbar@0.4.7-next.2
+ - @backstage/plugin-search@0.9.1-next.2
+ - @backstage/plugin-sentry@0.3.45-next.2
+ - @backstage/plugin-shortcuts@0.2.8-next.2
+ - @backstage/plugin-stack-overflow@0.1.3-next.2
+ - @backstage/plugin-tech-insights@0.2.3-next.2
+ - @backstage/plugin-tech-radar@0.5.14-next.2
+ - @backstage/plugin-techdocs-react@1.0.2-next.1
+ - @backstage/plugin-todo@0.2.9-next.2
+ - @backstage/plugin-user-settings@0.4.6-next.2
+
+## 0.2.73-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/cli@0.18.0-next.1
+ - @backstage/plugin-apache-airflow@0.2.0-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/plugin-search@0.9.1-next.1
+ - @backstage/plugin-org@0.5.7-next.1
+ - @backstage/plugin-catalog@1.3.1-next.1
+ - @backstage/plugin-home@0.4.23-next.1
+ - @backstage/plugin-stack-overflow@0.1.3-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-techdocs@1.2.1-next.1
+ - @backstage/app-defaults@1.0.4-next.1
+ - @backstage/integration-react@1.1.2-next.1
+ - @backstage/plugin-airbrake@0.3.7-next.1
+ - @backstage/plugin-api-docs@0.8.7-next.1
+ - @backstage/plugin-azure-devops@0.1.23-next.1
+ - @backstage/plugin-badges@0.2.31-next.1
+ - @backstage/plugin-catalog-common@1.0.4-next.0
+ - @backstage/plugin-catalog-graph@0.2.19-next.1
+ - @backstage/plugin-catalog-import@0.8.10-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+ - @backstage/plugin-circleci@0.3.7-next.1
+ - @backstage/plugin-cloudbuild@0.3.7-next.1
+ - @backstage/plugin-code-coverage@0.1.34-next.1
+ - @backstage/plugin-cost-insights@0.11.29-next.1
+ - @backstage/plugin-dynatrace@0.1.1-next.1
+ - @backstage/plugin-explore@0.3.38-next.1
+ - @backstage/plugin-gcalendar@0.3.3-next.1
+ - @backstage/plugin-gcp-projects@0.3.26-next.1
+ - @backstage/plugin-github-actions@0.5.7-next.1
+ - @backstage/plugin-gocd@0.1.13-next.1
+ - @backstage/plugin-graphiql@0.2.39-next.1
+ - @backstage/plugin-jenkins@0.7.6-next.1
+ - @backstage/plugin-kafka@0.3.7-next.1
+ - @backstage/plugin-kubernetes@0.6.7-next.1
+ - @backstage/plugin-lighthouse@0.3.7-next.1
+ - @backstage/plugin-newrelic@0.3.25-next.1
+ - @backstage/plugin-newrelic-dashboard@0.1.15-next.1
+ - @backstage/plugin-pagerduty@0.5.0-next.1
+ - @backstage/plugin-permission-react@0.4.3-next.0
+ - @backstage/plugin-rollbar@0.4.7-next.1
+ - @backstage/plugin-scaffolder@1.4.0-next.1
+ - @backstage/plugin-search-common@0.3.6-next.0
+ - @backstage/plugin-sentry@0.3.45-next.1
+ - @backstage/plugin-shortcuts@0.2.8-next.1
+ - @backstage/plugin-tech-insights@0.2.3-next.1
+ - @backstage/plugin-tech-radar@0.5.14-next.1
+ - @backstage/plugin-techdocs-module-addons-contrib@1.0.2-next.1
+ - @backstage/plugin-todo@0.2.9-next.1
+ - @backstage/plugin-user-settings@0.4.6-next.1
+ - @backstage/plugin-search-react@0.2.2-next.1
+
## 0.2.73-next.0
### Patch Changes
diff --git a/packages/app/package.json b/packages/app/package.json
index 9c43f03f49..c114d79250 100644
--- a/packages/app/package.json
+++ b/packages/app/package.json
@@ -1,67 +1,67 @@
{
"name": "example-app",
- "version": "0.2.73-next.0",
+ "version": "0.2.73-next.2",
"private": true,
"backstage": {
"role": "frontend"
},
"bundled": true,
"dependencies": {
- "@backstage/app-defaults": "^1.0.4-next.0",
- "@backstage/catalog-model": "^1.1.0-next.0",
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/app-defaults": "^1.0.4-next.2",
+ "@backstage/catalog-model": "^1.1.0-next.2",
+ "@backstage/cli": "^0.18.0-next.2",
"@backstage/config": "^1.0.1",
"@backstage/core-app-api": "^1.0.4-next.0",
- "@backstage/core-components": "^0.9.6-next.0",
+ "@backstage/core-components": "^0.10.0-next.2",
"@backstage/core-plugin-api": "^1.0.3",
- "@backstage/integration-react": "^1.1.2-next.0",
- "@backstage/plugin-airbrake": "^0.3.7-next.0",
- "@backstage/plugin-api-docs": "^0.8.7-next.0",
- "@backstage/plugin-azure-devops": "^0.1.23-next.0",
- "@backstage/plugin-apache-airflow": "^0.1.15-next.0",
- "@backstage/plugin-badges": "^0.2.31-next.0",
- "@backstage/plugin-catalog": "^1.3.1-next.0",
- "@backstage/plugin-catalog-common": "^1.0.3",
- "@backstage/plugin-catalog-graph": "^0.2.19-next.0",
- "@backstage/plugin-catalog-import": "^0.8.10-next.0",
- "@backstage/plugin-catalog-react": "^1.1.2-next.0",
- "@backstage/plugin-circleci": "^0.3.7-next.0",
- "@backstage/plugin-cloudbuild": "^0.3.7-next.0",
- "@backstage/plugin-code-coverage": "^0.1.34-next.0",
- "@backstage/plugin-cost-insights": "^0.11.29-next.0",
- "@backstage/plugin-dynatrace": "^0.1.1-next.0",
- "@backstage/plugin-explore": "^0.3.38-next.0",
- "@backstage/plugin-gcalendar": "^0.3.3-next.0",
- "@backstage/plugin-gcp-projects": "^0.3.26-next.0",
- "@backstage/plugin-github-actions": "^0.5.7-next.0",
- "@backstage/plugin-gocd": "^0.1.13-next.0",
- "@backstage/plugin-graphiql": "^0.2.39-next.0",
- "@backstage/plugin-home": "^0.4.23-next.0",
- "@backstage/plugin-jenkins": "^0.7.6-next.0",
- "@backstage/plugin-kafka": "^0.3.7-next.0",
- "@backstage/plugin-kubernetes": "^0.6.7-next.0",
- "@backstage/plugin-lighthouse": "^0.3.7-next.0",
- "@backstage/plugin-newrelic": "^0.3.25-next.0",
- "@backstage/plugin-newrelic-dashboard": "^0.1.15-next.0",
- "@backstage/plugin-org": "^0.5.7-next.0",
- "@backstage/plugin-pagerduty": "0.5.0-next.0",
- "@backstage/plugin-permission-react": "^0.4.2",
- "@backstage/plugin-rollbar": "^0.4.7-next.0",
- "@backstage/plugin-scaffolder": "^1.4.0-next.0",
- "@backstage/plugin-search": "^0.9.1-next.0",
- "@backstage/plugin-search-react": "^0.2.2-next.0",
- "@backstage/plugin-search-common": "^0.3.5",
- "@backstage/plugin-sentry": "^0.3.45-next.0",
- "@backstage/plugin-shortcuts": "^0.2.8-next.0",
- "@backstage/plugin-stack-overflow": "^0.1.3-next.0",
- "@backstage/plugin-tech-radar": "^0.5.14-next.0",
- "@backstage/plugin-techdocs": "^1.2.1-next.0",
- "@backstage/plugin-techdocs-react": "^1.0.2-next.0",
- "@backstage/plugin-techdocs-module-addons-contrib": "^1.0.2-next.0",
- "@backstage/plugin-todo": "^0.2.9-next.0",
- "@backstage/plugin-user-settings": "^0.4.6-next.0",
- "@backstage/plugin-tech-insights": "^0.2.3-next.0",
- "@backstage/theme": "^0.2.15",
+ "@backstage/integration-react": "^1.1.2-next.2",
+ "@backstage/plugin-airbrake": "^0.3.7-next.2",
+ "@backstage/plugin-api-docs": "^0.8.7-next.2",
+ "@backstage/plugin-azure-devops": "^0.1.23-next.2",
+ "@backstage/plugin-apache-airflow": "^0.2.0-next.2",
+ "@backstage/plugin-badges": "^0.2.31-next.2",
+ "@backstage/plugin-catalog": "^1.4.0-next.2",
+ "@backstage/plugin-catalog-common": "^1.0.4-next.0",
+ "@backstage/plugin-catalog-graph": "^0.2.19-next.2",
+ "@backstage/plugin-catalog-import": "^0.8.10-next.2",
+ "@backstage/plugin-catalog-react": "^1.1.2-next.2",
+ "@backstage/plugin-circleci": "^0.3.7-next.2",
+ "@backstage/plugin-cloudbuild": "^0.3.7-next.2",
+ "@backstage/plugin-code-coverage": "^0.1.34-next.2",
+ "@backstage/plugin-cost-insights": "^0.11.29-next.2",
+ "@backstage/plugin-dynatrace": "^0.1.1-next.2",
+ "@backstage/plugin-explore": "^0.3.38-next.2",
+ "@backstage/plugin-gcalendar": "^0.3.3-next.2",
+ "@backstage/plugin-gcp-projects": "^0.3.26-next.2",
+ "@backstage/plugin-github-actions": "^0.5.7-next.2",
+ "@backstage/plugin-gocd": "^0.1.13-next.2",
+ "@backstage/plugin-graphiql": "^0.2.39-next.2",
+ "@backstage/plugin-home": "^0.4.23-next.2",
+ "@backstage/plugin-jenkins": "^0.7.6-next.2",
+ "@backstage/plugin-kafka": "^0.3.7-next.2",
+ "@backstage/plugin-kubernetes": "^0.6.7-next.2",
+ "@backstage/plugin-lighthouse": "^0.3.7-next.2",
+ "@backstage/plugin-newrelic": "^0.3.25-next.2",
+ "@backstage/plugin-newrelic-dashboard": "^0.1.15-next.2",
+ "@backstage/plugin-org": "^0.5.7-next.2",
+ "@backstage/plugin-pagerduty": "0.5.0-next.2",
+ "@backstage/plugin-permission-react": "^0.4.3-next.0",
+ "@backstage/plugin-rollbar": "^0.4.7-next.2",
+ "@backstage/plugin-scaffolder": "^1.4.0-next.2",
+ "@backstage/plugin-search": "^0.9.1-next.2",
+ "@backstage/plugin-search-react": "^0.2.2-next.2",
+ "@backstage/plugin-search-common": "^0.3.6-next.0",
+ "@backstage/plugin-sentry": "^0.3.45-next.2",
+ "@backstage/plugin-shortcuts": "^0.2.8-next.2",
+ "@backstage/plugin-stack-overflow": "^0.1.3-next.2",
+ "@backstage/plugin-tech-radar": "^0.5.14-next.2",
+ "@backstage/plugin-techdocs": "^1.2.1-next.2",
+ "@backstage/plugin-techdocs-react": "^1.0.2-next.1",
+ "@backstage/plugin-techdocs-module-addons-contrib": "^1.0.2-next.2",
+ "@backstage/plugin-todo": "^0.2.9-next.2",
+ "@backstage/plugin-user-settings": "^0.4.6-next.2",
+ "@backstage/plugin-tech-insights": "^0.2.3-next.2",
+ "@backstage/theme": "^0.2.16-next.1",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "4.0.0-alpha.57",
@@ -81,7 +81,7 @@
"zen-observable": "^0.8.15"
},
"devDependencies": {
- "@backstage/test-utils": "^1.1.2-next.0",
+ "@backstage/test-utils": "^1.1.2-next.1",
"@rjsf/core": "^3.2.1",
"@testing-library/cypress": "^8.0.2",
"@testing-library/jest-dom": "^5.10.1",
diff --git a/packages/app/src/components/catalog/EntityPage.tsx b/packages/app/src/components/catalog/EntityPage.tsx
index 1958aabd2e..155dc071ff 100644
--- a/packages/app/src/components/catalog/EntityPage.tsx
+++ b/packages/app/src/components/catalog/EntityPage.tsx
@@ -167,7 +167,12 @@ const EntityLayoutWrapper = (props: { children?: ReactNode }) => {
return (
<>
-
+
{props.children}
} pageTitleOverride="Home">
-
+
diff --git a/packages/backend-common/CHANGELOG.md b/packages/backend-common/CHANGELOG.md
index 92b3271ec0..a052e37fe7 100644
--- a/packages/backend-common/CHANGELOG.md
+++ b/packages/backend-common/CHANGELOG.md
@@ -1,5 +1,32 @@
# @backstage/backend-common
+## 0.14.1-next.2
+
+### Patch Changes
+
+- 679b32172e: Updated dependency `knex` to `^2.0.0`.
+- e2d7b76f43: Upgrade git-url-parse to 12.0.0.
+
+ Motivation for upgrade is transitively upgrading parse-url which is vulnerable
+ to several CVEs detected by Snyk.
+
+ - SNYK-JS-PARSEURL-2935944
+ - SNYK-JS-PARSEURL-2935947
+ - SNYK-JS-PARSEURL-2936249
+
+- Updated dependencies
+ - @backstage/integration@1.2.2-next.2
+
+## 0.14.1-next.1
+
+### Patch Changes
+
+- 0fc57887e8: Improve plural handling in logging output for secrets
+- Updated dependencies
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/integration@1.2.2-next.1
+ - @backstage/config-loader@1.1.3-next.0
+
## 0.14.1-next.0
### Patch Changes
diff --git a/packages/backend-common/package.json b/packages/backend-common/package.json
index 9c459373ff..422465ee6f 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.14.1-next.0",
+ "version": "0.14.1-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"private": false,
@@ -36,9 +36,9 @@
"dependencies": {
"@backstage/cli-common": "^0.1.9",
"@backstage/config": "^1.0.1",
- "@backstage/config-loader": "^1.1.2",
- "@backstage/errors": "^1.0.0",
- "@backstage/integration": "^1.2.2-next.0",
+ "@backstage/config-loader": "^1.1.3-next.0",
+ "@backstage/errors": "^1.1.0-next.0",
+ "@backstage/integration": "^1.2.2-next.2",
"@backstage/types": "^1.0.0",
"@google-cloud/storage": "^6.0.0",
"@manypkg/get-packages": "^1.1.3",
@@ -58,14 +58,14 @@
"express": "^4.17.1",
"express-promise-router": "^4.1.0",
"fs-extra": "10.1.0",
- "git-url-parse": "^11.6.0",
+ "git-url-parse": "^12.0.0",
"helmet": "^5.0.2",
"isomorphic-git": "^1.8.0",
"jose": "^4.6.0",
"keyv": "^4.0.3",
"keyv-memcache": "^1.2.5",
"@keyv/redis": "^2.2.3",
- "knex": "^1.0.2",
+ "knex": "^2.0.0",
"lodash": "^4.17.21",
"logform": "^2.3.2",
"luxon": "^2.3.1",
@@ -91,8 +91,8 @@
}
},
"devDependencies": {
- "@backstage/backend-test-utils": "^0.1.26-next.0",
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/backend-test-utils": "^0.1.26-next.2",
+ "@backstage/cli": "^0.18.0-next.2",
"@types/archiver": "^5.1.0",
"@types/base64-stream": "^1.0.2",
"@types/compression": "^1.7.0",
@@ -112,7 +112,7 @@
"better-sqlite3": "^7.5.0",
"http-errors": "^2.0.0",
"mock-fs": "^5.1.0",
- "msw": "^0.42.0",
+ "msw": "^0.43.0",
"mysql2": "^2.2.5",
"recursive-readdir": "^2.2.2",
"supertest": "^6.1.3"
diff --git a/packages/backend-common/src/database/DatabaseManager.ts b/packages/backend-common/src/database/DatabaseManager.ts
index 503945e594..004e7d13cd 100644
--- a/packages/backend-common/src/database/DatabaseManager.ts
+++ b/packages/backend-common/src/database/DatabaseManager.ts
@@ -251,7 +251,7 @@ export class DatabaseManager {
// include base connection if client type has not been overridden
...(overridden ? {} : baseConnection),
...connection,
- };
+ } as Partial;
}
/**
diff --git a/packages/backend-tasks/CHANGELOG.md b/packages/backend-tasks/CHANGELOG.md
index b73abb2d5a..782088ff84 100644
--- a/packages/backend-tasks/CHANGELOG.md
+++ b/packages/backend-tasks/CHANGELOG.md
@@ -1,5 +1,21 @@
# @backstage/backend-tasks
+## 0.3.3-next.2
+
+### Patch Changes
+
+- 679b32172e: Updated dependency `knex` to `^2.0.0`.
+- Updated dependencies
+ - @backstage/backend-common@0.14.1-next.2
+
+## 0.3.3-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+
## 0.3.3-next.0
### Patch Changes
diff --git a/packages/backend-tasks/package.json b/packages/backend-tasks/package.json
index f99baea1d5..91b94d4d1c 100644
--- a/packages/backend-tasks/package.json
+++ b/packages/backend-tasks/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/backend-tasks",
"description": "Common distributed task management library for Backstage backends",
- "version": "0.3.3-next.0",
+ "version": "0.3.3-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"private": false,
@@ -33,13 +33,13 @@
"start": "backstage-cli package start"
},
"dependencies": {
- "@backstage/backend-common": "^0.14.1-next.0",
+ "@backstage/backend-common": "^0.14.1-next.2",
"@backstage/config": "^1.0.1",
- "@backstage/errors": "^1.0.0",
+ "@backstage/errors": "^1.1.0-next.0",
"@backstage/types": "^1.0.0",
"@types/luxon": "^2.0.4",
"cron": "^2.0.0",
- "knex": "^1.0.2",
+ "knex": "^2.0.0",
"lodash": "^4.17.21",
"luxon": "^2.0.2",
"node-abort-controller": "^3.0.1",
@@ -48,8 +48,8 @@
"zod": "^3.9.5"
},
"devDependencies": {
- "@backstage/backend-test-utils": "^0.1.26-next.0",
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/backend-test-utils": "^0.1.26-next.2",
+ "@backstage/cli": "^0.18.0-next.2",
"@types/cron": "^2.0.0",
"wait-for-expect": "^3.0.2"
},
diff --git a/packages/backend-test-utils/CHANGELOG.md b/packages/backend-test-utils/CHANGELOG.md
index a9da9b0a3c..e0bb57a3f0 100644
--- a/packages/backend-test-utils/CHANGELOG.md
+++ b/packages/backend-test-utils/CHANGELOG.md
@@ -1,5 +1,22 @@
# @backstage/backend-test-utils
+## 0.1.26-next.2
+
+### Patch Changes
+
+- 679b32172e: Updated dependency `knex` to `^2.0.0`.
+- Updated dependencies
+ - @backstage/backend-common@0.14.1-next.2
+ - @backstage/cli@0.18.0-next.2
+
+## 0.1.26-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/cli@0.18.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+
## 0.1.26-next.0
### Patch Changes
diff --git a/packages/backend-test-utils/package.json b/packages/backend-test-utils/package.json
index 56aa23bfd8..53953ba85e 100644
--- a/packages/backend-test-utils/package.json
+++ b/packages/backend-test-utils/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/backend-test-utils",
"description": "Test helpers library for Backstage backends",
- "version": "0.1.26-next.0",
+ "version": "0.1.26-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"private": false,
@@ -34,19 +34,19 @@
"start": "backstage-cli package start"
},
"dependencies": {
- "@backstage/backend-common": "^0.14.1-next.0",
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/backend-common": "^0.14.1-next.2",
+ "@backstage/cli": "^0.18.0-next.2",
"@backstage/config": "^1.0.1",
"better-sqlite3": "^7.5.0",
- "knex": "^1.0.2",
- "msw": "^0.42.0",
+ "knex": "^2.0.0",
+ "msw": "^0.43.0",
"mysql2": "^2.2.5",
"pg": "^8.3.0",
"testcontainers": "^8.1.2",
"uuid": "^8.0.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0"
+ "@backstage/cli": "^0.18.0-next.2"
},
"files": [
"dist"
diff --git a/packages/backend/CHANGELOG.md b/packages/backend/CHANGELOG.md
index 3dfde23cae..02eac85805 100644
--- a/packages/backend/CHANGELOG.md
+++ b/packages/backend/CHANGELOG.md
@@ -1,5 +1,62 @@
# example-backend
+## 0.2.73-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/plugin-kubernetes-backend@0.7.0-next.2
+ - @backstage/plugin-tech-insights-backend@0.5.0-next.2
+ - @backstage/plugin-jenkins-backend@0.1.24-next.2
+ - @backstage/plugin-search-backend-module-pg@0.3.5-next.2
+ - @backstage/plugin-scaffolder-backend@1.4.0-next.2
+ - @backstage/plugin-auth-backend@0.15.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/plugin-kafka-backend@0.2.27-next.2
+ - @backstage/backend-common@0.14.1-next.2
+ - @backstage/backend-tasks@0.3.3-next.2
+ - @backstage/plugin-app-backend@0.3.34-next.2
+ - @backstage/plugin-catalog-backend@1.2.1-next.2
+ - @backstage/plugin-code-coverage-backend@0.1.32-next.2
+ - @backstage/plugin-techdocs-backend@1.2.0-next.2
+ - @backstage/plugin-badges-backend@0.1.28-next.2
+ - @backstage/integration@1.2.2-next.2
+ - example-app@0.2.73-next.2
+
+## 0.2.73-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/plugin-scaffolder-backend@1.4.0-next.1
+ - @backstage/plugin-auth-backend@0.15.0-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/plugin-search-backend-module-elasticsearch@0.2.0-next.1
+ - @backstage/plugin-catalog-backend@1.2.1-next.1
+ - @backstage/plugin-techdocs-backend@1.2.0-next.1
+ - example-app@0.2.73-next.1
+ - @backstage/backend-tasks@0.3.3-next.1
+ - @backstage/catalog-client@1.0.4-next.1
+ - @backstage/integration@1.2.2-next.1
+ - @backstage/plugin-app-backend@0.3.34-next.1
+ - @backstage/plugin-auth-node@0.2.3-next.1
+ - @backstage/plugin-badges-backend@0.1.28-next.1
+ - @backstage/plugin-code-coverage-backend@0.1.32-next.1
+ - @backstage/plugin-jenkins-backend@0.1.24-next.1
+ - @backstage/plugin-kafka-backend@0.2.27-next.1
+ - @backstage/plugin-kubernetes-backend@0.7.0-next.1
+ - @backstage/plugin-permission-backend@0.5.9-next.1
+ - @backstage/plugin-permission-common@0.6.3-next.0
+ - @backstage/plugin-permission-node@0.6.3-next.1
+ - @backstage/plugin-scaffolder-backend-module-rails@0.4.2-next.1
+ - @backstage/plugin-search-backend@0.5.4-next.1
+ - @backstage/plugin-search-backend-module-pg@0.3.5-next.1
+ - @backstage/plugin-search-backend-node@0.6.3-next.1
+ - @backstage/plugin-tech-insights-backend@0.4.2-next.1
+ - @backstage/plugin-tech-insights-backend-module-jsonfc@0.1.18-next.1
+ - @backstage/plugin-todo-backend@0.1.31-next.1
+
## 0.2.73-next.0
### Patch Changes
diff --git a/packages/backend/package.json b/packages/backend/package.json
index 0023a169bf..df6fe5ec3b 100644
--- a/packages/backend/package.json
+++ b/packages/backend/package.json
@@ -1,6 +1,6 @@
{
"name": "example-backend",
- "version": "0.2.73-next.0",
+ "version": "0.2.73-next.2",
"main": "dist/index.cjs.js",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -26,39 +26,39 @@
"build-image": "docker build ../.. -f Dockerfile --tag example-backend"
},
"dependencies": {
- "@backstage/backend-common": "^0.14.1-next.0",
- "@backstage/backend-tasks": "^0.3.3-next.0",
- "@backstage/catalog-client": "^1.0.4-next.0",
- "@backstage/catalog-model": "^1.1.0-next.0",
+ "@backstage/backend-common": "^0.14.1-next.2",
+ "@backstage/backend-tasks": "^0.3.3-next.2",
+ "@backstage/catalog-client": "^1.0.4-next.1",
+ "@backstage/catalog-model": "^1.1.0-next.2",
"@backstage/config": "^1.0.1",
- "@backstage/integration": "^1.2.2-next.0",
- "@backstage/plugin-app-backend": "^0.3.34-next.0",
- "@backstage/plugin-auth-backend": "^0.14.2-next.0",
- "@backstage/plugin-auth-node": "^0.2.3-next.0",
+ "@backstage/integration": "^1.2.2-next.2",
+ "@backstage/plugin-app-backend": "^0.3.34-next.2",
+ "@backstage/plugin-auth-backend": "^0.15.0-next.2",
+ "@backstage/plugin-auth-node": "^0.2.3-next.1",
"@backstage/plugin-azure-devops-backend": "^0.3.13-next.0",
- "@backstage/plugin-badges-backend": "^0.1.28-next.0",
- "@backstage/plugin-catalog-backend": "^1.2.1-next.0",
- "@backstage/plugin-code-coverage-backend": "^0.1.32-next.0",
+ "@backstage/plugin-badges-backend": "^0.1.28-next.2",
+ "@backstage/plugin-catalog-backend": "^1.2.1-next.2",
+ "@backstage/plugin-code-coverage-backend": "^0.1.32-next.2",
"@backstage/plugin-graphql-backend": "^0.1.24-next.0",
- "@backstage/plugin-jenkins-backend": "^0.1.24-next.0",
- "@backstage/plugin-kubernetes-backend": "^0.7.0-next.0",
- "@backstage/plugin-kafka-backend": "^0.2.27-next.0",
- "@backstage/plugin-permission-backend": "^0.5.9-next.0",
- "@backstage/plugin-permission-common": "^0.6.2",
- "@backstage/plugin-permission-node": "^0.6.3-next.0",
+ "@backstage/plugin-jenkins-backend": "^0.1.24-next.2",
+ "@backstage/plugin-kubernetes-backend": "^0.7.0-next.2",
+ "@backstage/plugin-kafka-backend": "^0.2.27-next.2",
+ "@backstage/plugin-permission-backend": "^0.5.9-next.1",
+ "@backstage/plugin-permission-common": "^0.6.3-next.0",
+ "@backstage/plugin-permission-node": "^0.6.3-next.1",
"@backstage/plugin-proxy-backend": "^0.2.28-next.0",
"@backstage/plugin-rollbar-backend": "^0.1.31-next.0",
- "@backstage/plugin-scaffolder-backend": "^1.4.0-next.0",
- "@backstage/plugin-scaffolder-backend-module-rails": "^0.4.2-next.0",
- "@backstage/plugin-search-backend": "^0.5.4-next.0",
- "@backstage/plugin-search-backend-node": "^0.6.3-next.0",
- "@backstage/plugin-search-backend-module-elasticsearch": "^0.1.6-next.0",
- "@backstage/plugin-search-backend-module-pg": "^0.3.5-next.0",
- "@backstage/plugin-techdocs-backend": "^1.1.3-next.0",
- "@backstage/plugin-tech-insights-backend": "^0.4.2-next.0",
+ "@backstage/plugin-scaffolder-backend": "^1.4.0-next.2",
+ "@backstage/plugin-scaffolder-backend-module-rails": "^0.4.2-next.1",
+ "@backstage/plugin-search-backend": "^0.5.4-next.1",
+ "@backstage/plugin-search-backend-node": "^0.6.3-next.1",
+ "@backstage/plugin-search-backend-module-elasticsearch": "^0.2.0-next.1",
+ "@backstage/plugin-search-backend-module-pg": "^0.3.5-next.2",
+ "@backstage/plugin-techdocs-backend": "^1.2.0-next.2",
+ "@backstage/plugin-tech-insights-backend": "^0.5.0-next.2",
"@backstage/plugin-tech-insights-node": "^0.3.2-next.0",
- "@backstage/plugin-tech-insights-backend-module-jsonfc": "^0.1.18-next.0",
- "@backstage/plugin-todo-backend": "^0.1.31-next.0",
+ "@backstage/plugin-tech-insights-backend-module-jsonfc": "^0.1.18-next.1",
+ "@backstage/plugin-todo-backend": "^0.1.31-next.1",
"@gitbeaker/node": "^35.1.0",
"@octokit/rest": "^18.5.3",
"better-sqlite3": "^7.5.0",
@@ -75,7 +75,7 @@
"winston": "^3.2.1"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.2",
"@types/dockerode": "^3.3.0",
"@types/express": "^4.17.6",
"@types/express-serve-static-core": "^4.17.5",
diff --git a/packages/backend/src/plugins/kubernetes.ts b/packages/backend/src/plugins/kubernetes.ts
index 376569a959..b089b20405 100644
--- a/packages/backend/src/plugins/kubernetes.ts
+++ b/packages/backend/src/plugins/kubernetes.ts
@@ -17,14 +17,17 @@
import { KubernetesBuilder } from '@backstage/plugin-kubernetes-backend';
import { Router } from 'express';
import { PluginEnvironment } from '../types';
+import { CatalogClient } from '@backstage/catalog-client';
export default async function createPlugin(
env: PluginEnvironment,
): Promise {
+ const catalogApi = new CatalogClient({ discoveryApi: env.discovery });
const { router } = await KubernetesBuilder.createBuilder({
logger: env.logger,
config: env.config,
discovery: env.discovery,
+ catalogApi,
}).build();
return router;
}
diff --git a/packages/backend/src/plugins/search.ts b/packages/backend/src/plugins/search.ts
index a0ea83ab61..c478ecdd05 100644
--- a/packages/backend/src/plugins/search.ts
+++ b/packages/backend/src/plugins/search.ts
@@ -39,7 +39,9 @@ async function createSearchEngine(
}
if (await PgSearchEngine.supported(env.database)) {
- return await PgSearchEngine.from({ database: env.database });
+ return await PgSearchEngine.fromConfig(env.config, {
+ database: env.database,
+ });
}
return new LunrSearchEngine({ logger: env.logger });
diff --git a/packages/catalog-client/CHANGELOG.md b/packages/catalog-client/CHANGELOG.md
index 8ea70b67be..0b0d29b940 100644
--- a/packages/catalog-client/CHANGELOG.md
+++ b/packages/catalog-client/CHANGELOG.md
@@ -1,5 +1,13 @@
# @backstage/catalog-client
+## 1.0.4-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+
## 1.0.4-next.0
### Patch Changes
diff --git a/packages/catalog-client/package.json b/packages/catalog-client/package.json
index 893b057e37..3fbf662615 100644
--- a/packages/catalog-client/package.json
+++ b/packages/catalog-client/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/catalog-client",
"description": "An isomorphic client for the catalog backend",
- "version": "1.0.4-next.0",
+ "version": "1.0.4-next.1",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -33,14 +33,14 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
- "@backstage/catalog-model": "^1.1.0-next.0",
- "@backstage/errors": "^1.0.0",
+ "@backstage/catalog-model": "^1.1.0-next.1",
+ "@backstage/errors": "^1.1.0-next.0",
"cross-fetch": "^3.1.5"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.1",
"@types/jest": "^26.0.7",
- "msw": "^0.42.0"
+ "msw": "^0.43.0"
},
"files": [
"dist"
diff --git a/packages/catalog-model/CHANGELOG.md b/packages/catalog-model/CHANGELOG.md
index 6501c32409..910fc92cd2 100644
--- a/packages/catalog-model/CHANGELOG.md
+++ b/packages/catalog-model/CHANGELOG.md
@@ -1,5 +1,19 @@
# @backstage/catalog-model
+## 1.1.0-next.2
+
+### Minor Changes
+
+- 4cc81372f8: Introduced `GroupDefaultParentEntityPolicy` to set a default group entity parent.
+
+## 1.1.0-next.1
+
+### Patch Changes
+
+- f1dcc6f3c6: Added type predicates for all entity types, e.g. isUserEntity
+- Updated dependencies
+ - @backstage/errors@1.1.0-next.0
+
## 1.1.0-next.0
### Minor Changes
diff --git a/packages/catalog-model/api-report.md b/packages/catalog-model/api-report.md
index 1538a1273b..b7456bb2f8 100644
--- a/packages/catalog-model/api-report.md
+++ b/packages/catalog-model/api-report.md
@@ -241,6 +241,13 @@ export function getEntitySourceLocation(entity: Entity): {
target: string;
};
+// @public
+export class GroupDefaultParentEntityPolicy implements EntityPolicy {
+ constructor(parentEntityRef: string);
+ // (undocumented)
+ enforce(entity: Entity): Promise;
+}
+
// @public
interface GroupEntityV1alpha1 extends Entity {
// (undocumented)
diff --git a/packages/catalog-model/package.json b/packages/catalog-model/package.json
index ba2521b927..a58fdcf4d5 100644
--- a/packages/catalog-model/package.json
+++ b/packages/catalog-model/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/catalog-model",
"description": "Types and validators that help describe the model of a Backstage Catalog",
- "version": "1.1.0-next.0",
+ "version": "1.1.0-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -35,7 +35,7 @@
},
"dependencies": {
"@backstage/config": "^1.0.1",
- "@backstage/errors": "^1.0.0",
+ "@backstage/errors": "^1.1.0-next.0",
"@backstage/types": "^1.0.0",
"ajv": "^8.10.0",
"json-schema": "^0.4.0",
@@ -43,7 +43,7 @@
"uuid": "^8.0.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.2",
"@types/jest": "^26.0.7",
"@types/json-schema": "^7.0.5",
"@types/lodash": "^4.14.151",
diff --git a/packages/catalog-model/src/entity/policies/GroupDefaultParentEntityPolicy.test.ts b/packages/catalog-model/src/entity/policies/GroupDefaultParentEntityPolicy.test.ts
new file mode 100644
index 0000000000..d5eb6145c2
--- /dev/null
+++ b/packages/catalog-model/src/entity/policies/GroupDefaultParentEntityPolicy.test.ts
@@ -0,0 +1,71 @@
+/*
+ * Copyright 2022 The Backstage Authors
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import { UserEntity, GroupEntity } from '../../kinds';
+import { GroupDefaultParentEntityPolicy } from './GroupDefaultParentEntityPolicy';
+
+describe('GroupDefaultParentEntityPolicy', () => {
+ it('should ignore non-group entities', async () => {
+ const p = new GroupDefaultParentEntityPolicy('name');
+ const u: UserEntity = {
+ apiVersion: 'backstage.io/v1alpha1',
+ kind: 'User',
+ metadata: { name: 'n' },
+ spec: { profile: {}, memberOf: ['c'] },
+ };
+ const result = await p.enforce(u);
+ expect(result).toEqual({
+ apiVersion: 'backstage.io/v1alpha1',
+ kind: 'User',
+ metadata: { name: 'n' },
+ spec: { profile: {}, memberOf: ['c'] },
+ });
+ });
+
+ it('should parent group entities', async () => {
+ const p = new GroupDefaultParentEntityPolicy('name');
+ const g: GroupEntity = {
+ apiVersion: 'backstage.io/v1alpha1',
+ kind: 'Group',
+ metadata: { name: 'n' },
+ spec: { type: 'foo', children: [] },
+ };
+ const result = await p.enforce(g);
+ expect(result).toEqual({
+ apiVersion: 'backstage.io/v1alpha1',
+ kind: 'Group',
+ metadata: { name: 'n' },
+ spec: { type: 'foo', parent: 'group:default/name', children: [] },
+ });
+ });
+
+ it('should not replace existing parents', async () => {
+ const p = new GroupDefaultParentEntityPolicy('namespace/name');
+ const g: GroupEntity = {
+ apiVersion: 'backstage.io/v1alpha1',
+ kind: 'Group',
+ metadata: { name: 'n' },
+ spec: { type: 'foo', parent: 'group:something/else', children: [] },
+ };
+ const result = await p.enforce(g);
+ expect(result).toEqual({
+ apiVersion: 'backstage.io/v1alpha1',
+ kind: 'Group',
+ metadata: { name: 'n' },
+ spec: { type: 'foo', parent: 'group:something/else', children: [] },
+ });
+ });
+});
diff --git a/packages/catalog-model/src/entity/policies/GroupDefaultParentEntityPolicy.ts b/packages/catalog-model/src/entity/policies/GroupDefaultParentEntityPolicy.ts
new file mode 100644
index 0000000000..8eb0aef757
--- /dev/null
+++ b/packages/catalog-model/src/entity/policies/GroupDefaultParentEntityPolicy.ts
@@ -0,0 +1,68 @@
+/*
+ * Copyright 2022 The Backstage Authors
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import { Entity } from '../Entity';
+import { GroupEntity } from '../../kinds';
+import { EntityPolicy } from './types';
+import { DEFAULT_NAMESPACE } from '../constants';
+import { parseEntityRef, stringifyEntityRef } from '../ref';
+
+/**
+ * DefaultParentPolicy is an EntityPolicy that updates group entities
+ * with a parent of last resort. This ensures that, while we preserve
+ * any existing group hierarchies, we can guarantee that there is a
+ * single global root of the group hierarchy.
+ *
+ * @public
+ */
+export class GroupDefaultParentEntityPolicy implements EntityPolicy {
+ private readonly parentRef: string;
+
+ constructor(parentEntityRef: string) {
+ const { kind, namespace, name } = parseEntityRef(parentEntityRef, {
+ defaultKind: 'Group',
+ defaultNamespace: DEFAULT_NAMESPACE,
+ });
+
+ if (kind.toLocaleUpperCase('en-US') !== 'GROUP') {
+ throw new TypeError('group parent must be a group');
+ }
+
+ this.parentRef = stringifyEntityRef({
+ kind: kind,
+ namespace: namespace,
+ name: name,
+ });
+ }
+
+ async enforce(entity: Entity): Promise {
+ if (entity.kind !== 'Group') {
+ return entity;
+ }
+
+ const group = entity as GroupEntity;
+ if (group.spec.parent) {
+ return group;
+ }
+
+ // Avoid making the parent entity it's own parent.
+ if (stringifyEntityRef(group) !== this.parentRef) {
+ group.spec.parent = this.parentRef;
+ }
+
+ return group;
+ }
+}
diff --git a/packages/catalog-model/src/entity/policies/index.ts b/packages/catalog-model/src/entity/policies/index.ts
index ae14007d80..d5740c0955 100644
--- a/packages/catalog-model/src/entity/policies/index.ts
+++ b/packages/catalog-model/src/entity/policies/index.ts
@@ -15,6 +15,7 @@
*/
export { DefaultNamespaceEntityPolicy } from './DefaultNamespaceEntityPolicy';
+export { GroupDefaultParentEntityPolicy } from './GroupDefaultParentEntityPolicy';
export { FieldFormatEntityPolicy } from './FieldFormatEntityPolicy';
export { NoForeignRootFieldsEntityPolicy } from './NoForeignRootFieldsEntityPolicy';
export { SchemaValidEntityPolicy } from './SchemaValidEntityPolicy';
diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md
index dbceb46db1..b4dbb1cdc5 100644
--- a/packages/cli/CHANGELOG.md
+++ b/packages/cli/CHANGELOG.md
@@ -1,5 +1,39 @@
# @backstage/cli
+## 0.18.0-next.2
+
+### Patch Changes
+
+- f6b6fb7165: The `test` command now ensures that all IO is flushed before exiting when printing `--help`.
+
+## 0.18.0-next.1
+
+### Minor Changes
+
+- 96a82d9791: **BREAKING**: Removed the following deprecated package commands:
+
+ - `app:build` - Use `package build` instead
+ - `app:serve` - Use `package start` instead
+ - `backend:build` - Use `package build` instead
+ - `backend:bundle` - Use `package build` instead
+ - `backend:dev` - Use `package start` instead
+ - `plugin:build` - Use `package build` instead
+ - `plugin:serve` - Use `package start` instead
+ - `build` - Use `package build` instead
+ - `lint` - Use `package lint` instead
+ - `prepack` - Use `package prepack` instead
+ - `postpack` - Use `package postpack` instead
+
+ In order to replace these you need to have [migrated to using package roles](https://backstage.io/docs/tutorials/package-role-migration).
+
+### Patch Changes
+
+- 86640214f0: Upgrade `@rollup/plugin-node-resolve` to `^13.0.6`
+- e661242844: Updated dependency `run-script-webpack-plugin` to `^0.1.0`.
+- Updated dependencies
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/config-loader@1.1.3-next.0
+
## 0.17.3-next.0
### Patch Changes
diff --git a/packages/cli/cli-report.md b/packages/cli/cli-report.md
new file mode 100644
index 0000000000..8c678d885e
--- /dev/null
+++ b/packages/cli/cli-report.md
@@ -0,0 +1,563 @@
+## CLI Report file for "@backstage/cli"
+
+> Do not edit this file. It is a report generated by `yarn build:api-reports`
+
+### `backstage-cli`
+
+```
+Usage: backstage-cli [options] [command]
+
+Options:
+ -V, --version
+ -h, --help
+
+Commands:
+ create [options]
+ create-plugin [options]
+ plugin:diff [options]
+ test
+ config:docs [options]
+ config:print [options]
+ config:check [options]
+ config:schema [options]
+ repo [command]
+ package [command]
+ migrate [command]
+ versions:bump [options]
+ versions:check [options]
+ clean
+ build-workspace [packages...]
+ create-github-app
+ info
+ help [command]
+```
+
+### `backstage-cli build-workspace`
+
+```
+Usage: backstage-cli build-workspace [options] [packages...]
+
+Options:
+ -h, --help
+```
+
+### `backstage-cli clean`
+
+```
+Usage: backstage-cli clean [options]
+
+Options:
+ -h, --help
+```
+
+### `backstage-cli config:check`
+
+```
+Usage: backstage-cli config:check [options]
+
+Options:
+ --package
+ --lax
+ --frontend
+ --deprecated
+ --config
+ -h, --help
+```
+
+### `backstage-cli config:docs`
+
+```
+Usage: backstage-cli config:docs [options]
+
+Options:
+ --package
+ -h, --help
+```
+
+### `backstage-cli config:print`
+
+```
+Usage: backstage-cli config:print [options]
+
+Options:
+ --package
+ --lax
+ --frontend
+ --with-secrets
+ --format
+ --config
+ -h, --help
+```
+
+### `backstage-cli config:schema`
+
+```
+Usage: backstage-cli config:schema [options]
+
+Options:
+ --package
+ --format
+ -h, --help
+```
+
+### `backstage-cli create`
+
+```
+Usage: backstage-cli create [options]
+
+Options:
+ --select
+ --option =
+ --scope
+ --npm-registry
+ --no-private
+ -h, --help
+```
+
+### `backstage-cli create-github-app`
+
+```
+Usage: backstage-cli create-github-app [options]
+
+Options:
+ -h, --help
+```
+
+### `backstage-cli create-plugin`
+
+```
+Usage: backstage-cli create-plugin [options]
+
+Options:
+ --backend
+ --scope
+ --npm-registry
+ --no-private
+ -h, --help
+```
+
+### `backstage-cli info`
+
+```
+Usage: backstage-cli info [options]
+
+Options:
+ -h, --help
+```
+
+### `backstage-cli migrate`
+
+```
+Usage: backstage-cli migrate [options] [command] [command]
+
+Options:
+ -h, --help
+
+Commands:
+ package-roles
+ package-scripts
+ package-lint-configs
+ help [command]
+```
+
+### `backstage-cli migrate package-lint-configs`
+
+```
+Usage: backstage-cli migrate package-lint-configs [options]
+
+Options:
+ -h, --help
+```
+
+### `backstage-cli migrate package-roles`
+
+```
+Usage: backstage-cli migrate package-roles [options]
+
+Options:
+ -h, --help
+```
+
+### `backstage-cli migrate package-scripts`
+
+```
+Usage: backstage-cli migrate package-scripts [options]
+
+Options:
+ -h, --help
+```
+
+### `backstage-cli package`
+
+```
+Usage: backstage-cli package [options] [command] [command]
+
+Options:
+ -h, --help
+
+Commands:
+ start [options]
+ build [options]
+ lint [options] [directories...]
+ test
+ clean
+ prepack
+ postpack
+ help [command]
+```
+
+### `backstage-cli package build`
+
+```
+Usage: backstage-cli package build [options]
+
+Options:
+ --role
+ --minify
+ --experimental-type-build
+ --skip-build-dependencies
+ --stats
+ --config
+ -h, --help
+```
+
+### `backstage-cli package clean`
+
+```
+Usage: backstage-cli package clean [options]
+
+Options:
+ -h, --help
+```
+
+### `backstage-cli package lint`
+
+```
+Usage: backstage-cli package lint [options] [directories...]
+
+Options:
+ --format
+ --fix
+ -h, --help
+```
+
+### `backstage-cli package postpack`
+
+```
+Usage: backstage-cli package postpack [options]
+
+Options:
+ -h, --help
+```
+
+### `backstage-cli package prepack`
+
+```
+Usage: backstage-cli package prepack [options]
+
+Options:
+ -h, --help
+```
+
+### `backstage-cli package start`
+
+```
+Usage: backstage-cli package start [options]
+
+Options:
+ --config
+ --role
+ --check
+ --inspect
+ --inspect-brk
+ -h, --help
+```
+
+### `backstage-cli package test`
+
+```
+Usage: backstage-cli [--config=] [TestPathPattern]
+
+Options:
+ -h, --help
+ -v, --version
+ --all
+ --automock
+ -b, --bail
+ --cache
+ --cacheDirectory
+ --changedFilesWithAncestor
+ --changedSince
+ --ci
+ --clearCache
+ --clearMocks
+ --collectCoverage
+ --collectCoverageFrom
+ --collectCoverageOnlyFrom
+ --color
+ --colors
+ -c, --config
+ --coverage
+ --coverageDirectory
+ --coveragePathIgnorePatterns
+ --coverageProvider
+ --coverageReporters
+ --coverageThreshold
+ --debug
+ --detectLeaks
+ --detectOpenHandles
+ --env
+ --errorOnDeprecated
+ -e, --expand
+ --filter
+ --findRelatedTests
+ --forceExit
+ --globalSetup
+ --globalTeardown
+ --globals
+ --haste
+ --init
+ --injectGlobals
+ --json
+ --lastCommit
+ --listTests
+ --logHeapUsage
+ --maxConcurrency
+ -w, --maxWorkers
+ --moduleDirectories
+ --moduleFileExtensions
+ --moduleNameMapper
+ --modulePathIgnorePatterns
+ --modulePaths
+ --noStackTrace
+ --notify
+ --notifyMode
+ -o, --onlyChanged
+ -f, --onlyFailures
+ --outputFile
+ --passWithNoTests
+ --preset
+ --prettierPath
+ --projects
+ --reporters
+ --resetMocks
+ --resetModules
+ --resolver
+ --restoreMocks
+ --rootDir
+ --roots
+ -i, --runInBand
+ --runTestsByPath
+ --runner
+ --selectProjects
+ --setupFiles
+ --setupFilesAfterEnv
+ --showConfig
+ --silent
+ --skipFilter
+ --snapshotSerializers
+ --testEnvironment
+ --testEnvironmentOptions
+ --testFailureExitCode
+ --testLocationInResults
+ --testMatch
+ -t, --testNamePattern
+ --testPathIgnorePatterns
+ --testPathPattern
+ --testRegex
+ --testResultsProcessor
+ --testRunner
+ --testSequencer
+ --testTimeout
+ --testURL
+ --timers
+ --transform
+ --transformIgnorePatterns
+ --unmockedModulePathPatterns
+ -u, --updateSnapshot
+ --useStderr
+ --verbose
+ --watch
+ --watchAll
+ --watchPathIgnorePatterns
+ --watchman
+```
+
+### `backstage-cli plugin:diff`
+
+```
+Usage: backstage-cli plugin:diff [options]
+
+Options:
+ --check
+ --yes
+ -h, --help
+```
+
+### `backstage-cli repo`
+
+```
+Usage: backstage-cli repo [options] [command] [command]
+
+Options:
+ -h, --help
+
+Commands:
+ build [options]
+ lint [options]
+ help [command]
+```
+
+### `backstage-cli repo build`
+
+```
+Usage: backstage-cli repo build [options]
+
+Options:
+ --all
+ --since [
+ -h, --help
+```
+
+### `backstage-cli repo lint`
+
+```
+Usage: backstage-cli repo lint [options]
+
+Options:
+ --format
+ --since ][
+ --fix
+ -h, --help
+```
+
+### `backstage-cli test`
+
+```
+Usage: backstage-cli [--config=] [TestPathPattern]
+
+Options:
+ -h, --help
+ -v, --version
+ --all
+ --automock
+ -b, --bail
+ --cache
+ --cacheDirectory
+ --changedFilesWithAncestor
+ --changedSince
+ --ci
+ --clearCache
+ --clearMocks
+ --collectCoverage
+ --collectCoverageFrom
+ --collectCoverageOnlyFrom
+ --color
+ --colors
+ -c, --config
+ --coverage
+ --coverageDirectory
+ --coveragePathIgnorePatterns
+ --coverageProvider
+ --coverageReporters
+ --coverageThreshold
+ --debug
+ --detectLeaks
+ --detectOpenHandles
+ --env
+ --errorOnDeprecated
+ -e, --expand
+ --filter
+ --findRelatedTests
+ --forceExit
+ --globalSetup
+ --globalTeardown
+ --globals
+ --haste
+ --init
+ --injectGlobals
+ --json
+ --lastCommit
+ --listTests
+ --logHeapUsage
+ --maxConcurrency
+ -w, --maxWorkers
+ --moduleDirectories
+ --moduleFileExtensions
+ --moduleNameMapper
+ --modulePathIgnorePatterns
+ --modulePaths
+ --noStackTrace
+ --notify
+ --notifyMode
+ -o, --onlyChanged
+ -f, --onlyFailures
+ --outputFile
+ --passWithNoTests
+ --preset
+ --prettierPath
+ --projects
+ --reporters
+ --resetMocks
+ --resetModules
+ --resolver
+ --restoreMocks
+ --rootDir
+ --roots
+ -i, --runInBand
+ --runTestsByPath
+ --runner
+ --selectProjects
+ --setupFiles
+ --setupFilesAfterEnv
+ --showConfig
+ --silent
+ --skipFilter
+ --snapshotSerializers
+ --testEnvironment
+ --testEnvironmentOptions
+ --testFailureExitCode
+ --testLocationInResults
+ --testMatch
+ -t, --testNamePattern
+ --testPathIgnorePatterns
+ --testPathPattern
+ --testRegex
+ --testResultsProcessor
+ --testRunner
+ --testSequencer
+ --testTimeout
+ --testURL
+ --timers
+ --transform
+ --transformIgnorePatterns
+ --unmockedModulePathPatterns
+ -u, --updateSnapshot
+ --useStderr
+ --verbose
+ --watch
+ --watchAll
+ --watchPathIgnorePatterns
+ --watchman
+```
+
+### `backstage-cli versions:bump`
+
+```
+Usage: backstage-cli versions:bump [options]
+
+Options:
+ --pattern
+ --release
+ -h, --help
+```
+
+### `backstage-cli versions:check`
+
+```
+Usage: backstage-cli versions:check [options]
+
+Options:
+ --fix
+ -h, --help
+```
diff --git a/packages/cli/package.json b/packages/cli/package.json
index 42e8953d1e..aead136ec6 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.17.3-next.0",
+ "version": "0.18.0-next.2",
"private": false,
"publishConfig": {
"access": "public"
@@ -33,8 +33,8 @@
"dependencies": {
"@backstage/cli-common": "^0.1.9",
"@backstage/config": "^1.0.1",
- "@backstage/config-loader": "^1.1.2",
- "@backstage/errors": "^1.0.0",
+ "@backstage/config-loader": "^1.1.3-next.0",
+ "@backstage/errors": "^1.1.0-next.0",
"@backstage/release-manifests": "^0.0.4",
"@backstage/types": "^1.0.0",
"@hot-loader/react-dom-v16": "npm:@hot-loader/react-dom@^16.0.2",
@@ -126,14 +126,14 @@
"zod": "^3.11.6"
},
"devDependencies": {
- "@backstage/backend-common": "^0.14.1-next.0",
+ "@backstage/backend-common": "^0.14.1-next.2",
"@backstage/config": "^1.0.1",
"@backstage/core-app-api": "^1.0.4-next.0",
- "@backstage/core-components": "^0.9.6-next.0",
+ "@backstage/core-components": "^0.10.0-next.2",
"@backstage/core-plugin-api": "^1.0.3",
- "@backstage/dev-utils": "^1.0.4-next.0",
- "@backstage/test-utils": "^1.1.2-next.0",
- "@backstage/theme": "^0.2.15",
+ "@backstage/dev-utils": "^1.0.4-next.2",
+ "@backstage/test-utils": "^1.1.2-next.1",
+ "@backstage/theme": "^0.2.16-next.1",
"@types/diff": "^5.0.0",
"@types/express": "^4.17.6",
"@types/fs-extra": "^9.0.1",
@@ -152,7 +152,7 @@
"@types/yarnpkg__lockfile": "^1.1.4",
"del": "^6.0.0",
"mock-fs": "^5.1.0",
- "msw": "^0.42.0",
+ "msw": "^0.43.0",
"nodemon": "^2.0.2",
"ts-node": "^10.0.0"
},
diff --git a/packages/cli/src/commands/test.ts b/packages/cli/src/commands/test.ts
index f1bfcc356b..88769aec1a 100644
--- a/packages/cli/src/commands/test.ts
+++ b/packages/cli/src/commands/test.ts
@@ -78,6 +78,10 @@ export default async (_opts: OptionValues, cmd: Command) => {
process.env.TZ = 'UTC';
}
+ if (args.includes('--help')) {
+ (process.stdout as any)._handle.setBlocking(true);
+ }
+
// eslint-disable-next-line jest/no-jest-import
await require('jest').run(args);
};
diff --git a/packages/cli/templates/default-backend-plugin/package.json.hbs b/packages/cli/templates/default-backend-plugin/package.json.hbs
index 2416fd75cb..4e8ee254b9 100644
--- a/packages/cli/templates/default-backend-plugin/package.json.hbs
+++ b/packages/cli/templates/default-backend-plugin/package.json.hbs
@@ -41,7 +41,7 @@
"@backstage/cli": "{{versionQuery '@backstage/cli'}}",
"@types/supertest": "{{versionQuery '@types/supertest' '2.0.8'}}",
"supertest": "{{versionQuery 'supertest' '4.0.2'}}",
- "msw": "{{versionQuery 'msw' '0.42.0'}}"
+ "msw": "{{versionQuery 'msw' '0.43.0'}}"
},
"files": [
"dist"
diff --git a/packages/cli/templates/default-plugin/package.json.hbs b/packages/cli/templates/default-plugin/package.json.hbs
index 34a0548b29..490f18d474 100644
--- a/packages/cli/templates/default-plugin/package.json.hbs
+++ b/packages/cli/templates/default-plugin/package.json.hbs
@@ -49,7 +49,7 @@
"@testing-library/user-event": "{{versionQuery '@testing-library/user-event' '14.0.0'}}",
"@types/jest": "{{versionQuery '@types/jest' '26.0.7'}}",
"@types/node": "{{versionQuery '@types/node' '16.11.26'}}",
- "msw": "{{versionQuery 'msw' '0.42.0'}}",
+ "msw": "{{versionQuery 'msw' '0.43.0'}}",
"cross-fetch": "{{versionQuery 'cross-fetch' '3.1.5'}}"
},
"files": [
diff --git a/packages/codemods/cli-report.md b/packages/codemods/cli-report.md
new file mode 100644
index 0000000000..57d2198141
--- /dev/null
+++ b/packages/codemods/cli-report.md
@@ -0,0 +1,61 @@
+## CLI Report file for "@backstage/codemods"
+
+> Do not edit this file. It is a report generated by `yarn build:api-reports`
+
+### `backstage-codemods`
+
+```
+Usage: backstage-codemods [options] [command]
+
+Options:
+ -V, --version
+ -h, --help
+
+Commands:
+ apply [target-dirs...]
+ list
+ help [command]
+```
+
+### `backstage-codemods apply`
+
+```
+Usage: backstage-codemods apply [options] [command] [target-dirs...]
+
+Options:
+ -h, --help
+
+Commands:
+ core-imports [options] [target-dirs...]
+ extension-names [options] [target-dirs...]
+ help [command]
+```
+
+### `backstage-codemods apply core-imports`
+
+```
+Usage: backstage-codemods apply core-imports [options] [target-dirs...]
+
+Options:
+ -d, --dry
+ -h, --help
+```
+
+### `backstage-codemods apply extension-names`
+
+```
+Usage: backstage-codemods apply extension-names [options] [target-dirs...]
+
+Options:
+ -d, --dry
+ -h, --help
+```
+
+### `backstage-codemods list`
+
+```
+Usage: backstage-codemods list [options]
+
+Options:
+ -h, --help
+```
diff --git a/packages/config-loader/CHANGELOG.md b/packages/config-loader/CHANGELOG.md
index d9228aa091..af297b1112 100644
--- a/packages/config-loader/CHANGELOG.md
+++ b/packages/config-loader/CHANGELOG.md
@@ -1,5 +1,12 @@
# @backstage/config-loader
+## 1.1.3-next.0
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/errors@1.1.0-next.0
+
## 1.1.2
### Patch Changes
diff --git a/packages/config-loader/package.json b/packages/config-loader/package.json
index 3448b336b7..3ca4b1455f 100644
--- a/packages/config-loader/package.json
+++ b/packages/config-loader/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/config-loader",
"description": "Config loading functionality used by Backstage backend, and CLI",
- "version": "1.1.2",
+ "version": "1.1.3-next.0",
"private": false,
"publishConfig": {
"access": "public",
@@ -36,7 +36,7 @@
"dependencies": {
"@backstage/cli-common": "^0.1.9",
"@backstage/config": "^1.0.1",
- "@backstage/errors": "^1.0.0",
+ "@backstage/errors": "^1.1.0-next.0",
"@backstage/types": "^1.0.0",
"@types/json-schema": "^7.0.6",
"ajv": "^8.10.0",
@@ -46,7 +46,7 @@
"json-schema-merge-allof": "^0.8.1",
"json-schema-traverse": "^1.0.0",
"node-fetch": "^2.6.7",
- "typescript-json-schema": "^0.53.0",
+ "typescript-json-schema": "^0.54.0",
"yaml": "^1.9.2",
"yup": "^0.32.9"
},
@@ -57,7 +57,7 @@
"@types/node": "^16.11.26",
"@types/yup": "^0.29.13",
"mock-fs": "^5.1.0",
- "msw": "^0.42.0"
+ "msw": "^0.43.0"
},
"files": [
"dist"
diff --git a/packages/core-app-api/package.json b/packages/core-app-api/package.json
index be95a344fa..e7d530417a 100644
--- a/packages/core-app-api/package.json
+++ b/packages/core-app-api/package.json
@@ -49,8 +49,8 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
- "@backstage/test-utils": "^1.1.2-next.0",
+ "@backstage/cli": "^0.18.0-next.1",
+ "@backstage/test-utils": "^1.1.2-next.1",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^12.1.3",
"@testing-library/react-hooks": "^8.0.0",
@@ -59,7 +59,7 @@
"@types/node": "^16.11.26",
"@types/zen-observable": "^0.8.0",
"cross-fetch": "^3.1.5",
- "msw": "^0.42.0"
+ "msw": "^0.43.0"
},
"files": [
"dist",
diff --git a/packages/core-components/CHANGELOG.md b/packages/core-components/CHANGELOG.md
index ccccade63d..46a44394b3 100644
--- a/packages/core-components/CHANGELOG.md
+++ b/packages/core-components/CHANGELOG.md
@@ -1,5 +1,29 @@
# @backstage/core-components
+## 0.10.0-next.2
+
+### Minor Changes
+
+- 32204fa794: Add `transformLinkUri` and `transformImageUri` to `MarkdownContent`
+
+### Patch Changes
+
+- b4b711bcc2: Fix the EntityLayout header style so that EntityContextMenu button can display in correct shape when user hover on it
+- 15201b1032: Updated dependency `rc-progress` to `3.4.0`.
+- 385389d23c: Updated to remove usage of the `bursts` object in the theme palette
+- Updated dependencies
+ - @backstage/theme@0.2.16-next.1
+
+## 0.9.6-next.1
+
+### Patch Changes
+
+- 3c440ea77e: Change BackstageIconLinkVertical style to use pallette instead of explicit color
+- 7e115d42f9: Support displaying subtitle text in `SidebarSubmenuItem`
+- Updated dependencies
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/theme@0.2.16-next.0
+
## 0.9.6-next.0
### Patch Changes
diff --git a/packages/core-components/package.json b/packages/core-components/package.json
index f4b4f55089..0d27c6419d 100644
--- a/packages/core-components/package.json
+++ b/packages/core-components/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/core-components",
"description": "Core components used by Backstage plugins and apps",
- "version": "0.9.6-next.0",
+ "version": "0.10.0-next.2",
"private": false,
"publishConfig": {
"access": "public",
@@ -35,8 +35,8 @@
"dependencies": {
"@backstage/config": "^1.0.1",
"@backstage/core-plugin-api": "^1.0.3",
- "@backstage/errors": "^1.0.0",
- "@backstage/theme": "^0.2.15",
+ "@backstage/errors": "^1.1.0-next.0",
+ "@backstage/theme": "^0.2.16-next.1",
"@backstage/version-bridge": "^1.0.1",
"@material-table/core": "^3.1.0",
"@material-ui/core": "^4.12.2",
@@ -56,7 +56,7 @@
"pluralize": "^8.0.0",
"prop-types": "^15.7.2",
"qs": "^6.9.4",
- "rc-progress": "3.3.3",
+ "rc-progress": "3.4.0",
"react-helmet": "6.1.0",
"react-hook-form": "^7.12.2",
"react-markdown": "^8.0.0",
@@ -80,8 +80,8 @@
},
"devDependencies": {
"@backstage/core-app-api": "^1.0.4-next.0",
- "@backstage/cli": "^0.17.3-next.0",
- "@backstage/test-utils": "^1.1.2-next.0",
+ "@backstage/cli": "^0.18.0-next.2",
+ "@backstage/test-utils": "^1.1.2-next.1",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^12.1.3",
"@testing-library/react-hooks": "^8.0.0",
@@ -101,7 +101,7 @@
"@types/react-window": "^1.8.5",
"@types/zen-observable": "^0.8.0",
"cross-fetch": "^3.1.5",
- "msw": "^0.42.0"
+ "msw": "^0.43.0"
},
"files": [
"dist"
diff --git a/packages/core-components/src/components/HeaderIconLinkRow/IconLinkVertical.tsx b/packages/core-components/src/components/HeaderIconLinkRow/IconLinkVertical.tsx
index 2816603f7f..dda2782c45 100644
--- a/packages/core-components/src/components/HeaderIconLinkRow/IconLinkVertical.tsx
+++ b/packages/core-components/src/components/HeaderIconLinkRow/IconLinkVertical.tsx
@@ -47,7 +47,7 @@ const useIconStyles = makeStyles(
textAlign: 'center',
},
disabled: {
- color: 'gray',
+ color: theme.palette.text.secondary,
cursor: 'default',
},
primary: {
diff --git a/packages/core-components/src/components/Link/Link.test.tsx b/packages/core-components/src/components/Link/Link.test.tsx
index 8c6ed54d76..5cfeaa4869 100644
--- a/packages/core-components/src/components/Link/Link.test.tsx
+++ b/packages/core-components/src/components/Link/Link.test.tsx
@@ -21,9 +21,11 @@ import {
TestApiProvider,
wrapInTestApp,
} from '@backstage/test-utils';
-import { analyticsApiRef } from '@backstage/core-plugin-api';
-import { isExternalUri, Link } from './Link';
+import { analyticsApiRef, configApiRef } from '@backstage/core-plugin-api';
+import { isExternalUri, Link, useResolvedPath } from './Link';
import { Route, Routes } from 'react-router';
+import { renderHook, WrapperComponent } from '@testing-library/react-hooks';
+import { ConfigReader } from '@backstage/config';
describe('', () => {
it('navigates using react-router', async () => {
@@ -103,6 +105,58 @@ describe('', () => {
});
});
+ describe('resolves a sub-path correctly', () => {
+ it('when it starts with base path', async () => {
+ const testString = 'This is test string';
+ const linkText = 'Navigate!';
+ const configApi = new ConfigReader({
+ app: { baseUrl: 'http://localhost:3000/example' },
+ });
+
+ const { getByText } = render(
+ wrapInTestApp(
+
+
+ {linkText}
+ {testString}]
} />
+
+ ,
+ ),
+ );
+
+ expect(() => getByText(testString)).toThrow();
+ fireEvent.click(getByText(linkText));
+ await waitFor(() => {
+ expect(getByText(testString)).toBeInTheDocument();
+ });
+ });
+
+ it('when it does not start with base path', async () => {
+ const testString = 'This is test string';
+ const linkText = 'Navigate!';
+ const configApi = new ConfigReader({
+ app: { baseUrl: 'http://localhost:3000/example' },
+ });
+
+ const { getByText } = render(
+ wrapInTestApp(
+
+
+ {linkText}
+ {testString}} />
+
+ ,
+ ),
+ );
+
+ expect(() => getByText(testString)).toThrow();
+ fireEvent.click(getByText(linkText));
+ await waitFor(() => {
+ expect(getByText(testString)).toBeInTheDocument();
+ });
+ });
+ });
+
describe('isExternalUri', () => {
it.each([
[true, 'http://'],
@@ -128,4 +182,45 @@ describe('', () => {
expect(isExternalUri(uri)).toBe(expected);
});
});
+
+ describe('useResolvedPath', () => {
+ const wrapper: WrapperComponent<{}> = ({ children }) => {
+ const configApi = new ConfigReader({
+ app: { baseUrl: 'http://localhost:3000/example' },
+ });
+ return (
+
+ {children}
+
+ );
+ };
+
+ describe('concatenate base path', () => {
+ it('when uri is internal and does not start with base path', () => {
+ const path = '/catalog/default/component/artist-lookup';
+ const { result } = renderHook(() => useResolvedPath(path), {
+ wrapper,
+ });
+ expect(result.current).toBe('/example'.concat(path));
+ });
+ });
+
+ describe('does not concatenate base path', () => {
+ it('when uri is external', () => {
+ const path = 'https://stackoverflow.com/questions/1/example';
+ const { result } = renderHook(() => useResolvedPath(path), {
+ wrapper,
+ });
+ expect(result.current).toBe(path);
+ });
+
+ it('when uri already starts with base path', () => {
+ const path = '/example/catalog/default/component/artist-lookup';
+ const { result } = renderHook(() => useResolvedPath(path), {
+ wrapper,
+ });
+ expect(result.current).toBe(path);
+ });
+ });
+ });
});
diff --git a/packages/core-components/src/components/Link/Link.tsx b/packages/core-components/src/components/Link/Link.tsx
index 5809990b92..22b203d157 100644
--- a/packages/core-components/src/components/Link/Link.tsx
+++ b/packages/core-components/src/components/Link/Link.tsx
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-import { useAnalytics } from '@backstage/core-plugin-api';
+import { configApiRef, useAnalytics, useApi } from '@backstage/core-plugin-api';
import classnames from 'classnames';
import MaterialLink, {
LinkProps as MaterialLinkProps,
@@ -25,6 +25,7 @@ import {
Link as RouterLink,
LinkProps as RouterLinkProps,
} from 'react-router-dom';
+import { trimEnd } from 'lodash';
const useStyles = makeStyles(
{
@@ -52,6 +53,45 @@ export type LinkProps = MaterialLinkProps &
noTrack?: boolean;
};
+/**
+ * Returns the app base url that could be empty if the Config API is not properly implemented.
+ * The only cases there would be no Config API are in tests and in storybook stories, and in those cases, it's unlikely that callers would rely on this subpath behavior.
+ */
+const useBaseUrl = () => {
+ try {
+ const config = useApi(configApiRef);
+ return config.getOptionalString('app.baseUrl');
+ } catch {
+ return undefined;
+ }
+};
+
+/**
+ * Get the app base path from the configured app baseUrl.
+ * The returned path does not have a trailing slash.
+ */
+const useBasePath = () => {
+ // baseUrl can be specified as just a path
+ const base = 'http://dummy.dev';
+ const url = useBaseUrl() ?? '/';
+ const { pathname } = new URL(url, base);
+ return trimEnd(pathname, '/');
+};
+
+export const useResolvedPath = (uri: LinkProps['to']) => {
+ let resolvedPath = String(uri);
+
+ const basePath = useBasePath();
+ const external = isExternalUri(resolvedPath);
+ const startsWithBasePath = resolvedPath.startsWith(basePath);
+
+ if (!external && !startsWithBasePath) {
+ resolvedPath = basePath.concat(resolvedPath);
+ }
+
+ return resolvedPath;
+};
+
/**
* Given a react node, try to retrieve its text content.
*/
@@ -84,7 +124,7 @@ export const Link = React.forwardRef(
({ onClick, noTrack, ...props }, ref) => {
const classes = useStyles();
const analytics = useAnalytics();
- const to = String(props.to);
+ const to = useResolvedPath(props.to);
const linkText = getNodeText(props.children) || to;
const external = isExternalUri(to);
const newWindow = external && !!/^https?:/.exec(to);
@@ -99,11 +139,11 @@ export const Link = React.forwardRef(
return external ? (
// External links
{props.children}
@@ -112,10 +152,11 @@ export const Link = React.forwardRef(
) : (
// Interact with React Router for internal links
);
},
diff --git a/packages/core-components/src/components/MarkdownContent/MarkdownContent.test.tsx b/packages/core-components/src/components/MarkdownContent/MarkdownContent.test.tsx
index 2e1550078f..9c08b83c40 100644
--- a/packages/core-components/src/components/MarkdownContent/MarkdownContent.test.tsx
+++ b/packages/core-components/src/components/MarkdownContent/MarkdownContent.test.tsx
@@ -62,4 +62,42 @@ describe('', () => {
expect(fp2).toBeInTheDocument();
expect(rendered.getByText(');', { selector: 'span' })).toBeInTheDocument();
});
+
+ it('render MarkdownContent component with transformed link', async () => {
+ const rendered = await renderWithEffects(
+ wrapInTestApp(
+ {
+ return `${href}-modified`;
+ }}
+ />,
+ ),
+ );
+ const fp1 = rendered.getByText('Title', {
+ selector: 'a',
+ });
+ expect(fp1).toBeInTheDocument();
+ expect(fp1.getAttribute('href')).toEqual(
+ 'https://backstage.io/link-modified',
+ );
+ });
+
+ it('render MarkdownContent component with transformed image', async () => {
+ const rendered = await renderWithEffects(
+ wrapInTestApp(
+ {
+ return `https://example.com/blog/assets/6/header.png`;
+ }}
+ />,
+ ),
+ );
+ const fp1 = rendered.getByAltText('Image');
+ expect(fp1).toBeInTheDocument();
+ expect(fp1.getAttribute('src')).toEqual(
+ 'https://example.com/blog/assets/6/header.png',
+ );
+ });
});
diff --git a/packages/core-components/src/components/MarkdownContent/MarkdownContent.tsx b/packages/core-components/src/components/MarkdownContent/MarkdownContent.tsx
index df4ad56776..0e5aedda90 100644
--- a/packages/core-components/src/components/MarkdownContent/MarkdownContent.tsx
+++ b/packages/core-components/src/components/MarkdownContent/MarkdownContent.tsx
@@ -68,6 +68,8 @@ type Props = {
content: string;
dialect?: 'gfm' | 'common-mark';
linkTarget?: Options['linkTarget'];
+ transformLinkUri?: (href: string) => string;
+ transformImageUri?: (href: string) => string;
};
const components: Options['components'] = {
@@ -91,7 +93,13 @@ const components: Options['components'] = {
* If you just want to render to plain [CommonMark](https://commonmark.org/), set the dialect to `'common-mark'`
*/
export function MarkdownContent(props: Props) {
- const { content, dialect = 'gfm', linkTarget } = props;
+ const {
+ content,
+ dialect = 'gfm',
+ linkTarget,
+ transformLinkUri,
+ transformImageUri,
+ } = props;
const classes = useStyles();
return (
);
}
diff --git a/packages/core-components/src/layout/Header/Header.tsx b/packages/core-components/src/layout/Header/Header.tsx
index bb4d19b949..1badb4eb98 100644
--- a/packages/core-components/src/layout/Header/Header.tsx
+++ b/packages/core-components/src/layout/Header/Header.tsx
@@ -63,15 +63,16 @@ const useStyles = makeStyles(
},
rightItemsBox: {
width: 'auto',
+ alignItems: 'center',
},
title: {
- color: theme.palette.bursts.fontColor,
+ color: theme.page.fontColor,
wordBreak: 'break-word',
fontSize: theme.typography.h3.fontSize,
marginBottom: 0,
},
subtitle: {
- color: theme.palette.bursts.fontColor,
+ color: theme.page.fontColor,
opacity: 0.8,
display: 'inline-block', // prevents margin collapse of adjacent siblings
marginTop: theme.spacing(1),
@@ -82,10 +83,10 @@ const useStyles = makeStyles(
fontSize: 11,
opacity: 0.8,
marginBottom: theme.spacing(1),
- color: theme.palette.bursts.fontColor,
+ color: theme.page.fontColor,
},
breadcrumb: {
- color: theme.palette.bursts.fontColor,
+ color: theme.page.fontColor,
},
breadcrumbType: {
fontSize: 'inherit',
diff --git a/packages/core-components/src/layout/ItemCard/ItemCardHeader.tsx b/packages/core-components/src/layout/ItemCard/ItemCardHeader.tsx
index a34d773ce3..d9443ffc9a 100644
--- a/packages/core-components/src/layout/ItemCard/ItemCardHeader.tsx
+++ b/packages/core-components/src/layout/ItemCard/ItemCardHeader.tsx
@@ -27,7 +27,7 @@ const styles = (theme: BackstageTheme) =>
root: {
color: theme.palette.common.white,
padding: theme.spacing(2, 2, 3),
- backgroundImage: theme.palette.bursts.gradient.linear,
+ backgroundImage: theme.getPageTheme({ themeId: 'card' }).backgroundImage,
backgroundPosition: 0,
backgroundSize: 'inherit',
},
diff --git a/packages/core-components/src/layout/Sidebar/MobileSidebar.tsx b/packages/core-components/src/layout/Sidebar/MobileSidebar.tsx
index b51e3cbc0d..c85e6d11f2 100644
--- a/packages/core-components/src/layout/Sidebar/MobileSidebar.tsx
+++ b/packages/core-components/src/layout/Sidebar/MobileSidebar.tsx
@@ -85,14 +85,14 @@ const useStyles = makeStyles(
overlayHeader: {
display: 'flex',
- color: theme.palette.bursts.fontColor,
+ color: theme.palette.text.primary,
alignItems: 'center',
justifyContent: 'space-between',
padding: theme.spacing(2, 3),
},
overlayHeaderClose: {
- color: theme.palette.bursts.fontColor,
+ color: theme.palette.text.primary,
},
marginMobileSidebar: props => ({
diff --git a/packages/core-plugin-api/package.json b/packages/core-plugin-api/package.json
index 5f468dba51..37b69d74f7 100644
--- a/packages/core-plugin-api/package.json
+++ b/packages/core-plugin-api/package.json
@@ -46,9 +46,9 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.1",
"@backstage/core-app-api": "^1.0.4-next.0",
- "@backstage/test-utils": "^1.1.2-next.0",
+ "@backstage/test-utils": "^1.1.2-next.1",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^12.1.3",
"@testing-library/react-hooks": "^8.0.0",
@@ -58,7 +58,7 @@
"@types/prop-types": "^15.7.3",
"@types/zen-observable": "^0.8.0",
"cross-fetch": "^3.1.5",
- "msw": "^0.42.0"
+ "msw": "^0.43.0"
},
"files": [
"dist"
diff --git a/packages/create-app/CHANGELOG.md b/packages/create-app/CHANGELOG.md
index 77d36048ba..7f2fa483f0 100644
--- a/packages/create-app/CHANGELOG.md
+++ b/packages/create-app/CHANGELOG.md
@@ -1,5 +1,18 @@
# @backstage/create-app
+## 0.4.29-next.2
+
+### Patch Changes
+
+- f281ad17c0: Adds the ability to define the Backstage app name using a `BACKSTAGE_APP_NAME`
+ environment variable when running `create-app`.
+
+## 0.4.29-next.1
+
+### Patch Changes
+
+- Bumped create-app version.
+
## 0.4.29-next.0
### Patch Changes
diff --git a/packages/create-app/cli-report.md b/packages/create-app/cli-report.md
new file mode 100644
index 0000000000..1244432c6a
--- /dev/null
+++ b/packages/create-app/cli-report.md
@@ -0,0 +1,15 @@
+## CLI Report file for "@backstage/create-app"
+
+> Do not edit this file. It is a report generated by `yarn build:api-reports`
+
+### `backstage-create-app`
+
+```
+Usage: backstage-create-app [options]
+
+Options:
+ -V, --version
+ --path [directory]
+ --skip-install
+ -h, --help
+```
diff --git a/packages/create-app/package.json b/packages/create-app/package.json
index d67e7c6f54..1fc0d17285 100644
--- a/packages/create-app/package.json
+++ b/packages/create-app/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/create-app",
"description": "A CLI that helps you create your own Backstage app",
- "version": "0.4.29-next.0",
+ "version": "0.4.29-next.2",
"private": false,
"publishConfig": {
"access": "public"
diff --git a/packages/create-app/src/createApp.ts b/packages/create-app/src/createApp.ts
index 824d1d967e..7cf589e5f8 100644
--- a/packages/create-app/src/createApp.ts
+++ b/packages/create-app/src/createApp.ts
@@ -49,6 +49,14 @@ export default async (opts: OptionValues): Promise => {
}
return true;
},
+ when: (a: Answers) => {
+ const envName = process.env.BACKSTAGE_APP_NAME;
+ if (envName) {
+ a.name = envName;
+ return false;
+ }
+ return true;
+ },
},
]);
diff --git a/packages/dev-utils/CHANGELOG.md b/packages/dev-utils/CHANGELOG.md
index 26aa5ce212..b748970b06 100644
--- a/packages/dev-utils/CHANGELOG.md
+++ b/packages/dev-utils/CHANGELOG.md
@@ -1,5 +1,30 @@
# @backstage/dev-utils
+## 1.0.4-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+ - @backstage/app-defaults@1.0.4-next.2
+ - @backstage/integration-react@1.1.2-next.2
+
+## 1.0.4-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/app-defaults@1.0.4-next.1
+ - @backstage/integration-react@1.1.2-next.1
+ - @backstage/test-utils@1.1.2-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
## 1.0.4-next.0
### Patch Changes
diff --git a/packages/dev-utils/package.json b/packages/dev-utils/package.json
index 8835aea7c6..8d19bf9cb3 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": "1.0.4-next.0",
+ "version": "1.0.4-next.2",
"private": false,
"publishConfig": {
"access": "public",
@@ -33,15 +33,15 @@
"start": "backstage-cli package start"
},
"dependencies": {
- "@backstage/app-defaults": "^1.0.4-next.0",
+ "@backstage/app-defaults": "^1.0.4-next.2",
"@backstage/core-app-api": "^1.0.4-next.0",
- "@backstage/core-components": "^0.9.6-next.0",
+ "@backstage/core-components": "^0.10.0-next.2",
"@backstage/core-plugin-api": "^1.0.3",
- "@backstage/catalog-model": "^1.1.0-next.0",
- "@backstage/integration-react": "^1.1.2-next.0",
- "@backstage/plugin-catalog-react": "^1.1.2-next.0",
- "@backstage/test-utils": "^1.1.2-next.0",
- "@backstage/theme": "^0.2.15",
+ "@backstage/catalog-model": "^1.1.0-next.2",
+ "@backstage/integration-react": "^1.1.2-next.2",
+ "@backstage/plugin-catalog-react": "^1.1.2-next.2",
+ "@backstage/test-utils": "^1.1.2-next.1",
+ "@backstage/theme": "^0.2.16-next.1",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@testing-library/jest-dom": "^5.10.1",
@@ -59,7 +59,7 @@
"react-dom": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.2",
"@types/jest": "^26.0.7",
"@types/node": "^16.0.0"
},
diff --git a/packages/e2e-test/cli-report.md b/packages/e2e-test/cli-report.md
new file mode 100644
index 0000000000..3a3912b8fc
--- /dev/null
+++ b/packages/e2e-test/cli-report.md
@@ -0,0 +1,26 @@
+## CLI Report file for "e2e-test"
+
+> Do not edit this file. It is a report generated by `yarn build:api-reports`
+
+### `e2e-test`
+
+```
+Usage: e2e-test [options] [command]
+
+Options:
+ -V, --version
+ -h, --help
+
+Commands:
+ run
+ help [command]
+```
+
+### `e2e-test run`
+
+```
+Usage: e2e-test run [options]
+
+Options:
+ -h, --help
+```
diff --git a/packages/e2e-test/package.json b/packages/e2e-test/package.json
index 2de60f4db8..333ac09b23 100644
--- a/packages/e2e-test/package.json
+++ b/packages/e2e-test/package.json
@@ -30,7 +30,7 @@
},
"devDependencies": {
"@backstage/cli-common": "^0.1.9-next.0",
- "@backstage/errors": "^1.0.0",
+ "@backstage/errors": "^1.1.0-next.0",
"@types/fs-extra": "^9.0.1",
"@types/node": "^16.11.26",
"@types/puppeteer": "^5.4.4",
@@ -40,7 +40,7 @@
"fs-extra": "10.1.0",
"handlebars": "^4.7.3",
"pgtools": "^0.3.0",
- "puppeteer": "^14.0.0",
+ "puppeteer": "^15.0.0",
"tree-kill": "^1.2.2",
"ts-node": "^10.0.0"
},
diff --git a/packages/errors/CHANGELOG.md b/packages/errors/CHANGELOG.md
index 20f938370b..b7d912f5ab 100644
--- a/packages/errors/CHANGELOG.md
+++ b/packages/errors/CHANGELOG.md
@@ -1,5 +1,13 @@
# @backstage/errors
+## 1.1.0-next.0
+
+### Minor Changes
+
+- 6d61b44466: The `ResponseError.fromResponse` now accepts a more narrow response type, in order to avoid incompatibilities between different fetch implementations.
+
+ The `response` property of `ResponseError` has also been narrowed to a new `ConsumedResponse` type that omits all the properties for consuming the body of the response. This is not considered a breaking change as it was always an error to try to consume the body of the response.
+
## 1.0.0
### Major Changes
diff --git a/packages/errors/package.json b/packages/errors/package.json
index 849c451e84..01f1137eeb 100644
--- a/packages/errors/package.json
+++ b/packages/errors/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/errors",
"description": "Common utilities for error handling within Backstage",
- "version": "1.0.0",
+ "version": "1.1.0-next.0",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -38,7 +38,7 @@
"serialize-error": "^8.0.1"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.1",
"@types/jest": "^26.0.7"
},
"files": [
diff --git a/packages/integration-react/CHANGELOG.md b/packages/integration-react/CHANGELOG.md
index 30326e1205..644d6f7cc4 100644
--- a/packages/integration-react/CHANGELOG.md
+++ b/packages/integration-react/CHANGELOG.md
@@ -1,5 +1,23 @@
# @backstage/integration-react
+## 1.1.2-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/integration@1.2.2-next.2
+
+## 1.1.2-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/integration@1.2.2-next.1
+
## 1.1.2-next.0
### Patch Changes
diff --git a/packages/integration-react/package.json b/packages/integration-react/package.json
index ea87dfc724..bf0a3e471c 100644
--- a/packages/integration-react/package.json
+++ b/packages/integration-react/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/integration-react",
"description": "Frontend package for managing integrations towards external systems",
- "version": "1.1.2-next.0",
+ "version": "1.1.2-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -25,10 +25,10 @@
},
"dependencies": {
"@backstage/config": "^1.0.1",
- "@backstage/core-components": "^0.9.6-next.0",
+ "@backstage/core-components": "^0.10.0-next.2",
"@backstage/core-plugin-api": "^1.0.3",
- "@backstage/integration": "^1.2.2-next.0",
- "@backstage/theme": "^0.2.15",
+ "@backstage/integration": "^1.2.2-next.2",
+ "@backstage/theme": "^0.2.16-next.1",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "4.0.0-alpha.57",
@@ -38,15 +38,15 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
- "@backstage/dev-utils": "^1.0.4-next.0",
- "@backstage/test-utils": "^1.1.2-next.0",
+ "@backstage/cli": "^0.18.0-next.2",
+ "@backstage/dev-utils": "^1.0.4-next.2",
+ "@backstage/test-utils": "^1.1.2-next.1",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
- "msw": "^0.42.0",
+ "msw": "^0.43.0",
"cross-fetch": "^3.1.5"
},
"files": [
diff --git a/packages/integration/CHANGELOG.md b/packages/integration/CHANGELOG.md
index 9a9b679b19..bf352f168f 100644
--- a/packages/integration/CHANGELOG.md
+++ b/packages/integration/CHANGELOG.md
@@ -1,5 +1,25 @@
# @backstage/integration
+## 1.2.2-next.2
+
+### Patch Changes
+
+- e2d7b76f43: Upgrade git-url-parse to 12.0.0.
+
+ Motivation for upgrade is transitively upgrading parse-url which is vulnerable
+ to several CVEs detected by Snyk.
+
+ - SNYK-JS-PARSEURL-2935944
+ - SNYK-JS-PARSEURL-2935947
+ - SNYK-JS-PARSEURL-2936249
+
+## 1.2.2-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/errors@1.1.0-next.0
+
## 1.2.2-next.0
### Patch Changes
diff --git a/packages/integration/package.json b/packages/integration/package.json
index f103d63bbb..532797aee8 100644
--- a/packages/integration/package.json
+++ b/packages/integration/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/integration",
"description": "Helpers for managing integrations towards external systems",
- "version": "1.2.2-next.0",
+ "version": "1.2.2-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -34,21 +34,21 @@
},
"dependencies": {
"@backstage/config": "^1.0.1",
- "@backstage/errors": "^1.0.0",
+ "@backstage/errors": "^1.1.0-next.0",
"cross-fetch": "^3.1.5",
- "git-url-parse": "^11.6.0",
+ "git-url-parse": "^12.0.0",
"@octokit/rest": "^18.5.3",
"@octokit/auth-app": "^3.4.0",
"luxon": "^2.0.2",
"lodash": "^4.17.21"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
- "@backstage/config-loader": "^1.1.2",
- "@backstage/test-utils": "^1.1.2-next.0",
+ "@backstage/cli": "^0.18.0-next.2",
+ "@backstage/config-loader": "^1.1.3-next.0",
+ "@backstage/test-utils": "^1.1.2-next.1",
"@types/jest": "^26.0.7",
"@types/luxon": "^2.0.4",
- "msw": "^0.42.0"
+ "msw": "^0.43.0"
},
"files": [
"dist",
diff --git a/packages/integration/src/bitbucketServer/core.test.ts b/packages/integration/src/bitbucketServer/core.test.ts
index 1c8f5d259c..076a2c7a4f 100644
--- a/packages/integration/src/bitbucketServer/core.test.ts
+++ b/packages/integration/src/bitbucketServer/core.test.ts
@@ -108,6 +108,20 @@ describe('bitbucketServer core', () => {
);
});
+ it('does not double encode the filepath', async () => {
+ const config: BitbucketServerIntegrationConfig = {
+ host: 'bitbucket.mycompany.net',
+ apiBaseUrl: 'https://api.bitbucket.mycompany.net/rest/api/1.0',
+ };
+ const result = await getBitbucketServerDownloadUrl(
+ 'https://bitbucket.mycompany.net/projects/backstage/repos/mock/browse/%2Fdocs?at=some-branch',
+ config,
+ );
+ expect(result).toEqual(
+ 'https://api.bitbucket.mycompany.net/rest/api/1.0/projects/backstage/repos/mock/archive?format=tgz&at=some-branch&prefix=backstage-mock&path=%2Fdocs',
+ );
+ });
+
it('do not add path param if no path is specified for Bitbucket Server', async () => {
const defaultBranchResponse = {
displayId: 'main',
diff --git a/packages/integration/src/bitbucketServer/core.ts b/packages/integration/src/bitbucketServer/core.ts
index 80dbc0443f..0c57b0d3ed 100644
--- a/packages/integration/src/bitbucketServer/core.ts
+++ b/packages/integration/src/bitbucketServer/core.ts
@@ -83,7 +83,9 @@ export async function getBitbucketServerDownloadUrl(
// path will limit the downloaded content
// /docs will only download the docs folder and everything below it
// /docs/index.md will download the docs folder and everything below it
- const path = filepath ? `&path=${encodeURIComponent(filepath)}` : '';
+ const path = filepath
+ ? `&path=${encodeURIComponent(decodeURIComponent(filepath))}`
+ : '';
return `${config.apiBaseUrl}/projects/${project}/repos/${repoName}/archive?format=tgz&at=${branch}&prefix=${project}-${repoName}${path}`;
}
diff --git a/packages/release-manifests/package.json b/packages/release-manifests/package.json
index 822c3c1a52..3309b1b9f1 100644
--- a/packages/release-manifests/package.json
+++ b/packages/release-manifests/package.json
@@ -37,7 +37,7 @@
},
"devDependencies": {
"@backstage/test-utils": "^1.1.2-next.0",
- "msw": "^0.42.0",
+ "msw": "^0.43.0",
"@types/jest": "^26.0.7",
"@types/node": "^16.0.0"
},
diff --git a/packages/techdocs-cli-embedded-app/CHANGELOG.md b/packages/techdocs-cli-embedded-app/CHANGELOG.md
index b6ce6d4a97..af9f0ad09c 100644
--- a/packages/techdocs-cli-embedded-app/CHANGELOG.md
+++ b/packages/techdocs-cli-embedded-app/CHANGELOG.md
@@ -1,5 +1,35 @@
# techdocs-cli-embedded-app
+## 0.2.72-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-techdocs@1.2.1-next.2
+ - @backstage/plugin-catalog@1.4.0-next.2
+ - @backstage/cli@0.18.0-next.2
+ - @backstage/app-defaults@1.0.4-next.2
+ - @backstage/integration-react@1.1.2-next.2
+ - @backstage/plugin-techdocs-react@1.0.2-next.1
+
+## 0.2.72-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/cli@0.18.0-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/plugin-catalog@1.3.1-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-techdocs@1.2.1-next.1
+ - @backstage/app-defaults@1.0.4-next.1
+ - @backstage/integration-react@1.1.2-next.1
+ - @backstage/test-utils@1.1.2-next.1
+
## 0.2.72-next.0
### Patch Changes
diff --git a/packages/techdocs-cli-embedded-app/package.json b/packages/techdocs-cli-embedded-app/package.json
index 959be03e52..60389b6596 100644
--- a/packages/techdocs-cli-embedded-app/package.json
+++ b/packages/techdocs-cli-embedded-app/package.json
@@ -1,25 +1,25 @@
{
"name": "techdocs-cli-embedded-app",
- "version": "0.2.72-next.0",
+ "version": "0.2.72-next.2",
"private": true,
"backstage": {
"role": "frontend"
},
"bundled": true,
"dependencies": {
- "@backstage/app-defaults": "^1.0.4-next.0",
- "@backstage/catalog-model": "^1.1.0-next.0",
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/app-defaults": "^1.0.4-next.2",
+ "@backstage/catalog-model": "^1.1.0-next.2",
+ "@backstage/cli": "^0.18.0-next.2",
"@backstage/config": "^1.0.1",
"@backstage/core-app-api": "^1.0.4-next.0",
- "@backstage/core-components": "^0.9.6-next.0",
+ "@backstage/core-components": "^0.10.0-next.2",
"@backstage/core-plugin-api": "^1.0.3",
- "@backstage/integration-react": "^1.1.2-next.0",
- "@backstage/plugin-catalog": "^1.3.1-next.0",
- "@backstage/plugin-techdocs": "^1.2.1-next.0",
- "@backstage/plugin-techdocs-react": "^1.0.2-next.0",
- "@backstage/test-utils": "^1.1.2-next.0",
- "@backstage/theme": "^0.2.15",
+ "@backstage/integration-react": "^1.1.2-next.2",
+ "@backstage/plugin-catalog": "^1.4.0-next.2",
+ "@backstage/plugin-techdocs": "^1.2.1-next.2",
+ "@backstage/plugin-techdocs-react": "^1.0.2-next.1",
+ "@backstage/test-utils": "^1.1.2-next.1",
+ "@backstage/theme": "^0.2.16-next.1",
"@material-ui/core": "^4.11.0",
"@material-ui/icons": "^4.9.1",
"history": "^5.0.0",
@@ -30,7 +30,7 @@
"react-use": "^17.2.4"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.2",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
diff --git a/packages/techdocs-cli/CHANGELOG.md b/packages/techdocs-cli/CHANGELOG.md
index aa1870d5da..3e66248276 100644
--- a/packages/techdocs-cli/CHANGELOG.md
+++ b/packages/techdocs-cli/CHANGELOG.md
@@ -1,5 +1,15 @@
# @techdocs/cli
+## 1.1.3-next.1
+
+### Patch Changes
+
+- a5d73da942: Fix the flag parsing for `legacyCopyReadmeMdToIndexMd` in `techdocs-cli generate` command, and decouple it's logic from the `techdocs-ref` flag.
+- Updated dependencies
+ - @backstage/plugin-techdocs-node@1.2.0-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+
## 1.1.3-next.0
### Patch Changes
diff --git a/packages/techdocs-cli/cli-report.md b/packages/techdocs-cli/cli-report.md
new file mode 100644
index 0000000000..64b5e9c090
--- /dev/null
+++ b/packages/techdocs-cli/cli-report.md
@@ -0,0 +1,117 @@
+## CLI Report file for "@techdocs/cli"
+
+> Do not edit this file. It is a report generated by `yarn build:api-reports`
+
+### `techdocs-cli`
+
+```
+Usage: techdocs-cli [options] [command]
+
+Options:
+ -V, --version
+ -h, --help
+
+Commands:
+ generate|build [options]
+ migrate [options]
+ publish [options]
+ serve:mkdocs [options]
+ serve [options]
+ help [command]
+```
+
+### `techdocs-cli generate`
+
+```
+Usage: techdocs-cli generate|build [options]
+
+Options:
+ --source-dir
+ --output-dir
+ --docker-image
+ --no-pull
+ --no-docker
+ --techdocs-ref
+ --etag
+ -v --verbose
+ --omitTechdocsCoreMkdocsPlugin
+ --legacyCopyReadmeMdToIndexMd
+ -h, --help
+```
+
+### `techdocs-cli migrate`
+
+```
+Usage: techdocs-cli migrate [options]
+
+Options:
+ --publisher-type
+ --storage-name
+ --azureAccountName
+ --azureAccountKey
+ --awsRoleArn
+ --awsEndpoint
+ --awsS3ForcePathStyle
+ --awsBucketRootPath
+ --osCredentialId
+ --osSecret
+ --osAuthUrl
+ --osSwiftUrl
+ --removeOriginal
+ --concurrency
+ -v --verbose
+ -h, --help
+```
+
+### `techdocs-cli publish`
+
+```
+Usage: techdocs-cli publish [options]
+
+Options:
+ --publisher-type
+ --storage-name
+ --entity
+ --legacyUseCaseSensitiveTripletPaths
+ --azureAccountName
+ --azureAccountKey
+ --awsRoleArn
+ --awsEndpoint
+ --awsS3sse
+ --awsS3ForcePathStyle
+ --osCredentialId
+ --osSecret
+ --osAuthUrl
+ --osSwiftUrl
+ --gcsBucketRootPath
+ --directory
+ -h, --help
+```
+
+### `techdocs-cli serve`
+
+```
+Usage: techdocs-cli serve [options]
+
+Options:
+ -i, --docker-image
+ --docker-entrypoint
+ --no-docker
+ --mkdocs-port
+ -v --verbose
+ -h, --help
+```
+
+### `techdocs-cli serve:mkdocs`
+
+```
+Usage: techdocs-cli serve:mkdocs [options]
+
+Options:
+ -i, --docker-image
+ --docker-entrypoint
+ --no-docker
+ -p, --port
+ -v --verbose
+ -h, --help
+```
diff --git a/packages/techdocs-cli/package.json b/packages/techdocs-cli/package.json
index 7f556a8dd7..00e254d10f 100644
--- a/packages/techdocs-cli/package.json
+++ b/packages/techdocs-cli/package.json
@@ -1,7 +1,7 @@
{
"name": "@techdocs/cli",
"description": "Utility CLI for managing TechDocs sites in Backstage.",
- "version": "1.1.3-next.0",
+ "version": "1.1.3-next.1",
"private": false,
"publishConfig": {
"access": "public"
@@ -37,7 +37,7 @@
"techdocs-cli": "bin/techdocs-cli"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.1",
"@types/commander": "^2.12.2",
"@types/fs-extra": "^9.0.6",
"@types/http-proxy": "^1.17.4",
@@ -62,11 +62,11 @@
"ext": "ts"
},
"dependencies": {
- "@backstage/backend-common": "^0.14.1-next.0",
- "@backstage/catalog-model": "^1.1.0-next.0",
+ "@backstage/backend-common": "^0.14.1-next.1",
+ "@backstage/catalog-model": "^1.1.0-next.1",
"@backstage/cli-common": "^0.1.9",
"@backstage/config": "^1.0.1",
- "@backstage/plugin-techdocs-node": "^1.1.3-next.0",
+ "@backstage/plugin-techdocs-node": "^1.2.0-next.1",
"@types/dockerode": "^3.3.0",
"commander": "^9.1.0",
"dockerode": "^3.3.1",
diff --git a/packages/test-utils/CHANGELOG.md b/packages/test-utils/CHANGELOG.md
index 56bcd3ec62..adbb3cd7ac 100644
--- a/packages/test-utils/CHANGELOG.md
+++ b/packages/test-utils/CHANGELOG.md
@@ -1,5 +1,14 @@
# @backstage/test-utils
+## 1.1.2-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-permission-common@0.6.3-next.0
+ - @backstage/plugin-permission-react@0.4.3-next.0
+
## 1.1.2-next.0
### Patch Changes
diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json
index 17886b76ce..0918dcaaac 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": "1.1.2-next.0",
+ "version": "1.1.2-next.1",
"private": false,
"publishConfig": {
"access": "public",
@@ -36,9 +36,9 @@
"@backstage/config": "^1.0.1",
"@backstage/core-app-api": "^1.0.4-next.0",
"@backstage/core-plugin-api": "^1.0.3",
- "@backstage/plugin-permission-common": "^0.6.2",
- "@backstage/plugin-permission-react": "^0.4.2",
- "@backstage/theme": "^0.2.15",
+ "@backstage/plugin-permission-common": "^0.6.3-next.0",
+ "@backstage/plugin-permission-react": "^0.4.3-next.0",
+ "@backstage/theme": "^0.2.16-next.0",
"@backstage/types": "^1.0.0",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.11.2",
@@ -55,10 +55,10 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.1",
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
- "msw": "^0.42.0"
+ "msw": "^0.43.0"
},
"files": [
"dist"
diff --git a/packages/theme/CHANGELOG.md b/packages/theme/CHANGELOG.md
index 5c3e8cf5d6..93b79b0721 100644
--- a/packages/theme/CHANGELOG.md
+++ b/packages/theme/CHANGELOG.md
@@ -1,5 +1,19 @@
# @backstage/theme
+## 0.2.16-next.1
+
+### Patch Changes
+
+- ff4f56eb49: **DEPRECATED**: The `bursts` object from `BackstagePaletteAdditions` has been depreciated and will be removed in a future release
+
+ The `genPageTheme` function now includes an optional options object with an optional `fontColor` which defaults to white if not provided.
+
+## 0.2.16-next.0
+
+### Patch Changes
+
+- 4c09c09102: Adds optional `htmlFontSize` property and also sets typography design tokens for h5 and h6 in base theme.
+
## 0.2.15
### Patch Changes
diff --git a/packages/theme/api-report.md b/packages/theme/api-report.md
index 772e868635..92958c9c7e 100644
--- a/packages/theme/api-report.md
+++ b/packages/theme/api-report.md
@@ -116,7 +116,13 @@ export function createThemeOverrides(theme: BackstageTheme): Overrides;
export const darkTheme: BackstageTheme;
// @public
-export function genPageTheme(colors: string[], shape: string): PageTheme;
+export function genPageTheme(props: {
+ colors: string[];
+ shape: string;
+ options?: {
+ fontColor?: string;
+ };
+}): PageTheme;
// @public
export const lightTheme: BackstageTheme;
@@ -126,6 +132,7 @@ export type PageTheme = {
colors: string[];
shape: string;
backgroundImage: string;
+ fontColor: string;
};
// @public
diff --git a/packages/theme/package.json b/packages/theme/package.json
index 0e4d26fbea..4cbd4d2205 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.15",
+ "version": "0.2.16-next.1",
"private": false,
"publishConfig": {
"access": "public",
@@ -36,7 +36,7 @@
"@material-ui/core": "^4.12.2"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0"
+ "@backstage/cli": "^0.18.0-next.2"
},
"files": [
"dist"
diff --git a/packages/theme/src/pageTheme.ts b/packages/theme/src/pageTheme.ts
index ae81dc8534..5b5eb24be9 100644
--- a/packages/theme/src/pageTheme.ts
+++ b/packages/theme/src/pageTheme.ts
@@ -52,6 +52,7 @@ export const colorVariants: Record = {
eveningSea: ['#00FFF2', '#035355'],
teal: ['#005B4B'],
pinkSea: ['#C8077A', '#C2297D'],
+ greens: ['#4BB8A5', '#187656'],
};
/**
@@ -63,12 +64,25 @@ export const colorVariants: Record = {
* As the background shapes and colors are decorative, we place them onto the
* page as a css background-image instead of an html element of its own.
*/
-export function genPageTheme(colors: string[], shape: string): PageTheme {
+export function genPageTheme(props: {
+ colors: string[];
+ shape: string;
+ options?: {
+ fontColor?: string;
+ };
+}): PageTheme {
+ const { colors, shape, options } = props;
const gradientColors = colors.length === 1 ? [colors[0], colors[0]] : colors;
const gradient = `linear-gradient(90deg, ${gradientColors.join(', ')})`;
const backgroundImage = `${shape}, ${gradient}`;
+ const fontColor = options?.fontColor ?? '#FFFFFF';
- return { colors, shape, backgroundImage };
+ return {
+ colors: colors,
+ shape: shape,
+ backgroundImage: backgroundImage,
+ fontColor: fontColor,
+ };
}
/**
@@ -77,13 +91,20 @@ export function genPageTheme(colors: string[], shape: string): PageTheme {
* @public
*/
export const pageTheme: Record = {
- home: genPageTheme(colorVariants.teal, shapes.wave),
- documentation: genPageTheme(colorVariants.pinkSea, shapes.wave2),
- tool: genPageTheme(colorVariants.purpleSky, shapes.round),
- service: genPageTheme(colorVariants.marineBlue, shapes.wave),
- website: genPageTheme(colorVariants.veryBlue, shapes.wave),
- library: genPageTheme(colorVariants.rubyRed, shapes.wave),
- other: genPageTheme(colorVariants.darkGrey, shapes.wave),
- app: genPageTheme(colorVariants.toastyOrange, shapes.wave),
- apis: genPageTheme(colorVariants.teal, shapes.wave2),
+ home: genPageTheme({ colors: colorVariants.teal, shape: shapes.wave }),
+ documentation: genPageTheme({
+ colors: colorVariants.pinkSea,
+ shape: shapes.wave2,
+ }),
+ tool: genPageTheme({ colors: colorVariants.purpleSky, shape: shapes.round }),
+ service: genPageTheme({
+ colors: colorVariants.marineBlue,
+ shape: shapes.wave,
+ }),
+ website: genPageTheme({ colors: colorVariants.veryBlue, shape: shapes.wave }),
+ library: genPageTheme({ colors: colorVariants.rubyRed, shape: shapes.wave }),
+ other: genPageTheme({ colors: colorVariants.darkGrey, shape: shapes.wave }),
+ app: genPageTheme({ colors: colorVariants.toastyOrange, shape: shapes.wave }),
+ apis: genPageTheme({ colors: colorVariants.teal, shape: shapes.wave2 }),
+ card: genPageTheme({ colors: colorVariants.greens, shape: shapes.wave }),
};
diff --git a/packages/theme/src/types.ts b/packages/theme/src/types.ts
index b921154005..96b7c54f9b 100644
--- a/packages/theme/src/types.ts
+++ b/packages/theme/src/types.ts
@@ -63,6 +63,9 @@ export type BackstagePaletteAdditions = {
tabbar: {
indicator: string;
};
+ /**
+ * @deprecated The entire `bursts` section will be removed in a future release
+ */
bursts: {
fontColor: string;
slackChannelText: string;
@@ -161,4 +164,5 @@ export type PageTheme = {
colors: string[];
shape: string;
backgroundImage: string;
+ fontColor: string;
};
diff --git a/packages/types/package.json b/packages/types/package.json
index 9d26ee25e7..d1410631bd 100644
--- a/packages/types/package.json
+++ b/packages/types/package.json
@@ -34,7 +34,7 @@
},
"dependencies": {},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.1",
"@types/zen-observable": "^0.8.0",
"zen-observable": "^0.8.15"
},
diff --git a/packages/version-bridge/package.json b/packages/version-bridge/package.json
index 357350bef7..4b9ce2ed11 100644
--- a/packages/version-bridge/package.json
+++ b/packages/version-bridge/package.json
@@ -37,7 +37,7 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.1",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^12.1.3",
"@testing-library/react-hooks": "^8.0.0"
diff --git a/plugins/adr-backend/CHANGELOG.md b/plugins/adr-backend/CHANGELOG.md
index 8262032252..15a0519010 100644
--- a/plugins/adr-backend/CHANGELOG.md
+++ b/plugins/adr-backend/CHANGELOG.md
@@ -1,5 +1,18 @@
# @backstage/plugin-adr-backend
+## 0.1.2-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/catalog-client@1.0.4-next.1
+ - @backstage/integration@1.2.2-next.1
+ - @backstage/plugin-adr-common@0.1.2-next.1
+ - @backstage/plugin-search-common@0.3.6-next.0
+
## 0.1.2-next.0
### Patch Changes
diff --git a/plugins/adr-backend/package.json b/plugins/adr-backend/package.json
index 7ed696a650..be04a712cc 100644
--- a/plugins/adr-backend/package.json
+++ b/plugins/adr-backend/package.json
@@ -1,6 +1,6 @@
{
"name": "@backstage/plugin-adr-backend",
- "version": "0.1.2-next.0",
+ "version": "0.1.2-next.1",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -29,14 +29,14 @@
"postpack": "backstage-cli package postpack"
},
"dependencies": {
- "@backstage/backend-common": "^0.14.1-next.0",
- "@backstage/catalog-client": "^1.0.4-next.0",
- "@backstage/catalog-model": "^1.1.0-next.0",
+ "@backstage/backend-common": "^0.14.1-next.1",
+ "@backstage/catalog-client": "^1.0.4-next.1",
+ "@backstage/catalog-model": "^1.1.0-next.1",
"@backstage/config": "^1.0.1",
- "@backstage/errors": "^1.0.0",
- "@backstage/integration": "^1.2.2-next.0",
- "@backstage/plugin-adr-common": "^0.1.2-next.0",
- "@backstage/plugin-search-common": "^0.3.5",
+ "@backstage/errors": "^1.1.0-next.0",
+ "@backstage/integration": "^1.2.2-next.1",
+ "@backstage/plugin-adr-common": "^0.1.2-next.1",
+ "@backstage/plugin-search-common": "^0.3.6-next.0",
"luxon": "^2.0.2",
"marked": "^4.0.14",
"winston": "^3.2.1",
@@ -44,11 +44,11 @@
"yn": "^4.0.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.1",
"@types/marked": "^4.0.0",
"@types/supertest": "^2.0.8",
"supertest": "^6.1.3",
- "msw": "^0.42.0"
+ "msw": "^0.43.0"
},
"files": [
"dist"
diff --git a/plugins/adr-common/CHANGELOG.md b/plugins/adr-common/CHANGELOG.md
index 07bbac4e8e..e07697118c 100644
--- a/plugins/adr-common/CHANGELOG.md
+++ b/plugins/adr-common/CHANGELOG.md
@@ -1,5 +1,14 @@
# @backstage/plugin-adr-common
+## 0.1.2-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/integration@1.2.2-next.1
+ - @backstage/plugin-search-common@0.3.6-next.0
+
## 0.1.2-next.0
### Patch Changes
diff --git a/plugins/adr-common/package.json b/plugins/adr-common/package.json
index fee09a03e1..a0567fb5b8 100644
--- a/plugins/adr-common/package.json
+++ b/plugins/adr-common/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-adr-common",
"description": "Common functionalities for the adr plugin",
- "version": "0.1.2-next.0",
+ "version": "0.1.2-next.1",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -30,12 +30,12 @@
"postpack": "backstage-cli package postpack"
},
"dependencies": {
- "@backstage/catalog-model": "^1.1.0-next.0",
- "@backstage/integration": "^1.2.2-next.0",
- "@backstage/plugin-search-common": "^0.3.5"
+ "@backstage/catalog-model": "^1.1.0-next.1",
+ "@backstage/integration": "^1.2.2-next.1",
+ "@backstage/plugin-search-common": "^0.3.6-next.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0"
+ "@backstage/cli": "^0.18.0-next.1"
},
"files": [
"dist"
diff --git a/plugins/adr/CHANGELOG.md b/plugins/adr/CHANGELOG.md
index 7d0e47a5f1..efad1034a8 100644
--- a/plugins/adr/CHANGELOG.md
+++ b/plugins/adr/CHANGELOG.md
@@ -1,5 +1,38 @@
# @backstage/plugin-adr
+## 0.1.2-next.2
+
+### Patch Changes
+
+- e2d7b76f43: Upgrade git-url-parse to 12.0.0.
+
+ Motivation for upgrade is transitively upgrading parse-url which is vulnerable
+ to several CVEs detected by Snyk.
+
+ - SNYK-JS-PARSEURL-2935944
+ - SNYK-JS-PARSEURL-2935947
+ - SNYK-JS-PARSEURL-2936249
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/plugin-search-react@0.2.2-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+ - @backstage/integration-react@1.1.2-next.2
+
+## 0.1.2-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/integration-react@1.1.2-next.1
+ - @backstage/plugin-adr-common@0.1.2-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+ - @backstage/plugin-search-common@0.3.6-next.0
+ - @backstage/plugin-search-react@0.2.2-next.1
+
## 0.1.2-next.0
### Patch Changes
diff --git a/plugins/adr/package.json b/plugins/adr/package.json
index 4bff140277..80d24e7223 100644
--- a/plugins/adr/package.json
+++ b/plugins/adr/package.json
@@ -1,6 +1,6 @@
{
"name": "@backstage/plugin-adr",
- "version": "0.1.2-next.0",
+ "version": "0.1.2-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -22,18 +22,18 @@
"postpack": "backstage-cli package postpack"
},
"dependencies": {
- "@backstage/core-components": "^0.9.6-next.0",
+ "@backstage/core-components": "^0.10.0-next.2",
"@backstage/core-plugin-api": "^1.0.3",
- "@backstage/integration-react": "^1.1.2-next.0",
- "@backstage/plugin-adr-common": "^0.1.2-next.0",
- "@backstage/plugin-catalog-react": "^1.1.2-next.0",
- "@backstage/plugin-search-common": "^0.3.5",
- "@backstage/plugin-search-react": "^0.2.2-next.0",
- "@backstage/theme": "^0.2.15",
+ "@backstage/integration-react": "^1.1.2-next.2",
+ "@backstage/plugin-adr-common": "^0.1.2-next.1",
+ "@backstage/plugin-catalog-react": "^1.1.2-next.2",
+ "@backstage/plugin-search-common": "^0.3.6-next.0",
+ "@backstage/plugin-search-react": "^0.2.2-next.2",
+ "@backstage/theme": "^0.2.16-next.1",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "4.0.0-alpha.57",
- "git-url-parse": "^11.6.0",
+ "git-url-parse": "^12.0.0",
"octokit": "^1.7.1",
"react-markdown": "^8.0.0",
"react-router-dom": "6.0.0-beta.0",
@@ -44,10 +44,10 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.2",
"@backstage/core-app-api": "^1.0.4-next.0",
- "@backstage/dev-utils": "^1.0.4-next.0",
- "@backstage/test-utils": "^1.1.2-next.0",
+ "@backstage/dev-utils": "^1.0.4-next.2",
+ "@backstage/test-utils": "^1.1.2-next.1",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
@@ -55,7 +55,7 @@
"@types/jest": "*",
"@types/node": "*",
"cross-fetch": "^3.1.5",
- "msw": "^0.42.0"
+ "msw": "^0.43.0"
},
"files": [
"dist"
diff --git a/plugins/airbrake-backend/package.json b/plugins/airbrake-backend/package.json
index 979137cbff..900161364c 100644
--- a/plugins/airbrake-backend/package.json
+++ b/plugins/airbrake-backend/package.json
@@ -22,7 +22,7 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
- "@backstage/backend-common": "^0.14.1-next.0",
+ "@backstage/backend-common": "^0.14.1-next.1",
"@backstage/config": "^1.0.1",
"@types/express": "*",
"express": "^4.17.1",
@@ -33,11 +33,11 @@
"yn": "^4.0.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.1",
"@types/http-proxy-middleware": "^0.19.3",
"@types/supertest": "^2.0.8",
"supertest": "^6.1.6",
- "msw": "^0.42.0"
+ "msw": "^0.43.0"
},
"files": [
"dist",
diff --git a/plugins/airbrake/CHANGELOG.md b/plugins/airbrake/CHANGELOG.md
index b1a86b6e22..0be1badd9e 100644
--- a/plugins/airbrake/CHANGELOG.md
+++ b/plugins/airbrake/CHANGELOG.md
@@ -1,5 +1,28 @@
# @backstage/plugin-airbrake
+## 0.3.7-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+ - @backstage/dev-utils@1.0.4-next.2
+
+## 0.3.7-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/dev-utils@1.0.4-next.1
+ - @backstage/test-utils@1.1.2-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
## 0.3.7-next.0
### Patch Changes
diff --git a/plugins/airbrake/package.json b/plugins/airbrake/package.json
index 755e99c522..2f93d533cc 100644
--- a/plugins/airbrake/package.json
+++ b/plugins/airbrake/package.json
@@ -1,6 +1,6 @@
{
"name": "@backstage/plugin-airbrake",
- "version": "0.3.7-next.0",
+ "version": "0.3.7-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -23,13 +23,13 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
- "@backstage/catalog-model": "^1.1.0-next.0",
- "@backstage/core-components": "^0.9.6-next.0",
+ "@backstage/catalog-model": "^1.1.0-next.2",
+ "@backstage/core-components": "^0.10.0-next.2",
"@backstage/core-plugin-api": "^1.0.3",
- "@backstage/dev-utils": "^1.0.4-next.0",
- "@backstage/plugin-catalog-react": "^1.1.2-next.0",
- "@backstage/test-utils": "^1.1.2-next.0",
- "@backstage/theme": "^0.2.15",
+ "@backstage/dev-utils": "^1.0.4-next.2",
+ "@backstage/plugin-catalog-react": "^1.1.2-next.2",
+ "@backstage/test-utils": "^1.1.2-next.1",
+ "@backstage/theme": "^0.2.16-next.1",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "4.0.0-alpha.57",
@@ -40,10 +40,10 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
- "@backstage/app-defaults": "^1.0.4-next.0",
- "@backstage/cli": "^0.17.3-next.0",
- "@backstage/dev-utils": "^1.0.4-next.0",
- "@backstage/test-utils": "^1.1.2-next.0",
+ "@backstage/app-defaults": "^1.0.4-next.2",
+ "@backstage/cli": "^0.18.0-next.2",
+ "@backstage/dev-utils": "^1.0.4-next.2",
+ "@backstage/test-utils": "^1.1.2-next.1",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
@@ -51,7 +51,7 @@
"@types/node": "^16.11.26",
"@types/object-hash": "^2.2.1",
"cross-fetch": "^3.1.5",
- "msw": "^0.42.0",
+ "msw": "^0.43.0",
"react-router": "6.0.0-beta.0"
},
"files": [
diff --git a/plugins/allure/CHANGELOG.md b/plugins/allure/CHANGELOG.md
index 06f84b5f42..8f09da737c 100644
--- a/plugins/allure/CHANGELOG.md
+++ b/plugins/allure/CHANGELOG.md
@@ -1,5 +1,25 @@
# @backstage/plugin-allure
+## 0.1.23-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## 0.1.23-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
## 0.1.23-next.0
### Patch Changes
diff --git a/plugins/allure/package.json b/plugins/allure/package.json
index 2499a70f28..c98b8b7d63 100644
--- a/plugins/allure/package.json
+++ b/plugins/allure/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-allure",
"description": "A Backstage plugin that integrates with Allure",
- "version": "0.1.23-next.0",
+ "version": "0.1.23-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -25,11 +25,11 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
- "@backstage/catalog-model": "^1.1.0-next.0",
- "@backstage/core-components": "^0.9.6-next.0",
+ "@backstage/catalog-model": "^1.1.0-next.2",
+ "@backstage/core-components": "^0.10.0-next.2",
"@backstage/core-plugin-api": "^1.0.3",
- "@backstage/plugin-catalog-react": "^1.1.2-next.0",
- "@backstage/theme": "^0.2.15",
+ "@backstage/plugin-catalog-react": "^1.1.2-next.2",
+ "@backstage/theme": "^0.2.16-next.1",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "4.0.0-alpha.57",
@@ -40,17 +40,17 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.2",
"@backstage/core-app-api": "^1.0.4-next.0",
- "@backstage/dev-utils": "^1.0.4-next.0",
- "@backstage/test-utils": "^1.1.2-next.0",
+ "@backstage/dev-utils": "^1.0.4-next.2",
+ "@backstage/test-utils": "^1.1.2-next.1",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
- "msw": "^0.42.0"
+ "msw": "^0.43.0"
},
"files": [
"dist"
diff --git a/plugins/analytics-module-ga/CHANGELOG.md b/plugins/analytics-module-ga/CHANGELOG.md
index d9fe0e6c0d..edbc67981a 100644
--- a/plugins/analytics-module-ga/CHANGELOG.md
+++ b/plugins/analytics-module-ga/CHANGELOG.md
@@ -1,5 +1,21 @@
# @backstage/plugin-analytics-module-ga
+## 0.1.18-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/theme@0.2.16-next.1
+
+## 0.1.18-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/theme@0.2.16-next.0
+
## 0.1.18-next.0
### Patch Changes
diff --git a/plugins/analytics-module-ga/package.json b/plugins/analytics-module-ga/package.json
index 0b137d5a44..23532af5fa 100644
--- a/plugins/analytics-module-ga/package.json
+++ b/plugins/analytics-module-ga/package.json
@@ -1,6 +1,6 @@
{
"name": "@backstage/plugin-analytics-module-ga",
- "version": "0.1.18-next.0",
+ "version": "0.1.18-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -25,9 +25,9 @@
},
"dependencies": {
"@backstage/config": "^1.0.1",
- "@backstage/core-components": "^0.9.6-next.0",
+ "@backstage/core-components": "^0.10.0-next.2",
"@backstage/core-plugin-api": "^1.0.3",
- "@backstage/theme": "^0.2.15",
+ "@backstage/theme": "^0.2.16-next.1",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "4.0.0-alpha.57",
@@ -38,17 +38,17 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.2",
"@backstage/core-app-api": "^1.0.4-next.0",
- "@backstage/dev-utils": "^1.0.4-next.0",
- "@backstage/test-utils": "^1.1.2-next.0",
+ "@backstage/dev-utils": "^1.0.4-next.2",
+ "@backstage/test-utils": "^1.1.2-next.1",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
- "msw": "^0.42.0"
+ "msw": "^0.43.0"
},
"files": [
"dist",
diff --git a/plugins/apache-airflow/CHANGELOG.md b/plugins/apache-airflow/CHANGELOG.md
index 73c1c2ae18..920dcf5686 100644
--- a/plugins/apache-airflow/CHANGELOG.md
+++ b/plugins/apache-airflow/CHANGELOG.md
@@ -1,5 +1,23 @@
# @backstage/plugin-apache-airflow
+## 0.2.0-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+
+## 0.2.0-next.1
+
+### Minor Changes
+
+- 01f976ea72: Exposed DagTableComponent as standalone component + added a prop to get only select DAGs instead of the full list
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+
## 0.1.15-next.0
### Patch Changes
diff --git a/plugins/apache-airflow/package.json b/plugins/apache-airflow/package.json
index 63f444075e..657ecc7ad6 100644
--- a/plugins/apache-airflow/package.json
+++ b/plugins/apache-airflow/package.json
@@ -1,6 +1,6 @@
{
"name": "@backstage/plugin-apache-airflow",
- "version": "0.1.15-next.0",
+ "version": "0.2.0-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -23,7 +23,7 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
- "@backstage/core-components": "^0.9.6-next.0",
+ "@backstage/core-components": "^0.10.0-next.2",
"@backstage/core-plugin-api": "^1.0.3",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
@@ -36,16 +36,16 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.2",
"@backstage/core-app-api": "^1.0.4-next.0",
- "@backstage/dev-utils": "^1.0.4-next.0",
- "@backstage/test-utils": "^1.1.2-next.0",
+ "@backstage/dev-utils": "^1.0.4-next.2",
+ "@backstage/test-utils": "^1.1.2-next.1",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
- "msw": "^0.42.0"
+ "msw": "^0.43.0"
},
"files": [
"dist",
diff --git a/plugins/api-docs-module-protoc-gen-doc/package.json b/plugins/api-docs-module-protoc-gen-doc/package.json
index 2ce03b5803..00409845d0 100644
--- a/plugins/api-docs-module-protoc-gen-doc/package.json
+++ b/plugins/api-docs-module-protoc-gen-doc/package.json
@@ -37,7 +37,7 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.1",
"@testing-library/jest-dom": "^5.16.4",
"@types/react": "^16.13.1 || ^17.0.0"
},
diff --git a/plugins/api-docs/CHANGELOG.md b/plugins/api-docs/CHANGELOG.md
index f5998235ca..6b2e54f018 100644
--- a/plugins/api-docs/CHANGELOG.md
+++ b/plugins/api-docs/CHANGELOG.md
@@ -1,5 +1,28 @@
# @backstage/plugin-api-docs
+## 0.8.7-next.2
+
+### Patch Changes
+
+- a274fe38b9: Add hidden title column to catalog and API table to enable filtering by title.
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog@1.4.0-next.2
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## 0.8.7-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/plugin-catalog@1.3.1-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
## 0.8.7-next.0
### Patch Changes
diff --git a/plugins/api-docs/package.json b/plugins/api-docs/package.json
index 9db7530f84..b6d54ab952 100644
--- a/plugins/api-docs/package.json
+++ b/plugins/api-docs/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-api-docs",
"description": "A Backstage plugin that helps represent API entities in the frontend",
- "version": "0.8.7-next.0",
+ "version": "0.8.7-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -33,13 +33,13 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
- "@asyncapi/react-component": "1.0.0-next.38",
- "@backstage/catalog-model": "^1.1.0-next.0",
- "@backstage/core-components": "^0.9.6-next.0",
+ "@asyncapi/react-component": "1.0.0-next.39",
+ "@backstage/catalog-model": "^1.1.0-next.2",
+ "@backstage/core-components": "^0.10.0-next.2",
"@backstage/core-plugin-api": "^1.0.3",
- "@backstage/plugin-catalog": "^1.3.1-next.0",
- "@backstage/plugin-catalog-react": "^1.1.2-next.0",
- "@backstage/theme": "^0.2.15",
+ "@backstage/plugin-catalog": "^1.4.0-next.2",
+ "@backstage/plugin-catalog-react": "^1.1.2-next.2",
+ "@backstage/theme": "^0.2.16-next.1",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "4.0.0-alpha.57",
@@ -57,10 +57,10 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.2",
"@backstage/core-app-api": "^1.0.4-next.0",
- "@backstage/dev-utils": "^1.0.4-next.0",
- "@backstage/test-utils": "^1.1.2-next.0",
+ "@backstage/dev-utils": "^1.0.4-next.2",
+ "@backstage/test-utils": "^1.1.2-next.1",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
@@ -68,7 +68,7 @@
"@types/node": "^16.11.26",
"@types/swagger-ui-react": "^4.1.1",
"cross-fetch": "^3.1.5",
- "msw": "^0.42.0"
+ "msw": "^0.43.0"
},
"files": [
"dist"
diff --git a/plugins/api-docs/src/components/ApiExplorerPage/DefaultApiExplorerPage.tsx b/plugins/api-docs/src/components/ApiExplorerPage/DefaultApiExplorerPage.tsx
index 9fc6b2c3c2..b0acd3567c 100644
--- a/plugins/api-docs/src/components/ApiExplorerPage/DefaultApiExplorerPage.tsx
+++ b/plugins/api-docs/src/components/ApiExplorerPage/DefaultApiExplorerPage.tsx
@@ -40,6 +40,7 @@ import React from 'react';
import { registerComponentRouteRef } from '../../routes';
const defaultColumns: TableColumn[] = [
+ CatalogTable.columns.createTitleColumn({ hidden: true }),
CatalogTable.columns.createNameColumn({ defaultKind: 'API' }),
CatalogTable.columns.createSystemColumn(),
CatalogTable.columns.createOwnerColumn(),
diff --git a/plugins/app-backend/CHANGELOG.md b/plugins/app-backend/CHANGELOG.md
index aa3baa77da..0282527437 100644
--- a/plugins/app-backend/CHANGELOG.md
+++ b/plugins/app-backend/CHANGELOG.md
@@ -1,5 +1,21 @@
# @backstage/plugin-app-backend
+## 0.3.34-next.2
+
+### Patch Changes
+
+- 679b32172e: Updated dependency `knex` to `^2.0.0`.
+- Updated dependencies
+ - @backstage/backend-common@0.14.1-next.2
+
+## 0.3.34-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/config-loader@1.1.3-next.0
+
## 0.3.34-next.0
### Patch Changes
diff --git a/plugins/app-backend/package.json b/plugins/app-backend/package.json
index 173b15c80c..b25a162f4a 100644
--- a/plugins/app-backend/package.json
+++ b/plugins/app-backend/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-app-backend",
"description": "A Backstage backend plugin that serves the Backstage frontend app",
- "version": "0.3.34-next.0",
+ "version": "0.3.34-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -33,8 +33,8 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
- "@backstage/backend-common": "^0.14.1-next.0",
- "@backstage/config-loader": "^1.1.2",
+ "@backstage/backend-common": "^0.14.1-next.2",
+ "@backstage/config-loader": "^1.1.3-next.0",
"@backstage/config": "^1.0.1",
"@backstage/types": "^1.0.0",
"@types/express": "^4.17.6",
@@ -43,19 +43,19 @@
"express-promise-router": "^4.1.0",
"fs-extra": "10.1.0",
"helmet": "^5.0.2",
- "knex": "^1.0.2",
+ "knex": "^2.0.0",
"lodash": "^4.17.21",
"luxon": "^2.0.2",
"winston": "^3.2.1",
"yn": "^4.0.0"
},
"devDependencies": {
- "@backstage/backend-test-utils": "^0.1.26-next.0",
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/backend-test-utils": "^0.1.26-next.2",
+ "@backstage/cli": "^0.18.0-next.2",
"@backstage/types": "^1.0.0",
"@types/supertest": "^2.0.8",
"mock-fs": "^5.1.0",
- "msw": "^0.42.0",
+ "msw": "^0.43.0",
"supertest": "^6.1.3"
},
"files": [
diff --git a/plugins/auth-backend/CHANGELOG.md b/plugins/auth-backend/CHANGELOG.md
index 00c8669c4d..8e6e79d97e 100644
--- a/plugins/auth-backend/CHANGELOG.md
+++ b/plugins/auth-backend/CHANGELOG.md
@@ -1,5 +1,37 @@
# @backstage/plugin-auth-backend
+## 0.15.0-next.2
+
+### Patch Changes
+
+- 8e03db907a: Auth provider now also export createAuthProviderIntegration
+- 679b32172e: Updated dependency `knex` to `^2.0.0`.
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/backend-common@0.14.1-next.2
+
+## 0.15.0-next.1
+
+### Minor Changes
+
+- 9d4040777e: **BREAKING**: Removed all directly exported auth provider factories, option types, and sign-in resolvers. For example: `AwsAlbProviderOptions`, `bitbucketUserIdSignInResolver`, `createGithubProvider`. These are all still accessible via the `providers` export. For example, use `providers.github.create()` rather than `createGithubProvider()`, and `providers.bitbucket.resolvers.userIdMatchingUserEntityAnnotation()` rather than `bitbucketUserIdSignInResolver`.
+
+ **BREAKING**: Removed the exported `AuthProviderFactoryOptions` type as well as the deprecated option fields of the `AuthProviderFactory` callback. This includes the `tokenManager`, `tokenIssuer`, `discovery`, and `catalogApi` fields. Existing usage of these should be replaced with the new utilities in the `resolverContext` field. The deprecated `TokenIssuer` type is now also removed, since it is no longer used.
+
+ **BREAKING**: Removed `getEntityClaims`, use `getDefaultOwnershipEntityRefs` instead.
+
+ **DEPRECATION**: Deprecated `AtlassianAuthProvider` as it was unintentionally exported.
+
+### Patch Changes
+
+- f2cf79d62e: Added an option for the auth backend router to select the algorithm for the JWT token signing keys
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/catalog-client@1.0.4-next.1
+ - @backstage/plugin-auth-node@0.2.3-next.1
+
## 0.14.2-next.0
### Patch Changes
diff --git a/plugins/auth-backend/api-report.md b/plugins/auth-backend/api-report.md
index 9e567cc6ab..8c9ec14c9e 100644
--- a/plugins/auth-backend/api-report.md
+++ b/plugins/auth-backend/api-report.md
@@ -181,6 +181,22 @@ export type CookieConfigurer = (ctx: {
secure: boolean;
};
+// Warning: (ae-missing-release-tag) "createAuthProviderIntegration" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
+//
+// @public
+export function createAuthProviderIntegration<
+ TCreateOptions extends unknown[],
+ TResolvers extends {
+ [name in string]: (...args: any[]) => SignInResolver;
+ },
+>(config: {
+ create: (...args: TCreateOptions) => AuthProviderFactory;
+ resolvers?: TResolvers;
+}): Readonly<{
+ create: (...args: TCreateOptions) => AuthProviderFactory;
+ resolvers: Readonly;
+}>;
+
// Warning: (ae-missing-release-tag) "createOriginFilter" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
@@ -650,6 +666,8 @@ export interface RouterOptions {
// (undocumented)
providerFactories?: ProviderFactories;
// (undocumented)
+ tokenFactoryAlgorithm?: string;
+ // (undocumented)
tokenManager: TokenManager;
}
diff --git a/plugins/auth-backend/package.json b/plugins/auth-backend/package.json
index c1fe319e3c..d6b027e6ea 100644
--- a/plugins/auth-backend/package.json
+++ b/plugins/auth-backend/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-auth-backend",
"description": "A Backstage backend plugin that handles authentication",
- "version": "0.14.2-next.0",
+ "version": "0.15.0-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -33,12 +33,12 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
- "@backstage/plugin-auth-node": "^0.2.3-next.0",
- "@backstage/backend-common": "^0.14.1-next.0",
- "@backstage/catalog-client": "^1.0.4-next.0",
- "@backstage/catalog-model": "^1.1.0-next.0",
+ "@backstage/plugin-auth-node": "^0.2.3-next.1",
+ "@backstage/backend-common": "^0.14.1-next.2",
+ "@backstage/catalog-client": "^1.0.4-next.1",
+ "@backstage/catalog-model": "^1.1.0-next.2",
"@backstage/config": "^1.0.1",
- "@backstage/errors": "^1.0.0",
+ "@backstage/errors": "^1.1.0-next.0",
"@backstage/types": "^1.0.0",
"@google-cloud/firestore": "^5.0.2",
"@types/express": "^4.17.6",
@@ -53,7 +53,7 @@
"google-auth-library": "^8.0.0",
"jose": "^4.6.0",
"jwt-decode": "^3.1.0",
- "knex": "^1.0.2",
+ "knex": "^2.0.0",
"lodash": "^4.17.21",
"luxon": "^2.0.2",
"minimatch": "^5.0.0",
@@ -76,8 +76,8 @@
"yn": "^4.0.0"
},
"devDependencies": {
- "@backstage/backend-test-utils": "^0.1.26-next.0",
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/backend-test-utils": "^0.1.26-next.2",
+ "@backstage/cli": "^0.18.0-next.2",
"@types/body-parser": "^1.19.0",
"@types/cookie-parser": "^1.4.2",
"@types/express-session": "^1.17.2",
@@ -88,7 +88,7 @@
"@types/passport-saml": "^1.1.3",
"@types/passport-strategy": "^0.2.35",
"@types/xml2js": "^0.4.7",
- "msw": "^0.42.0",
+ "msw": "^0.43.0",
"supertest": "^6.1.3"
},
"files": [
diff --git a/plugins/auth-backend/src/providers/index.ts b/plugins/auth-backend/src/providers/index.ts
index de410a9407..41ee44beae 100644
--- a/plugins/auth-backend/src/providers/index.ts
+++ b/plugins/auth-backend/src/providers/index.ts
@@ -28,6 +28,8 @@ export type { GcpIapResult, GcpIapTokenInfo } from './gcp-iap';
export { providers, defaultAuthProviderFactories } from './providers';
+export { createAuthProviderIntegration } from './createAuthProviderIntegration';
+
export type {
AuthProviderConfig,
AuthProviderRouteHandlers,
diff --git a/plugins/auth-backend/src/service/router.ts b/plugins/auth-backend/src/service/router.ts
index 50577ece53..e4fa5eeea4 100644
--- a/plugins/auth-backend/src/service/router.ts
+++ b/plugins/auth-backend/src/service/router.ts
@@ -44,6 +44,7 @@ export interface RouterOptions {
config: Config;
discovery: PluginEndpointDiscovery;
tokenManager: TokenManager;
+ tokenFactoryAlgorithm?: string;
providerFactories?: ProviderFactories;
}
@@ -56,6 +57,7 @@ export async function createRouter(
discovery,
database,
tokenManager,
+ tokenFactoryAlgorithm,
providerFactories,
} = options;
const router = Router();
@@ -71,6 +73,7 @@ export async function createRouter(
keyStore,
keyDurationSeconds,
logger: logger.child({ component: 'token-factory' }),
+ algorithm: tokenFactoryAlgorithm,
});
const catalogApi = new CatalogClient({ discoveryApi: discovery });
@@ -137,6 +140,7 @@ export async function createRouter(
}
if (provider.refresh) {
r.get('/refresh', provider.refresh.bind(provider));
+ r.post('/refresh', provider.refresh.bind(provider));
}
router.use(`/${providerId}`, r);
diff --git a/plugins/auth-node/CHANGELOG.md b/plugins/auth-node/CHANGELOG.md
index 68fef0b00d..43bf44ac8e 100644
--- a/plugins/auth-node/CHANGELOG.md
+++ b/plugins/auth-node/CHANGELOG.md
@@ -1,5 +1,13 @@
# @backstage/plugin-auth-node
+## 0.2.3-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+
## 0.2.3-next.0
### Patch Changes
diff --git a/plugins/auth-node/package.json b/plugins/auth-node/package.json
index bac48aa559..011aade178 100644
--- a/plugins/auth-node/package.json
+++ b/plugins/auth-node/package.json
@@ -1,6 +1,6 @@
{
"name": "@backstage/plugin-auth-node",
- "version": "0.2.3-next.0",
+ "version": "0.2.3-next.1",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -23,17 +23,17 @@
"start": "backstage-cli package start"
},
"dependencies": {
- "@backstage/backend-common": "^0.14.1-next.0",
+ "@backstage/backend-common": "^0.14.1-next.1",
"@backstage/config": "^1.0.1",
- "@backstage/errors": "^1.0.0",
+ "@backstage/errors": "^1.1.0-next.0",
"jose": "^4.6.0",
"node-fetch": "^2.6.7",
"winston": "^3.2.1"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.1",
"lodash": "^4.17.21",
- "msw": "^0.42.0",
+ "msw": "^0.43.0",
"uuid": "^8.0.0"
},
"files": [
diff --git a/plugins/azure-devops-backend/package.json b/plugins/azure-devops-backend/package.json
index d0fd5eaf80..cff9eaf07e 100644
--- a/plugins/azure-devops-backend/package.json
+++ b/plugins/azure-devops-backend/package.json
@@ -23,7 +23,7 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
- "@backstage/backend-common": "^0.14.1-next.0",
+ "@backstage/backend-common": "^0.14.1-next.1",
"@backstage/config": "^1.0.1",
"@backstage/plugin-azure-devops-common": "^0.2.3",
"@types/express": "^4.17.6",
@@ -35,10 +35,10 @@
"yn": "^4.0.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.1",
"@types/supertest": "^2.0.8",
"supertest": "^6.1.6",
- "msw": "^0.42.0"
+ "msw": "^0.43.0"
},
"files": [
"dist",
diff --git a/plugins/azure-devops-common/package.json b/plugins/azure-devops-common/package.json
index 2e39961ca8..f0f137ac52 100644
--- a/plugins/azure-devops-common/package.json
+++ b/plugins/azure-devops-common/package.json
@@ -32,7 +32,7 @@
"clean": "backstage-cli package clean"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0"
+ "@backstage/cli": "^0.18.0-next.1"
},
"files": [
"dist"
diff --git a/plugins/azure-devops/CHANGELOG.md b/plugins/azure-devops/CHANGELOG.md
index 297dc81883..79a58574f3 100644
--- a/plugins/azure-devops/CHANGELOG.md
+++ b/plugins/azure-devops/CHANGELOG.md
@@ -1,5 +1,26 @@
# @backstage/plugin-azure-devops
+## 0.1.23-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## 0.1.23-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
## 0.1.23-next.0
### Patch Changes
diff --git a/plugins/azure-devops/package.json b/plugins/azure-devops/package.json
index 5375737866..6ab9760f66 100644
--- a/plugins/azure-devops/package.json
+++ b/plugins/azure-devops/package.json
@@ -1,6 +1,6 @@
{
"name": "@backstage/plugin-azure-devops",
- "version": "0.1.23-next.0",
+ "version": "0.1.23-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -30,13 +30,13 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
- "@backstage/catalog-model": "^1.1.0-next.0",
- "@backstage/core-components": "^0.9.6-next.0",
+ "@backstage/catalog-model": "^1.1.0-next.2",
+ "@backstage/core-components": "^0.10.0-next.2",
"@backstage/core-plugin-api": "^1.0.3",
- "@backstage/errors": "^1.0.0",
+ "@backstage/errors": "^1.1.0-next.0",
"@backstage/plugin-azure-devops-common": "^0.2.3",
- "@backstage/plugin-catalog-react": "^1.1.2-next.0",
- "@backstage/theme": "^0.2.15",
+ "@backstage/plugin-catalog-react": "^1.1.2-next.2",
+ "@backstage/theme": "^0.2.16-next.1",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "4.0.0-alpha.57",
@@ -49,17 +49,17 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.2",
"@backstage/core-app-api": "^1.0.4-next.0",
- "@backstage/dev-utils": "^1.0.4-next.0",
- "@backstage/test-utils": "^1.1.2-next.0",
+ "@backstage/dev-utils": "^1.0.4-next.2",
+ "@backstage/test-utils": "^1.1.2-next.1",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
- "msw": "^0.42.0"
+ "msw": "^0.43.0"
},
"files": [
"dist"
diff --git a/plugins/badges-backend/CHANGELOG.md b/plugins/badges-backend/CHANGELOG.md
index 6f69cf8662..779625184e 100644
--- a/plugins/badges-backend/CHANGELOG.md
+++ b/plugins/badges-backend/CHANGELOG.md
@@ -1,5 +1,24 @@
# @backstage/plugin-badges-backend
+## 0.1.28-next.2
+
+### Patch Changes
+
+- 58fd5ee9d5: Add missing installation instructions
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/backend-common@0.14.1-next.2
+
+## 0.1.28-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/catalog-client@1.0.4-next.1
+
## 0.1.28-next.0
### Patch Changes
diff --git a/plugins/badges-backend/README.md b/plugins/badges-backend/README.md
index bdbfac3fa5..63e43c6692 100644
--- a/plugins/badges-backend/README.md
+++ b/plugins/badges-backend/README.md
@@ -11,8 +11,14 @@ endpoint.
## Installation
-Install the `@backstage/plugin-badges-backend` package in your backend package,
-and then integrate the plugin using the following default setup for
+Install the `@backstage/plugin-badges-backend` package in your backend package:
+
+```bash
+# From your Backstage root directory
+yarn add --cwd packages/backend @backstage/plugin-badges-backend
+```
+
+Add the plugin using the following default setup for
`src/plugins/badges.ts`:
```ts
@@ -39,6 +45,34 @@ the badges-backend `createRouter()` to forward to the default badge builder. To
customize the available badges, provide a custom set of badge factories. See
further down for an example of a custom badge factories function.
+Finally, you have to make the following changes in `src/index.ts`:
+
+```ts
+// 1. import the plugin
+import badges from './plugins/badges';
+
+...
+
+const config = await loadBackendConfig({
+ argv: process.argv,
+ logger: rootLogger,
+});
+const createEnv = makeCreateEnv(config);
+
+ ...
+ // 2. Create a PluginEnvironment for the Badges plugin
+ const badgesEnv = useHotMemoize(module, () => createEnv('badges'));
+
+ ...
+
+ const apiRouter = Router();
+ ...
+ // 3. Register the badges plugin in the router
+ apiRouter.use('/badges', await badges(badgesEnv));
+ ...
+ apiRouter.use(notFoundHandler());
+```
+
## Badge builder
Badges are created by classes implementing the `BadgeBuilder` type. The default
diff --git a/plugins/badges-backend/package.json b/plugins/badges-backend/package.json
index b7a727c3b0..1e0bc62b15 100644
--- a/plugins/badges-backend/package.json
+++ b/plugins/badges-backend/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-badges-backend",
"description": "A Backstage backend plugin that generates README badges for your entities",
- "version": "0.1.28-next.0",
+ "version": "0.1.28-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -34,11 +34,11 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
- "@backstage/backend-common": "^0.14.1-next.0",
- "@backstage/catalog-client": "^1.0.4-next.0",
- "@backstage/catalog-model": "^1.1.0-next.0",
+ "@backstage/backend-common": "^0.14.1-next.2",
+ "@backstage/catalog-client": "^1.0.4-next.1",
+ "@backstage/catalog-model": "^1.1.0-next.2",
"@backstage/config": "^1.0.1",
- "@backstage/errors": "^1.0.0",
+ "@backstage/errors": "^1.1.0-next.0",
"@types/express": "^4.17.6",
"badge-maker": "^3.3.0",
"cors": "^2.8.5",
@@ -48,7 +48,7 @@
"yn": "^4.0.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.2",
"@types/supertest": "^2.0.8",
"supertest": "^6.1.3"
},
diff --git a/plugins/badges/CHANGELOG.md b/plugins/badges/CHANGELOG.md
index 0d789f0f3d..b6fc662c3a 100644
--- a/plugins/badges/CHANGELOG.md
+++ b/plugins/badges/CHANGELOG.md
@@ -1,5 +1,26 @@
# @backstage/plugin-badges
+## 0.2.31-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## 0.2.31-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
## 0.2.31-next.0
### Patch Changes
diff --git a/plugins/badges/package.json b/plugins/badges/package.json
index c12aedee98..6972ba80ae 100644
--- a/plugins/badges/package.json
+++ b/plugins/badges/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-badges",
"description": "A Backstage plugin that generates README badges for your entities",
- "version": "0.2.31-next.0",
+ "version": "0.2.31-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -30,12 +30,12 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
- "@backstage/catalog-model": "^1.1.0-next.0",
- "@backstage/core-components": "^0.9.6-next.0",
+ "@backstage/catalog-model": "^1.1.0-next.2",
+ "@backstage/core-components": "^0.10.0-next.2",
"@backstage/core-plugin-api": "^1.0.3",
- "@backstage/errors": "^1.0.0",
- "@backstage/plugin-catalog-react": "^1.1.2-next.0",
- "@backstage/theme": "^0.2.15",
+ "@backstage/errors": "^1.1.0-next.0",
+ "@backstage/plugin-catalog-react": "^1.1.2-next.2",
+ "@backstage/theme": "^0.2.16-next.1",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "4.0.0-alpha.57",
@@ -46,17 +46,17 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.2",
"@backstage/core-app-api": "^1.0.4-next.0",
- "@backstage/dev-utils": "^1.0.4-next.0",
- "@backstage/test-utils": "^1.1.2-next.0",
+ "@backstage/dev-utils": "^1.0.4-next.2",
+ "@backstage/test-utils": "^1.1.2-next.1",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"cross-fetch": "^3.1.5",
- "msw": "^0.42.0"
+ "msw": "^0.43.0"
},
"files": [
"dist"
diff --git a/plugins/bazaar-backend/CHANGELOG.md b/plugins/bazaar-backend/CHANGELOG.md
index cfc222eb55..81358cfc7f 100644
--- a/plugins/bazaar-backend/CHANGELOG.md
+++ b/plugins/bazaar-backend/CHANGELOG.md
@@ -1,5 +1,14 @@
# @backstage/plugin-bazaar-backend
+## 0.1.18-next.1
+
+### Patch Changes
+
+- 679b32172e: Updated dependency `knex` to `^2.0.0`.
+- Updated dependencies
+ - @backstage/backend-common@0.14.1-next.2
+ - @backstage/backend-test-utils@0.1.26-next.2
+
## 0.1.18-next.0
### Patch Changes
diff --git a/plugins/bazaar-backend/package.json b/plugins/bazaar-backend/package.json
index c0769fe5b8..351535e544 100644
--- a/plugins/bazaar-backend/package.json
+++ b/plugins/bazaar-backend/package.json
@@ -1,6 +1,6 @@
{
"name": "@backstage/plugin-bazaar-backend",
- "version": "0.1.18-next.0",
+ "version": "0.1.18-next.1",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -23,18 +23,18 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
- "@backstage/backend-common": "^0.14.1-next.0",
- "@backstage/backend-test-utils": "^0.1.26-next.0",
+ "@backstage/backend-common": "^0.14.1-next.2",
+ "@backstage/backend-test-utils": "^0.1.26-next.2",
"@backstage/config": "^1.0.1",
"@types/express": "^4.17.6",
"express": "^4.17.1",
"express-promise-router": "^4.1.0",
- "knex": "^1.0.2",
+ "knex": "^2.0.0",
"winston": "^3.2.1",
"yn": "^4.0.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0"
+ "@backstage/cli": "^0.18.0-next.2"
},
"files": [
"dist",
diff --git a/plugins/bazaar/CHANGELOG.md b/plugins/bazaar/CHANGELOG.md
index 577b50f11e..e70e0db58b 100644
--- a/plugins/bazaar/CHANGELOG.md
+++ b/plugins/bazaar/CHANGELOG.md
@@ -1,5 +1,28 @@
# @backstage/plugin-bazaar
+## 0.1.22-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/plugin-catalog@1.4.0-next.2
+ - @backstage/cli@0.18.0-next.2
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## 0.1.22-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/cli@0.18.0-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/plugin-catalog@1.3.1-next.1
+ - @backstage/catalog-client@1.0.4-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
## 0.1.22-next.0
### Patch Changes
diff --git a/plugins/bazaar/package.json b/plugins/bazaar/package.json
index 5f16d8a9bc..aa44986a79 100644
--- a/plugins/bazaar/package.json
+++ b/plugins/bazaar/package.json
@@ -1,6 +1,6 @@
{
"name": "@backstage/plugin-bazaar",
- "version": "0.1.22-next.0",
+ "version": "0.1.22-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -24,13 +24,13 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
- "@backstage/catalog-client": "^1.0.4-next.0",
- "@backstage/catalog-model": "^1.1.0-next.0",
- "@backstage/cli": "^0.17.3-next.0",
- "@backstage/core-components": "^0.9.6-next.0",
+ "@backstage/catalog-client": "^1.0.4-next.1",
+ "@backstage/catalog-model": "^1.1.0-next.2",
+ "@backstage/cli": "^0.18.0-next.2",
+ "@backstage/core-components": "^0.10.0-next.2",
"@backstage/core-plugin-api": "^1.0.3",
- "@backstage/plugin-catalog": "^1.3.1-next.0",
- "@backstage/plugin-catalog-react": "^1.1.2-next.0",
+ "@backstage/plugin-catalog": "^1.4.0-next.2",
+ "@backstage/plugin-catalog-react": "^1.1.2-next.2",
"@date-io/luxon": "1.x",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
@@ -47,8 +47,8 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
- "@backstage/dev-utils": "^1.0.4-next.0",
+ "@backstage/cli": "^0.18.0-next.2",
+ "@backstage/dev-utils": "^1.0.4-next.2",
"@testing-library/jest-dom": "^5.10.1",
"cross-fetch": "^3.1.5"
},
diff --git a/plugins/bitbucket-cloud-common/package.json b/plugins/bitbucket-cloud-common/package.json
index 46ec37791c..d5a686a1cd 100644
--- a/plugins/bitbucket-cloud-common/package.json
+++ b/plugins/bitbucket-cloud-common/package.json
@@ -28,13 +28,13 @@
"update-models": "yarn refresh-schema && yarn generate-models && yarn reduce-models"
},
"dependencies": {
- "@backstage/integration": "^1.2.2-next.0",
+ "@backstage/integration": "^1.2.2-next.1",
"cross-fetch": "^3.1.5"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.1",
"@openapitools/openapi-generator-cli": "^2.4.26",
- "msw": "^0.42.0",
+ "msw": "^0.43.0",
"ts-morph": "^15.0.0"
},
"files": [
diff --git a/plugins/bitrise/CHANGELOG.md b/plugins/bitrise/CHANGELOG.md
index 86662fdeba..9058f5c15a 100644
--- a/plugins/bitrise/CHANGELOG.md
+++ b/plugins/bitrise/CHANGELOG.md
@@ -1,5 +1,25 @@
# @backstage/plugin-bitrise
+## 0.1.34-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## 0.1.34-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
## 0.1.34-next.0
### Patch Changes
diff --git a/plugins/bitrise/package.json b/plugins/bitrise/package.json
index a42a513fbf..07ac2ca46e 100644
--- a/plugins/bitrise/package.json
+++ b/plugins/bitrise/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-bitrise",
"description": "A Backstage plugin that integrates towards Bitrise",
- "version": "0.1.34-next.0",
+ "version": "0.1.34-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -24,11 +24,11 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
- "@backstage/catalog-model": "^1.1.0-next.0",
- "@backstage/core-components": "^0.9.6-next.0",
+ "@backstage/catalog-model": "^1.1.0-next.2",
+ "@backstage/core-components": "^0.10.0-next.2",
"@backstage/core-plugin-api": "^1.0.3",
- "@backstage/plugin-catalog-react": "^1.1.2-next.0",
- "@backstage/theme": "^0.2.15",
+ "@backstage/plugin-catalog-react": "^1.1.2-next.2",
+ "@backstage/theme": "^0.2.16-next.1",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "4.0.0-alpha.57",
@@ -43,17 +43,17 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.2",
"@backstage/core-app-api": "^1.0.4-next.0",
- "@backstage/dev-utils": "^1.0.4-next.0",
- "@backstage/test-utils": "^1.1.2-next.0",
+ "@backstage/dev-utils": "^1.0.4-next.2",
+ "@backstage/test-utils": "^1.1.2-next.1",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"@types/node": "^16.11.26",
"@types/recharts": "^1.8.15",
- "msw": "^0.42.0"
+ "msw": "^0.43.0"
},
"files": [
"dist"
diff --git a/plugins/catalog-backend-module-aws/CHANGELOG.md b/plugins/catalog-backend-module-aws/CHANGELOG.md
index 28bd008062..2f200dd9b1 100644
--- a/plugins/catalog-backend-module-aws/CHANGELOG.md
+++ b/plugins/catalog-backend-module-aws/CHANGELOG.md
@@ -1,5 +1,17 @@
# @backstage/plugin-catalog-backend-module-aws
+## 0.1.7-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/plugin-catalog-backend@1.2.1-next.1
+ - @backstage/backend-tasks@0.3.3-next.1
+ - @backstage/integration@1.2.2-next.1
+
## 0.1.7-next.0
### Patch Changes
diff --git a/plugins/catalog-backend-module-aws/package.json b/plugins/catalog-backend-module-aws/package.json
index 1a825a397d..c768bbe9e4 100644
--- a/plugins/catalog-backend-module-aws/package.json
+++ b/plugins/catalog-backend-module-aws/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-catalog-backend-module-aws",
"description": "A Backstage catalog backend module that helps integrate towards AWS",
- "version": "0.1.7-next.0",
+ "version": "0.1.7-next.1",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -33,13 +33,13 @@
"start": "backstage-cli package start"
},
"dependencies": {
- "@backstage/backend-common": "^0.14.1-next.0",
- "@backstage/backend-tasks": "^0.3.3-next.0",
- "@backstage/catalog-model": "^1.1.0-next.0",
+ "@backstage/backend-common": "^0.14.1-next.1",
+ "@backstage/backend-tasks": "^0.3.3-next.1",
+ "@backstage/catalog-model": "^1.1.0-next.1",
"@backstage/config": "^1.0.1",
- "@backstage/errors": "^1.0.0",
- "@backstage/integration": "^1.2.2-next.0",
- "@backstage/plugin-catalog-backend": "^1.2.1-next.0",
+ "@backstage/errors": "^1.1.0-next.0",
+ "@backstage/integration": "^1.2.2-next.1",
+ "@backstage/plugin-catalog-backend": "^1.2.1-next.1",
"@backstage/types": "^1.0.0",
"aws-sdk": "^2.840.0",
"lodash": "^4.17.21",
@@ -48,7 +48,7 @@
"winston": "^3.2.1"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.1",
"@types/lodash": "^4.14.151",
"aws-sdk-mock": "^5.2.1",
"yaml": "^1.9.2"
diff --git a/plugins/catalog-backend-module-azure/CHANGELOG.md b/plugins/catalog-backend-module-azure/CHANGELOG.md
index b39064e4e5..f9c2eeb6ce 100644
--- a/plugins/catalog-backend-module-azure/CHANGELOG.md
+++ b/plugins/catalog-backend-module-azure/CHANGELOG.md
@@ -1,5 +1,17 @@
# @backstage/plugin-catalog-backend-module-azure
+## 0.1.5-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/plugin-catalog-backend@1.2.1-next.1
+ - @backstage/backend-tasks@0.3.3-next.1
+ - @backstage/integration@1.2.2-next.1
+
## 0.1.5-next.0
### Patch Changes
diff --git a/plugins/catalog-backend-module-azure/package.json b/plugins/catalog-backend-module-azure/package.json
index 3e244dc913..6256a01a72 100644
--- a/plugins/catalog-backend-module-azure/package.json
+++ b/plugins/catalog-backend-module-azure/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-catalog-backend-module-azure",
"description": "A Backstage catalog backend module that helps integrate towards Azure",
- "version": "0.1.5-next.0",
+ "version": "0.1.5-next.1",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -33,23 +33,23 @@
"start": "backstage-cli package start"
},
"dependencies": {
- "@backstage/backend-common": "^0.14.1-next.0",
- "@backstage/catalog-model": "^1.1.0-next.0",
- "@backstage/backend-tasks": "^0.3.3-next.0",
+ "@backstage/backend-common": "^0.14.1-next.1",
+ "@backstage/catalog-model": "^1.1.0-next.1",
+ "@backstage/backend-tasks": "^0.3.3-next.1",
"@backstage/config": "^1.0.1",
- "@backstage/errors": "^1.0.0",
- "@backstage/integration": "^1.2.2-next.0",
- "@backstage/plugin-catalog-backend": "^1.2.1-next.0",
+ "@backstage/errors": "^1.1.0-next.0",
+ "@backstage/integration": "^1.2.2-next.1",
+ "@backstage/plugin-catalog-backend": "^1.2.1-next.1",
"@backstage/types": "^1.0.0",
"lodash": "^4.17.21",
- "msw": "^0.42.0",
+ "msw": "^0.43.0",
"uuid": "^8.0.0",
"node-fetch": "^2.6.7",
"winston": "^3.2.1"
},
"devDependencies": {
- "@backstage/backend-test-utils": "^0.1.26-next.0",
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/backend-test-utils": "^0.1.26-next.1",
+ "@backstage/cli": "^0.18.0-next.1",
"@types/lodash": "^4.14.151"
},
"files": [
diff --git a/plugins/catalog-backend-module-bitbucket-cloud/package.json b/plugins/catalog-backend-module-bitbucket-cloud/package.json
index d55e8d9c8f..b272cb8c29 100644
--- a/plugins/catalog-backend-module-bitbucket-cloud/package.json
+++ b/plugins/catalog-backend-module-bitbucket-cloud/package.json
@@ -33,19 +33,19 @@
"start": "backstage-cli package start"
},
"dependencies": {
- "@backstage/backend-tasks": "^0.3.3-next.0",
+ "@backstage/backend-tasks": "^0.3.3-next.1",
"@backstage/config": "^1.0.1",
- "@backstage/integration": "^1.2.2-next.0",
+ "@backstage/integration": "^1.2.2-next.1",
"@backstage/plugin-bitbucket-cloud-common": "^0.1.1-next.0",
- "@backstage/plugin-catalog-backend": "^1.2.1-next.0",
+ "@backstage/plugin-catalog-backend": "^1.2.1-next.1",
"uuid": "^8.0.0",
"winston": "^3.2.1"
},
"devDependencies": {
- "@backstage/backend-common": "^0.14.1-next.0",
- "@backstage/backend-test-utils": "^0.1.26-next.0",
- "@backstage/cli": "^0.17.3-next.0",
- "msw": "^0.42.0"
+ "@backstage/backend-common": "^0.14.1-next.1",
+ "@backstage/backend-test-utils": "^0.1.26-next.1",
+ "@backstage/cli": "^0.18.0-next.1",
+ "msw": "^0.43.0"
},
"files": [
"dist",
diff --git a/plugins/catalog-backend-module-bitbucket/CHANGELOG.md b/plugins/catalog-backend-module-bitbucket/CHANGELOG.md
index 225e2cda88..a920827973 100644
--- a/plugins/catalog-backend-module-bitbucket/CHANGELOG.md
+++ b/plugins/catalog-backend-module-bitbucket/CHANGELOG.md
@@ -1,5 +1,16 @@
# @backstage/plugin-catalog-backend-module-bitbucket
+## 0.2.1-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/plugin-catalog-backend@1.2.1-next.1
+ - @backstage/integration@1.2.2-next.1
+
## 0.2.1-next.0
### Patch Changes
diff --git a/plugins/catalog-backend-module-bitbucket/package.json b/plugins/catalog-backend-module-bitbucket/package.json
index d7df9542a6..4eb2a85e0e 100644
--- a/plugins/catalog-backend-module-bitbucket/package.json
+++ b/plugins/catalog-backend-module-bitbucket/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-catalog-backend-module-bitbucket",
"description": "A Backstage catalog backend module that helps integrate towards Bitbucket",
- "version": "0.2.1-next.0",
+ "version": "0.2.1-next.1",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -33,22 +33,22 @@
"start": "backstage-cli package start"
},
"dependencies": {
- "@backstage/backend-common": "^0.14.1-next.0",
- "@backstage/catalog-model": "^1.1.0-next.0",
+ "@backstage/backend-common": "^0.14.1-next.1",
+ "@backstage/catalog-model": "^1.1.0-next.1",
"@backstage/config": "^1.0.1",
- "@backstage/errors": "^1.0.0",
- "@backstage/integration": "^1.2.2-next.0",
+ "@backstage/errors": "^1.1.0-next.0",
+ "@backstage/integration": "^1.2.2-next.1",
"@backstage/plugin-bitbucket-cloud-common": "^0.1.1-next.0",
- "@backstage/plugin-catalog-backend": "^1.2.1-next.0",
+ "@backstage/plugin-catalog-backend": "^1.2.1-next.1",
"@backstage/types": "^1.0.0",
"lodash": "^4.17.21",
- "msw": "^0.42.0",
+ "msw": "^0.43.0",
"node-fetch": "^2.6.7",
"winston": "^3.2.1"
},
"devDependencies": {
- "@backstage/backend-test-utils": "^0.1.26-next.0",
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/backend-test-utils": "^0.1.26-next.1",
+ "@backstage/cli": "^0.18.0-next.1",
"@types/lodash": "^4.14.151"
},
"files": [
diff --git a/plugins/catalog-backend-module-gerrit/CHANGELOG.md b/plugins/catalog-backend-module-gerrit/CHANGELOG.md
index 483ff47997..c55973d568 100644
--- a/plugins/catalog-backend-module-gerrit/CHANGELOG.md
+++ b/plugins/catalog-backend-module-gerrit/CHANGELOG.md
@@ -1,5 +1,17 @@
# @backstage/plugin-catalog-backend-module-gerrit
+## 0.1.2-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/plugin-catalog-backend@1.2.1-next.1
+ - @backstage/backend-tasks@0.3.3-next.1
+ - @backstage/integration@1.2.2-next.1
+
## 0.1.2-next.0
### Patch Changes
diff --git a/plugins/catalog-backend-module-gerrit/package.json b/plugins/catalog-backend-module-gerrit/package.json
index 0668a2858b..6c4bd63659 100644
--- a/plugins/catalog-backend-module-gerrit/package.json
+++ b/plugins/catalog-backend-module-gerrit/package.json
@@ -1,6 +1,6 @@
{
"name": "@backstage/plugin-catalog-backend-module-gerrit",
- "version": "0.1.2-next.0",
+ "version": "0.1.2-next.1",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -28,22 +28,22 @@
"postpack": "backstage-cli package postpack"
},
"dependencies": {
- "@backstage/backend-common": "^0.14.1-next.0",
- "@backstage/backend-tasks": "^0.3.3-next.0",
- "@backstage/catalog-model": "^1.1.0-next.0",
+ "@backstage/backend-common": "^0.14.1-next.1",
+ "@backstage/backend-tasks": "^0.3.3-next.1",
+ "@backstage/catalog-model": "^1.1.0-next.1",
"@backstage/config": "^1.0.1",
- "@backstage/errors": "^1.0.0",
- "@backstage/integration": "^1.2.2-next.0",
- "@backstage/plugin-catalog-backend": "^1.2.1-next.0",
+ "@backstage/errors": "^1.1.0-next.0",
+ "@backstage/integration": "^1.2.2-next.1",
+ "@backstage/plugin-catalog-backend": "^1.2.1-next.1",
"fs-extra": "10.1.0",
- "msw": "^0.42.0",
+ "msw": "^0.43.0",
"node-fetch": "^2.6.7",
"uuid": "^8.0.0",
"winston": "^3.2.1"
},
"devDependencies": {
- "@backstage/backend-test-utils": "^0.1.26-next.0",
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/backend-test-utils": "^0.1.26-next.1",
+ "@backstage/cli": "^0.18.0-next.1",
"@types/fs-extra": "^9.0.1"
},
"files": [
diff --git a/plugins/catalog-backend-module-github/CHANGELOG.md b/plugins/catalog-backend-module-github/CHANGELOG.md
index b97a043aba..42aa26afdf 100644
--- a/plugins/catalog-backend-module-github/CHANGELOG.md
+++ b/plugins/catalog-backend-module-github/CHANGELOG.md
@@ -1,5 +1,17 @@
# @backstage/plugin-catalog-backend-module-github
+## 0.1.5-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/plugin-catalog-backend@1.2.1-next.1
+ - @backstage/backend-tasks@0.3.3-next.1
+ - @backstage/integration@1.2.2-next.1
+
## 0.1.5-next.0
### Patch Changes
diff --git a/plugins/catalog-backend-module-github/package.json b/plugins/catalog-backend-module-github/package.json
index c3adbbf212..eae503c507 100644
--- a/plugins/catalog-backend-module-github/package.json
+++ b/plugins/catalog-backend-module-github/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-catalog-backend-module-github",
"description": "A Backstage catalog backend module that helps integrate towards GitHub",
- "version": "0.1.5-next.0",
+ "version": "0.1.5-next.1",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -33,24 +33,24 @@
"start": "backstage-cli package start"
},
"dependencies": {
- "@backstage/backend-common": "^0.14.1-next.0",
- "@backstage/backend-tasks": "^0.3.3-next.0",
- "@backstage/catalog-model": "^1.1.0-next.0",
+ "@backstage/backend-common": "^0.14.1-next.1",
+ "@backstage/backend-tasks": "^0.3.3-next.1",
+ "@backstage/catalog-model": "^1.1.0-next.1",
"@backstage/config": "^1.0.1",
- "@backstage/errors": "^1.0.0",
- "@backstage/integration": "^1.2.2-next.0",
- "@backstage/plugin-catalog-backend": "^1.2.1-next.0",
+ "@backstage/errors": "^1.1.0-next.0",
+ "@backstage/integration": "^1.2.2-next.1",
+ "@backstage/plugin-catalog-backend": "^1.2.1-next.1",
"@backstage/types": "^1.0.0",
"@octokit/graphql": "^4.5.8",
"lodash": "^4.17.21",
- "msw": "^0.42.0",
+ "msw": "^0.43.0",
"node-fetch": "^2.6.7",
"uuid": "^8.0.0",
"winston": "^3.2.1"
},
"devDependencies": {
- "@backstage/backend-test-utils": "^0.1.26-next.0",
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/backend-test-utils": "^0.1.26-next.1",
+ "@backstage/cli": "^0.18.0-next.1",
"@types/lodash": "^4.14.151"
},
"files": [
diff --git a/plugins/catalog-backend-module-gitlab/CHANGELOG.md b/plugins/catalog-backend-module-gitlab/CHANGELOG.md
index 343b2b9d7b..95fa6ddbda 100644
--- a/plugins/catalog-backend-module-gitlab/CHANGELOG.md
+++ b/plugins/catalog-backend-module-gitlab/CHANGELOG.md
@@ -1,5 +1,29 @@
# @backstage/plugin-catalog-backend-module-gitlab
+## 0.1.5-next.1
+
+### Patch Changes
+
+- 49ff472c0b: Add the possibility in the `GitlabDiscoveryEntityProvider` to scan the whole project instead of concrete groups. For that, use a configuration like this one, where the group parameter is omitted (not mandatory anymore):
+
+ ```yaml
+ catalog:
+ providers:
+ gitlab:
+ yourProviderId:
+ host: gitlab-host # Identifies one of the hosts set up in the integrations
+ branch: main # Optional. Uses `master` as default
+ entityFilename: catalog-info.yaml # Optional. Defaults to `catalog-info.yaml`
+ ```
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/plugin-catalog-backend@1.2.1-next.1
+ - @backstage/backend-tasks@0.3.3-next.1
+ - @backstage/integration@1.2.2-next.1
+
## 0.1.5-next.0
### Patch Changes
diff --git a/plugins/catalog-backend-module-gitlab/package.json b/plugins/catalog-backend-module-gitlab/package.json
index 8d39a8dc05..47f48af481 100644
--- a/plugins/catalog-backend-module-gitlab/package.json
+++ b/plugins/catalog-backend-module-gitlab/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-catalog-backend-module-gitlab",
"description": "A Backstage catalog backend module that helps integrate towards GitLab",
- "version": "0.1.5-next.0",
+ "version": "0.1.5-next.1",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -33,23 +33,23 @@
"start": "backstage-cli package start"
},
"dependencies": {
- "@backstage/backend-common": "^0.14.1-next.0",
- "@backstage/catalog-model": "^1.1.0-next.0",
- "@backstage/backend-tasks": "^0.3.3-next.0",
+ "@backstage/backend-common": "^0.14.1-next.1",
+ "@backstage/catalog-model": "^1.1.0-next.1",
+ "@backstage/backend-tasks": "^0.3.3-next.1",
"@backstage/config": "^1.0.1",
- "@backstage/errors": "^1.0.0",
- "@backstage/integration": "^1.2.2-next.0",
- "@backstage/plugin-catalog-backend": "^1.2.1-next.0",
+ "@backstage/errors": "^1.1.0-next.0",
+ "@backstage/integration": "^1.2.2-next.1",
+ "@backstage/plugin-catalog-backend": "^1.2.1-next.1",
"@backstage/types": "^1.0.0",
"lodash": "^4.17.21",
- "msw": "^0.42.0",
+ "msw": "^0.43.0",
"node-fetch": "^2.6.7",
"winston": "^3.2.1",
"uuid": "^8.0.0"
},
"devDependencies": {
- "@backstage/backend-test-utils": "^0.1.26-next.0",
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/backend-test-utils": "^0.1.26-next.1",
+ "@backstage/cli": "^0.18.0-next.1",
"@types/lodash": "^4.14.151",
"@types/uuid": "^8.0.0"
},
diff --git a/plugins/catalog-backend-module-ldap/CHANGELOG.md b/plugins/catalog-backend-module-ldap/CHANGELOG.md
index 3afb99dc79..e906e40631 100644
--- a/plugins/catalog-backend-module-ldap/CHANGELOG.md
+++ b/plugins/catalog-backend-module-ldap/CHANGELOG.md
@@ -1,5 +1,16 @@
# @backstage/plugin-catalog-backend-module-ldap
+## 0.5.1-next.1
+
+### Patch Changes
+
+- fbfbff6bf7: Add possibility to resolve relations by RDN, in addition to UUID and DN
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/plugin-catalog-backend@1.2.1-next.1
+ - @backstage/backend-tasks@0.3.3-next.1
+
## 0.5.1-next.0
### Patch Changes
diff --git a/plugins/catalog-backend-module-ldap/package.json b/plugins/catalog-backend-module-ldap/package.json
index a8c28018f2..7232ea24c3 100644
--- a/plugins/catalog-backend-module-ldap/package.json
+++ b/plugins/catalog-backend-module-ldap/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-catalog-backend-module-ldap",
"description": "A Backstage catalog backend module that helps integrate towards LDAP",
- "version": "0.5.1-next.0",
+ "version": "0.5.1-next.1",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -33,11 +33,11 @@
"start": "backstage-cli package start"
},
"dependencies": {
- "@backstage/backend-tasks": "^0.3.3-next.0",
- "@backstage/catalog-model": "^1.1.0-next.0",
+ "@backstage/backend-tasks": "^0.3.3-next.1",
+ "@backstage/catalog-model": "^1.1.0-next.1",
"@backstage/config": "^1.0.1",
- "@backstage/errors": "^1.0.0",
- "@backstage/plugin-catalog-backend": "^1.2.1-next.0",
+ "@backstage/errors": "^1.1.0-next.0",
+ "@backstage/plugin-catalog-backend": "^1.2.1-next.1",
"@backstage/types": "^1.0.0",
"@types/ldapjs": "^2.2.0",
"ldapjs": "^2.2.0",
@@ -46,7 +46,7 @@
"winston": "^3.2.1"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.1",
"@types/lodash": "^4.14.151"
},
"files": [
diff --git a/plugins/catalog-backend-module-msgraph/CHANGELOG.md b/plugins/catalog-backend-module-msgraph/CHANGELOG.md
index d50e93edcc..a86663d6d1 100644
--- a/plugins/catalog-backend-module-msgraph/CHANGELOG.md
+++ b/plugins/catalog-backend-module-msgraph/CHANGELOG.md
@@ -1,5 +1,104 @@
# @backstage/plugin-catalog-backend-module-msgraph
+## 0.4.0-next.1
+
+### Minor Changes
+
+- a145672f0f: Align `msgraph` plugin's entity provider config with other providers. **Deprecated** entity processor as well as previous config.
+
+ You will see warning at the log output until you migrate to the new setup.
+ All deprecated parts will be removed eventually after giving some time to migrate.
+
+ Please find information on how to migrate your current setup to the new one below.
+
+ **Migration Guide:**
+
+ There were two different way on how to use the msgraph plugin: processor or provider.
+
+ Previous registration for the processor:
+
+ ```typescript
+ // packages/backend/src/plugins/catalog.ts
+ builder.addProcessor(
+ MicrosoftGraphOrgReaderProcessor.fromConfig(env.config, {
+ logger: env.logger,
+ // [...]
+ }),
+ );
+ ```
+
+ Previous registration when using the provider:
+
+ ```typescript
+ // packages/backend/src/plugins/catalog.ts
+ builder.addEntityProvider(
+ MicrosoftGraphOrgEntityProvider.fromConfig(env.config, {
+ id: 'https://graph.microsoft.com/v1.0',
+ target: 'https://graph.microsoft.com/v1.0',
+ logger: env.logger,
+ schedule: env.scheduler.createScheduledTaskRunner({
+ frequency: { minutes: 30 },
+ timeout: { minutes: 3 },
+ }),
+ // [...]
+ }),
+ );
+ ```
+
+ Previous configuration as used for both:
+
+ ```yaml
+ # app-config.yaml
+ catalog:
+ processors:
+ microsoftGraphOrg:
+ providers:
+ - target: https://graph.microsoft.com/v1.0
+ # [...]
+ ```
+
+ **Replacement:**
+
+ Please check https://github.com/backstage/backstage/blob/master/plugins/catalog-backend-module-msgraph/README.md for the complete documentation of all configuration options (config as well as registration of the provider).
+
+ ```yaml
+ # app-config.yaml
+ catalog:
+ providers:
+ microsoftGraphOrg:
+ # In case you used the deprecated configuration with the entity provider
+ # using the value of `target` will keep the same location key for all
+ providerId: # some stable ID which will be used as part of the location key for all ingested data
+ target: https://graph.microsoft.com/v1.0
+ # [...]
+ ```
+
+ ```typescript
+ // packages/backend/src/plugins/catalog.ts
+ builder.addEntityProvider(
+ MicrosoftGraphOrgEntityProvider.fromConfig(env.config, {
+ logger: env.logger,
+ schedule: env.scheduler.createScheduledTaskRunner({
+ frequency: { minutes: 30 },
+ timeout: { minutes: 3 },
+ }),
+ // [...]
+ }),
+ );
+ ```
+
+ In case you've used multiple entity providers before
+ **and** you had different transformers for each of them
+ you can provide these directly at the one `fromConfig` call
+ by passing a Record with the provider ID as key.
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/backend-tasks@0.3.3-next.2
+ - @backstage/plugin-catalog-backend@1.2.1-next.2
+
## 0.3.4-next.0
### Patch Changes
diff --git a/plugins/catalog-backend-module-msgraph/README.md b/plugins/catalog-backend-module-msgraph/README.md
index e6429152e4..6132d5abc6 100644
--- a/plugins/catalog-backend-module-msgraph/README.md
+++ b/plugins/catalog-backend-module-msgraph/README.md
@@ -1,85 +1,86 @@
# Catalog Backend Module for Microsoft Graph
-This is an extension module to the `plugin-catalog-backend` plugin, providing a
-`MicrosoftGraphOrgReaderProcessor` and a `MicrosoftGraphOrgEntityProvider` that
-can be used to ingest organization data from the Microsoft Graph API. This
-processor is useful if you want to import users and groups from Azure Active
-Directory or Office 365.
+This is an extension module to the `plugin-catalog-backend` plugin, providing a `MicrosoftGraphOrgEntityProvider`
+that can be used to ingest organization data from the Microsoft Graph API.
+This provider is useful if you want to import users and groups from Azure Active Directory or Office 365.
## Getting Started
-First you need to decide whether you want to use an [entity provider or a processor](https://backstage.io/docs/features/software-catalog/life-of-an-entity#stitching) to ingest the organization data.
-If you want groups and users deleted from the source to be automatically deleted
-from Backstage, choose the entity provider.
-
1. Create or use an existing App registration in the [Microsoft Azure Portal](https://portal.azure.com/).
The App registration requires at least the API permissions `Group.Read.All`,
`GroupMember.Read.All`, `User.Read` and `User.Read.All` for Microsoft Graph
(if you still run into errors about insufficient privileges, add
`Team.ReadBasic.All` and `TeamMember.Read.All` too).
-2. Configure the processor or entity provider:
+2. Configure the entity provider:
```yaml
# app-config.yaml
catalog:
- processors:
+ providers:
microsoftGraphOrg:
- providers:
- - target: https://graph.microsoft.com/v1.0
- authority: https://login.microsoftonline.com
- # If you don't know you tenantId, you can use Microsoft Graph Explorer
- # to query it
- tenantId: ${MICROSOFT_GRAPH_TENANT_ID}
- # Client Id and Secret can be created under Certificates & secrets in
- # the App registration in the Microsoft Azure Portal.
- clientId: ${MICROSOFT_GRAPH_CLIENT_ID}
- clientSecret: ${MICROSOFT_GRAPH_CLIENT_SECRET_TOKEN}
- # Optional mode for querying which defaults to "basic".
- # By default, the Microsoft Graph API only provides the basic feature set
- # for querying. Certain features are limited to advanced querying capabilities.
- # (See https://docs.microsoft.com/en-us/graph/aad-advanced-queries)
- queryMode: basic # basic | advanced
+ providerId:
+ target: https://graph.microsoft.com/v1.0
+ authority: https://login.microsoftonline.com
+ # If you don't know you tenantId, you can use Microsoft Graph Explorer
+ # to query it
+ tenantId: ${MICROSOFT_GRAPH_TENANT_ID}
+ # Client Id and Secret can be created under Certificates & secrets in
+ # the App registration in the Microsoft Azure Portal.
+ clientId: ${MICROSOFT_GRAPH_CLIENT_ID}
+ clientSecret: ${MICROSOFT_GRAPH_CLIENT_SECRET_TOKEN}
+ # Optional mode for querying which defaults to "basic".
+ # By default, the Microsoft Graph API only provides the basic feature set
+ # for querying. Certain features are limited to advanced querying capabilities.
+ # (See https://docs.microsoft.com/en-us/graph/aad-advanced-queries)
+ queryMode: basic # basic | advanced
+ # Optional configuration block
+ user:
# Optional parameter to include the expanded resource or collection referenced
# by a single relationship (navigation property) in your results.
# Only one relationship can be expanded in a single request.
# See https://docs.microsoft.com/en-us/graph/query-parameters#expand-parameter
# Can be combined with userGroupMember[...] instead of userFilter.
- userExpand: manager
+ expand: manager
# Optional filter for user, see Microsoft Graph API for the syntax
# See https://docs.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0#properties
# and for the syntax https://docs.microsoft.com/en-us/graph/query-parameters#filter-parameter
# This and userGroupMemberFilter are mutually exclusive, only one can be specified
- userFilter: accountEnabled eq true and userType eq 'member'
+ filter: accountEnabled eq true and userType eq 'member'
+ # Optional configuration block
+ userGroupMember:
# Optional filter for users, use group membership to get users.
# (Filtered groups and fetch their members.)
# This and userFilter are mutually exclusive, only one can be specified
# See https://docs.microsoft.com/en-us/graph/search-query-parameter
- userGroupMemberFilter: "displayName eq 'Backstage Users'"
+ filter: "displayName eq 'Backstage Users'"
+ # Optional search for users, use group membership to get users.
+ # (Search for groups and fetch their members.)
+ # This and userFilter are mutually exclusive, only one can be specified
+ search: '"description:One" AND ("displayName:Video" OR "displayName:Drive")'
+ # Optional configuration block
+ group:
# Optional parameter to include the expanded resource or collection referenced
# by a single relationship (navigation property) in your results.
# Only one relationship can be expanded in a single request.
# See https://docs.microsoft.com/en-us/graph/query-parameters#expand-parameter
# Can be combined with userGroupMember[...] instead of userFilter.
- groupExpand: member
- # Optional search for users, use group membership to get users.
- # (Search for groups and fetch their members.)
- # This and userFilter are mutually exclusive, only one can be specified
- userGroupMemberSearch: '"description:One" AND ("displayName:Video" OR "displayName:Drive")'
+ expand: member
# Optional filter for group, see Microsoft Graph API for the syntax
# See https://docs.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-1.0#properties
- groupFilter: securityEnabled eq false and mailEnabled eq true and groupTypes/any(c:c+eq+'Unified')
+ filter: securityEnabled eq false and mailEnabled eq true and groupTypes/any(c:c+eq+'Unified')
# Optional search for groups, see Microsoft Graph API for the syntax
# See https://docs.microsoft.com/en-us/graph/search-query-parameter
- groupSearch: '"description:One" AND ("displayName:Video" OR "displayName:Drive")'
- # Optional select for groups, this will allow you work with schemaExtensions in order to add extra information to your groups that can be used on you custom groupTransformers
+ search: '"description:One" AND ("displayName:Video" OR "displayName:Drive")'
+ # Optional select for groups, this will allow you work with schemaExtensions
+ # in order to add extra information to your groups that can be used on you custom groupTransformers
# See https://docs.microsoft.com/en-us/graph/api/resources/schemaextension?view=graph-rest-1.0
- groupSelect: ['id', 'displayName', 'description']
+ select: ['id', 'displayName', 'description']
```
-`userFilter` and `userGroupMemberFilter` are mutually exclusive, only one can be provided. If both are provided, an error will be thrown.
+`user.filter` and `userGroupMember.filter` are mutually exclusive, only one can be provided. If both are provided, an error will be thrown.
-By default, all users are loaded. If you want to filter users based on their attributes, use `userFilter`. `userGroupMemberFilter` can be used if you want to load users based on their group membership.
+By default, all users are loaded. If you want to filter users based on their attributes, use `user.filter`. `userGroupMember.filter` can be used if you want to load users based on their group membership.
3. The package is not installed by default, therefore you have to add a
dependency to `@backstage/plugin-catalog-backend-module-msgraph` to your
@@ -90,15 +91,12 @@ By default, all users are loaded. If you want to filter users based on their att
yarn add --cwd packages/backend @backstage/plugin-catalog-backend-module-msgraph
```
-### Using the Entity Provider
-
4. The `MicrosoftGraphOrgEntityProvider` is not registered by default, so you
have to register it in the catalog plugin. Pass the target to reference a
provider from the configuration.
```diff
// packages/backend/src/plugins/catalog.ts
-+import { Duration } from 'luxon';
+import { MicrosoftGraphOrgEntityProvider } from '@backstage/plugin-catalog-backend-module-msgraph';
export default async function createPlugin(
@@ -106,53 +104,21 @@ yarn add --cwd packages/backend @backstage/plugin-catalog-backend-module-msgraph
): Promise {
const builder = await CatalogBuilder.create(env);
-+ // The target parameter below needs to match one of the providers' target
-+ // value specified in your app-config (see above).
+ builder.addEntityProvider(
+ MicrosoftGraphOrgEntityProvider.fromConfig(env.config, {
-+ id: 'production',
-+ target: 'https://graph.microsoft.com/v1.0',
+ logger: env.logger,
+ schedule: env.scheduler.createScheduledTaskRunner({
-+ frequency: Duration.fromObject({ minutes: 5 }),
-+ timeout: Duration.fromObject({ minutes: 3 }),
++ frequency: { minutes: 5 },
++ timeout: { minutes: 3 },
+ }),
+ }),
+ );
```
-### Using the Processor
-
-4. The `MicrosoftGraphOrgReaderProcessor` is not registered by default, so you
- have to register it in the catalog plugin:
-
-```typescript
-// packages/backend/src/plugins/catalog.ts
-builder.addProcessor(
- MicrosoftGraphOrgReaderProcessor.fromConfig(env.config, {
- logger: env.logger,
- }),
-);
-```
-
-5. Add a location that ingests from Microsoft Graph:
-
-```yaml
-# app-config.yaml
-catalog:
- locations:
- - type: microsoft-graph-org
- target: https://graph.microsoft.com/v1.0
- rules:
- - allow: [Group, User]
- …
-```
-
## Customize the Processor or Entity Provider
-In case you want to customize the ingested entities, both the `MicrosoftGraphOrgReaderProcessor`
-and the `MicrosoftGraphOrgEntityProvider` allows to pass transformers for users,
-groups and the organization.
+In case you want to customize the ingested entities, the `MicrosoftGraphOrgEntityProvider`
+allows to pass transformers for users, groups and the organization.
1. Create a transformer:
@@ -179,13 +145,17 @@ export async function myGroupTransformer(
}
```
-2. Configure the processor with the transformer:
+2. Add the transformer:
-```ts
-builder.addProcessor(
- MicrosoftGraphOrgReaderProcessor.fromConfig(env.config, {
- logger: env.logger,
- groupTransformer: myGroupTransformer,
- }),
-);
+```diff
+ builder.addEntityProvider(
+ MicrosoftGraphOrgEntityProvider.fromConfig(env.config, {
+ logger: env.logger,
+ schedule: env.scheduler.createScheduledTaskRunner({
+ frequency: { minutes: 5 },
+ timeout: { minutes: 3 },
+ }),
++ groupTransformer: myGroupTransformer,
+ }),
+ );
```
diff --git a/plugins/catalog-backend-module-msgraph/api-report.md b/plugins/catalog-backend-module-msgraph/api-report.md
index 31a22b0bc4..a4083b1d9e 100644
--- a/plugins/catalog-backend-module-msgraph/api-report.md
+++ b/plugins/catalog-backend-module-msgraph/api-report.md
@@ -125,14 +125,14 @@ export class MicrosoftGraphOrgEntityProvider implements EntityProvider {
static fromConfig(
configRoot: Config,
options: MicrosoftGraphOrgEntityProviderOptions,
- ): MicrosoftGraphOrgEntityProvider;
+ ): MicrosoftGraphOrgEntityProvider[];
// (undocumented)
getProviderName(): string;
read(options?: { logger?: Logger }): Promise;
}
-// @public
-export interface MicrosoftGraphOrgEntityProviderOptions {
+// @public @deprecated
+export interface MicrosoftGraphOrgEntityProviderLegacyOptions {
groupTransformer?: GroupTransformer;
id: string;
logger: Logger;
@@ -143,6 +143,19 @@ export interface MicrosoftGraphOrgEntityProviderOptions {
}
// @public
+export type MicrosoftGraphOrgEntityProviderOptions =
+ | MicrosoftGraphOrgEntityProviderLegacyOptions
+ | {
+ logger: Logger;
+ schedule: 'manual' | TaskRunner;
+ userTransformer?: UserTransformer | Record;
+ groupTransformer?: GroupTransformer | Record;
+ organizationTransformer?:
+ | OrganizationTransformer
+ | Record;
+ };
+
+// @public @deprecated
export class MicrosoftGraphOrgReaderProcessor implements CatalogProcessor {
constructor(options: {
providers: MicrosoftGraphProviderConfig[];
@@ -173,6 +186,7 @@ export class MicrosoftGraphOrgReaderProcessor implements CatalogProcessor {
// @public
export type MicrosoftGraphProviderConfig = {
+ id: string;
target: string;
authority?: string;
tenantId: string;
@@ -206,7 +220,7 @@ export type OrganizationTransformer = (
organization: MicrosoftGraph.Organization,
) => Promise;
-// @public
+// @public @deprecated
export function readMicrosoftGraphConfig(
config: Config,
): MicrosoftGraphProviderConfig[];
diff --git a/plugins/catalog-backend-module-msgraph/config.d.ts b/plugins/catalog-backend-module-msgraph/config.d.ts
index cf00713e72..564ccbb10a 100644
--- a/plugins/catalog-backend-module-msgraph/config.d.ts
+++ b/plugins/catalog-backend-module-msgraph/config.d.ts
@@ -25,6 +25,7 @@ export interface Config {
processors?: {
/**
* MicrosoftGraphOrgReaderProcessor configuration
+ * @deprecated Use `catalog.providers.microsoftGraphOrg` instead.
*/
microsoftGraphOrg?: {
/**
@@ -102,5 +103,173 @@ export interface Config {
}>;
};
};
+ /**
+ * List of provider-specific options and attributes
+ */
+ providers?: {
+ /**
+ * MicrosoftGraphOrgEntityProvider configuration.
+ */
+ microsoftGraphOrg?:
+ | {
+ /**
+ * The prefix of the target that this matches on, e.g.
+ * "https://graph.microsoft.com/v1.0", with no trailing slash.
+ */
+ target: string;
+ /**
+ * The auth authority used.
+ *
+ * Default value "https://login.microsoftonline.com"
+ */
+ authority?: string;
+ /**
+ * The tenant whose org data we are interested in.
+ */
+ tenantId: string;
+ /**
+ * The OAuth client ID to use for authenticating requests.
+ */
+ clientId: string;
+ /**
+ * The OAuth client secret to use for authenticating requests.
+ *
+ * @visibility secret
+ */
+ clientSecret: string;
+
+ user?: {
+ /**
+ * The "expand" argument to apply to users.
+ *
+ * E.g. "manager".
+ */
+ expand?: string;
+ /**
+ * The filter to apply to extract users.
+ *
+ * E.g. "accountEnabled eq true and userType eq 'member'"
+ */
+ filter?: string;
+ };
+
+ group?: {
+ /**
+ * The "expand" argument to apply to groups.
+ *
+ * E.g. "member".
+ */
+ expand?: string;
+ /**
+ * The filter to apply to extract groups.
+ *
+ * E.g. "securityEnabled eq false and mailEnabled eq true"
+ */
+ filter?: string;
+ /**
+ * The search criteria to apply to extract users by groups memberships.
+ *
+ * E.g. "\"displayName:-team\"" would only match groups which contain '-team'
+ */
+ search?: string;
+ /**
+ * The fields to be fetched on query.
+ *
+ * E.g. ["id", "displayName", "description"]
+ */
+ select?: string[];
+ };
+
+ userGroupMember?: {
+ /**
+ * The filter to apply to extract users by groups memberships.
+ *
+ * E.g. "displayName eq 'Backstage Users'"
+ */
+ filter?: string;
+ /**
+ * The search criteria to apply to extract groups.
+ *
+ * E.g. "\"displayName:-team\"" would only match groups which contain '-team'
+ */
+ search?: string;
+ };
+ }
+ | Record<
+ string,
+ {
+ /**
+ * The prefix of the target that this matches on, e.g.
+ * "https://graph.microsoft.com/v1.0", with no trailing slash.
+ */
+ target: string;
+ /**
+ * The auth authority used.
+ *
+ * Default value "https://login.microsoftonline.com"
+ */
+ authority?: string;
+ /**
+ * The tenant whose org data we are interested in.
+ */
+ tenantId: string;
+ /**
+ * The OAuth client ID to use for authenticating requests.
+ */
+ clientId: string;
+ /**
+ * The OAuth client secret to use for authenticating requests.
+ *
+ * @visibility secret
+ */
+ clientSecret: string;
+
+ user?: {
+ /**
+ * The filter to apply to extract users.
+ *
+ * E.g. "accountEnabled eq true and userType eq 'member'"
+ */
+ filter?: string;
+ };
+
+ group?: {
+ /**
+ * The filter to apply to extract groups.
+ *
+ * E.g. "securityEnabled eq false and mailEnabled eq true"
+ */
+ filter?: string;
+ /**
+ * The search criteria to apply to extract users by groups memberships.
+ *
+ * E.g. "\"displayName:-team\"" would only match groups which contain '-team'
+ */
+ search?: string;
+ /**
+ * The fields to be fetched on query.
+ *
+ * E.g. ["id", "displayName", "description"]
+ */
+ select?: string[];
+ };
+
+ userGroupMember?: {
+ /**
+ * The filter to apply to extract users by groups memberships.
+ *
+ * E.g. "displayName eq 'Backstage Users'"
+ */
+ filter?: string;
+ /**
+ * The search criteria to apply to extract groups.
+ *
+ * E.g. "\"displayName:-team\"" would only match groups which contain '-team'
+ */
+ search?: string;
+ };
+ }
+ >;
+ };
};
}
diff --git a/plugins/catalog-backend-module-msgraph/package.json b/plugins/catalog-backend-module-msgraph/package.json
index e2e75af446..921d198b8b 100644
--- a/plugins/catalog-backend-module-msgraph/package.json
+++ b/plugins/catalog-backend-module-msgraph/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-catalog-backend-module-msgraph",
"description": "A Backstage catalog backend module that helps integrate towards Microsoft Graph",
- "version": "0.3.4-next.0",
+ "version": "0.4.0-next.1",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -34,10 +34,10 @@
},
"dependencies": {
"@azure/msal-node": "^1.1.0",
- "@backstage/backend-tasks": "^0.3.3-next.0",
- "@backstage/catalog-model": "^1.1.0-next.0",
+ "@backstage/backend-tasks": "^0.3.3-next.2",
+ "@backstage/catalog-model": "^1.1.0-next.2",
"@backstage/config": "^1.0.1",
- "@backstage/plugin-catalog-backend": "^1.2.1-next.0",
+ "@backstage/plugin-catalog-backend": "^1.2.1-next.2",
"@microsoft/microsoft-graph-types": "^2.6.0",
"@types/node-fetch": "^2.5.12",
"lodash": "^4.17.21",
@@ -48,11 +48,11 @@
"qs": "^6.9.4"
},
"devDependencies": {
- "@backstage/backend-common": "^0.14.1-next.0",
- "@backstage/backend-test-utils": "^0.1.26-next.0",
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/backend-common": "^0.14.1-next.2",
+ "@backstage/backend-test-utils": "^0.1.26-next.2",
+ "@backstage/cli": "^0.18.0-next.2",
"@types/lodash": "^4.14.151",
- "msw": "^0.42.0"
+ "msw": "^0.43.0"
},
"files": [
"dist",
diff --git a/plugins/catalog-backend-module-msgraph/src/microsoftGraph/config.test.ts b/plugins/catalog-backend-module-msgraph/src/microsoftGraph/config.test.ts
index e310fa544f..8239090249 100644
--- a/plugins/catalog-backend-module-msgraph/src/microsoftGraph/config.test.ts
+++ b/plugins/catalog-backend-module-msgraph/src/microsoftGraph/config.test.ts
@@ -15,13 +15,14 @@
*/
import { ConfigReader } from '@backstage/config';
-import { readMicrosoftGraphConfig } from './config';
+import { readMicrosoftGraphConfig, readProviderConfigs } from './config';
describe('readMicrosoftGraphConfig', () => {
it('applies all of the defaults', () => {
const config = {
providers: [
{
+ id: 'target',
target: 'target',
tenantId: 'tenantId',
clientId: 'clientId',
@@ -32,6 +33,7 @@ describe('readMicrosoftGraphConfig', () => {
const actual = readMicrosoftGraphConfig(new ConfigReader(config));
const expected = [
{
+ id: 'target',
target: 'target',
tenantId: 'tenantId',
clientId: 'clientId',
@@ -48,6 +50,7 @@ describe('readMicrosoftGraphConfig', () => {
const config = {
providers: [
{
+ id: 'target',
target: 'target',
tenantId: 'tenantId',
clientId: 'clientId',
@@ -64,6 +67,7 @@ describe('readMicrosoftGraphConfig', () => {
const actual = readMicrosoftGraphConfig(new ConfigReader(config));
const expected = [
{
+ id: 'target',
target: 'target',
tenantId: 'tenantId',
clientId: 'clientId',
@@ -83,6 +87,7 @@ describe('readMicrosoftGraphConfig', () => {
const config = {
providers: [
{
+ id: 'target',
target: 'target',
tenantId: 'tenantId',
clientId: 'clientId',
@@ -100,6 +105,7 @@ describe('readMicrosoftGraphConfig', () => {
const config = {
providers: [
{
+ id: 'target',
target: 'target',
tenantId: 'tenantId',
clientId: 'clientId',
@@ -113,3 +119,128 @@ describe('readMicrosoftGraphConfig', () => {
expect(() => readMicrosoftGraphConfig(new ConfigReader(config))).toThrow();
});
});
+
+describe('readProviderConfigs', () => {
+ it('applies all of the defaults', () => {
+ const config = {
+ catalog: {
+ providers: {
+ microsoftGraphOrg: {
+ customProviderId: {
+ target: 'target',
+ tenantId: 'tenantId',
+ clientId: 'clientId',
+ clientSecret: 'clientSecret',
+ },
+ },
+ },
+ },
+ };
+ const actual = readProviderConfigs(new ConfigReader(config));
+ const expected = [
+ {
+ id: 'customProviderId',
+ target: 'target',
+ tenantId: 'tenantId',
+ clientId: 'clientId',
+ clientSecret: 'clientSecret',
+ authority: 'https://login.microsoftonline.com',
+ },
+ ];
+ expect(actual).toEqual(expected);
+ });
+
+ it('reads all the values', () => {
+ const config = {
+ catalog: {
+ providers: {
+ microsoftGraphOrg: {
+ customProviderId: {
+ target: 'target',
+ tenantId: 'tenantId',
+ clientId: 'clientId',
+ clientSecret: 'clientSecret',
+ authority: 'https://login.example.com/',
+ user: {
+ expand: 'manager',
+ filter: 'accountEnabled eq true',
+ },
+ group: {
+ expand: 'member',
+ filter: 'securityEnabled eq false',
+ select: ['id', 'displayName', 'description'],
+ },
+ },
+ },
+ },
+ },
+ };
+ const actual = readProviderConfigs(new ConfigReader(config));
+ const expected = [
+ {
+ id: 'customProviderId',
+ target: 'target',
+ tenantId: 'tenantId',
+ clientId: 'clientId',
+ clientSecret: 'clientSecret',
+ authority: 'https://login.example.com',
+ userExpand: 'manager',
+ userFilter: 'accountEnabled eq true',
+ groupExpand: 'member',
+ groupSelect: ['id', 'displayName', 'description'],
+ groupFilter: 'securityEnabled eq false',
+ },
+ ];
+ expect(actual).toEqual(expected);
+ });
+
+ it('should fail if both userFilter and userGroupMemberFilter are set', () => {
+ const config = {
+ catalog: {
+ providers: {
+ microsoftGraphOrg: {
+ customProviderId: {
+ target: 'target',
+ tenantId: 'tenantId',
+ clientId: 'clientId',
+ clientSecret: 'clientSecret',
+ authority: 'https://login.example.com/',
+ user: {
+ filter: 'accountEnabled eq true',
+ },
+ userGroupMember: {
+ filter: 'any',
+ },
+ },
+ },
+ },
+ },
+ };
+ expect(() => readProviderConfigs(new ConfigReader(config))).toThrow();
+ });
+
+ it('should fail if both userFilter and userGroupMemberSearch are set', () => {
+ const config = {
+ catalog: {
+ providers: {
+ microsoftGraphOrg: {
+ customProviderId: {
+ target: 'target',
+ tenantId: 'tenantId',
+ clientId: 'clientId',
+ clientSecret: 'clientSecret',
+ authority: 'https://login.example.com/',
+ user: {
+ filter: 'accountEnabled eq true',
+ },
+ userGroupMember: {
+ search: 'any',
+ },
+ },
+ },
+ },
+ },
+ };
+ expect(() => readProviderConfigs(new ConfigReader(config))).toThrow();
+ });
+});
diff --git a/plugins/catalog-backend-module-msgraph/src/microsoftGraph/config.ts b/plugins/catalog-backend-module-msgraph/src/microsoftGraph/config.ts
index aa2f2d6ee2..30e3a9a4d2 100644
--- a/plugins/catalog-backend-module-msgraph/src/microsoftGraph/config.ts
+++ b/plugins/catalog-backend-module-msgraph/src/microsoftGraph/config.ts
@@ -17,12 +17,21 @@
import { Config } from '@backstage/config';
import { trimEnd } from 'lodash';
+const DEFAULT_AUTHORITY = 'https://login.microsoftonline.com';
+const DEFAULT_PROVIDER_ID = 'default';
+const DEFAULT_TARGET = 'https://graph.microsoft.com/v1.0';
+
/**
* The configuration parameters for a single Microsoft Graph provider.
*
* @public
*/
export type MicrosoftGraphProviderConfig = {
+ /**
+ * Identifier of the provider which will be used i.e. at the location key for ingested entities.
+ */
+ id: string;
+
/**
* The prefix of the target that this matches on, e.g.
* "https://graph.microsoft.com/v1.0", with no trailing slash.
@@ -55,7 +64,7 @@ export type MicrosoftGraphProviderConfig = {
/**
* The "expand" argument to apply to users.
*
- * E.g. "manager"
+ * E.g. "manager".
*/
userExpand?: string;
/**
@@ -73,7 +82,7 @@ export type MicrosoftGraphProviderConfig = {
/**
* The "expand" argument to apply to groups.
*
- * E.g. "member"
+ * E.g. "member".
*/
groupExpand?: string;
/**
@@ -113,6 +122,7 @@ export type MicrosoftGraphProviderConfig = {
* @param config - The root of the msgraph config hierarchy
*
* @public
+ * @deprecated Replaced by not exported `readProviderConfigs` and kept for backwards compatibility only.
*/
export function readMicrosoftGraphConfig(
config: Config,
@@ -125,7 +135,7 @@ export function readMicrosoftGraphConfig(
const authority = providerConfig.getOptionalString('authority')
? trimEnd(providerConfig.getOptionalString('authority'), '/')
- : 'https://login.microsoftonline.com';
+ : DEFAULT_AUTHORITY;
const tenantId = providerConfig.getString('tenantId');
const clientId = providerConfig.getString('clientId');
const clientSecret = providerConfig.getString('clientSecret');
@@ -164,6 +174,7 @@ export function readMicrosoftGraphConfig(
}
providers.push({
+ id: target,
target,
authority,
tenantId,
@@ -183,3 +194,86 @@ export function readMicrosoftGraphConfig(
return providers;
}
+
+export function readProviderConfigs(
+ config: Config,
+): MicrosoftGraphProviderConfig[] {
+ const providersConfig = config.getOptionalConfig(
+ 'catalog.providers.microsoftGraphOrg',
+ );
+ if (!providersConfig) {
+ return [];
+ }
+
+ if (providersConfig.has('clientId')) {
+ // simple/single config variant
+ return [readProviderConfig(DEFAULT_PROVIDER_ID, providersConfig)];
+ }
+
+ return providersConfig.keys().map(id => {
+ const providerConfig = providersConfig.getConfig(id);
+
+ return readProviderConfig(id, providerConfig);
+ });
+}
+
+export function readProviderConfig(
+ id: string,
+ config: Config,
+): MicrosoftGraphProviderConfig {
+ const target = trimEnd(
+ config.getOptionalString('target') ?? DEFAULT_TARGET,
+ '/',
+ );
+ const authority = trimEnd(
+ config.getOptionalString('authority') ?? DEFAULT_AUTHORITY,
+ '/',
+ );
+
+ const clientId = config.getString('clientId');
+ const clientSecret = config.getString('clientSecret');
+ const tenantId = config.getString('tenantId');
+
+ const userExpand = config.getOptionalString('user.expand');
+ const userFilter = config.getOptionalString('user.filter');
+
+ const groupExpand = config.getOptionalString('group.expand');
+ const groupFilter = config.getOptionalString('group.filter');
+ const groupSearch = config.getOptionalString('group.search');
+ const groupSelect = config.getOptionalStringArray('group.select');
+
+ const userGroupMemberFilter = config.getOptionalString(
+ 'userGroupMember.filter',
+ );
+ const userGroupMemberSearch = config.getOptionalString(
+ 'userGroupMember.search',
+ );
+
+ if (userFilter && userGroupMemberFilter) {
+ throw new Error(
+ `userFilter and userGroupMemberFilter are mutually exclusive, only one can be specified.`,
+ );
+ }
+ if (userFilter && userGroupMemberSearch) {
+ throw new Error(
+ `userGroupMemberSearch cannot be specified when userFilter is defined.`,
+ );
+ }
+
+ return {
+ id,
+ target,
+ authority,
+ clientId,
+ clientSecret,
+ tenantId,
+ userExpand,
+ userFilter,
+ groupExpand,
+ groupFilter,
+ groupSearch,
+ groupSelect,
+ userGroupMemberFilter,
+ userGroupMemberSearch,
+ };
+}
diff --git a/plugins/catalog-backend-module-msgraph/src/processors/MicrosoftGraphOrgEntityProvider.test.ts b/plugins/catalog-backend-module-msgraph/src/processors/MicrosoftGraphOrgEntityProvider.test.ts
index 456afda550..26b4f80765 100644
--- a/plugins/catalog-backend-module-msgraph/src/processors/MicrosoftGraphOrgEntityProvider.test.ts
+++ b/plugins/catalog-backend-module-msgraph/src/processors/MicrosoftGraphOrgEntityProvider.test.ts
@@ -14,6 +14,7 @@
* limitations under the License.
*/
import { getVoidLogger } from '@backstage/backend-common';
+import { ConfigReader } from '@backstage/config';
import {
ANNOTATION_LOCATION,
ANNOTATION_ORIGIN_LOCATION,
@@ -78,19 +79,30 @@ describe('MicrosoftGraphOrgEntityProvider', () => {
],
});
+ const config = {
+ catalog: {
+ providers: {
+ microsoftGraphOrg: {
+ customProviderId: {
+ target: 'target',
+ tenantId: 'tenantId',
+ clientId: 'clientId',
+ clientSecret: 'clientSecret',
+ },
+ },
+ },
+ },
+ };
const entityProviderConnection: EntityProviderConnection = {
applyMutation: jest.fn(),
};
- const provider = new MicrosoftGraphOrgEntityProvider({
- id: 'test',
- logger: getVoidLogger(),
- provider: {
- target: 'https://example.com',
- tenantId: 'tenant',
- clientId: 'clientid',
- clientSecret: 'clientsecret',
+ const provider = MicrosoftGraphOrgEntityProvider.fromConfig(
+ new ConfigReader(config),
+ {
+ logger: getVoidLogger(),
+ schedule: 'manual',
},
- });
+ )[0];
provider.connect(entityProviderConnection);
@@ -104,8 +116,10 @@ describe('MicrosoftGraphOrgEntityProvider', () => {
kind: 'User',
metadata: {
annotations: {
- 'backstage.io/managed-by-location': 'msgraph:test/u1',
- 'backstage.io/managed-by-origin-location': 'msgraph:test/u1',
+ 'backstage.io/managed-by-location':
+ 'msgraph:customProviderId/u1',
+ 'backstage.io/managed-by-origin-location':
+ 'msgraph:customProviderId/u1',
},
name: 'u1',
},
@@ -113,7 +127,7 @@ describe('MicrosoftGraphOrgEntityProvider', () => {
memberOf: [],
},
},
- locationKey: 'msgraph-org-provider:test',
+ locationKey: 'msgraph-org-provider:customProviderId',
},
{
entity: {
@@ -121,8 +135,10 @@ describe('MicrosoftGraphOrgEntityProvider', () => {
kind: 'Group',
metadata: {
annotations: {
- 'backstage.io/managed-by-location': 'msgraph:test/g1',
- 'backstage.io/managed-by-origin-location': 'msgraph:test/g1',
+ 'backstage.io/managed-by-location':
+ 'msgraph:customProviderId/g1',
+ 'backstage.io/managed-by-origin-location':
+ 'msgraph:customProviderId/g1',
},
name: 'g1',
},
@@ -131,7 +147,7 @@ describe('MicrosoftGraphOrgEntityProvider', () => {
type: 'team',
},
},
- locationKey: 'msgraph-org-provider:test',
+ locationKey: 'msgraph-org-provider:customProviderId',
},
],
type: 'full',
diff --git a/plugins/catalog-backend-module-msgraph/src/processors/MicrosoftGraphOrgEntityProvider.ts b/plugins/catalog-backend-module-msgraph/src/processors/MicrosoftGraphOrgEntityProvider.ts
index d96faf8e03..4a52ddc665 100644
--- a/plugins/catalog-backend-module-msgraph/src/processors/MicrosoftGraphOrgEntityProvider.ts
+++ b/plugins/catalog-backend-module-msgraph/src/processors/MicrosoftGraphOrgEntityProvider.ts
@@ -40,13 +40,64 @@ import {
readMicrosoftGraphOrg,
UserTransformer,
} from '../microsoftGraph';
+import { readProviderConfigs } from '../microsoftGraph/config';
/**
* Options for {@link MicrosoftGraphOrgEntityProvider}.
*
* @public
*/
-export interface MicrosoftGraphOrgEntityProviderOptions {
+export type MicrosoftGraphOrgEntityProviderOptions =
+ | MicrosoftGraphOrgEntityProviderLegacyOptions
+ | {
+ /**
+ * The logger to use.
+ */
+ logger: Logger;
+
+ /**
+ * The refresh schedule to use.
+ *
+ * @remarks
+ *
+ * If you pass in 'manual', you are responsible for calling the `read` method
+ * manually at some interval.
+ *
+ * But more commonly you will pass in the result of
+ * {@link @backstage/backend-tasks#PluginTaskScheduler.createScheduledTaskRunner}
+ * to enable automatic scheduling of tasks.
+ */
+ schedule: 'manual' | TaskRunner;
+
+ /**
+ * The function that transforms a user entry in msgraph to an entity.
+ * Optionally, you can pass separate transformers per provider ID.
+ */
+ userTransformer?: UserTransformer | Record;
+
+ /**
+ * The function that transforms a group entry in msgraph to an entity.
+ * Optionally, you can pass separate transformers per provider ID.
+ */
+ groupTransformer?: GroupTransformer | Record;
+
+ /**
+ * The function that transforms an organization entry in msgraph to an entity.
+ * Optionally, you can pass separate transformers per provider ID.
+ */
+ organizationTransformer?:
+ | OrganizationTransformer
+ | Record;
+ };
+
+/**
+ * Legacy options for {@link MicrosoftGraphOrgEntityProvider}
+ * based on `catalog.processors.microsoftGraphOrg`.
+ *
+ * @public
+ * @deprecated This interface exists for backwards compatibility only and will be removed in the future.
+ */
+export interface MicrosoftGraphOrgEntityProviderLegacyOptions {
/**
* A unique, stable identifier for this provider.
*
@@ -57,7 +108,7 @@ export interface MicrosoftGraphOrgEntityProviderOptions {
/**
* The target that this provider should consume.
*
- * Should exactly match the "target" field of one of the providers
+ * Should exactly match the "target" field of one of the provider
* configuration entries.
*/
target: string;
@@ -110,7 +161,58 @@ export class MicrosoftGraphOrgEntityProvider implements EntityProvider {
static fromConfig(
configRoot: Config,
options: MicrosoftGraphOrgEntityProviderOptions,
- ) {
+ ): MicrosoftGraphOrgEntityProvider[] {
+ if ('id' in options) {
+ return [
+ MicrosoftGraphOrgEntityProvider.fromLegacyConfig(configRoot, options),
+ ];
+ }
+
+ function getTransformer(
+ id: string,
+ transformers?: T | Record,
+ ): T | undefined {
+ if (['undefined', 'function'].includes(typeof transformers)) {
+ return transformers as T;
+ }
+
+ return (transformers as Record)[id];
+ }
+
+ return readProviderConfigs(configRoot).map(providerConfig => {
+ const provider = new MicrosoftGraphOrgEntityProvider({
+ id: providerConfig.id,
+ provider: providerConfig,
+ logger: options.logger,
+ userTransformer: getTransformer(
+ providerConfig.id,
+ options.userTransformer,
+ ),
+ groupTransformer: getTransformer(
+ providerConfig.id,
+ options.groupTransformer,
+ ),
+ organizationTransformer: getTransformer(
+ providerConfig.id,
+ options.organizationTransformer,
+ ),
+ });
+ provider.schedule(options.schedule);
+
+ return provider;
+ });
+ }
+
+ /**
+ * @deprecated Exists for backwards compatibility only and will be removed in the future.
+ */
+ private static fromLegacyConfig(
+ configRoot: Config,
+ options: MicrosoftGraphOrgEntityProviderLegacyOptions,
+ ): MicrosoftGraphOrgEntityProvider {
+ options.logger.warn(
+ 'Deprecated msgraph config "catalog.processors.microsoftGraphOrg" used. Use "catalog.providers.microsoftGraphOrg" instead. More info at https://github.com/backstage/backstage/blob/master/.changeset/long-bananas-rescue.md',
+ );
const config = configRoot.getOptionalConfig(
'catalog.processors.microsoftGraphOrg',
);
diff --git a/plugins/catalog-backend-module-msgraph/src/processors/MicrosoftGraphOrgReaderProcessor.test.ts b/plugins/catalog-backend-module-msgraph/src/processors/MicrosoftGraphOrgReaderProcessor.test.ts
index 8236dc52e1..bcf76e9482 100644
--- a/plugins/catalog-backend-module-msgraph/src/processors/MicrosoftGraphOrgReaderProcessor.test.ts
+++ b/plugins/catalog-backend-module-msgraph/src/processors/MicrosoftGraphOrgReaderProcessor.test.ts
@@ -38,6 +38,7 @@ describe('MicrosoftGraphOrgReaderProcessor', () => {
processor = new MicrosoftGraphOrgReaderProcessor({
providers: [
{
+ id: 'https://example.com',
target: 'https://example.com',
tenantId: 'tenant',
clientId: 'clientid',
diff --git a/plugins/catalog-backend-module-msgraph/src/processors/MicrosoftGraphOrgReaderProcessor.ts b/plugins/catalog-backend-module-msgraph/src/processors/MicrosoftGraphOrgReaderProcessor.ts
index 5d0e6b2ec7..decd84ec1f 100644
--- a/plugins/catalog-backend-module-msgraph/src/processors/MicrosoftGraphOrgReaderProcessor.ts
+++ b/plugins/catalog-backend-module-msgraph/src/processors/MicrosoftGraphOrgReaderProcessor.ts
@@ -33,9 +33,10 @@ import {
} from '../microsoftGraph';
/**
- * Extracts teams and users out of a the Microsoft Graph API.
+ * Extracts teams and users out of the Microsoft Graph API.
*
* @public
+ * @deprecated Use the MicrosoftGraphOrgEntityProvider instead.
*/
export class MicrosoftGraphOrgReaderProcessor implements CatalogProcessor {
private readonly providers: MicrosoftGraphProviderConfig[];
@@ -67,6 +68,9 @@ export class MicrosoftGraphOrgReaderProcessor implements CatalogProcessor {
groupTransformer?: GroupTransformer;
organizationTransformer?: OrganizationTransformer;
}) {
+ options.logger.warn(
+ 'MicrosoftGraphOrgReaderProcessor is deprecated. Please use MicrosoftGraphOrgEntityProvider instead. More info at https://github.com/backstage/backstage/blob/master/.changeset/long-bananas-rescue.md',
+ );
this.providers = options.providers;
this.logger = options.logger;
this.userTransformer = options.userTransformer;
diff --git a/plugins/catalog-backend-module-msgraph/src/processors/index.ts b/plugins/catalog-backend-module-msgraph/src/processors/index.ts
index 7bc3559c8b..7e74ca1d8b 100644
--- a/plugins/catalog-backend-module-msgraph/src/processors/index.ts
+++ b/plugins/catalog-backend-module-msgraph/src/processors/index.ts
@@ -15,5 +15,8 @@
*/
export { MicrosoftGraphOrgEntityProvider } from './MicrosoftGraphOrgEntityProvider';
-export type { MicrosoftGraphOrgEntityProviderOptions } from './MicrosoftGraphOrgEntityProvider';
+export type {
+ MicrosoftGraphOrgEntityProviderOptions,
+ MicrosoftGraphOrgEntityProviderLegacyOptions,
+} from './MicrosoftGraphOrgEntityProvider';
export { MicrosoftGraphOrgReaderProcessor } from './MicrosoftGraphOrgReaderProcessor';
diff --git a/plugins/catalog-backend-module-openapi/CHANGELOG.md b/plugins/catalog-backend-module-openapi/CHANGELOG.md
new file mode 100644
index 0000000000..657238efda
--- /dev/null
+++ b/plugins/catalog-backend-module-openapi/CHANGELOG.md
@@ -0,0 +1,28 @@
+# @backstage/plugin-catalog-backend-module-openapi
+
+## 0.1.0-next.1
+
+### Patch Changes
+
+- 4881dc4c84: Updated dependency `openapi-types` to `^12.0.0`.
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/backend-common@0.14.1-next.2
+ - @backstage/plugin-catalog-backend@1.2.1-next.2
+ - @backstage/integration@1.2.2-next.2
+
+## 0.1.0-next.0
+
+### Minor Changes
+
+- 67503d159e: Add basic OpenAPI \$ref support.
+
+ For more information see [here](https://github.com/backstage/backstage/tree/master/plugins/catalog-backend-module-openapi).
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/plugin-catalog-backend@1.2.1-next.1
+ - @backstage/integration@1.2.2-next.1
diff --git a/plugins/catalog-backend-module-openapi/package.json b/plugins/catalog-backend-module-openapi/package.json
index 1c99618ff8..0b9c24369c 100644
--- a/plugins/catalog-backend-module-openapi/package.json
+++ b/plugins/catalog-backend-module-openapi/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-catalog-backend-module-openapi",
"description": "A Backstage catalog backend module that helps with OpenAPI specifications",
- "version": "0.0.0",
+ "version": "0.1.0-next.1",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -34,18 +34,18 @@
},
"dependencies": {
"@apidevtools/swagger-parser": "^10.1.0",
- "@backstage/backend-common": "^0.14.1-next.0",
- "@backstage/catalog-model": "^1.1.0-next.0",
+ "@backstage/backend-common": "^0.14.1-next.2",
+ "@backstage/catalog-model": "^1.1.0-next.2",
"@backstage/config": "^1.0.1",
- "@backstage/integration": "^1.2.2-next.0",
- "@backstage/plugin-catalog-backend": "^1.2.1-next.0",
+ "@backstage/integration": "^1.2.2-next.2",
+ "@backstage/plugin-catalog-backend": "^1.2.1-next.2",
"winston": "^3.2.1",
"yaml": "^2.1.1"
},
"devDependencies": {
- "@backstage/backend-test-utils": "^0.1.26-next.0",
- "@backstage/cli": "^0.17.3-next.0",
- "openapi-types": "^11.0.1"
+ "@backstage/backend-test-utils": "^0.1.26-next.2",
+ "@backstage/cli": "^0.18.0-next.2",
+ "openapi-types": "^12.0.0"
},
"files": [
"dist"
diff --git a/plugins/catalog-backend/CHANGELOG.md b/plugins/catalog-backend/CHANGELOG.md
index 84f80243fd..a228308681 100644
--- a/plugins/catalog-backend/CHANGELOG.md
+++ b/plugins/catalog-backend/CHANGELOG.md
@@ -1,5 +1,40 @@
# @backstage/plugin-catalog-backend
+## 1.2.1-next.2
+
+### Patch Changes
+
+- 679b32172e: Updated dependency `knex` to `^2.0.0`.
+- e2d7b76f43: Upgrade git-url-parse to 12.0.0.
+
+ Motivation for upgrade is transitively upgrading parse-url which is vulnerable
+ to several CVEs detected by Snyk.
+
+ - SNYK-JS-PARSEURL-2935944
+ - SNYK-JS-PARSEURL-2935947
+ - SNYK-JS-PARSEURL-2936249
+
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/backend-common@0.14.1-next.2
+ - @backstage/integration@1.2.2-next.2
+
+## 1.2.1-next.1
+
+### Patch Changes
+
+- f1dcc6f3c6: Use entity type predicates from catalog-model
+- Updated dependencies
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/backend-common@0.14.1-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/catalog-client@1.0.4-next.1
+ - @backstage/integration@1.2.2-next.1
+ - @backstage/plugin-catalog-common@1.0.4-next.0
+ - @backstage/plugin-permission-common@0.6.3-next.0
+ - @backstage/plugin-permission-node@0.6.3-next.1
+ - @backstage/plugin-search-common@0.3.6-next.0
+
## 1.2.1-next.0
### Patch Changes
diff --git a/plugins/catalog-backend/package.json b/plugins/catalog-backend/package.json
index 61a8e68412..ebed76ca90 100644
--- a/plugins/catalog-backend/package.json
+++ b/plugins/catalog-backend/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-catalog-backend",
"description": "The Backstage backend plugin that provides the Backstage catalog",
- "version": "1.2.1-next.0",
+ "version": "1.2.1-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -34,17 +34,17 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
- "@backstage/backend-common": "^0.14.1-next.0",
- "@backstage/catalog-client": "^1.0.4-next.0",
- "@backstage/catalog-model": "^1.1.0-next.0",
+ "@backstage/backend-common": "^0.14.1-next.2",
+ "@backstage/catalog-client": "^1.0.4-next.1",
+ "@backstage/catalog-model": "^1.1.0-next.2",
"@backstage/config": "^1.0.1",
- "@backstage/errors": "^1.0.0",
- "@backstage/integration": "^1.2.2-next.0",
- "@backstage/plugin-catalog-common": "^1.0.3",
- "@backstage/plugin-permission-common": "^0.6.2",
- "@backstage/plugin-permission-node": "^0.6.3-next.0",
+ "@backstage/errors": "^1.1.0-next.0",
+ "@backstage/integration": "^1.2.2-next.2",
+ "@backstage/plugin-catalog-common": "^1.0.4-next.0",
+ "@backstage/plugin-permission-common": "^0.6.3-next.0",
+ "@backstage/plugin-permission-node": "^0.6.3-next.1",
"@backstage/plugin-scaffolder-common": "^1.1.2-next.0",
- "@backstage/plugin-search-common": "^0.3.5",
+ "@backstage/plugin-search-common": "^0.3.6-next.0",
"@backstage/types": "^1.0.0",
"@types/express": "^4.17.6",
"codeowners-utils": "^1.0.2",
@@ -53,9 +53,9 @@
"express-promise-router": "^4.1.0",
"fast-json-stable-stringify": "^2.1.0",
"fs-extra": "10.1.0",
- "git-url-parse": "^11.6.0",
+ "git-url-parse": "^12.0.0",
"glob": "^7.1.6",
- "knex": "^1.0.2",
+ "knex": "^2.0.0",
"lodash": "^4.17.21",
"luxon": "^2.0.2",
"node-fetch": "^2.6.7",
@@ -68,17 +68,17 @@
"zod": "^3.11.6"
},
"devDependencies": {
- "@backstage/backend-test-utils": "^0.1.26-next.0",
- "@backstage/cli": "^0.17.3-next.0",
- "@backstage/plugin-permission-common": "^0.6.2",
- "@backstage/plugin-search-backend-node": "0.6.3-next.0",
+ "@backstage/backend-test-utils": "^0.1.26-next.2",
+ "@backstage/cli": "^0.18.0-next.2",
+ "@backstage/plugin-permission-common": "^0.6.3-next.0",
+ "@backstage/plugin-search-backend-node": "0.6.3-next.1",
"@types/core-js": "^2.5.4",
"@types/git-url-parse": "^9.0.0",
"@types/lodash": "^4.14.151",
"@types/supertest": "^2.0.8",
"@types/uuid": "^8.0.0",
"better-sqlite3": "^7.5.0",
- "msw": "^0.42.0",
+ "msw": "^0.43.0",
"supertest": "^6.1.3",
"wait-for-expect": "^3.0.2",
"luxon": "^2.0.2"
diff --git a/plugins/catalog-common/CHANGELOG.md b/plugins/catalog-common/CHANGELOG.md
index 72002894c4..7fa70e5859 100644
--- a/plugins/catalog-common/CHANGELOG.md
+++ b/plugins/catalog-common/CHANGELOG.md
@@ -1,5 +1,13 @@
# @backstage/plugin-catalog-common
+## 1.0.4-next.0
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/plugin-permission-common@0.6.3-next.0
+ - @backstage/plugin-search-common@0.3.6-next.0
+
## 1.0.3
### Patch Changes
diff --git a/plugins/catalog-common/package.json b/plugins/catalog-common/package.json
index 3adb442c3e..82c0d72855 100644
--- a/plugins/catalog-common/package.json
+++ b/plugins/catalog-common/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-catalog-common",
"description": "Common functionalities for the catalog plugin",
- "version": "1.0.3",
+ "version": "1.0.4-next.0",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -34,11 +34,11 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
- "@backstage/plugin-permission-common": "^0.6.2",
- "@backstage/plugin-search-common": "^0.3.5"
+ "@backstage/plugin-permission-common": "^0.6.3-next.0",
+ "@backstage/plugin-search-common": "^0.3.6-next.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0"
+ "@backstage/cli": "^0.18.0-next.1"
},
"files": [
"dist",
diff --git a/plugins/catalog-graph/CHANGELOG.md b/plugins/catalog-graph/CHANGELOG.md
index 5ce0a2d31b..f497b35628 100644
--- a/plugins/catalog-graph/CHANGELOG.md
+++ b/plugins/catalog-graph/CHANGELOG.md
@@ -1,5 +1,26 @@
# @backstage/plugin-catalog-graph
+## 0.2.19-next.2
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+
+## 0.2.19-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/catalog-client@1.0.4-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
## 0.2.19-next.0
### Patch Changes
diff --git a/plugins/catalog-graph/package.json b/plugins/catalog-graph/package.json
index 786f284628..c61d388f0b 100644
--- a/plugins/catalog-graph/package.json
+++ b/plugins/catalog-graph/package.json
@@ -1,6 +1,6 @@
{
"name": "@backstage/plugin-catalog-graph",
- "version": "0.2.19-next.0",
+ "version": "0.2.19-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -24,12 +24,12 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
- "@backstage/catalog-client": "^1.0.4-next.0",
- "@backstage/catalog-model": "^1.1.0-next.0",
- "@backstage/core-components": "^0.9.6-next.0",
+ "@backstage/catalog-client": "^1.0.4-next.1",
+ "@backstage/catalog-model": "^1.1.0-next.2",
+ "@backstage/core-components": "^0.10.0-next.2",
"@backstage/core-plugin-api": "^1.0.3",
- "@backstage/plugin-catalog-react": "^1.1.2-next.0",
- "@backstage/theme": "^0.2.15",
+ "@backstage/plugin-catalog-react": "^1.1.2-next.2",
+ "@backstage/theme": "^0.2.16-next.1",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "4.0.0-alpha.57",
@@ -45,11 +45,11 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.2",
"@backstage/core-app-api": "^1.0.4-next.0",
- "@backstage/dev-utils": "^1.0.4-next.0",
- "@backstage/plugin-catalog": "^1.3.1-next.0",
- "@backstage/test-utils": "^1.1.2-next.0",
+ "@backstage/dev-utils": "^1.0.4-next.2",
+ "@backstage/plugin-catalog": "^1.4.0-next.2",
+ "@backstage/test-utils": "^1.1.2-next.1",
"@backstage/types": "^1.0.0",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^12.1.3",
diff --git a/plugins/catalog-graphql/package.json b/plugins/catalog-graphql/package.json
index 411ae5ec17..81b31ffe51 100644
--- a/plugins/catalog-graphql/package.json
+++ b/plugins/catalog-graphql/package.json
@@ -34,7 +34,7 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
- "@backstage/catalog-model": "^1.1.0-next.0",
+ "@backstage/catalog-model": "^1.1.0-next.1",
"@backstage/config": "^1.0.1",
"@backstage/types": "^1.0.0",
"apollo-server": "^3.0.0",
@@ -46,14 +46,14 @@
"winston": "^3.2.1"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
- "@backstage/test-utils": "^1.1.2-next.0",
+ "@backstage/cli": "^0.18.0-next.1",
+ "@backstage/test-utils": "^1.1.2-next.1",
"@graphql-codegen/cli": "^2.3.1",
"@graphql-codegen/graphql-modules-preset": "^2.3.2",
"@graphql-codegen/typescript": "^2.4.2",
"@graphql-codegen/typescript-resolvers": "^2.4.3",
"@graphql-tools/schema": "^8.3.1",
- "msw": "^0.42.0"
+ "msw": "^0.43.0"
},
"files": [
"dist"
diff --git a/plugins/catalog-import/CHANGELOG.md b/plugins/catalog-import/CHANGELOG.md
index 1240ab1fc4..7de1bd72d0 100644
--- a/plugins/catalog-import/CHANGELOG.md
+++ b/plugins/catalog-import/CHANGELOG.md
@@ -1,5 +1,38 @@
# @backstage/plugin-catalog-import
+## 0.8.10-next.2
+
+### Patch Changes
+
+- e2d7b76f43: Upgrade git-url-parse to 12.0.0.
+
+ Motivation for upgrade is transitively upgrading parse-url which is vulnerable
+ to several CVEs detected by Snyk.
+
+ - SNYK-JS-PARSEURL-2935944
+ - SNYK-JS-PARSEURL-2935947
+ - SNYK-JS-PARSEURL-2936249
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/integration@1.2.2-next.2
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+ - @backstage/integration-react@1.1.2-next.2
+
+## 0.8.10-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/catalog-client@1.0.4-next.1
+ - @backstage/integration@1.2.2-next.1
+ - @backstage/integration-react@1.1.2-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+
## 0.8.10-next.0
### Patch Changes
diff --git a/plugins/catalog-import/package.json b/plugins/catalog-import/package.json
index 527faad4b3..042e85f792 100644
--- a/plugins/catalog-import/package.json
+++ b/plugins/catalog-import/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-catalog-import",
"description": "A Backstage plugin the helps you import entities into your catalog",
- "version": "0.8.10-next.0",
+ "version": "0.8.10-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -34,20 +34,20 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
- "@backstage/catalog-client": "^1.0.4-next.0",
- "@backstage/catalog-model": "^1.1.0-next.0",
+ "@backstage/catalog-client": "^1.0.4-next.1",
+ "@backstage/catalog-model": "^1.1.0-next.2",
"@backstage/config": "^1.0.1",
- "@backstage/core-components": "^0.9.6-next.0",
+ "@backstage/core-components": "^0.10.0-next.2",
"@backstage/core-plugin-api": "^1.0.3",
- "@backstage/errors": "^1.0.0",
- "@backstage/integration": "^1.2.2-next.0",
- "@backstage/integration-react": "^1.1.2-next.0",
- "@backstage/plugin-catalog-react": "^1.1.2-next.0",
+ "@backstage/errors": "^1.1.0-next.0",
+ "@backstage/integration": "^1.2.2-next.2",
+ "@backstage/integration-react": "^1.1.2-next.2",
+ "@backstage/plugin-catalog-react": "^1.1.2-next.2",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "4.0.0-alpha.57",
"@octokit/rest": "^18.5.3",
- "git-url-parse": "^11.6.0",
+ "git-url-parse": "^12.0.0",
"js-base64": "^3.6.0",
"lodash": "^4.17.21",
"react-hook-form": "^7.12.2",
@@ -60,17 +60,17 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.2",
"@backstage/core-app-api": "^1.0.4-next.0",
- "@backstage/dev-utils": "^1.0.4-next.0",
- "@backstage/test-utils": "^1.1.2-next.0",
+ "@backstage/dev-utils": "^1.0.4-next.2",
+ "@backstage/test-utils": "^1.1.2-next.1",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^12.1.3",
"@testing-library/react-hooks": "^8.0.0",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^26.0.7",
"cross-fetch": "^3.1.5",
- "msw": "^0.42.0"
+ "msw": "^0.43.0"
},
"files": [
"dist",
diff --git a/plugins/catalog-react/CHANGELOG.md b/plugins/catalog-react/CHANGELOG.md
index 8b396ca878..0df99a1bb9 100644
--- a/plugins/catalog-react/CHANGELOG.md
+++ b/plugins/catalog-react/CHANGELOG.md
@@ -1,5 +1,69 @@
# @backstage/plugin-catalog-react
+## 1.1.2-next.2
+
+### Patch Changes
+
+- be26d95141: Added new `EntityProcessingStatusPicker` that will filter for entities with orphans and/or errors.
+
+ If you are using the default Catalog page this picker will be added automatically. For those who have customized their Catalog page you'll need to add this manually by doing something like this:
+
+ ```diff
+ ...
+ import {
+ CatalogFilterLayout,
+ EntityTypePicker,
+ UserListPicker,
+ EntityTagPicker
+ + EntityProcessingStatusPicker,
+ } from '@backstage/plugin-catalog-react';
+ ...
+ export const CustomCatalogPage = ({
+ columns,
+ actions,
+ initiallySelectedFilter = 'owned',
+ }: CatalogPageProps) => {
+ return (
+ ...
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ ...
+ };
+ ```
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/integration@1.2.2-next.2
+
+## 1.1.2-next.1
+
+### Patch Changes
+
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/catalog-client@1.0.4-next.1
+ - @backstage/integration@1.2.2-next.1
+ - @backstage/plugin-catalog-common@1.0.4-next.0
+ - @backstage/plugin-permission-common@0.6.3-next.0
+ - @backstage/plugin-permission-react@0.4.3-next.0
+
## 1.1.2-next.0
### Patch Changes
diff --git a/plugins/catalog-react/api-report.md b/plugins/catalog-react/api-report.md
index 285ecafd70..5232c49150 100644
--- a/plugins/catalog-react/api-report.md
+++ b/plugins/catalog-react/api-report.md
@@ -78,6 +78,7 @@ export type CatalogReactComponentsNameToClassKey = {
CatalogReactEntitySearchBar: CatalogReactEntitySearchBarClassKey;
CatalogReactEntityTagPicker: CatalogReactEntityTagPickerClassKey;
CatalogReactEntityOwnerPicker: CatalogReactEntityOwnerPickerClassKey;
+ CatalogReactEntityProcessingStatusPicker: CatalogReactEntityProcessingStatusPickerClassKey;
};
// @public (undocumented)
@@ -86,6 +87,9 @@ export type CatalogReactEntityLifecyclePickerClassKey = 'input';
// @public (undocumented)
export type CatalogReactEntityOwnerPickerClassKey = 'input';
+// @public (undocumented)
+export type CatalogReactEntityProcessingStatusPickerClassKey = 'input';
+
// @public (undocumented)
export type CatalogReactEntitySearchBarClassKey = 'searchToolbar' | 'input';
@@ -137,8 +141,19 @@ export type DefaultEntityFilters = {
lifecycles?: EntityLifecycleFilter;
tags?: EntityTagFilter;
text?: EntityTextFilter;
+ orphan?: EntityOrphanFilter;
+ error?: EntityErrorFilter;
};
+// @public
+export class EntityErrorFilter implements EntityFilter {
+ constructor(value: boolean);
+ // (undocumented)
+ filterEntity(entity: Entity): boolean;
+ // (undocumented)
+ readonly value: boolean;
+}
+
// @public (undocumented)
export type EntityFilter = {
getCatalogFilters?: () => Record<
@@ -222,6 +237,15 @@ export type EntityLoadingStatus = {
refresh?: VoidFunction;
};
+// @public
+export class EntityOrphanFilter implements EntityFilter {
+ constructor(value: boolean);
+ // (undocumented)
+ filterEntity(entity: Entity): boolean;
+ // (undocumented)
+ readonly value: boolean;
+}
+
// @public
export class EntityOwnerFilter implements EntityFilter {
constructor(values: string[]);
@@ -236,6 +260,9 @@ export class EntityOwnerFilter implements EntityFilter {
// @public (undocumented)
export const EntityOwnerPicker: () => JSX.Element | null;
+// @public (undocumented)
+export const EntityProcessingStatusPicker: () => JSX.Element;
+
// @public
export const EntityProvider: (props: EntityProviderProps) => JSX.Element;
diff --git a/plugins/catalog-react/package.json b/plugins/catalog-react/package.json
index a525a0af50..3f3ee5f402 100644
--- a/plugins/catalog-react/package.json
+++ b/plugins/catalog-react/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-catalog-react",
"description": "A frontend library that helps other Backstage plugins interact with the catalog",
- "version": "1.1.2-next.0",
+ "version": "1.1.2-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -34,16 +34,16 @@
"start": "backstage-cli package start"
},
"dependencies": {
- "@backstage/catalog-client": "^1.0.4-next.0",
- "@backstage/catalog-model": "^1.1.0-next.0",
- "@backstage/core-components": "^0.9.6-next.0",
+ "@backstage/catalog-client": "^1.0.4-next.1",
+ "@backstage/catalog-model": "^1.1.0-next.2",
+ "@backstage/core-components": "^0.10.0-next.2",
"@backstage/core-plugin-api": "^1.0.3",
- "@backstage/errors": "^1.0.0",
- "@backstage/integration": "^1.2.2-next.0",
- "@backstage/plugin-catalog-common": "^1.0.3",
- "@backstage/plugin-permission-common": "^0.6.2",
- "@backstage/plugin-permission-react": "^0.4.2",
- "@backstage/theme": "^0.2.15",
+ "@backstage/errors": "^1.1.0-next.0",
+ "@backstage/integration": "^1.2.2-next.2",
+ "@backstage/plugin-catalog-common": "^1.0.4-next.0",
+ "@backstage/plugin-permission-common": "^0.6.3-next.0",
+ "@backstage/plugin-permission-react": "^0.4.3-next.0",
+ "@backstage/theme": "^0.2.16-next.1",
"@backstage/types": "^1.0.0",
"@backstage/version-bridge": "^1.0.1",
"@material-ui/core": "^4.12.2",
@@ -63,11 +63,11 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.2",
"@backstage/core-app-api": "^1.0.4-next.0",
- "@backstage/plugin-catalog-common": "^1.0.3",
+ "@backstage/plugin-catalog-common": "^1.0.4-next.0",
"@backstage/plugin-scaffolder-common": "^1.1.2-next.0",
- "@backstage/test-utils": "^1.1.2-next.0",
+ "@backstage/test-utils": "^1.1.2-next.1",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^12.1.3",
"@testing-library/react-hooks": "^8.0.0",
diff --git a/plugins/catalog-react/src/components/EntityProcessingStatusPicker/EntityProcessingStatusPicker.test.tsx b/plugins/catalog-react/src/components/EntityProcessingStatusPicker/EntityProcessingStatusPicker.test.tsx
new file mode 100644
index 0000000000..8e90e04148
--- /dev/null
+++ b/plugins/catalog-react/src/components/EntityProcessingStatusPicker/EntityProcessingStatusPicker.test.tsx
@@ -0,0 +1,152 @@
+/*
+ * Copyright 2022 The Backstage Authors
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import { Entity } from '@backstage/catalog-model';
+import { fireEvent, render } from '@testing-library/react';
+import React from 'react';
+import { EntityErrorFilter, EntityOrphanFilter } from '../../filters';
+import { MockEntityListContextProvider } from '../../testUtils/providers';
+import { EntityProcessingStatusPicker } from './EntityProcessingStatusPicker';
+
+const orphanAnnotation: Record = {};
+orphanAnnotation['backstage.io/orphan'] = 'true';
+
+const sampleEntities: Entity[] = [
+ {
+ apiVersion: '1',
+ kind: 'Component',
+ metadata: {
+ name: 'valid-component',
+ },
+ },
+ {
+ apiVersion: '1',
+ kind: 'Component',
+ metadata: {
+ name: 'orphan-component',
+ annotations: orphanAnnotation,
+ },
+ },
+ {
+ apiVersion: '1',
+ kind: 'Component',
+ metadata: {
+ name: 'error-component',
+ tags: ['Invalid Tag'],
+ },
+ },
+];
+
+describe('', () => {
+ it('renders all processing status options', () => {
+ const rendered = render(
+
+
+ ,
+ );
+ expect(rendered.getByText('Processing Status')).toBeInTheDocument();
+
+ fireEvent.click(rendered.getByTestId('processing-status-picker-expand'));
+ expect(rendered.getByText('Is Orphan')).toBeInTheDocument();
+ expect(rendered.getByText('Has Error')).toBeInTheDocument();
+ });
+
+ it('adds orphan to orphan filter', () => {
+ const updateFilters = jest.fn();
+ const rendered = render(
+
+
+ ,
+ );
+
+ fireEvent.click(rendered.getByTestId('processing-status-picker-expand'));
+ fireEvent.click(rendered.getByText('Is Orphan'));
+ expect(updateFilters).toHaveBeenCalledWith({
+ orphan: new EntityOrphanFilter(true),
+ });
+ });
+
+ it('adds error to error filter', () => {
+ const updateFilters = jest.fn();
+ const rendered = render(
+
+
+ ,
+ );
+
+ fireEvent.click(rendered.getByTestId('processing-status-picker-expand'));
+ fireEvent.click(rendered.getByText('Has Error'));
+ expect(updateFilters).toHaveBeenCalledWith({
+ error: new EntityErrorFilter(true),
+ });
+ });
+
+ it('remove orphan from orphan filter', () => {
+ const updateFilters = jest.fn();
+ const rendered = render(
+
+
+ ,
+ );
+
+ fireEvent.click(rendered.getByTestId('processing-status-picker-expand'));
+ fireEvent.click(rendered.getByText('Is Orphan'));
+ expect(updateFilters).toHaveBeenCalledWith({
+ orphan: undefined,
+ });
+ });
+
+ it('remove error from error filter', () => {
+ const updateFilters = jest.fn();
+ const rendered = render(
+
+
+ ,
+ );
+
+ fireEvent.click(rendered.getByTestId('processing-status-picker-expand'));
+ fireEvent.click(rendered.getByText('Has Error'));
+ expect(updateFilters).toHaveBeenCalledWith({
+ error: undefined,
+ });
+ });
+});
diff --git a/plugins/catalog-react/src/components/EntityProcessingStatusPicker/EntityProcessingStatusPicker.tsx b/plugins/catalog-react/src/components/EntityProcessingStatusPicker/EntityProcessingStatusPicker.tsx
new file mode 100644
index 0000000000..3fe3b60e25
--- /dev/null
+++ b/plugins/catalog-react/src/components/EntityProcessingStatusPicker/EntityProcessingStatusPicker.tsx
@@ -0,0 +1,111 @@
+/*
+ * Copyright 2022 The Backstage Authors
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import { EntityErrorFilter, EntityOrphanFilter } from '../../filters';
+import {
+ Box,
+ Checkbox,
+ FormControlLabel,
+ makeStyles,
+ TextField,
+ Typography,
+} from '@material-ui/core';
+import CheckBoxIcon from '@material-ui/icons/CheckBox';
+import CheckBoxOutlineBlankIcon from '@material-ui/icons/CheckBoxOutlineBlank';
+import ExpandMoreIcon from '@material-ui/icons/ExpandMore';
+import React, { useState } from 'react';
+import { useEntityList } from '../../hooks';
+import { Autocomplete } from '@material-ui/lab';
+
+/** @public */
+export type CatalogReactEntityProcessingStatusPickerClassKey = 'input';
+
+const useStyles = makeStyles(
+ {
+ input: {},
+ },
+ {
+ name: 'CatalogReactEntityProcessingStatusPickerPicker',
+ },
+);
+
+const icon = ;
+const checkedIcon = ;
+
+/** @public */
+export const EntityProcessingStatusPicker = () => {
+ const classes = useStyles();
+ const { updateFilters } = useEntityList();
+
+ const [selectedAdvancedItems, setSelectedAdvancedItems] = useState(
+ [],
+ );
+
+ function orphanChange(value: boolean) {
+ updateFilters({
+ orphan: value ? new EntityOrphanFilter(value) : undefined,
+ });
+ }
+
+ function errorChange(value: boolean) {
+ updateFilters({
+ error: value ? new EntityErrorFilter(value) : undefined,
+ });
+ }
+
+ const availableAdvancedItems = ['Is Orphan', 'Has Error'];
+
+ return (
+
+
+ Processing Status
+ {
+ setSelectedAdvancedItems(value);
+ orphanChange(value.includes('Is Orphan'));
+ errorChange(value.includes('Has Error'));
+ }}
+ renderOption={(option, { selected }) => (
+
+ }
+ label={option}
+ />
+ )}
+ size="small"
+ popupIcon={
+
+ }
+ renderInput={params => (
+
+ )}
+ />
+
+
+ );
+};
diff --git a/plugins/catalog-react/src/components/EntityProcessingStatusPicker/index.ts b/plugins/catalog-react/src/components/EntityProcessingStatusPicker/index.ts
new file mode 100644
index 0000000000..55daeaecc0
--- /dev/null
+++ b/plugins/catalog-react/src/components/EntityProcessingStatusPicker/index.ts
@@ -0,0 +1,17 @@
+/*
+ * Copyright 2022 The Backstage Authors
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+export { EntityProcessingStatusPicker as EntityProcessingStatusPicker } from './EntityProcessingStatusPicker';
+export type { CatalogReactEntityProcessingStatusPickerClassKey } from './EntityProcessingStatusPicker';
diff --git a/plugins/catalog-react/src/components/index.ts b/plugins/catalog-react/src/components/index.ts
index 7a26a72bf9..c604306ead 100644
--- a/plugins/catalog-react/src/components/index.ts
+++ b/plugins/catalog-react/src/components/index.ts
@@ -27,3 +27,4 @@ export * from './FavoriteEntity';
export * from './InspectEntityDialog';
export * from './UnregisterEntityDialog';
export * from './UserListPicker';
+export * from './EntityProcessingStatusPicker';
diff --git a/plugins/catalog-react/src/filters.test.ts b/plugins/catalog-react/src/filters.test.ts
index ba31e21122..c2c92e033e 100644
--- a/plugins/catalog-react/src/filters.test.ts
+++ b/plugins/catalog-react/src/filters.test.ts
@@ -14,9 +14,13 @@
* limitations under the License.
*/
-import { Entity } from '@backstage/catalog-model';
+import { AlphaEntity, Entity } from '@backstage/catalog-model';
import { TemplateEntityV1beta3 } from '@backstage/plugin-scaffolder-common';
-import { EntityTextFilter } from './filters';
+import {
+ EntityErrorFilter,
+ EntityOrphanFilter,
+ EntityTextFilter,
+} from './filters';
const entities: Entity[] = [
{
@@ -91,3 +95,50 @@ describe('EntityTextFilter', () => {
expect(filter.filterEntity(entities[1])).toBeTruthy();
});
});
+
+describe('EntityOrphanFilter', () => {
+ const orphanAnnotation: Record = {};
+ orphanAnnotation['backstage.io/orphan'] = 'true';
+
+ const orphan: Entity = {
+ apiVersion: '1',
+ kind: 'Component',
+ metadata: {
+ name: 'orphaned-service',
+ annotations: orphanAnnotation,
+ },
+ };
+
+ it('should find orphans', () => {
+ const filter = new EntityOrphanFilter(true);
+ expect(filter.filterEntity(orphan)).toBeTruthy();
+ expect(filter.filterEntity(entities[1])).toBeFalsy();
+ });
+});
+
+describe('EntityErrorFilter', () => {
+ const error: AlphaEntity = {
+ apiVersion: '1',
+ kind: 'Component',
+ metadata: {
+ name: 'service-with-error',
+ tags: ['Invalid Tag'],
+ },
+ status: {
+ items: [
+ {
+ type: 'invalid-tag',
+ level: 'error',
+ message: 'Tag is not valid',
+ error: undefined,
+ },
+ ],
+ },
+ };
+
+ it('should find errors', () => {
+ const filter = new EntityErrorFilter(true);
+ expect(filter.filterEntity(error)).toBeTruthy();
+ expect(filter.filterEntity(entities[1])).toBeFalsy();
+ });
+});
diff --git a/plugins/catalog-react/src/filters.ts b/plugins/catalog-react/src/filters.ts
index 9fb057a01c..a828015f0e 100644
--- a/plugins/catalog-react/src/filters.ts
+++ b/plugins/catalog-react/src/filters.ts
@@ -14,7 +14,11 @@
* limitations under the License.
*/
-import { Entity, RELATION_OWNED_BY } from '@backstage/catalog-model';
+import {
+ AlphaEntity,
+ Entity,
+ RELATION_OWNED_BY,
+} from '@backstage/catalog-model';
import { humanizeEntityRef } from './components/EntityRefLink';
import { EntityFilter, UserListFilterKind } from './types';
import { getEntityRelations } from './utils';
@@ -159,3 +163,28 @@ export class UserListFilter implements EntityFilter {
return this.value;
}
}
+
+/**
+ * Filters entities based if it is an orphan or not.
+ * @public
+ */
+export class EntityOrphanFilter implements EntityFilter {
+ constructor(readonly value: boolean) {}
+ filterEntity(entity: Entity): boolean {
+ const orphan = entity.metadata.annotations?.['backstage.io/orphan'];
+ return orphan !== undefined && this.value.toString() === orphan;
+ }
+}
+
+/**
+ * Filters entities based on if it has errors or not.
+ * @public
+ */
+export class EntityErrorFilter implements EntityFilter {
+ constructor(readonly value: boolean) {}
+ filterEntity(entity: Entity): boolean {
+ const error =
+ ((entity as AlphaEntity)?.status?.items?.length as number) > 0;
+ return error !== undefined && this.value === error;
+ }
+}
diff --git a/plugins/catalog-react/src/hooks/useEntityListProvider.tsx b/plugins/catalog-react/src/hooks/useEntityListProvider.tsx
index ccac475ae8..089701d8b4 100644
--- a/plugins/catalog-react/src/hooks/useEntityListProvider.tsx
+++ b/plugins/catalog-react/src/hooks/useEntityListProvider.tsx
@@ -31,8 +31,10 @@ import useDebounce from 'react-use/lib/useDebounce';
import useMountedState from 'react-use/lib/useMountedState';
import { catalogApiRef } from '../api';
import {
+ EntityErrorFilter,
EntityKindFilter,
EntityLifecycleFilter,
+ EntityOrphanFilter,
EntityOwnerFilter,
EntityTagFilter,
EntityTextFilter,
@@ -52,6 +54,8 @@ export type DefaultEntityFilters = {
lifecycles?: EntityLifecycleFilter;
tags?: EntityTagFilter;
text?: EntityTextFilter;
+ orphan?: EntityOrphanFilter;
+ error?: EntityErrorFilter;
};
/** @public */
diff --git a/plugins/catalog-react/src/overridableComponents.ts b/plugins/catalog-react/src/overridableComponents.ts
index 1e654988e4..c3b392fcfe 100644
--- a/plugins/catalog-react/src/overridableComponents.ts
+++ b/plugins/catalog-react/src/overridableComponents.ts
@@ -22,6 +22,7 @@ import {
CatalogReactEntitySearchBarClassKey,
CatalogReactEntityTagPickerClassKey,
CatalogReactEntityOwnerPickerClassKey,
+ CatalogReactEntityProcessingStatusPickerClassKey,
} from './components';
/** @public */
@@ -31,6 +32,7 @@ export type CatalogReactComponentsNameToClassKey = {
CatalogReactEntitySearchBar: CatalogReactEntitySearchBarClassKey;
CatalogReactEntityTagPicker: CatalogReactEntityTagPickerClassKey;
CatalogReactEntityOwnerPicker: CatalogReactEntityOwnerPickerClassKey;
+ CatalogReactEntityProcessingStatusPicker: CatalogReactEntityProcessingStatusPickerClassKey;
};
/** @public */
diff --git a/plugins/catalog/CHANGELOG.md b/plugins/catalog/CHANGELOG.md
index cc64ccd3ee..5e00cd2661 100644
--- a/plugins/catalog/CHANGELOG.md
+++ b/plugins/catalog/CHANGELOG.md
@@ -1,5 +1,82 @@
# @backstage/plugin-catalog
+## 1.4.0-next.2
+
+### Minor Changes
+
+- a274fe38b9: Add hidden title column to catalog and API table to enable filtering by title.
+
+### Patch Changes
+
+- 258057a4b9: Adding ability to customize the "unregister entity" menu item in the entity context menu on the entity page with options 'visible','hidden','disabled'.With this three new options, one can hide the "unregister entity" menu item from the list, disable or keep it enabled.
+
+ The boolean input for "unregister entity" will be deprecated later in favour of the above three options.
+
+- 385389d23c: Updated to remove usage of the `bursts` object in the theme palette
+- be26d95141: Added new `EntityProcessingStatusPicker` that will filter for entities with orphans and/or errors.
+
+ If you are using the default Catalog page this picker will be added automatically. For those who have customized their Catalog page you'll need to add this manually by doing something like this:
+
+ ```diff
+ ...
+ import {
+ CatalogFilterLayout,
+ EntityTypePicker,
+ UserListPicker,
+ EntityTagPicker
+ + EntityProcessingStatusPicker,
+ } from '@backstage/plugin-catalog-react';
+ ...
+ export const CustomCatalogPage = ({
+ columns,
+ actions,
+ initiallySelectedFilter = 'owned',
+ }: CatalogPageProps) => {
+ return (
+ ...
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ ...
+ };
+ ```
+
+- Updated dependencies
+ - @backstage/core-components@0.10.0-next.2
+ - @backstage/catalog-model@1.1.0-next.2
+ - @backstage/plugin-search-react@0.2.2-next.2
+ - @backstage/theme@0.2.16-next.1
+ - @backstage/plugin-catalog-react@1.1.2-next.2
+ - @backstage/integration-react@1.1.2-next.2
+
+## 1.3.1-next.1
+
+### Patch Changes
+
+- f1dcc6f3c6: Use entity type predicates from catalog-model
+- Updated dependencies
+ - @backstage/core-components@0.9.6-next.1
+ - @backstage/catalog-model@1.1.0-next.1
+ - @backstage/errors@1.1.0-next.0
+ - @backstage/theme@0.2.16-next.0
+ - @backstage/catalog-client@1.0.4-next.1
+ - @backstage/integration-react@1.1.2-next.1
+ - @backstage/plugin-catalog-common@1.0.4-next.0
+ - @backstage/plugin-catalog-react@1.1.2-next.1
+ - @backstage/plugin-search-common@0.3.6-next.0
+ - @backstage/plugin-search-react@0.2.2-next.1
+
## 1.3.1-next.0
### Patch Changes
diff --git a/plugins/catalog/api-report.md b/plugins/catalog/api-report.md
index 0d2d611412..bfdf62bdb0 100644
--- a/plugins/catalog/api-report.md
+++ b/plugins/catalog/api-report.md
@@ -136,6 +136,13 @@ export const CatalogTable: {
createSpecLifecycleColumn(): TableColumn;
createMetadataDescriptionColumn(): TableColumn;
createTagsColumn(): TableColumn;
+ createTitleColumn(
+ options?:
+ | {
+ hidden?: boolean | undefined;
+ }
+ | undefined,
+ ): TableColumn;
}>;
};
@@ -259,10 +266,10 @@ export interface EntityLayoutProps {
children?: React_2.ReactNode;
// (undocumented)
NotFoundComponent?: React_2.ReactNode;
- // Warning: (ae-forgotten-export) The symbol "contextMenuOptions" needs to be exported by the entry point index.d.ts
+ // Warning: (ae-forgotten-export) The symbol "EntityContextMenuOptions" needs to be exported by the entry point index.d.ts
//
// (undocumented)
- UNSTABLE_contextMenuOptions?: contextMenuOptions;
+ UNSTABLE_contextMenuOptions?: EntityContextMenuOptions;
// Warning: (ae-forgotten-export) The symbol "ExtraContextMenuItem" needs to be exported by the entry point index.d.ts
//
// (undocumented)
diff --git a/plugins/catalog/package.json b/plugins/catalog/package.json
index 786083356a..a294e64d29 100644
--- a/plugins/catalog/package.json
+++ b/plugins/catalog/package.json
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-catalog",
"description": "The Backstage plugin for browsing the Backstage catalog",
- "version": "1.3.1-next.0",
+ "version": "1.4.0-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -34,17 +34,17 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
- "@backstage/catalog-client": "^1.0.4-next.0",
- "@backstage/catalog-model": "^1.1.0-next.0",
- "@backstage/core-components": "^0.9.6-next.0",
+ "@backstage/catalog-client": "^1.0.4-next.1",
+ "@backstage/catalog-model": "^1.1.0-next.2",
+ "@backstage/core-components": "^0.10.0-next.2",
"@backstage/core-plugin-api": "^1.0.3",
- "@backstage/errors": "^1.0.0",
- "@backstage/integration-react": "^1.1.2-next.0",
- "@backstage/plugin-catalog-common": "^1.0.3",
- "@backstage/plugin-catalog-react": "^1.1.2-next.0",
- "@backstage/plugin-search-common": "^0.3.5",
- "@backstage/plugin-search-react": "^0.2.2-next.0",
- "@backstage/theme": "^0.2.15",
+ "@backstage/errors": "^1.1.0-next.0",
+ "@backstage/integration-react": "^1.1.2-next.2",
+ "@backstage/plugin-catalog-common": "^1.0.4-next.0",
+ "@backstage/plugin-catalog-react": "^1.1.2-next.2",
+ "@backstage/plugin-search-common": "^0.3.6-next.0",
+ "@backstage/plugin-search-react": "^0.2.2-next.2",
+ "@backstage/theme": "^0.2.16-next.1",
"@backstage/types": "^1.0.0",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
@@ -61,11 +61,11 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
- "@backstage/cli": "^0.17.3-next.0",
+ "@backstage/cli": "^0.18.0-next.2",
"@backstage/core-app-api": "^1.0.4-next.0",
- "@backstage/dev-utils": "^1.0.4-next.0",
- "@backstage/plugin-permission-react": "^0.4.2",
- "@backstage/test-utils": "^1.1.2-next.0",
+ "@backstage/dev-utils": "^1.0.4-next.2",
+ "@backstage/plugin-permission-react": "^0.4.3-next.0",
+ "@backstage/test-utils": "^1.1.2-next.1",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^12.1.3",
"@testing-library/user-event": "^14.0.0",
diff --git a/plugins/catalog/src/components/CatalogPage/DefaultCatalogPage.tsx b/plugins/catalog/src/components/CatalogPage/DefaultCatalogPage.tsx
index 5250dcec0d..51ef12ac74 100644
--- a/plugins/catalog/src/components/CatalogPage/DefaultCatalogPage.tsx
+++ b/plugins/catalog/src/components/CatalogPage/DefaultCatalogPage.tsx
@@ -28,6 +28,7 @@ import {
CatalogFilterLayout,
EntityLifecyclePicker,
EntityListProvider,
+ EntityProcessingStatusPicker,
EntityOwnerPicker,
EntityTagPicker,
EntityTypePicker,
@@ -84,6 +85,7 @@ export function DefaultCatalogPage(props: DefaultCatalogPageProps) {
+
{
const defaultColumns: TableColumn[] = useMemo(() => {
return [
+ columnFactories.createTitleColumn({ hidden: true }),
columnFactories.createNameColumn({ defaultKind: filters.kind?.value }),
...createEntitySpecificColumns(),
columnFactories.createMetadataDescriptionColumn(),
diff --git a/plugins/catalog/src/components/CatalogTable/columns.tsx b/plugins/catalog/src/components/CatalogTable/columns.tsx
index 0fb91d4f3f..d8b52e276e 100644
--- a/plugins/catalog/src/components/CatalogTable/columns.tsx
+++ b/plugins/catalog/src/components/CatalogTable/columns.tsx
@@ -131,4 +131,14 @@ export const columnFactories = Object.freeze({
),
};
},
+ createTitleColumn(options?: {
+ hidden?: boolean;
+ }): TableColumn {
+ return {
+ title: 'Title',
+ field: 'entity.metadata.title',
+ hidden: options?.hidden,
+ searchable: true,
+ };
+ },
});
diff --git a/plugins/catalog/src/components/EntityContextMenu/EntityContextMenu.test.tsx b/plugins/catalog/src/components/EntityContextMenu/EntityContextMenu.test.tsx
index eb920aaa20..0e981bb1fc 100644
--- a/plugins/catalog/src/components/EntityContextMenu/EntityContextMenu.test.tsx
+++ b/plugins/catalog/src/components/EntityContextMenu/EntityContextMenu.test.tsx
@@ -42,7 +42,6 @@ function render(children: React.ReactNode) {
describe('ComponentContextMenu', () => {
it('should call onUnregisterEntity on button click', async () => {
const mockCallback = jest.fn();
-
await render(
{
expect(mockCallback).toBeCalled();
});
+ it('check Unregister entity button is disabled', async () => {
+ const mockCallback = jest.fn();
+
+ const { getByText } = await render(
+ {}}
+ />,
+ );
+
+ const button = await screen.findByTestId('menu-button');
+ expect(button).toBeInTheDocument();
+ fireEvent.click(button);
+
+ const unregister = await screen.getByText('Unregister entity');
+ expect(unregister).toBeInTheDocument();
+
+ const unregisterSpanItem = getByText(/Unregister entity/);
+ const unregisterMenuListItem =
+ unregisterSpanItem?.parentElement?.parentElement;
+ expect(unregisterMenuListItem).toHaveAttribute('aria-disabled');
+ });
+
it('should call onInspectEntity on button click', async () => {
const mockCallback = jest.fn();
diff --git a/plugins/catalog/src/components/EntityContextMenu/EntityContextMenu.tsx b/plugins/catalog/src/components/EntityContextMenu/EntityContextMenu.tsx
index db50eeab84..41610ed13c 100644
--- a/plugins/catalog/src/components/EntityContextMenu/EntityContextMenu.tsx
+++ b/plugins/catalog/src/components/EntityContextMenu/EntityContextMenu.tsx
@@ -24,7 +24,6 @@ import {
Popover,
} from '@material-ui/core';
import { makeStyles } from '@material-ui/core/styles';
-import CancelIcon from '@material-ui/icons/Cancel';
import BugReportIcon from '@material-ui/icons/BugReport';
import MoreVert from '@material-ui/icons/MoreVert';
import React, { useState } from 'react';
@@ -32,6 +31,7 @@ import { IconComponent } from '@backstage/core-plugin-api';
import { useEntityPermission } from '@backstage/plugin-catalog-react';
import { catalogEntityDeletePermission } from '@backstage/plugin-catalog-common';
import { BackstageTheme } from '@backstage/theme';
+import { UnregisterEntity, UnregisterEntityOptions } from './UnregisterEntity';
/** @public */
export type EntityContextMenuClassKey = 'button';
@@ -40,7 +40,7 @@ const useStyles = makeStyles(
(theme: BackstageTheme) => {
return {
button: {
- color: theme.palette.bursts.fontColor,
+ color: theme.page.fontColor,
},
};
},
@@ -55,14 +55,9 @@ interface ExtraContextMenuItem {
onClick: () => void;
}
-// unstable context menu option, eg: disable the unregister entity menu
-interface contextMenuOptions {
- disableUnregister: boolean;
-}
-
interface EntityContextMenuProps {
UNSTABLE_extraContextMenuItems?: ExtraContextMenuItem[];
- UNSTABLE_contextMenuOptions?: contextMenuOptions;
+ UNSTABLE_contextMenuOptions?: UnregisterEntityOptions;
onUnregisterEntity: () => void;
onInspectEntity: () => void;
}
@@ -79,6 +74,7 @@ export function EntityContextMenu(props: EntityContextMenuProps) {
const unregisterPermission = useEntityPermission(
catalogEntityDeletePermission,
);
+ const isAllowed = unregisterPermission.allowed;
const onOpen = (event: React.SyntheticEvent) => {
setAnchorEl(event.currentTarget);
@@ -106,11 +102,6 @@ export function EntityContextMenu(props: EntityContextMenuProps) {
,
];
- const disableUnregister =
- (!unregisterPermission.allowed ||
- UNSTABLE_contextMenuOptions?.disableUnregister) ??
- false;
-
return (
<>
{extraItems}
-
+