Version Packages

This commit is contained in:
github-actions[bot]
2022-02-10 11:06:33 +00:00
parent f2da97f58a
commit e4791789d1
246 changed files with 1608 additions and 1195 deletions
-10
View File
@@ -1,10 +0,0 @@
---
'@backstage/catalog-client': minor
---
Fixed the return type of the catalog API `getEntityAncestors`, to match the
actual server response shape.
While this technically is a breaking change, the old shape has never worked at
all if you tried to use it - so treating this as an immediately-shipped breaking
bug fix.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
The `plugin:diff` command no longer validates the existence of any of the files within `dev/` or `src/`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
Introduced initial support for an experimental `backstage.role` field in package.json, as well as experimental and hidden `migrate` and `script` sub-commands. We do not recommend usage of any of these additions yet.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-auth-backend': minor
---
The `callbackUrl` option of `OAuthAdapter` is now required.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-todo': minor
---
**BREAKING**: The `EntityTodoContent` is now a routable extension. This means it must be rendered within a route, but that's most likely already the case for most apps. The mount point `RouteRef` is available via `todoPlugin.routes.entityContent`.
-7
View File
@@ -1,7 +0,0 @@
---
'@backstage/cli': patch
---
Introduces a new `--release` parameter to the `backstage-cli versions:bump` command.
The release can be either a specific version, for example `0.99.1`, or the latest `main` or `next` release.
The default behavior is to bump to the latest `main` release.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-newrelic-dashboard': patch
---
Export DashboardSnapshotComponent from new-relic-dashboard-plugin
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/core-components': patch
---
chore: bump `ansi-regex` from `5.0.1` to `6.0.1`
-18
View File
@@ -1,18 +0,0 @@
---
'@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
---
chore(deps): bump `knex` from 0.95.6 to 1.0.2
This also replaces `sqlite3` with `@vscode/sqlite3` 5.0.7
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/backend-common': patch
---
chore(deps-dev): bump `@types/concat-stream` from 1.6.1 to 2.0.0
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-auth-backend': patch
---
Enabled refresh for the Atlassian provider.
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/plugin-auth-node': minor
---
Added this package, to hold shared types and functionality that other backend
packages need to import.
-51
View File
@@ -1,51 +0,0 @@
---
'@backstage/plugin-auth-backend': minor
---
The following breaking changes were made, which may imply specifically needing
to make small adjustments in your custom auth providers.
- **BREAKING**: Moved `IdentityClient`, `BackstageSignInResult`,
`BackstageIdentityResponse`, and `BackstageUserIdentity` to
`@backstage/plugin-auth-node`.
- **BREAKING**: Removed deprecated type `BackstageIdentity`, please use
`BackstageSignInResult` from `@backstage/plugin-auth-node` instead.
While moving over, `IdentityClient` was also changed in the following ways:
- **BREAKING**: Made `IdentityClient.listPublicKeys` private. It was only used
in tests, and should not be part of the API surface of that class.
- **BREAKING**: Removed the static `IdentityClient.getBearerToken`. It is now
replaced by `getBearerTokenFromAuthorizationHeader` from
`@backstage/plugin-auth-node`.
- **BREAKING**: Removed the constructor. Please use the `IdentityClient.create`
static method instead.
Since the `IdentityClient` interface is marked as experimental, this is a
breaking change without a deprecation period.
In your auth providers, you may need to update your imports and usages as
follows (example code; yours may be slightly different):
````diff
-import { IdentityClient } from '@backstage/plugin-auth-backend';
+import {
+ IdentityClient,
+ getBearerTokenFromAuthorizationHeader
+} from '@backstage/plugin-auth-node';
// ...
- const identity = new IdentityClient({
+ const identity = IdentityClient.create({
discovery,
issuer: await discovery.getExternalBaseUrl('auth'),
});```
// ...
const token =
- IdentityClient.getBearerToken(req.headers.authorization) ||
+ getBearerTokenFromAuthorizationHeader(req.headers.authorization) ||
req.cookies['token'];
````
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/release-manifests': patch
---
Introduces a new package with utilities for fetching release manifests.
This package will primarily be used by the `@backstage/cli` package.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/backend-common': patch
---
Removed unnecessary `get-port` dependency
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-splunk-on-call': patch
---
Add Splunk On-Call plugin support for a `splunk.com/on-call-routing-key` annotation. If the `splunk.com/on-call-routing-key` is provided, the plugin displays a Splunk On-Call card for each of the teams associated with the routing key.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/core-components': patch
---
Adjust ErrorPage to accept optional supportUrl property to override app support config. Update type of additionalInfo property to be ReactNode to accept both string and component.
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/plugin-permission-backend': patch
'@backstage/plugin-search-backend': patch
---
Use `getBearerTokenFromAuthorizationHeader` from `@backstage/plugin-auth-node` instead of the deprecated `IdentityClient` method.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder': patch
---
Adds a loading bar to the scaffolder task page if the task is still loading. This can happen if it takes a while for a task worker to pick up a task.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
The experimental types build enabled by `--experimental-type-build` now runs in a separate worker thread.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
The file path printed by the default lint formatter is now relative to the repository root, rather than the individual package.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-auth-backend': patch
---
Added a new `cookieConfigurer` option to `AuthProviderConfig` that makes it possible to override the default logic for configuring OAuth provider cookies.
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/plugin-bazaar': patch
'@backstage/plugin-ilert': patch
---
Rolling back the `@date-io/luxon` bump as this broke both packages, and we need it for `@material-ui/pickers`
-14
View File
@@ -1,14 +0,0 @@
---
'@backstage/create-app': patch
---
Switched the `file:` dependency for a `link:` dependency in the `backend` package. This makes sure that the `app` package is linked in rather than copied.
To apply this update to an existing app, make the following change to `packages/backend/package.json`:
```diff
"dependencies": {
- "app": "file:../app",
+ "app": "link:../app",
"@backstage/backend-common": "^{{version '@backstage/backend-common'}}",
```
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
Tweaked frontend bundling configuration to avoid leaking declarations into global scope.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog-backend-module-msgraph': patch
---
Add userExpand option to allow users to expand fields retrieved from the Graph API - for use in custom transformers
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-search': patch
---
Modify modal search to clamp result length to 5 rows.
-58
View File
@@ -1,58 +0,0 @@
---
'@backstage/create-app': patch
---
**BREAKING:** Updated `knex` to major version 1, which also implies changing out
the underlying `sqlite` implementation.
The old `sqlite3` NPM library has been abandoned by its maintainers, which has
led to unhandled security reports and other issues. Therefore, in the `knex` 1.x
release line they have instead switched over to the [`@vscode/sqlite3`
library](https://github.com/microsoft/vscode-node-sqlite3) by default, which is
actively maintained by Microsoft.
This means that as you update to this version of Backstage, there are two
breaking changes that you will have to address in your own repository:
## Bumping `knex` itself
All `package.json` files of your repo that used to depend on a 0.x version of
`knex`, should now be updated to depend on the 1.x release line. This applies in
particular to `packages/backend`, but may also occur in backend plugins or
libraries.
```diff
- "knex": "^0.95.1",
+ "knex": "^1.0.2",
```
Almost all existing database code will continue to function without modification
after this bump. The only significant difference that we discovered in the main
repo, is that the `alter()` function had a slightly different signature in
migration files. It now accepts an object with `alterType` and `alterNullable`
fields that clarify a previous grey area such that the intent of the alteration
is made explicit. This is caught by `tsc` and your editor if you are using the
`@ts-check` and `@param` syntax in your migration files
([example](https://github.com/backstage/backstage/blob/master/plugins/catalog-backend/migrations/20220116144621_remove_legacy.js#L17)),
which we strongly recommend.
See the [`knex` documentation](https://knexjs.org/#Schema-alter) for more
information about the `alter` syntax.
Also see the [`knex` changelog](https://knexjs.org/#changelog) for information
about breaking changes in the 1.x line; if you are using `RETURNING` you may
want to make some additional modifications in your code.
## Switching out `sqlite3`
All `package.json` files of your repo that used to depend on `sqlite3`, should
now be updated to depend on `@vscode/sqlite3`. This applies in particular to
`packages/backend`, but may also occur in backend plugins or libraries.
```diff
- "sqlite3": "^5.0.1",
+ "@vscode/sqlite3": "^5.0.7",
```
These should be functionally equivalent, except that the new library will have
addressed some long standing problems with old transitive dependencies etc.
-161
View File
@@ -1,161 +0,0 @@
{
"mode": "exit",
"tag": "next",
"initialVersions": {
"example-app": "0.2.63",
"@backstage/app-defaults": "0.1.6",
"example-backend": "0.2.63",
"@backstage/backend-common": "0.10.6",
"@backstage/backend-tasks": "0.1.5",
"@backstage/backend-test-utils": "0.1.16",
"@backstage/catalog-client": "0.5.5",
"@backstage/catalog-model": "0.9.10",
"@backstage/cli": "0.13.1",
"@backstage/cli-common": "0.1.6",
"@backstage/codemods": "0.1.32",
"@backstage/config": "0.1.13",
"@backstage/config-loader": "0.9.3",
"@backstage/core-app-api": "0.5.2",
"@backstage/core-components": "0.8.7",
"@backstage/core-plugin-api": "0.6.0",
"@backstage/create-app": "0.4.18",
"@backstage/dev-utils": "0.2.20",
"e2e-test": "0.2.0",
"@backstage/errors": "0.2.0",
"@backstage/integration": "0.7.2",
"@backstage/integration-react": "0.1.20",
"@backstage/search-common": "0.2.2",
"@techdocs/cli": "0.8.12",
"techdocs-cli-embedded-app": "0.2.62",
"@backstage/techdocs-common": "0.11.6",
"@backstage/test-utils": "0.2.4",
"@backstage/theme": "0.2.14",
"@backstage/types": "0.1.1",
"@backstage/version-bridge": "0.1.1",
"@backstage/plugin-airbrake": "0.1.2",
"@backstage/plugin-allure": "0.1.13",
"@backstage/plugin-analytics-module-ga": "0.1.8",
"@backstage/plugin-apache-airflow": "0.1.5",
"@backstage/plugin-api-docs": "0.7.1",
"@backstage/plugin-app-backend": "0.3.23",
"@backstage/plugin-auth-backend": "0.9.0",
"@backstage/plugin-azure-devops": "0.1.13",
"@backstage/plugin-azure-devops-backend": "0.3.2",
"@backstage/plugin-azure-devops-common": "0.2.0",
"@backstage/plugin-badges": "0.2.21",
"@backstage/plugin-badges-backend": "0.1.17",
"@backstage/plugin-bazaar": "0.1.12",
"@backstage/plugin-bazaar-backend": "0.1.8",
"@backstage/plugin-bitrise": "0.1.24",
"@backstage/plugin-catalog": "0.7.11",
"@backstage/plugin-catalog-backend": "0.21.2",
"@backstage/plugin-catalog-backend-module-ldap": "0.3.11",
"@backstage/plugin-catalog-backend-module-msgraph": "0.2.14",
"@backstage/plugin-catalog-common": "0.1.2",
"@backstage/plugin-catalog-graph": "0.2.9",
"@backstage/plugin-catalog-graphql": "0.3.1",
"@backstage/plugin-catalog-import": "0.8.0",
"@backstage/plugin-catalog-react": "0.6.13",
"@backstage/plugin-circleci": "0.2.36",
"@backstage/plugin-cloudbuild": "0.2.34",
"@backstage/plugin-code-coverage": "0.1.24",
"@backstage/plugin-code-coverage-backend": "0.1.21",
"@backstage/plugin-config-schema": "0.1.20",
"@backstage/plugin-cost-insights": "0.11.19",
"@backstage/plugin-explore": "0.3.28",
"@backstage/plugin-explore-react": "0.0.11",
"@backstage/plugin-firehydrant": "0.1.14",
"@backstage/plugin-fossa": "0.2.29",
"@backstage/plugin-gcp-projects": "0.3.16",
"@backstage/plugin-git-release-manager": "0.3.10",
"@backstage/plugin-github-actions": "0.4.34",
"@backstage/plugin-github-deployments": "0.1.28",
"@backstage/plugin-gitops-profiles": "0.3.15",
"@backstage/plugin-gocd": "0.1.3",
"@backstage/plugin-graphiql": "0.2.29",
"@backstage/plugin-graphql-backend": "0.1.13",
"@backstage/plugin-home": "0.4.13",
"@backstage/plugin-ilert": "0.1.23",
"@backstage/plugin-jenkins": "0.5.19",
"@backstage/plugin-jenkins-backend": "0.1.12",
"@backstage/plugin-kafka": "0.2.27",
"@backstage/plugin-kafka-backend": "0.2.16",
"@backstage/plugin-kubernetes": "0.5.6",
"@backstage/plugin-kubernetes-backend": "0.4.6",
"@backstage/plugin-kubernetes-common": "0.2.2",
"@backstage/plugin-lighthouse": "0.2.36",
"@backstage/plugin-newrelic": "0.3.15",
"@backstage/plugin-newrelic-dashboard": "0.1.5",
"@backstage/plugin-org": "0.4.1",
"@backstage/plugin-pagerduty": "0.3.24",
"@backstage/plugin-permission-backend": "0.4.2",
"@backstage/plugin-permission-common": "0.4.0",
"@backstage/plugin-permission-node": "0.4.2",
"@backstage/plugin-permission-react": "0.3.0",
"@backstage/plugin-proxy-backend": "0.2.17",
"@backstage/plugin-rollbar": "0.3.25",
"@backstage/plugin-rollbar-backend": "0.1.20",
"@backstage/plugin-scaffolder": "0.12.1",
"@backstage/plugin-scaffolder-backend": "0.15.23",
"@backstage/plugin-scaffolder-backend-module-cookiecutter": "0.1.10",
"@backstage/plugin-scaffolder-backend-module-rails": "0.2.5",
"@backstage/plugin-scaffolder-backend-module-yeoman": "0.1.4",
"@backstage/plugin-scaffolder-common": "0.1.3",
"@backstage/plugin-search": "0.6.1",
"@backstage/plugin-search-backend": "0.4.1",
"@backstage/plugin-search-backend-module-elasticsearch": "0.0.8",
"@backstage/plugin-search-backend-module-pg": "0.2.5",
"@backstage/plugin-search-backend-node": "0.4.5",
"@backstage/plugin-sentry": "0.3.35",
"@backstage/plugin-shortcuts": "0.1.21",
"@backstage/plugin-sonarqube": "0.2.15",
"@backstage/plugin-splunk-on-call": "0.3.21",
"@backstage/plugin-tech-insights": "0.1.7",
"@backstage/plugin-tech-insights-backend": "0.2.3",
"@backstage/plugin-tech-insights-backend-module-jsonfc": "0.1.7",
"@backstage/plugin-tech-insights-common": "0.2.1",
"@backstage/plugin-tech-insights-node": "0.2.1",
"@backstage/plugin-tech-radar": "0.5.4",
"@backstage/plugin-techdocs": "0.13.2",
"@backstage/plugin-techdocs-backend": "0.13.2",
"@backstage/plugin-todo": "0.1.21",
"@backstage/plugin-todo-backend": "0.1.20",
"@backstage/plugin-user-settings": "0.3.18",
"@backstage/plugin-xcmetrics": "0.2.17"
},
"changesets": [
"big-jeans-love",
"brave-tools-drop",
"breezy-windows-jump",
"chilly-pans-jog",
"cool-birds-ring",
"curly-fireants-crash",
"dependabot-e379ac7",
"dependabot-f436b5b",
"early-beds-smoke",
"healthy-flies-fold",
"khaki-jokes-grab",
"loud-monkeys-explode",
"many-terms-type",
"metal-clouds-fail",
"metal-lions-fix",
"nasty-socks-exist",
"neat-icons-fry",
"ninety-dancers-bow",
"old-phones-draw",
"popular-planes-lay",
"pretty-glasses-admire",
"seven-apes-shave",
"seven-teachers-arrive",
"shaggy-buckets-confess",
"shiny-radios-deliver",
"smart-boxes-double",
"tasty-spoons-beg",
"three-dolls-fly",
"three-pigs-sniff",
"twenty-colts-applaud",
"warm-beds-flow",
"wise-peaches-flow",
"wise-plants-tease"
]
}
-9
View File
@@ -1,9 +0,0 @@
---
'@backstage/cli': patch
---
Removed the `import/no-duplicates` lint rule from the frontend and backend ESLint configurations. This rule is quite expensive to execute and only provides a purely cosmetic benefit, so we opted to remove it from the set of default rules. If you would like to keep this rule you can add it back in your local ESLint configuration:
```js
'import/no-duplicates': 'warn'
```
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog-react': patch
---
Updated `useEntityListProvider` and catalog pickers to respond to external changes to query parameters in the URL, such as two sidebar links that apply different catalog filters.
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
fix for the `gitlab:publish` action to use the `oauthToken` key when creating a
`Gitlab` client. This only happens if `ctx.input.token` is provided else the key `token` will be used.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-splunk-on-call': patch
---
Correct spelling of 'Acknowledge' in tooltip.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder': patch
---
Encode the `formData` in the `queryString` using `JSON.stringify` to keep the types in the decoded value
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder': patch
---
The ScaffolderPage can be passed an optional `TaskPageComponent` with a `loadingText` string. It will replace the Loading text in the scaffolder task page.
-7
View File
@@ -1,7 +0,0 @@
---
'@backstage/plugin-catalog': patch
'@backstage/plugin-catalog-react': patch
---
Added an "inspect" entry in the entity three-dots menu, for lower level catalog
insights and debugging.
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/core-components': patch
'@backstage/plugin-catalog-react': patch
---
Updated React component type declarations to avoid exporting exotic component types.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
Bump `vm2` to version 3.9.6
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/backend-common': patch
---
Bump `selfsigned` to 2.0.0
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-cicd-statistics': minor
---
Added new plugin "CI/CD Statistics" which charts pipeline build durations over time
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/core-components': patch
---
chore: fixing typescript errors for `TabbedCard.tsx` for React 17.x
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
Rather than calling `yarn pack`, the `build-workspace` and `backend-bundle` commands now move files directly whenever possible. This cuts out several `yarn` invocations and speeds the packing process up by several orders of magnitude.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog': patch
---
Deprecated the `EntityPageLayout`; please use the new extension based `CatalogEntityPage` instead
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
Switched the `lint` command to invoke ESLint directly through its Node.js API rather than spawning a new process.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/core-components': patch
---
The `ErrorPage` now falls back to using the default support configuration if the `ConfigApi` is not available.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
Introduced an experimental and hidden `repo` sub-command, that contains commands that operate on an entire monorepo rather than individual packages.
-5
View File
@@ -1,5 +0,0 @@
---
'@techdocs/cli': patch
---
Updated the HTTP server to allow for simplification of the development of the CLI itself.
-8
View File
@@ -1,8 +0,0 @@
---
'@backstage/plugin-catalog-backend-module-msgraph': patch
'@backstage/plugin-catalog-graph': patch
'@backstage/plugin-catalog-import': patch
'@backstage/plugin-catalog-react': patch
---
Minor API cleanups
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-home': patch
---
Adds new StarredEntities component responsible for rendering a list of starred entities on the home page