Merge pull request #4659 from backstage/changeset-release/master
Version Packages
This commit is contained in:
@@ -1,5 +1,74 @@
|
||||
# example-app
|
||||
|
||||
## 0.2.18
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [ba21797ca]
|
||||
- Updated dependencies [b2a5320a4]
|
||||
- Updated dependencies [12d8f27a6]
|
||||
- Updated dependencies [507513fed]
|
||||
- Updated dependencies [32a003973]
|
||||
- Updated dependencies [40c0fdbaa]
|
||||
- Updated dependencies [12d8f27a6]
|
||||
- Updated dependencies [cfc83cac1]
|
||||
- Updated dependencies [bc327dc42]
|
||||
- Updated dependencies [2386de1d3]
|
||||
- Updated dependencies [42c8ebb79]
|
||||
- Updated dependencies [10362e9eb]
|
||||
- Updated dependencies [e37d2de99]
|
||||
- Updated dependencies [813c6a4f2]
|
||||
- Updated dependencies [11c6208fe]
|
||||
- Updated dependencies [8106c9528]
|
||||
- Updated dependencies [05183f202]
|
||||
- Updated dependencies [40c0fdbaa]
|
||||
- Updated dependencies [f71589800]
|
||||
- Updated dependencies [2a271d89e]
|
||||
- Updated dependencies [bece09057]
|
||||
- Updated dependencies [d4f0a1406]
|
||||
- Updated dependencies [169f48deb]
|
||||
- Updated dependencies [8a1566719]
|
||||
- Updated dependencies [9d455f69a]
|
||||
- Updated dependencies [4c049a1a1]
|
||||
- Updated dependencies [d21058c34]
|
||||
- Updated dependencies [b33e553b2]
|
||||
- Updated dependencies [04667f571]
|
||||
- Updated dependencies [b93538acc]
|
||||
- Updated dependencies [0452ba238]
|
||||
- Updated dependencies [8871e7523]
|
||||
- Updated dependencies [02816ecd7]
|
||||
- Updated dependencies [dbea11072]
|
||||
- @backstage/plugin-kubernetes@0.3.12
|
||||
- @backstage/plugin-circleci@0.2.11
|
||||
- @backstage/plugin-cloudbuild@0.2.12
|
||||
- @backstage/plugin-github-actions@0.3.5
|
||||
- @backstage/plugin-scaffolder@0.7.0
|
||||
- @backstage/cli@0.6.3
|
||||
- @backstage/plugin-api-docs@0.4.8
|
||||
- @backstage/plugin-catalog@0.4.1
|
||||
- @backstage/catalog-model@0.7.3
|
||||
- @backstage/plugin-explore@0.3.0
|
||||
- @backstage/plugin-techdocs@0.6.0
|
||||
- @backstage/plugin-catalog-import@0.4.3
|
||||
- @backstage/core@0.7.0
|
||||
- @backstage/plugin-catalog-react@0.1.1
|
||||
- @backstage/plugin-pagerduty@0.3.2
|
||||
- @backstage/plugin-jenkins@0.3.12
|
||||
- @backstage/plugin-lighthouse@0.2.13
|
||||
- @backstage/plugin-cost-insights@0.8.3
|
||||
- @backstage/plugin-gcp-projects@0.2.5
|
||||
- @backstage/plugin-gitops-profiles@0.2.6
|
||||
- @backstage/plugin-graphiql@0.2.8
|
||||
- @backstage/plugin-kafka@0.2.5
|
||||
- @backstage/plugin-newrelic@0.2.6
|
||||
- @backstage/plugin-org@0.3.9
|
||||
- @backstage/plugin-register-component@0.2.12
|
||||
- @backstage/plugin-rollbar@0.3.3
|
||||
- @backstage/plugin-search@0.3.3
|
||||
- @backstage/plugin-sentry@0.3.8
|
||||
- @backstage/plugin-tech-radar@0.3.7
|
||||
- @backstage/plugin-user-settings@0.2.7
|
||||
|
||||
## 0.2.17
|
||||
|
||||
### Patch Changes
|
||||
|
||||
+31
-31
@@ -1,39 +1,39 @@
|
||||
{
|
||||
"name": "example-app",
|
||||
"version": "0.2.17",
|
||||
"version": "0.2.18",
|
||||
"private": true,
|
||||
"bundled": true,
|
||||
"dependencies": {
|
||||
"@backstage/catalog-model": "^0.7.2",
|
||||
"@backstage/cli": "^0.6.2",
|
||||
"@backstage/core": "^0.6.3",
|
||||
"@backstage/plugin-api-docs": "^0.4.7",
|
||||
"@backstage/plugin-catalog": "^0.4.0",
|
||||
"@backstage/plugin-catalog-import": "^0.4.2",
|
||||
"@backstage/plugin-catalog-react": "^0.1.0",
|
||||
"@backstage/plugin-circleci": "^0.2.10",
|
||||
"@backstage/plugin-cloudbuild": "^0.2.11",
|
||||
"@backstage/plugin-cost-insights": "^0.8.2",
|
||||
"@backstage/plugin-explore": "^0.2.7",
|
||||
"@backstage/plugin-gcp-projects": "^0.2.4",
|
||||
"@backstage/plugin-github-actions": "^0.3.4",
|
||||
"@backstage/plugin-gitops-profiles": "^0.2.5",
|
||||
"@backstage/plugin-graphiql": "^0.2.7",
|
||||
"@backstage/plugin-jenkins": "^0.3.11",
|
||||
"@backstage/plugin-kafka": "^0.2.4",
|
||||
"@backstage/plugin-kubernetes": "^0.3.11",
|
||||
"@backstage/plugin-lighthouse": "^0.2.12",
|
||||
"@backstage/plugin-newrelic": "^0.2.5",
|
||||
"@backstage/plugin-org": "^0.3.8",
|
||||
"@backstage/plugin-pagerduty": "0.3.1",
|
||||
"@backstage/plugin-register-component": "^0.2.11",
|
||||
"@backstage/plugin-rollbar": "^0.3.2",
|
||||
"@backstage/plugin-scaffolder": "^0.6.0",
|
||||
"@backstage/plugin-sentry": "^0.3.7",
|
||||
"@backstage/plugin-search": "^0.3.2",
|
||||
"@backstage/plugin-tech-radar": "^0.3.6",
|
||||
"@backstage/plugin-techdocs": "^0.5.8",
|
||||
"@backstage/plugin-user-settings": "^0.2.6",
|
||||
"@backstage/catalog-model": "^0.7.3",
|
||||
"@backstage/cli": "^0.6.3",
|
||||
"@backstage/core": "^0.7.0",
|
||||
"@backstage/plugin-api-docs": "^0.4.8",
|
||||
"@backstage/plugin-catalog": "^0.4.1",
|
||||
"@backstage/plugin-catalog-import": "^0.4.3",
|
||||
"@backstage/plugin-catalog-react": "^0.1.1",
|
||||
"@backstage/plugin-circleci": "^0.2.11",
|
||||
"@backstage/plugin-cloudbuild": "^0.2.12",
|
||||
"@backstage/plugin-cost-insights": "^0.8.3",
|
||||
"@backstage/plugin-explore": "^0.3.0",
|
||||
"@backstage/plugin-gcp-projects": "^0.2.5",
|
||||
"@backstage/plugin-github-actions": "^0.3.5",
|
||||
"@backstage/plugin-gitops-profiles": "^0.2.6",
|
||||
"@backstage/plugin-graphiql": "^0.2.8",
|
||||
"@backstage/plugin-jenkins": "^0.3.12",
|
||||
"@backstage/plugin-kafka": "^0.2.5",
|
||||
"@backstage/plugin-kubernetes": "^0.3.12",
|
||||
"@backstage/plugin-lighthouse": "^0.2.13",
|
||||
"@backstage/plugin-newrelic": "^0.2.6",
|
||||
"@backstage/plugin-org": "^0.3.9",
|
||||
"@backstage/plugin-pagerduty": "0.3.2",
|
||||
"@backstage/plugin-register-component": "^0.2.12",
|
||||
"@backstage/plugin-rollbar": "^0.3.3",
|
||||
"@backstage/plugin-scaffolder": "^0.7.0",
|
||||
"@backstage/plugin-sentry": "^0.3.8",
|
||||
"@backstage/plugin-search": "^0.3.3",
|
||||
"@backstage/plugin-tech-radar": "^0.3.7",
|
||||
"@backstage/plugin-techdocs": "^0.6.0",
|
||||
"@backstage/plugin-user-settings": "^0.2.7",
|
||||
"@backstage/theme": "^0.2.3",
|
||||
"@material-ui/core": "^4.11.0",
|
||||
"@material-ui/icons": "^4.9.1",
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
# @backstage/backend-common
|
||||
|
||||
## 0.5.5
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 497859088: Add optional `logClientErrors` to errorHandler to log 4XX errors
|
||||
- 8adb48df4: Change debug log format to print as color grey
|
||||
|
||||
## 0.5.4
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/backend-common",
|
||||
"description": "Common functionality library for Backstage backends",
|
||||
"version": "0.5.4",
|
||||
"version": "0.5.5",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"private": false,
|
||||
@@ -68,7 +68,7 @@
|
||||
}
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "^0.6.1",
|
||||
"@backstage/cli": "^0.6.3",
|
||||
"@backstage/test-utils": "^0.1.7",
|
||||
"@types/archiver": "^5.1.0",
|
||||
"@types/compression": "^1.7.0",
|
||||
|
||||
@@ -1,5 +1,37 @@
|
||||
# example-backend
|
||||
|
||||
## 0.2.18
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [12d8f27a6]
|
||||
- Updated dependencies [52b5bc3e2]
|
||||
- Updated dependencies [ecdd407b1]
|
||||
- Updated dependencies [4fbc9df79]
|
||||
- Updated dependencies [12d8f27a6]
|
||||
- Updated dependencies [497859088]
|
||||
- Updated dependencies [1987c9341]
|
||||
- Updated dependencies [f31b76b44]
|
||||
- Updated dependencies [15eee03bc]
|
||||
- Updated dependencies [f43192207]
|
||||
- Updated dependencies [8adb48df4]
|
||||
- Updated dependencies [e3adec2bd]
|
||||
- Updated dependencies [9ce68b677]
|
||||
- Updated dependencies [8106c9528]
|
||||
- Updated dependencies [d0ed25196]
|
||||
- Updated dependencies [96ccc8f69]
|
||||
- Updated dependencies [3af994c81]
|
||||
- @backstage/plugin-scaffolder-backend@0.9.0
|
||||
- @backstage/plugin-techdocs-backend@0.6.3
|
||||
- @backstage/plugin-catalog-backend@0.6.4
|
||||
- @backstage/plugin-kafka-backend@0.2.1
|
||||
- @backstage/catalog-model@0.7.3
|
||||
- @backstage/backend-common@0.5.5
|
||||
- @backstage/plugin-proxy-backend@0.2.5
|
||||
- @backstage/plugin-auth-backend@0.3.3
|
||||
- @backstage/plugin-kubernetes-backend@0.2.8
|
||||
- example-app@0.2.18
|
||||
|
||||
## 0.2.17
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "example-backend",
|
||||
"version": "0.2.17",
|
||||
"version": "0.2.18",
|
||||
"main": "dist/index.cjs.js",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
@@ -27,25 +27,25 @@
|
||||
"migrate:create": "knex migrate:make -x ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@backstage/backend-common": "^0.5.3",
|
||||
"@backstage/backend-common": "^0.5.5",
|
||||
"@backstage/catalog-client": "^0.3.6",
|
||||
"@backstage/catalog-model": "^0.7.2",
|
||||
"@backstage/catalog-model": "^0.7.3",
|
||||
"@backstage/config": "^0.1.3",
|
||||
"@backstage/plugin-app-backend": "^0.3.8",
|
||||
"@backstage/plugin-auth-backend": "^0.3.2",
|
||||
"@backstage/plugin-catalog-backend": "^0.6.3",
|
||||
"@backstage/plugin-auth-backend": "^0.3.3",
|
||||
"@backstage/plugin-catalog-backend": "^0.6.4",
|
||||
"@backstage/plugin-graphql-backend": "^0.1.5",
|
||||
"@backstage/plugin-kubernetes-backend": "^0.2.7",
|
||||
"@backstage/plugin-kafka-backend": "^0.2.0",
|
||||
"@backstage/plugin-proxy-backend": "^0.2.4",
|
||||
"@backstage/plugin-kubernetes-backend": "^0.2.8",
|
||||
"@backstage/plugin-kafka-backend": "^0.2.1",
|
||||
"@backstage/plugin-proxy-backend": "^0.2.5",
|
||||
"@backstage/plugin-rollbar-backend": "^0.1.7",
|
||||
"@backstage/plugin-scaffolder-backend": "^0.8.0",
|
||||
"@backstage/plugin-techdocs-backend": "^0.6.2",
|
||||
"@backstage/plugin-scaffolder-backend": "^0.9.0",
|
||||
"@backstage/plugin-techdocs-backend": "^0.6.3",
|
||||
"@gitbeaker/node": "^28.0.2",
|
||||
"@octokit/rest": "^18.0.12",
|
||||
"azure-devops-node-api": "^10.1.1",
|
||||
"dockerode": "^3.2.1",
|
||||
"example-app": "^0.2.17",
|
||||
"example-app": "^0.2.18",
|
||||
"express": "^4.17.1",
|
||||
"express-promise-router": "^3.0.3",
|
||||
"knex": "^0.21.6",
|
||||
@@ -55,7 +55,7 @@
|
||||
"winston": "^3.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "^0.6.2",
|
||||
"@backstage/cli": "^0.6.3",
|
||||
"@types/dockerode": "^3.2.1",
|
||||
"@types/express": "^4.17.6",
|
||||
"@types/express-serve-static-core": "^4.17.5"
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# @backstage/catalog-model
|
||||
|
||||
## 0.7.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 12d8f27a6: Add version `backstage.io/v1beta2` schema for Template entities.
|
||||
|
||||
## 0.7.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@backstage/catalog-model",
|
||||
"version": "0.7.2",
|
||||
"version": "0.7.3",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"license": "Apache-2.0",
|
||||
@@ -39,7 +39,7 @@
|
||||
"yup": "^0.29.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "^0.6.2",
|
||||
"@backstage/cli": "^0.6.3",
|
||||
"@types/express": "^4.17.6",
|
||||
"@types/jest": "^26.0.7",
|
||||
"@types/lodash": "^4.14.151",
|
||||
|
||||
@@ -1,5 +1,16 @@
|
||||
# @backstage/cli
|
||||
|
||||
## 0.6.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 507513fed: Bump `@svgr/webpack` from `5.4.x` to `5.5.x`.
|
||||
- e37d2de99: Bump `@testing-library/react` in the plugin template from `^10.4.1` to `^11.2.5`. To apply this to an existing plugin, update the dependency in your `package.json`.
|
||||
- 11c6208fe: Fixed an issue where the `backend:dev` command would get stuck executing the backend process multiple times, causing port conflict issues.
|
||||
- d4f0a1406: New config command to export the configuration schema. When running backstage-cli with yarn, consider using `yarn --silent backstage-cli config:schema` to get a clean output on `stdout`.
|
||||
- b93538acc: Fix for type declaration input being required for build even if types aren't being built.
|
||||
- 8871e7523: Bump `ts-loader` dependency range from `^7.0.4` to `^8.0.17`.
|
||||
|
||||
## 0.6.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/cli",
|
||||
"description": "CLI for developing Backstage plugins and apps",
|
||||
"version": "0.6.2",
|
||||
"version": "0.6.3",
|
||||
"private": false,
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
@@ -117,10 +117,10 @@
|
||||
"yn": "^4.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/backend-common": "^0.5.4",
|
||||
"@backstage/backend-common": "^0.5.5",
|
||||
"@backstage/config": "^0.1.3",
|
||||
"@backstage/core": "^0.6.3",
|
||||
"@backstage/dev-utils": "^0.1.12",
|
||||
"@backstage/core": "^0.7.0",
|
||||
"@backstage/dev-utils": "^0.1.13",
|
||||
"@backstage/test-utils": "^0.1.8",
|
||||
"@backstage/theme": "^0.2.3",
|
||||
"@types/diff": "^5.0.0",
|
||||
|
||||
@@ -1,5 +1,12 @@
|
||||
# @backstage/core-api
|
||||
|
||||
## 0.2.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 40c0fdbaa: Added support for optional external route references. By setting `optional: true` when creating an `ExternalRouteRef` it is no longer a requirement to bind the route in the app. If the app isn't bound `useRouteRef` will return `undefined`.
|
||||
- 2a271d89e: Internal refactor of how component data is access to avoid polluting components and make it possible to bridge across versions.
|
||||
|
||||
## 0.2.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/core-api",
|
||||
"description": "Internal Core API used by Backstage plugins and apps",
|
||||
"version": "0.2.11",
|
||||
"version": "0.2.12",
|
||||
"private": false,
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
@@ -42,7 +42,7 @@
|
||||
"zen-observable": "^0.8.15"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "^0.6.2",
|
||||
"@backstage/cli": "^0.6.3",
|
||||
"@backstage/test-utils": "^0.1.8",
|
||||
"@backstage/test-utils-core": "^0.1.1",
|
||||
"@testing-library/jest-dom": "^5.10.1",
|
||||
|
||||
@@ -1,5 +1,48 @@
|
||||
# @backstage/core
|
||||
|
||||
## 0.7.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- 4c049a1a1: - Adds onClick and other props to IconLinkVertical;
|
||||
|
||||
- Allows TriggerButton component to render when pager duty key is missing;
|
||||
- Refactors TriggerButton and PagerDutyCard not to have shared state;
|
||||
- Removes the `action` prop of the IconLinkVertical component while adding `onClick`.
|
||||
|
||||
Instead of having an action including a button with onClick, now the whole component can be clickable making it easier to implement and having a better UX.
|
||||
|
||||
Before:
|
||||
|
||||
```ts
|
||||
const myLink: IconLinkVerticalProps = {
|
||||
label: 'Click me',
|
||||
action: <Button onClick={myAction} />,
|
||||
icon: <MyIcon onClick={myAction} />,
|
||||
};
|
||||
```
|
||||
|
||||
After:
|
||||
|
||||
```ts
|
||||
const myLink: IconLinkVerticalProps = {
|
||||
label: 'Click me',
|
||||
onClick: myAction,
|
||||
icon: <MyIcon />,
|
||||
};
|
||||
```
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 40c0fdbaa: Added support for optional external route references. By setting `optional: true` when creating an `ExternalRouteRef` it is no longer a requirement to bind the route in the app. If the app isn't bound `useRouteRef` will return `undefined`.
|
||||
- 2a271d89e: Internal refactor of how component data is access to avoid polluting components and make it possible to bridge across versions.
|
||||
- bece09057: Improve rendering of multiple support item links in the `SupportButton`
|
||||
- 169f48deb: Added the color prop to TrendLine from the Sparklines props types to be able to have custom colors.
|
||||
- 8a1566719: Added a new useSupportConfig hook that reads a new `app.support` config key. Also updated the SupportButton and ErrorPage components to use the new config.
|
||||
- Updated dependencies [40c0fdbaa]
|
||||
- Updated dependencies [2a271d89e]
|
||||
- @backstage/core-api@0.2.12
|
||||
|
||||
## 0.6.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/core",
|
||||
"description": "Core API used by Backstage plugins and apps",
|
||||
"version": "0.6.3",
|
||||
"version": "0.7.0",
|
||||
"private": false,
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
@@ -30,7 +30,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@backstage/config": "^0.1.3",
|
||||
"@backstage/core-api": "^0.2.11",
|
||||
"@backstage/core-api": "^0.2.12",
|
||||
"@backstage/theme": "^0.2.3",
|
||||
"@material-ui/core": "^4.11.0",
|
||||
"@material-ui/icons": "^4.9.1",
|
||||
@@ -68,7 +68,7 @@
|
||||
"zen-observable": "^0.8.15"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "^0.6.2",
|
||||
"@backstage/cli": "^0.6.3",
|
||||
"@backstage/test-utils": "^0.1.8",
|
||||
"@testing-library/jest-dom": "^5.10.1",
|
||||
"@testing-library/react": "^11.2.5",
|
||||
|
||||
@@ -1,5 +1,167 @@
|
||||
# @backstage/create-app
|
||||
|
||||
## 0.3.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- f71589800: The api-docs plugin has been migrated to use an [external route reference](https://backstage.io/docs/plugins/composability#binding-external-routes-in-the-app) to dynamically link to the create component page.
|
||||
|
||||
If you want to have a button that links to the scaffolder plugin from the API explorer, apply the following changes to `packages/app/src/App.tsx`:
|
||||
|
||||
```diff
|
||||
+ import { apiDocsPlugin } from '@backstage/plugin-api-docs';
|
||||
import { scaffolderPlugin } from '@backstage/plugin-scaffolder';
|
||||
|
||||
const app = createApp({
|
||||
// ...
|
||||
bindRoutes({ bind }) {
|
||||
+ bind(apiDocsPlugin.externalRoutes, {
|
||||
+ createComponent: scaffolderPlugin.routes.root,
|
||||
+ });
|
||||
},
|
||||
});
|
||||
```
|
||||
|
||||
If you choose to not bind the routes, the button to create new APIs is not displayed.
|
||||
|
||||
- 7a1b2ba0e: Migrated away from using deprecated routes and router components at top-level in the app, and instead use routable extension pages.
|
||||
|
||||
To apply this change to an existing app, make the following changes to `packages/app/src/App.tsx`:
|
||||
|
||||
Update imports and remove the usage of the deprecated `app.getRoutes()`.
|
||||
|
||||
```diff
|
||||
-import { Router as DocsRouter } from '@backstage/plugin-techdocs';
|
||||
+import { TechdocsPage } from '@backstage/plugin-techdocs';
|
||||
import { CatalogImportPage } from '@backstage/plugin-catalog-import';
|
||||
-import { Router as TechRadarRouter } from '@backstage/plugin-tech-radar';
|
||||
-import { SearchPage as SearchRouter } from '@backstage/plugin-search';
|
||||
-import { Router as SettingsRouter } from '@backstage/plugin-user-settings';
|
||||
+import { TechRadarPage } from '@backstage/plugin-tech-radar';
|
||||
+import { SearchPage } from '@backstage/plugin-search';
|
||||
+import { UserSettingsPage } from '@backstage/plugin-user-settings';
|
||||
+import { ApiExplorerPage } from '@backstage/plugin-api-docs';
|
||||
import { EntityPage } from './components/catalog/EntityPage';
|
||||
import { scaffolderPlugin, ScaffolderPage } from '@backstage/plugin-scaffolder';
|
||||
```
|
||||
|
||||
const AppProvider = app.getProvider();
|
||||
const AppRouter = app.getRouter();
|
||||
-const deprecatedAppRoutes = app.getRoutes();
|
||||
|
||||
````
|
||||
|
||||
As well as update or add the following routes:
|
||||
|
||||
```diff
|
||||
<Route path="/create" element={<ScaffolderPage />} />
|
||||
- <Route path="/docs" element={<DocsRouter />} />
|
||||
+ <Route path="/docs" element={<TechdocsPage />} />
|
||||
+ <Route path="/api-docs" element={<ApiExplorerPage />} />
|
||||
<Route
|
||||
path="/tech-radar"
|
||||
- element={<TechRadarRouter width={1500} height={800} />}
|
||||
+ element={<TechRadarPage width={1500} height={800} />}
|
||||
/>
|
||||
<Route path="/catalog-import" element={<CatalogImportPage />} />
|
||||
- <Route
|
||||
- path="/search"
|
||||
- element={<SearchRouter/>}
|
||||
- />
|
||||
- <Route path="/settings" element={<SettingsRouter />} />
|
||||
- {deprecatedAppRoutes}
|
||||
+ <Route path="/search" element={<SearchPage />} />
|
||||
+ <Route path="/settings" element={<UserSettingsPage />} />
|
||||
````
|
||||
|
||||
If you have added additional plugins with registered routes or are using `Router` components from other plugins, these should be migrated to use the `*Page` components as well. See [this commit](https://github.com/backstage/backstage/commit/abd655e42d4ed416b70848ffdb1c4b99d189f13b) for more examples of how to migrate.
|
||||
|
||||
For more information and the background to this change, see the [composability system migration docs](https://backstage.io/docs/plugins/composability).
|
||||
|
||||
- 415a3a42d: Updated the default `App` test to work better on Windows.
|
||||
|
||||
To apply this change to an existing app, replace the `process.env.APP_CONFIG` definition in `packages/app/src/App.test.tsx` with the following:
|
||||
|
||||
```ts
|
||||
process.env = {
|
||||
NODE_ENV: 'test',
|
||||
APP_CONFIG: [
|
||||
{
|
||||
data: {
|
||||
app: { title: 'Test' },
|
||||
backend: { baseUrl: 'http://localhost:7000' },
|
||||
techdocs: {
|
||||
storageUrl: 'http://localhost:7000/api/techdocs/static/docs',
|
||||
},
|
||||
},
|
||||
context: 'test',
|
||||
},
|
||||
] as any,
|
||||
};
|
||||
```
|
||||
|
||||
- Updated dependencies [b2a5320a4]
|
||||
- Updated dependencies [12d8f27a6]
|
||||
- Updated dependencies [507513fed]
|
||||
- Updated dependencies [52b5bc3e2]
|
||||
- Updated dependencies [ecdd407b1]
|
||||
- Updated dependencies [32a003973]
|
||||
- Updated dependencies [40c0fdbaa]
|
||||
- Updated dependencies [12d8f27a6]
|
||||
- Updated dependencies [497859088]
|
||||
- Updated dependencies [1987c9341]
|
||||
- Updated dependencies [f31b76b44]
|
||||
- Updated dependencies [15eee03bc]
|
||||
- Updated dependencies [f43192207]
|
||||
- Updated dependencies [cfc83cac1]
|
||||
- Updated dependencies [8adb48df4]
|
||||
- Updated dependencies [bc327dc42]
|
||||
- Updated dependencies [2386de1d3]
|
||||
- Updated dependencies [9ce68b677]
|
||||
- Updated dependencies [10362e9eb]
|
||||
- Updated dependencies [e37d2de99]
|
||||
- Updated dependencies [813c6a4f2]
|
||||
- Updated dependencies [11c6208fe]
|
||||
- Updated dependencies [8106c9528]
|
||||
- Updated dependencies [05183f202]
|
||||
- Updated dependencies [40c0fdbaa]
|
||||
- Updated dependencies [f71589800]
|
||||
- Updated dependencies [2a271d89e]
|
||||
- Updated dependencies [bece09057]
|
||||
- Updated dependencies [d4f0a1406]
|
||||
- Updated dependencies [169f48deb]
|
||||
- Updated dependencies [8a1566719]
|
||||
- Updated dependencies [d0ed25196]
|
||||
- Updated dependencies [4c049a1a1]
|
||||
- Updated dependencies [96ccc8f69]
|
||||
- Updated dependencies [3af994c81]
|
||||
- Updated dependencies [b33e553b2]
|
||||
- Updated dependencies [04667f571]
|
||||
- Updated dependencies [b93538acc]
|
||||
- Updated dependencies [8871e7523]
|
||||
- Updated dependencies [dbea11072]
|
||||
- @backstage/plugin-circleci@0.2.11
|
||||
- @backstage/plugin-github-actions@0.3.5
|
||||
- @backstage/plugin-scaffolder@0.7.0
|
||||
- @backstage/plugin-scaffolder-backend@0.9.0
|
||||
- @backstage/cli@0.6.3
|
||||
- @backstage/plugin-techdocs-backend@0.6.3
|
||||
- @backstage/plugin-catalog-backend@0.6.4
|
||||
- @backstage/plugin-api-docs@0.4.8
|
||||
- @backstage/plugin-catalog@0.4.1
|
||||
- @backstage/catalog-model@0.7.3
|
||||
- @backstage/backend-common@0.5.5
|
||||
- @backstage/plugin-proxy-backend@0.2.5
|
||||
- @backstage/plugin-auth-backend@0.3.3
|
||||
- @backstage/plugin-explore@0.3.0
|
||||
- @backstage/plugin-techdocs@0.6.0
|
||||
- @backstage/plugin-catalog-import@0.4.3
|
||||
- @backstage/core@0.7.0
|
||||
- @backstage/plugin-lighthouse@0.2.13
|
||||
- @backstage/plugin-search@0.3.3
|
||||
- @backstage/plugin-tech-radar@0.3.7
|
||||
- @backstage/plugin-user-settings@0.2.7
|
||||
|
||||
## 0.3.11
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/create-app",
|
||||
"description": "Create app package for Backstage",
|
||||
"version": "0.3.11",
|
||||
"version": "0.3.12",
|
||||
"private": false,
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
|
||||
@@ -1,5 +1,22 @@
|
||||
# @backstage/dev-utils
|
||||
|
||||
## 0.1.13
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Updated dependencies [12d8f27a6]
|
||||
- Updated dependencies [40c0fdbaa]
|
||||
- Updated dependencies [2a271d89e]
|
||||
- Updated dependencies [bece09057]
|
||||
- Updated dependencies [169f48deb]
|
||||
- Updated dependencies [8a1566719]
|
||||
- Updated dependencies [9d455f69a]
|
||||
- Updated dependencies [4c049a1a1]
|
||||
- Updated dependencies [02816ecd7]
|
||||
- @backstage/catalog-model@0.7.3
|
||||
- @backstage/core@0.7.0
|
||||
- @backstage/plugin-catalog-react@0.1.1
|
||||
|
||||
## 0.1.12
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/dev-utils",
|
||||
"description": "Utilities for developing Backstage plugins.",
|
||||
"version": "0.1.12",
|
||||
"version": "0.1.13",
|
||||
"private": false,
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
@@ -29,9 +29,9 @@
|
||||
"clean": "backstage-cli clean"
|
||||
},
|
||||
"dependencies": {
|
||||
"@backstage/core": "^0.6.3",
|
||||
"@backstage/catalog-model": "^0.7.2",
|
||||
"@backstage/plugin-catalog-react": "^0.1.0",
|
||||
"@backstage/core": "^0.7.0",
|
||||
"@backstage/catalog-model": "^0.7.3",
|
||||
"@backstage/plugin-catalog-react": "^0.1.1",
|
||||
"@backstage/test-utils": "^0.1.8",
|
||||
"@backstage/theme": "^0.2.3",
|
||||
"@material-ui/core": "^4.11.0",
|
||||
@@ -47,7 +47,7 @@
|
||||
"react-router-dom": "6.0.0-beta.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "^0.6.2",
|
||||
"@backstage/cli": "^0.6.3",
|
||||
"@types/jest": "^26.0.7",
|
||||
"@types/node": "^12.0.0"
|
||||
},
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
# @backstage/techdocs-common
|
||||
|
||||
## 0.4.3
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- f43192207: remove usage of res.send() for res.json() and res.end() to ensure content types are more consistently application/json on backend responses and error cases
|
||||
- 61299519f: Remove read-store-upload loop when uploading S3 objects for TechDocs
|
||||
- Updated dependencies [12d8f27a6]
|
||||
- Updated dependencies [497859088]
|
||||
- Updated dependencies [8adb48df4]
|
||||
- @backstage/catalog-model@0.7.3
|
||||
- @backstage/backend-common@0.5.5
|
||||
|
||||
## 0.4.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/techdocs-common",
|
||||
"description": "Common functionalities for TechDocs, to be shared between techdocs-backend plugin and techdocs-cli",
|
||||
"version": "0.4.2",
|
||||
"version": "0.4.3",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"private": false,
|
||||
@@ -38,8 +38,8 @@
|
||||
"dependencies": {
|
||||
"@azure/identity": "^1.2.2",
|
||||
"@azure/storage-blob": "^12.4.0",
|
||||
"@backstage/backend-common": "^0.5.4",
|
||||
"@backstage/catalog-model": "^0.7.2",
|
||||
"@backstage/backend-common": "^0.5.5",
|
||||
"@backstage/catalog-model": "^0.7.3",
|
||||
"@backstage/config": "^0.1.3",
|
||||
"@backstage/integration": "^0.5.0",
|
||||
"@google-cloud/storage": "^5.6.0",
|
||||
@@ -60,7 +60,7 @@
|
||||
"winston": "^3.2.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@backstage/cli": "^0.6.2",
|
||||
"@backstage/cli": "^0.6.3",
|
||||
"@types/fs-extra": "^9.0.5",
|
||||
"@types/git-url-parse": "^9.0.0",
|
||||
"@types/js-yaml": "^3.12.5",
|
||||
|
||||
Reference in New Issue
Block a user