Merge branch 'master' of github.com:jonathan-ash/backstage into sidebar-submenu-external-links

This commit is contained in:
Jonathan Ash
2022-02-23 16:56:04 +00:00
1004 changed files with 16888 additions and 7697 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog': patch
---
Internalize deprecated `useEntityFromUrl` hook
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
Added a new experimental and hidden `backstage-cli repo lint` command that can be used to lint all packages in the project, similar to `lerna run lint`.
-8
View File
@@ -1,8 +0,0 @@
---
'@backstage/plugin-scaffolder-common': patch
---
Added `TemplateEntityV1beta2` which was moved here from
`@backstage/plugin-scaffolder-common`. It has also been marked as deprecated in
the process - please consider [migrating to `v1beta3`
templates](https://backstage.io/docs/features/software-templates/migrating-from-v1beta2-to-v1beta3).
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-techdocs-backend': patch
---
Do not use cross-fetch in the backend
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
The `versions:bump --release next` command is updated to compare the `main` and `next` release manifests and prefer the latest.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-common': patch
---
Make backend.auth.keys optional in config schema. Previously backend.auth was optional but keys was not, which meant that if another plugin introduced additional properties under backend.auth, it would implicitly make backend.auth.keys mandatory.
-13
View File
@@ -1,13 +0,0 @@
---
'@backstage/plugin-catalog-backend': patch
---
The following processors now properly accept an `ScmIntegrationRegistry` (an
interface) instead of an `ScmIntegrations` (which is a concrete class).
- `AzureDevOpsDiscoveryProcessor`
- `CodeOwnersProcessor`
- `GitLabDiscoveryProcessor`
- `GithubDiscoveryProcessor`
- `GithubMultiOrgReaderProcessor`
- `GithubOrgReaderProcessor`
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
Fixed a bug in the built-in Jest configuration that prevented it from identifying packages that had migrated to using the new package scripts to run tests.
-24
View File
@@ -1,24 +0,0 @@
---
'@backstage/create-app': patch
---
Remove SearchContextProvider from `<Root />`
The `SidebarSearchModal` exported from `plugin-search` internally renders `SearchContextProvider`, so it can be removed from `Root.tsx`:
```diff
-import {
- SidebarSearchModal,
- SearchContextProvider,
-} from '@backstage/plugin-search';
+import { SidebarSearchModal } from '@backstage/plugin-search';
... omitted ...
<SidebarGroup label="Search" icon={<SearchIcon />} to="/search">
- <SearchContextProvider>
- <SidebarSearchModal />
- </SearchContextProvider>
+ <SidebarSearchModal />
</SidebarGroup>
```
-78
View File
@@ -1,78 +0,0 @@
---
'@backstage/backend-common': 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/errors': patch
'@backstage/integration': patch
'@backstage/integration-react': patch
'@backstage/release-manifests': patch
'@backstage/test-utils': 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-auth-backend': patch
'@backstage/plugin-auth-node': patch
'@backstage/plugin-azure-devops': patch
'@backstage/plugin-badges': patch
'@backstage/plugin-bazaar': patch
'@backstage/plugin-bitrise': patch
'@backstage/plugin-catalog': patch
'@backstage/plugin-catalog-backend': patch
'@backstage/plugin-catalog-backend-module-msgraph': patch
'@backstage/plugin-catalog-graphql': patch
'@backstage/plugin-catalog-import': patch
'@backstage/plugin-catalog-react': patch
'@backstage/plugin-circleci': patch
'@backstage/plugin-cloudbuild': patch
'@backstage/plugin-code-coverage': patch
'@backstage/plugin-config-schema': patch
'@backstage/plugin-cost-insights': patch
'@backstage/plugin-explore': patch
'@backstage/plugin-explore-react': patch
'@backstage/plugin-firehydrant': patch
'@backstage/plugin-fossa': patch
'@backstage/plugin-gcp-projects': patch
'@backstage/plugin-git-release-manager': patch
'@backstage/plugin-github-actions': patch
'@backstage/plugin-github-deployments': patch
'@backstage/plugin-gitops-profiles': patch
'@backstage/plugin-gocd': patch
'@backstage/plugin-graphiql': patch
'@backstage/plugin-home': patch
'@backstage/plugin-ilert': patch
'@backstage/plugin-jenkins': patch
'@backstage/plugin-kafka': patch
'@backstage/plugin-kubernetes': patch
'@backstage/plugin-lighthouse': patch
'@backstage/plugin-newrelic': patch
'@backstage/plugin-newrelic-dashboard': patch
'@backstage/plugin-org': patch
'@backstage/plugin-pagerduty': patch
'@backstage/plugin-permission-backend': patch
'@backstage/plugin-permission-common': patch
'@backstage/plugin-permission-react': patch
'@backstage/plugin-rollbar': patch
'@backstage/plugin-rollbar-backend': patch
'@backstage/plugin-scaffolder': patch
'@backstage/plugin-scaffolder-backend': 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-tech-insights': patch
'@backstage/plugin-tech-radar': patch
'@backstage/plugin-techdocs': patch
'@backstage/plugin-techdocs-backend': patch
'@backstage/plugin-todo': patch
'@backstage/plugin-user-settings': patch
'@backstage/plugin-xcmetrics': patch
---
Bump `node-fetch` to version 2.6.7 and `cross-fetch` to version 3.1.5
+13
View File
@@ -0,0 +1,13 @@
---
'@backstage/plugin-catalog-backend': patch
---
The catalog API now returns entity relations that have three fields: The old
`type` and `target` fields, as well as a new `targetRef` field. The last one is
the stringified form of the second one.
**DEPRECATION**: The `target` field is hereby deprecated, both as seen from the
catalog API as well as from the `@backstage/catalog-model` package. Both
`target` and `targetRef` will be produced for some time, but eventually,
`target` will be removed entirely. Please update your readers to stop consuming
the `relations.[].target` field from the catalog API as soon as possible.
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/core-components': patch
---
When clicking on a log line the URL will be updated from `/task/uid` to
`/task/uid/#line-1`. This URL are also sharable, meaning that the UI will
highlight the log line in the hash of the URL.
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
Fix error handling of the `runCommand` helper to return `Error`
instance.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
Deprecated the `runPeriodically` function which is no longer in use.
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
- **DEPRECATED** - Deprecated the `runCommand` export in favour of `executeShellCommand`. Please migrate to using the new method.
- Added a type parameter to `TaskStoreEmitOptions` to type the `body` property
-11
View File
@@ -1,11 +0,0 @@
---
'@backstage/plugin-catalog': patch
'@backstage/plugin-catalog-backend': patch
'@backstage/plugin-catalog-graph': patch
'@backstage/plugin-catalog-react': patch
'@backstage/plugin-org': patch
'@backstage/plugin-scaffolder': patch
'@backstage/plugin-tech-insights-backend': patch
---
Use updated type names from `@backstage/catalog-client`
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': minor
---
The `CodeOwnersProcessor` no longer supports the deprecated SCM-specific location types like `'github/api'`. This is a breaking change but it is unlikely to have an impact, as these location types haven't been supported by the rest of the catalog for a long time.
+10
View File
@@ -0,0 +1,10 @@
---
'@backstage/plugin-scaffolder-common': patch
---
**DEPRECATED** - The `TaskSpec.metadata` and `TaskSpec.baseUrl` has been deprecated in favour of the new `TaskSpec.templateInfo`.
The `baseUrl` is now found on the `templateInfo` object, and the name can be inferred from the `templateInfo.entityRef` property.
Usages of `TaskSpec.metadata.name` or `ctx.metadata.name` in Actions should migrate to using `parseEntityRef(taskSpec.templateInfo.entityRef)` to get the parsed entity triplet.
Usages of `ctx.baseUrl` in Actions should migrate to using `ctx.templateInfo.baseUrl` instead.
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/catalog-model': patch
---
Deprecated `parseLocationReference` and `stringifyLocationReference`,
introducing `parseLocationRef` and `stringifyLocationRef` in their place.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/catalog-model': patch
---
Deprecates the `Location` type export from this package. Imports of the `Location` type should now be done from the `@backstage/catalog-client` package instead.
+5
View File
@@ -0,0 +1,5 @@
---
'@techdocs/cli': patch
---
chore(deps-dev): bump `cypress` from 7.3.0 to 9.5.0
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
chore(deps-dev): bump `@types/rollup-plugin-postcss` from 2.0.1 to 3.1.4
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-catalog-graphql': patch
'@backstage/plugin-graphql-backend': patch
---
chore(deps): bump `graphql-modules` from 1.4.4 to 2.0.0
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-search-backend-module-elasticsearch': patch
---
chore(deps-dev): bump `@elastic/elasticsearch-mock` from 0.3.0 to 1.0.0
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-api-docs': patch
---
chore(deps): bump `@asyncapi/react-component`
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/backend-common': patch
'@backstage/cli': patch
'@backstage/plugin-auth-backend': patch
---
chore(deps): bump `minimatch` from 3.0.4 to 5.0.0
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
chore(deps): bump `@hot-loader/react-dom` from 16.13.0 to 17.0.2
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/plugin-catalog-react': patch
'@backstage/plugin-todo-backend': patch
---
Replace usage of `serializeEntityRef` with `stringifyEntityRef`
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog': patch
---
Renamed `CatalogResultListItem` to `CatalogSearchResultListItem` along with its prop type, leaving the old names in place as a deprecations.
+10
View File
@@ -0,0 +1,10 @@
---
'@backstage/plugin-catalog-backend': patch
---
Added an `/entity-facets` endpoint, which lets you query the distribution of
possible values for fields of entities.
This can be useful for example when populating a dropdown in the user interface,
such as listing all tag values that are actually being used right now in your
catalog instance, along with putting the most common ones at the top.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': minor
---
**BREAKING**: Removed unused `durationText` utility.
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
- **DEPRECATED** - `TaskState` has been deprecated in favour of `CurrentClaimedTask`
- Narrowed the types from `JSONValue` to `JSONObject` as the usage is and should always be `JSONObject` for `complete` and `emitLog` `metadata` in `TaskContext`
+33
View File
@@ -0,0 +1,33 @@
---
'@backstage/plugin-catalog-backend': minor
---
**BREAKING**: Removed `AwsOrganizationCloudAccountProcessor` from the default
set of builtin processors, and instead moved it into its own module
`@backstage/plugin-catalog-backend-module-aws`.
If you were using this processor, through making use of the location type
`aws-cloud-accounts` and/or using the configuration key
`catalog.processors.awsOrganization`, you will from now on have to add the
processor manually to your catalog.
First, add the `@backstage/plugin-catalog-backend-module-aws` dependency to your
`packages/backend` package.
Then, in `packages/backend/src/plugins/catalog.ts`:
```diff
+import { AwsOrganizationCloudAccountProcessor } from '@backstage/plugin-catalog-backend-module-aws';
export default async function createPlugin(
env: PluginEnvironment,
): Promise<Router> {
const builder = await CatalogBuilder.create(env);
+ builder.addProcessor(
+ AwsOrganizationCloudAccountProcessor.fromConfig(
+ env.config,
+ { logger: env.logger }
+ )
+ );
// ...
```
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/catalog-model': patch
---
Deprecated `ENTITY_DEFAULT_NAMESPACE` constant in favour of `DEFAULT_NAMESPACE`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog': patch
---
Replaced use of deprecated `compareEntityToRef` utility.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/catalog-model': patch
---
Deprecated `compareEntityToRef` due to low usage and provided value.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-react': minor
---
Removed the deprecated `EntityContext` which have been replaced by `useEntity`, `EntityProvider` and `AsyncEntityProvider`.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog': minor
---
Removed `columnFactories`, which was accidentally exported on the previous release.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-react': patch
---
Deprecated the `useEntityKinds` hook due to low usage and utility value.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog-backend': patch
---
Support "dependencyOf" relation in Resource entities
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-auth-backend': patch
---
Bump `passport-oauth2` to version 1.6.1
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder-backend': minor
---
**BREAKING**: Updated `TemplateAction` and related types to have its type parameter extend `JsonObject` instead of `InputBase`. The `createTemplateAction` has also been updated to pass through the `TInput` type parameter to the return type, meaning the `TemplateAction` retains its type. This can lead to breakages during type checking especially within tests.
-8
View File
@@ -1,8 +0,0 @@
---
'@backstage/plugin-catalog': patch
'@backstage/plugin-catalog-backend': patch
'@backstage/plugin-catalog-react': patch
'@backstage/plugin-catalog-backend-module-ldap': patch
---
Import `Location` from the `@backstage/catalog-client` package.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog': patch
---
Added `EntitySwitchProps` type for `EntitySwitch`.
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-catalog': patch
'@backstage/plugin-catalog-graph': patch
---
Remove use of deprecated `useEntityKinds` hook.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
The `versions:bump` command now filters out `npm_` environment configuration when running `yarn install`. This has the effect of allowing it to consider local configuration files within the repository, which is the behavior that one would expect.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog': minor
---
Removed `CatalogClientWrapper` as usage have been replaced by the `fetchApiRef`.
+22
View File
@@ -0,0 +1,22 @@
---
'@backstage/create-app': patch
---
Update the template to reflect the renaming of `CatalogResultListItem` to `CatalogSearchResultListItem` from `@backstage/plugin-catalog`.
To apply this change to an existing app, make the following change to `packages/app/src/components/search/SearchPage.tsx`:
```diff
-import { CatalogResultListItem } from '@backstage/plugin-catalog';
+import { CatalogSearchResultListItem } from '@backstage/plugin-catalog';
```
```diff
case 'software-catalog':
return (
- <CatalogResultListItem
+ <CatalogSearchResultListItem
key={document.location}
result={document}
/>
```
+19
View File
@@ -0,0 +1,19 @@
---
'@backstage/plugin-scaffolder-backend': minor
---
- **BREAKING** - `DatabaseTaskStore()` constructor is now removed. Please use the `DatabaseTaskStore.create()` method instead.
- **BREAKING** - `TaskStore.createTask()` method now only takes one argument of type `TaskStoreCreateTaskOptions` which encapsulates the `spec` and `secrets`
```diff
- TaskStore.createTask(spec, secrets)
+ TaskStore.createTask({ spec, secrets})
```
- **BREAKING** - `TaskBroker.dispatch()` method now only takes one argument of type `TaskBrokerDispatchOptions` which encapsulates the `spec` and `secrets`
```diff
- TaskBroker.dispatch(spec, secrets)
+ TaskBroker.dispatch({ spec, secrets})
```
-22
View File
@@ -1,22 +0,0 @@
---
'@backstage/plugin-permission-backend': minor
---
Add a warning if the permission backend is used without setting `permission.enabled=true`.
**BREAKING** Permission backend's `createRouter` now requires a `config` option.
```diff
// packages/backend/src/plugins/permission.ts
...
export default async function createPlugin({
...
+ config,
}: PluginEnvironment) {
return createRouter({
...
+ config,
});
}
```
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-kubernetes-backend': patch
---
Allow missing kubernetes config in development env
+23
View File
@@ -0,0 +1,23 @@
---
'@backstage/plugin-catalog-backend': patch
---
Deprecated the second parameter of `results.location()` that determines whether an emitted location is optional. In cases where this is currently being set to `false`, the parameter can simply be dropped, as that is the default. Usage where this was being set to `true` should be migrated to set the `presence` option of the emitted location to `optional`. For example:
```ts
results.location(
{
type: 'url',
target: 'http://example.com/foo',
},
true,
);
// migrated to
results.location({
type: 'url',
target: 'http://example.com/foo',
presence: 'optional',
});
```
+12
View File
@@ -0,0 +1,12 @@
---
'@backstage/plugin-bazaar': patch
'@backstage/plugin-code-coverage-backend': patch
'@backstage/plugin-jenkins': patch
'@backstage/plugin-jenkins-backend': patch
'@backstage/plugin-scaffolder': patch
'@backstage/plugin-scaffolder-backend': patch
'@backstage/plugin-tech-insights-backend': patch
'@backstage/plugin-todo-backend': patch
---
Remove usages of `EntityRef` and `parseEntityName` from `@backstage/catalog-model`
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-permission-common': minor
---
**BREAKING** `PermissionCriteria` now requires at least one condition in `anyOf` and `allOf` arrays. This addresses some ambiguous behavior outlined in #9280.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-techdocs': patch
---
Changed <TechdocsPage /> to use <NotFoundErrorPage /> from createApp
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-airbrake': minor
'@backstage/plugin-airbrake-backend': minor
---
This marks the first release where the Airbrake plugin is useable. Airbrake frontend and Airbrake backend work with each other. Currently just a summary of the latest Airbrakes is shown on Backstage.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-techdocs-backend': patch
---
Fix bug where tech docs collator stores search indices with wrong entity ref casing. Make the collator to conform legacyPathCasing configuration option.
+18
View File
@@ -0,0 +1,18 @@
---
'@backstage/plugin-auth-backend': minor
---
**BREAKING**: The default sign-in resolvers for all providers, if you choose to
use them, now emit the token `sub` and `ent` claims on the standard,
all-lowercase form, instead of the mixed-case form. The mixed-case form causes
problems for implementations that naively do string comparisons on refs. The end
result is that you may for example see your Backstage token `sub` claim now
become `'user:default/my-id'` instead of `'user:default/My-ID'`.
On a related note, specifically the SAML provider now correctly issues both
`sub` and `ent` claims, and on the full entity ref form instead of the short
form with only the ID.
**NOTE**: For a long time, it has been strongly recommended that you provide
your own sign-in resolver instead of using the builtin ones, and that will
become mandatory in the future.
-9
View File
@@ -1,9 +0,0 @@
---
'@backstage/catalog-client': minor
---
**BREAKING**: Removed the explicit `DiscoveryApi` and `FetchApi` export symbols,
which were unnecessary duplicates from the well known core ones.
The `CATALOG_FILTER_EXISTS` symbol's value has changed. However, this should not
affect any code in practice.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/catalog-model': patch
---
Deprecated the `EntityRefContext` type which had limited use.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/catalog-model': patch
---
Deprecated the `LocationSpec` export, which should now be imported from `@backstage/plugin-catalog-backend` instead.
+24
View File
@@ -0,0 +1,24 @@
---
'@backstage/catalog-model': minor
---
**BREAKING**: Added `EntityRelation.targetRef` (a string form entity ref), and
deprecated `EntityRelation.target` (a kind + namespace + name object). This
aligns the type with our goal of using string form entity refs more coherently.
There will be a period of time when both fields need to be present, which may in
particular affect your tests which now have to list both the string form and the
object form side by side.
```diff
const mockEntity: Entity = {
kind: 'Component',
relations: [
{
type: RELATION_MEMBER_OF,
+ targetRef: 'component:default/foo',
target: { kind: 'component', namespace: 'default', name: 'foo' }
}
]
```
The `target` field will be entirely removed from this type in a future release.
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/plugin-catalog-backend': patch
---
Added `LocationSpec`, which was moved over from `@backstage/catalog-model`.
Added `LocationInput`, which replaced `LocationSpec` where it was used in the `LocationService` and `LocationStore` interfaces. The `LocationInput` type deprecates the `presence` field, which was not being used in those contexts.
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/plugin-catalog-react': minor
---
Improved API documentation.
**BREAKING**: The individual table column factories (e.g. `createEntityRefColumn`) are now no longer available directly, but only through `EntityTable.columns`.
@@ -2,4 +2,4 @@
'@backstage/plugin-catalog-backend': patch
---
Update internal `Location` validation.
Cleanup catalog-backend API report.
+9
View File
@@ -0,0 +1,9 @@
---
'@backstage/catalog-client': patch
'@backstage/plugin-catalog-backend-module-ldap': patch
'@backstage/plugin-catalog-backend-module-msgraph': patch
'@backstage/plugin-scaffolder-backend': patch
'@backstage/plugin-techdocs': patch
---
Updated usage of the `LocationSpec` type from `@backstage/catalog-model`, which is deprecated.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
The `versions:bump` command now also considers the root `package.json` when searching for updates. It has also received updates to its output, including a link the [Backstage upgrade helper](https://backstage.github.io/upgrade-helper) and silenced `yarn install` output.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
Added `EntityRelationSpec`, which was moved over from `@backstage/catalog-model`.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/catalog-model': minor
---
**BREAKING**: Removed `EntityRelationSpec` as it is only used during the catalog during the catalog processing.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/catalog-client': patch
---
Deprecated `AddLocationRequest.presence`, as it is already being ignored.
+15
View File
@@ -0,0 +1,15 @@
---
'@backstage/plugin-auth-backend': patch
'@backstage/plugin-badges-backend': patch
'@backstage/plugin-catalog': patch
'@backstage/plugin-catalog-backend': patch
'@backstage/plugin-catalog-graph': patch
'@backstage/plugin-catalog-import': patch
'@backstage/plugin-catalog-react': patch
'@backstage/plugin-explore': patch
'@backstage/plugin-fossa': patch
'@backstage/plugin-scaffolder': patch
'@backstage/plugin-todo-backend': patch
---
Updated according to the new `getEntityFacets` catalog API method
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-react': patch
---
Deprecated the `useEntityListProvider` hook which is now renamed to `useEntityList`
+9
View File
@@ -0,0 +1,9 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
- **DEPRECATED** - The `containerRunner` option passed to `createBuiltinActions` has now been deprecated.
- **DEPRECATED** - The `createFetchCookiecutterAction` export has also been deprecated and will soon disappear from this plugin.
The `fetch:cookiecutter` action will soon be removed from the default list of actions that are provided out of the box from the scaffolder plugin. It will still be supported, and maintained by the community, so you can install the package (`@backstage/plugin-scaffolder-backend-module-cookiecutter`) and pass it in as a custom action. Or you can migrate your templates to use [`fetch:template`](https://backstage.io/docs/features/software-templates/builtin-actions#migrating-from-fetchcookiecutter-to-fetchtemplate) with the `cookiecutterCompat` option.
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/plugin-catalog': patch
'@backstage/plugin-scaffolder': patch
'@backstage/plugin-techdocs': patch
---
Replaced use of deprecated `useEntityListProvider` hook with `useEntityList`.
+25
View File
@@ -0,0 +1,25 @@
---
'@backstage/plugin-todo-backend': patch
---
Add support to exclude certain folders in `todo` plugin.
You can add function by configuring your own exclusion logic, for example:
```ts
import {
TodoScmReader,
createTodoParser,
} from '@backstage/plugin-todo-backend';
// ...
const todoReader = TodoScmReader.fromConfig(config, {
logger,
reader,
filePathFilter: (filePath: string): boolean => {
...
YOUR LOGIC HERE
},
});
```
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
Removed the `processors.githubOrg` config section which is unused and has been replaced by the integrations config.
-11
View File
@@ -1,11 +0,0 @@
---
'@backstage/catalog-client': patch
'@backstage/techdocs-common': patch
'@backstage/plugin-catalog-backend': patch
'@backstage/plugin-catalog-react': patch
'@backstage/plugin-github-deployments': patch
'@backstage/plugin-scaffolder-backend': patch
'@backstage/plugin-todo-backend': patch
---
Updated to use new names for `parseLocationRef` and `stringifyLocationRef`
-9
View File
@@ -1,9 +0,0 @@
---
'@backstage/plugin-catalog-backend': patch
'@backstage/plugin-catalog-react': patch
'@backstage/plugin-scaffolder': patch
'@backstage/plugin-scaffolder-backend': patch
---
Use `TemplateEntityV1beta2` from `@backstage/plugin-scaffolder-common` instead
of `@backstage/catalog-model`.
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/plugin-catalog-react': minor
---
**BREAKING**: Deleted the deprecated `loadIdentityOwnerRefs` function which is replaced by `ownershipEntityRefs` from `identityApi.getBackstageIdentity()`.
Deprecated the `loadCatalogOwnerRefs` hook as membership references should be added as `ent` inside `claims` sections of the `SignInResolver` when issuing tokens. See https://backstage.io/docs/auth/identity-resolver for more details on how to prepare your `SignInResolver` if not done already. Usage of the `loadCatalogOwnerRefs` hook should be replaced by `ownershipEntityRefs` from `identityApi.getBackstageIdentity()` instead.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-cicd-statistics': patch
---
Updated `@backstage/core-plugin-api` dependency.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/backend-tasks': patch
---
Only output janitor logs when actually timing out tasks
+33
View File
@@ -0,0 +1,33 @@
---
'@backstage/plugin-catalog-backend-module-aws': minor
---
Added this new catalog module, initially containing only the
`AwsOrganizationCloudAccountProcessor`.
Note that this was moved over from the catalog backend itself, and therefore is
no longer part of its builtin set of processors. If you were using this
processor, through making use of the location type `aws-cloud-accounts` and/or
using the configuration key `catalog.processors.awsOrganization`, you will from
now on have to add the processor manually to your catalog.
First, add the `@backstage/plugin-catalog-backend-module-aws` dependency to your
`packages/backend` package.
Then, in `packages/backend/src/plugins/catalog.ts`:
```diff
+import { AwsOrganizationCloudAccountProcessor } from '@backstage/plugin-catalog-backend-module-aws';
export default async function createPlugin(
env: PluginEnvironment,
): Promise<Router> {
const builder = await CatalogBuilder.create(env);
+ builder.addProcessor(
+ AwsOrganizationCloudAccountProcessor.fromConfig(
+ env.config,
+ { logger: env.logger }
+ )
+ );
// ...
```
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/catalog-model': minor
---
**BREAKING**: Remove deprecated validation methods `analyzeLocationSchema`, `locationSchema` and `locationSpecSchema`.
This functionality was primarily used internally by the `catalog-backend`.
+48 -1
View File
@@ -1,3 +1,50 @@
{
"currentReleaseVersion": {}
"currentReleaseVersion": {
"@backstage/backend-common": "0.10.9",
"@backstage/backend-tasks": "0.1.8",
"@backstage/catalog-client": "0.7.1",
"@backstage/catalog-model": "0.10.1",
"@backstage/cli-common": "0.1.8",
"@backstage/config": "0.1.15",
"@backstage/config-loader": "0.9.5",
"@backstage/errors": "0.2.2",
"@backstage/integration": "0.7.4",
"@backstage/search-common": "0.2.4",
"@backstage/techdocs-common": "0.11.9",
"@backstage/types": "0.1.3",
"@backstage/plugin-app-backend": "0.3.26",
"@backstage/plugin-auth-backend": "0.10.2",
"@backstage/plugin-auth-node": "0.1.2",
"@backstage/plugin-azure-devops-backend": "0.3.5",
"@backstage/plugin-azure-devops-common": "0.2.2",
"@backstage/plugin-badges-backend": "0.1.20",
"@backstage/plugin-catalog-backend": "0.21.5",
"@backstage/plugin-catalog-common": "0.1.4",
"@backstage/plugin-catalog-graphql": "0.3.3",
"@backstage/plugin-code-coverage-backend": "0.1.24",
"@backstage/plugin-graphql-backend": "0.1.16",
"@backstage/plugin-jenkins-backend": "0.1.15",
"@backstage/plugin-kafka-backend": "0.2.19",
"@backstage/plugin-kubernetes-backend": "0.4.9",
"@backstage/plugin-kubernetes-common": "0.2.4",
"@backstage/plugin-permission-backend": "0.5.1",
"@backstage/plugin-permission-common": "0.5.1",
"@backstage/plugin-permission-node": "0.5.1",
"@backstage/plugin-proxy-backend": "0.2.20",
"@backstage/plugin-rollbar-backend": "0.1.23",
"@backstage/plugin-scaffolder-backend": "0.16.1",
"@backstage/plugin-scaffolder-backend-module-cookiecutter": "0.2.1",
"@backstage/plugin-scaffolder-backend-module-rails": "0.3.1",
"@backstage/plugin-scaffolder-common": "0.2.1",
"@backstage/plugin-search-backend": "0.4.4",
"@backstage/plugin-search-backend-module-elasticsearch": "0.0.10",
"@backstage/plugin-search-backend-module-pg": "0.2.8",
"@backstage/plugin-search-backend-node": "0.4.7",
"@backstage/plugin-tech-insights-backend": "0.2.6",
"@backstage/plugin-tech-insights-backend-module-jsonfc": "0.1.10",
"@backstage/plugin-tech-insights-common": "0.2.3",
"@backstage/plugin-tech-insights-node": "0.2.4",
"@backstage/plugin-techdocs-backend": "0.13.5",
"@backstage/plugin-todo-backend": "0.1.23"
}
}
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-permission-node': minor
---
**BREAKING** `PermissionCriteria` now requires at least one condition in `anyOf` and `allOf` arrays. This addresses some ambiguous behavior outlined in #9280.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/config-loader': patch
---
Include any files included in configuration via $include or $file directives when watching for configuration changes.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog': minor
---
**BREAKING** Completely removed the `EntitySystemDiagramCard` component which was deprecated in a previous release. Any remaining references to this component are now broken and should be replaced with `EntityCatalogGraphCard`, which can be imported from package `@backstage/plugin-catalog-graph`.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/catalog-model': patch
---
Remove all usage of the deprecated `ENTITY_DEFAULT_NAMESPACE`
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/catalog-model': minor
---
**BREAKING**: Remove deprecated `serializeEntityRef` which is replaced by `stringifyEntityRef`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder-backend-module-yeoman': patch
---
Bump `yeoman-environment` dependency from `^3.6.0` to `^3.9.1`.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-code-climate': minor
---
Added Code Climate plugin
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
- **DEPRECATED** - `OctokitProvider` has been deprecated and will be removed in upcoming versions
This helper doesn't make sense to be export from the `plugin-scaffolder-backend` and possibly will be moved into the `integrations` package at a later date.
All implementations have been moved over to a private implementation called `getOctokitOptions` which is then passed to the `Octokit` constructor. If you're using this API you should consider duplicating the logic that lives in `getOctokitOptions` and move away from the deprecated export.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': patch
---
Deprecated `StaticLocationProcessor` which is unused and replaced by `ConfigLocationEntityProvider`.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog': patch
---
Removed usage of `EntityContext`.
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/plugin-catalog': minor
---
Removed deprecated `Router` and `EntityPageLayout` exports.
`Router` is replaced by plugin extensions and `EntityPageLayout` is replaced by `CatalogEntityPage`.
+8
View File
@@ -0,0 +1,8 @@
---
'@backstage/plugin-scaffolder': patch
'@backstage/plugin-scaffolder-backend': patch
'@backstage/plugin-scaffolder-backend-module-cookiecutter': patch
'@backstage/plugin-scaffolder-backend-module-rails': patch
---
Migrated over from the deprecated `spec.metadata` to `spec.templateInfo` for the `name` and the `baseUrl` of the template.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/catalog-client': patch
---
Export the `Location` type that was previously exported by the `@backstage/catalog-model` package.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-github-deployments': patch
---
The removed `'github'` catalog location type no longer triggers a GitHub integration configuration lookup.
+17
View File
@@ -0,0 +1,17 @@
---
'@backstage/plugin-api-docs': minor
'@backstage/plugin-catalog': minor
'@backstage/plugin-circleci': minor
'@backstage/plugin-cloudbuild': minor
'@backstage/plugin-github-actions': minor
'@backstage/plugin-jenkins': minor
'@backstage/plugin-kafka': minor
'@backstage/plugin-kubernetes': minor
'@backstage/plugin-lighthouse': minor
'@backstage/plugin-org': minor
'@backstage/plugin-rollbar': minor
'@backstage/plugin-sonarqube': minor
'@backstage/plugin-techdocs': minor
---
**BREAKING**: Removed support for passing in an explicit `entity` prop to entity page extensions, which has been deprecated for a long time. This is only a breaking change at the TypeScript level, as this property was already ignored.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend': minor
---
Made the `GitLabDiscoveryProcessor.updateLastActivity` method private, as it was accidentally exposed. It has also been fixed to properly operate in its own cache namespace to avoid collisions with other processors.

Some files were not shown because too many files have changed in this diff Show More