Merge pull request #9054 from backstage/changeset-release/master

Version Packages
This commit is contained in:
Ben Lambert
2022-01-27 13:01:40 +01:00
committed by GitHub
195 changed files with 987 additions and 865 deletions
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-search-backend-node': patch
---
Track visibility permissions by document type in IndexBuilder
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-catalog-backend': patch
---
Add support for permissions to the DefaultCatalogCollator.
-5
View File
@@ -1,5 +0,0 @@
---
'@techdocs/cli': patch
---
Bumped `react-dev-utils` from `^12.0.0-next.47` to `^12.0.0-next.60`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/core-components': patch
---
Remove the `ignoreChildEvent` utility from the sidebar component to avoid conflicts with popovers
-13
View File
@@ -1,13 +0,0 @@
---
'@backstage/plugin-catalog-graph': patch
---
Deprecated the external `catalogEntity` route as this is now imported directly from `@backstage/plugin-catalog-react` instead.
This means you can remove the route binding from your `App.tsx`:
```diff
- bind(catalogGraphPlugin.externalRoutes, {
- catalogEntity: catalogPlugin.routes.catalogEntity,
- });
```
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
chore(deps): bump `jest-transform-yaml` from 0.1.1 to 1.0.0
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/core-components': patch
'@backstage/plugin-techdocs': patch
---
chore(deps): bump `react-text-truncate` from 0.16.0 to 0.17.0
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/core-components': patch
---
chore(deps): bump `remark-gfm` from 2.0.0 to 3.0.1
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/core-components': patch
---
chore(deps): bump `react-markdown` from 7.1.2 to 8.0.0
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/core-components': patch
'@backstage/plugin-sonarqube': patch
---
chore(deps): bump `rc-progress` from 3.1.4 to 3.2.4
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
chore(deps): bump `@gitbeaker/node` from 34.6.0 to 35.1.0
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
This change is for adding the option of inputs on the `github:actions:dispatch` Backstage Action. This will allow users to pass data from Backstage to the GitHub Action.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-kubernetes-backend': patch
---
If serviceAccountToken not provided, use default config file from cluster
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/core-components': patch
---
Fix issue where component types are not recognized causing the `MobileSidebar` to not render as intended.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': minor
---
Removes the previously deprecated `remove-plugin` command alongside the `--lax` option to `app:build`.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/dev-utils': patch
---
Bumped `react-hot-loader` from `^4.12.21` to `^4.13.0`.
-13
View File
@@ -1,13 +0,0 @@
---
'@backstage/plugin-search': minor
---
Forwarding classes to HomePageSearchBar instead of using className prop. For custom styles of the HomePageSearchBar, use classes prop instead:
```diff
<HomePageSearchBar
- className={searchBar}
+ classes={{ root: classes.searchBar }}
placeholder="Search"
/>
```
-25
View File
@@ -1,25 +0,0 @@
---
'@backstage/create-app': patch
---
Added three additional required properties to the search-backend `createRouter` function to support filtering search results based on permissions. To make this change to an existing app, add the required parameters to the `createRouter` call in `packages/backend/src/plugins/search.ts`:
```diff
export default async function createPlugin({
logger,
+ permissions,
discovery,
config,
tokenManager,
}: PluginEnvironment) {
/* ... */
return await createRouter({
engine: indexBuilder.getSearchEngine(),
+ types: indexBuilder.getDocumentTypes(),
+ permissions,
+ config,
logger,
});
}
```
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-auth-backend': minor
---
The `sub` claim in Backstage tokens generated by the default Google and OIDC sign-in resolvers are now full entity references of the format `<kind>:<namespace>/<name>`.
-13
View File
@@ -1,13 +0,0 @@
---
'@backstage/plugin-explore': patch
---
Deprecated the external `catalogEntity` route as this is now imported directly from `@backstage/plugin-catalog-react` instead.
This means you can remove the route binding from your `App.tsx`:
```diff
- bind(explorePlugin.externalRoutes, {
- catalogEntity: catalogPlugin.routes.catalogEntity,
- });
```
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
Updated the dependency warning that is baked into `app:serve` to only warn about packages that are not allowed to have duplicates.
-63
View File
@@ -1,63 +0,0 @@
---
'@backstage/create-app': patch
---
Replaced EntitySystemDiagramCard with EntityCatalogGraphCard
To make this change to an existing app:
Add `@backstage/catalog-graph-plugin` as a `dependency` in `packages/app/package.json`
Apply the following changes to the `packages/app/src/components/catalog/EntityPage.tsx` file:
```diff
+ import {
+ Direction,
+ EntityCatalogGraphCard,
+ } from '@backstage/plugin-catalog-graph';
+ import {
+ RELATION_API_CONSUMED_BY,
+ RELATION_API_PROVIDED_BY,
+ RELATION_CONSUMES_API,
+ RELATION_DEPENDENCY_OF,
+ RELATION_DEPENDS_ON,
+ RELATION_HAS_PART,
+ RELATION_PART_OF,
+ RELATION_PROVIDES_API,
+ } from '@backstage/catalog-model';
```
```diff
<EntityLayout.Route path="/diagram" title="Diagram">
- <EntitySystemDiagramCard />
+ <EntityCatalogGraphCard
+ variant="gridItem"
+ direction={Direction.TOP_BOTTOM}
+ title="System Diagram"
+ height={700}
+ relations={[
+ RELATION_PART_OF,
+ RELATION_HAS_PART,
+ RELATION_API_CONSUMED_BY,
+ RELATION_API_PROVIDED_BY,
+ RELATION_CONSUMES_API,
+ RELATION_PROVIDES_API,
+ RELATION_DEPENDENCY_OF,
+ RELATION_DEPENDS_ON,
+ ]}
+ unidirectional={false}
+ />
</EntityLayout.Route>
```
```diff
const cicdContent = (
<Grid item md={6}>
<EntityAboutCard variant="gridItem" />
</Grid>
+ <Grid item md={6} xs={12}>
+ <EntityCatalogGraphCard variant="gridItem" height={400} />
+ </Grid>
```
Add the above component in `overviewContent`, `apiPage` , `systemPage` and domainPage` as well.
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/search-common': patch
---
- Add optional visibilityPermission property to DocumentCollator type
- Add new DocumentTypeInfo type for housing information about the document types stored in a search engine.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/search-common': patch
---
Add optional resourceRef field to the IndexableDocument type for use when authorizing access to documents.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/search-common': patch
---
Add optional query request options containing authorization token to SearchEngine#query.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-azure-devops': patch
---
Updated to support cases where only Azure Pipelines to see Builds. You can use this new feature by adding the `dev.azure.com/project` and `dev.azure.com/build-definition` annotations to your `catalog-info.yaml` files. The Azure DevOps plugin [README has more detailed instructions](https://github.com/backstage/backstage/tree/master/plugins/azure-devops#setup).
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/core-components': patch
---
Updates styling of Header component by removing flex wrap and add max width of characters for subtitle
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
Switched the `WebpackDevServer` configuration to use client-side detection of the WebSocket protocol.
-25
View File
@@ -1,25 +0,0 @@
---
'@backstage/plugin-search-backend': minor
---
**BREAKING** Added three additional required properties to `createRouter` to support filtering search results based on permissions. To make this change to an existing app, add the required parameters to the `createRouter` call in `packages/backend/src/plugins/search.ts`:
```diff
export default async function createPlugin({
logger,
+ permissions,
discovery,
config,
tokenManager,
}: PluginEnvironment) {
/* ... */
return await createRouter({
engine: indexBuilder.getSearchEngine(),
+ types: indexBuilder.getDocumentTypes(),
+ permissions,
+ config,
logger,
});
}
```
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-tech-insights-backend': patch
---
Update README to match config options.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-auth-backend': patch
---
Running the `auth-backend` on multiple domains, perhaps different domains depending on the `auth.environment`, was previously not possible as the `domain` name of the cookie was taken from `backend.baseUrl`. This prevented any cookies to be set in the start of the auth flow as the domain of the cookie would not match the domain of the callbackUrl configured in the OAuth app. This change checks if a provider supports custom `callbackUrl`'s to be configured in the application configuration and uses the domain from that, allowing the `domain`'s to match and the cookie to be set.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/cli': patch
---
Upgraded `webpack`, `webpack-dev-server`,`fork-ts-checker-webpack-plugin`, `react-dev-utils`, and `react-hot-loader`. Since `ForkTsCheckerWebpackPlugin` no longer runs ESLint, we now include the `ESLintPlugin` from `eslint-webpack-plugin` if the `--check` flag is passed.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
Expose a new option to provide additional template filters via `@backstage/scaffolder-backend`'s `createRouter()` function.
-10
View File
@@ -1,10 +0,0 @@
---
'@backstage/plugin-search': minor
---
The way labels are controlled on both the `<SearchFilter.Checkbox />` and
`<SearchFilter.Select />` components has changed. Previously, the string passed
on the `name` prop (which controls the field being filtered on) was also
rendered as the field label. Now, if you want a label rendered, it must be
passed on the new `label` prop. If no `label` is provided, no label will be
rendered.
-76
View File
@@ -1,76 +0,0 @@
---
'@backstage/create-app': patch
---
An example instance of a `<SearchFilter.Select />` with asynchronously loaded values was added to the composed `SearchPage.tsx`, allowing searches bound to the `techdocs` type to be filtered by entity name.
This is an entirely optional change; if you wish to adopt it, you can make the following (or similar) changes to your search page layout:
```diff
--- a/packages/app/src/components/search/SearchPage.tsx
+++ b/packages/app/src/components/search/SearchPage.tsx
@@ -2,6 +2,10 @@ import React from 'react';
import { makeStyles, Theme, Grid, List, Paper } from '@material-ui/core';
import { CatalogResultListItem } from '@backstage/plugin-catalog';
+import {
+ catalogApiRef,
+ CATALOG_FILTER_EXISTS,
+} from '@backstage/plugin-catalog-react';
import { DocsResultListItem } from '@backstage/plugin-techdocs';
import {
@@ -10,6 +14,7 @@ import {
SearchResult,
SearchType,
DefaultResultListItem,
+ useSearch,
} from '@backstage/plugin-search';
import {
CatalogIcon,
@@ -18,6 +23,7 @@ import {
Header,
Page,
} from '@backstage/core-components';
+import { useApi } from '@backstage/core-plugin-api';
const useStyles = makeStyles((theme: Theme) => ({
bar: {
@@ -36,6 +42,8 @@ const useStyles = makeStyles((theme: Theme) => ({
const SearchPage = () => {
const classes = useStyles();
+ const { types } = useSearch();
+ const catalogApi = useApi(catalogApiRef);
return (
<Page themeId="home">
@@ -65,6 +73,27 @@ const SearchPage = () => {
]}
/>
<Paper className={classes.filters}>
+ {types.includes('techdocs') && (
+ <SearchFilter.Select
+ className={classes.filter}
+ label="Entity"
+ name="name"
+ values={async () => {
+ // Return a list of entities which are documented.
+ const { items } = await catalogApi.getEntities({
+ fields: ['metadata.name'],
+ filter: {
+ 'metadata.annotations.backstage.io/techdocs-ref':
+ CATALOG_FILTER_EXISTS,
+ },
+ });
+
+ const names = items.map(entity => entity.metadata.name);
+ names.sort();
+ return names;
+ }}
+ />
+ )}
<SearchFilter.Select
className={classes.filter}
name="kind"
```
-27
View File
@@ -1,27 +0,0 @@
---
'@backstage/create-app': patch
---
A `label` prop was added to `<SearchFilter.* />` components in order to allow
user-friendly label strings (as well as the option to omit a label). In order
to maintain labels on your existing filters, add a `label` prop to them in your
`SearchPage.tsx`.
```diff
--- a/packages/app/src/components/search/SearchPage.tsx
+++ b/packages/app/src/components/search/SearchPage.tsx
@@ -96,11 +96,13 @@ const SearchPage = () => {
)}
<SearchFilter.Select
className={classes.filter}
+ label="Kind"
name="kind"
values={['Component', 'Template']}
/>
<SearchFilter.Checkbox
className={classes.filter}
+ label="Lifecycle"
name="lifecycle"
values={['experimental', 'production']}
/>
```
-9
View File
@@ -1,9 +0,0 @@
---
'@backstage/plugin-search': patch
---
Introduces a `<SearchFilter.Autocomplete />` variant, which can be used as either a single- or multi-select autocomplete filter.
This variant, as well as `<SearchFilter.Select />`, now also supports loading allowed values asynchronously by passing a function that resolves the list of values to the `values` prop. (An optional `valuesDebounceMs` prop may also be provided to control the debounce time).
Check the [search plugin storybook](https://backstage.io/storybook/?path=/story/plugins-search-searchfilter) to see how to leverage these new additions.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/techdocs-common': patch
---
Fix interpolated string for "Failed to generate docs from ..."
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-techdocs-backend': patch
---
Add support for permissions to the DefaultTechDocsCollator.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/backend-common': patch
---
Fixed configuration schema incorrectly declaring `backend.listen.address` to exist, rather than `backend.listen.host`, which is the correct key.
-6
View File
@@ -1,6 +0,0 @@
---
'@backstage/plugin-catalog': patch
---
Deprecated `EntitySystemDiagramCard`
`EntitySystemDiagramCard` is replaced by `EntityCatalogGraphCard` which is imported from `@backstage/plugin-catalog-graph`. This component will be removed in an upcoming release
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-github-actions': patch
---
Update GitHub OAuth documentation to include it must be created as a GitHub Organization OAuth application.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-gcp-projects': patch
---
Pin the `react-router-dom` version to `6.0.0-beta.0`. This avoids issues caused by newer versions of the package being installed.
-5
View File
@@ -1,5 +0,0 @@
---
'@backstage/plugin-techdocs': patch
---
Code snippets now include a "copy to clipboard" button.
-7
View File
@@ -1,7 +0,0 @@
---
'@backstage/core-app-api': patch
---
Asynchronous methods on the identity API can now reliably be called at any time, including early in the bootstrap process or prior to successful sign-in.
Previously in such situations, a `Tried to access IdentityApi before app was loaded` error would be thrown. Now, those methods will wait and resolve eventually (as soon as a concrete identity API is provided).
+3 -3
View File
@@ -29,8 +29,8 @@
"clean": "backstage-cli clean"
},
"dependencies": {
"@backstage/core-components": "^0.8.5",
"@backstage/core-app-api": "^0.5.0",
"@backstage/core-components": "^0.8.6",
"@backstage/core-app-api": "^0.5.1",
"@backstage/core-plugin-api": "^0.6.0",
"@backstage/plugin-permission-react": "^0.3.0",
"@backstage/theme": "^0.2.14",
@@ -42,7 +42,7 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
"@backstage/cli": "^0.12.0",
"@backstage/cli": "^0.13.0",
"@backstage/test-utils": "^0.2.3",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^11.2.5",
+19
View File
@@ -1,5 +1,24 @@
# example-app
## 0.2.62
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.8.6
- @backstage/plugin-catalog-graph@0.2.8
- @backstage/cli@0.13.0
- @backstage/plugin-techdocs@0.13.1
- @backstage/plugin-search@0.6.0
- @backstage/plugin-explore@0.3.27
- @backstage/search-common@0.2.2
- @backstage/plugin-azure-devops@0.1.12
- @backstage/plugin-catalog@0.7.10
- @backstage/plugin-github-actions@0.4.33
- @backstage/plugin-gcp-projects@0.3.15
- @backstage/core-app-api@0.5.1
- @backstage/plugin-home@0.4.12
## 0.2.61
### Patch Changes
+14 -14
View File
@@ -1,35 +1,35 @@
{
"name": "example-app",
"version": "0.2.61",
"version": "0.2.62",
"private": true,
"bundled": true,
"dependencies": {
"@backstage/app-defaults": "^0.1.5",
"@backstage/catalog-model": "^0.9.10",
"@backstage/cli": "^0.12.0",
"@backstage/core-app-api": "^0.5.0",
"@backstage/core-components": "^0.8.5",
"@backstage/cli": "^0.13.0",
"@backstage/core-app-api": "^0.5.1",
"@backstage/core-components": "^0.8.6",
"@backstage/core-plugin-api": "^0.6.0",
"@backstage/integration-react": "^0.1.19",
"@backstage/plugin-airbrake": "^0.1.1",
"@backstage/plugin-api-docs": "^0.7.0",
"@backstage/plugin-azure-devops": "^0.1.11",
"@backstage/plugin-azure-devops": "^0.1.12",
"@backstage/plugin-apache-airflow": "^0.1.4",
"@backstage/plugin-badges": "^0.2.20",
"@backstage/plugin-catalog": "^0.7.9",
"@backstage/plugin-catalog-graph": "^0.2.7",
"@backstage/plugin-catalog": "^0.7.10",
"@backstage/plugin-catalog-graph": "^0.2.8",
"@backstage/plugin-catalog-import": "^0.7.10",
"@backstage/plugin-catalog-react": "^0.6.12",
"@backstage/plugin-circleci": "^0.2.35",
"@backstage/plugin-cloudbuild": "^0.2.33",
"@backstage/plugin-code-coverage": "^0.1.23",
"@backstage/plugin-cost-insights": "^0.11.18",
"@backstage/plugin-explore": "^0.3.26",
"@backstage/plugin-gcp-projects": "^0.3.14",
"@backstage/plugin-github-actions": "^0.4.32",
"@backstage/plugin-explore": "^0.3.27",
"@backstage/plugin-gcp-projects": "^0.3.15",
"@backstage/plugin-github-actions": "^0.4.33",
"@backstage/plugin-gocd": "^0.1.2",
"@backstage/plugin-graphiql": "^0.2.28",
"@backstage/plugin-home": "^0.4.11",
"@backstage/plugin-home": "^0.4.12",
"@backstage/plugin-jenkins": "^0.5.18",
"@backstage/plugin-kafka": "^0.2.26",
"@backstage/plugin-kubernetes": "^0.5.5",
@@ -40,14 +40,14 @@
"@backstage/plugin-pagerduty": "0.3.23",
"@backstage/plugin-rollbar": "^0.3.24",
"@backstage/plugin-scaffolder": "^0.12.0",
"@backstage/plugin-search": "^0.5.6",
"@backstage/plugin-search": "^0.6.0",
"@backstage/plugin-sentry": "^0.3.34",
"@backstage/plugin-shortcuts": "^0.1.20",
"@backstage/plugin-tech-radar": "^0.5.3",
"@backstage/plugin-techdocs": "^0.13.0",
"@backstage/plugin-techdocs": "^0.13.1",
"@backstage/plugin-todo": "^0.1.20",
"@backstage/plugin-user-settings": "^0.3.17",
"@backstage/search-common": "^0.2.0",
"@backstage/search-common": "^0.2.2",
"@backstage/plugin-tech-insights": "^0.1.6",
"@backstage/theme": "^0.2.14",
"@material-ui/core": "^4.12.2",
+6
View File
@@ -1,5 +1,11 @@
# @backstage/backend-common
## 0.10.5
### Patch Changes
- de9d7eba63: Fixed configuration schema incorrectly declaring `backend.listen.address` to exist, rather than `backend.listen.host`, which is the correct key.
## 0.10.4
### Patch Changes
+2 -2
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/backend-common",
"description": "Common functionality library for Backstage backends",
"version": "0.10.4",
"version": "0.10.5",
"main": "src/index.ts",
"types": "src/index.ts",
"private": false,
@@ -81,7 +81,7 @@
}
},
"devDependencies": {
"@backstage/cli": "^0.12.0",
"@backstage/cli": "^0.13.0",
"@backstage/test-utils": "^0.2.3",
"@types/archiver": "^5.1.0",
"@types/compression": "^1.7.0",
+3 -3
View File
@@ -29,7 +29,7 @@
"clean": "backstage-cli clean"
},
"dependencies": {
"@backstage/backend-common": "^0.10.4",
"@backstage/backend-common": "^0.10.5",
"@backstage/config": "^0.1.13",
"@backstage/errors": "^0.2.0",
"@backstage/types": "^0.1.1",
@@ -43,8 +43,8 @@
"zod": "^3.9.5"
},
"devDependencies": {
"@backstage/backend-test-utils": "^0.1.14",
"@backstage/cli": "^0.12.0",
"@backstage/backend-test-utils": "^0.1.15",
"@backstage/cli": "^0.13.0",
"jest": "^26.0.1",
"wait-for-expect": "^3.0.2"
},
+8
View File
@@ -1,5 +1,13 @@
# @backstage/backend-test-utils
## 0.1.15
### Patch Changes
- Updated dependencies
- @backstage/cli@0.13.0
- @backstage/backend-common@0.10.5
## 0.1.14
### Patch Changes
+4 -4
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/backend-test-utils",
"description": "Test helpers library for Backstage backends",
"version": "0.1.14",
"version": "0.1.15",
"main": "src/index.ts",
"types": "src/index.ts",
"private": false,
@@ -30,8 +30,8 @@
"clean": "backstage-cli clean"
},
"dependencies": {
"@backstage/backend-common": "^0.10.4",
"@backstage/cli": "^0.12.0",
"@backstage/backend-common": "^0.10.5",
"@backstage/cli": "^0.13.0",
"@backstage/config": "^0.1.13",
"knex": "^0.95.1",
"mysql2": "^2.2.5",
@@ -41,7 +41,7 @@
"uuid": "^8.0.0"
},
"devDependencies": {
"@backstage/cli": "^0.12.0",
"@backstage/cli": "^0.13.0",
"jest": "^26.0.1"
},
"files": [
+18
View File
@@ -1,5 +1,23 @@
# example-backend
## 0.2.62
### Patch Changes
- Updated dependencies
- @backstage/plugin-search-backend-node@0.4.5
- @backstage/plugin-catalog-backend@0.21.1
- @backstage/plugin-scaffolder-backend@0.15.22
- @backstage/plugin-kubernetes-backend@0.4.5
- @backstage/plugin-auth-backend@0.8.0
- @backstage/plugin-search-backend@0.4.0
- @backstage/plugin-tech-insights-backend@0.2.2
- @backstage/plugin-techdocs-backend@0.13.1
- @backstage/backend-common@0.10.5
- example-app@0.2.62
- @backstage/plugin-permission-backend@0.4.1
- @backstage/plugin-permission-node@0.4.1
## 0.2.61
### Patch Changes
+14 -14
View File
@@ -1,6 +1,6 @@
{
"name": "example-backend",
"version": "0.2.61",
"version": "0.2.62",
"main": "dist/index.cjs.js",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -24,35 +24,35 @@
"migrate:create": "knex migrate:make -x ts"
},
"dependencies": {
"@backstage/backend-common": "^0.10.4",
"@backstage/backend-common": "^0.10.5",
"@backstage/backend-tasks": "^0.1.4",
"@backstage/catalog-client": "^0.5.5",
"@backstage/catalog-model": "^0.9.10",
"@backstage/config": "^0.1.13",
"@backstage/integration": "^0.7.2",
"@backstage/plugin-app-backend": "^0.3.22",
"@backstage/plugin-auth-backend": "^0.7.0",
"@backstage/plugin-auth-backend": "^0.8.0",
"@backstage/plugin-azure-devops-backend": "^0.3.1",
"@backstage/plugin-badges-backend": "^0.1.16",
"@backstage/plugin-catalog-backend": "^0.21.0",
"@backstage/plugin-catalog-backend": "^0.21.1",
"@backstage/plugin-code-coverage-backend": "^0.1.20",
"@backstage/plugin-graphql-backend": "^0.1.12",
"@backstage/plugin-jenkins-backend": "^0.1.11",
"@backstage/plugin-kubernetes-backend": "^0.4.4",
"@backstage/plugin-kubernetes-backend": "^0.4.5",
"@backstage/plugin-kafka-backend": "^0.2.15",
"@backstage/plugin-permission-backend": "^0.4.0",
"@backstage/plugin-permission-backend": "^0.4.1",
"@backstage/plugin-permission-common": "^0.4.0",
"@backstage/plugin-permission-node": "^0.4.0",
"@backstage/plugin-permission-node": "^0.4.1",
"@backstage/plugin-proxy-backend": "^0.2.16",
"@backstage/plugin-rollbar-backend": "^0.1.19",
"@backstage/plugin-scaffolder-backend": "^0.15.21",
"@backstage/plugin-scaffolder-backend": "^0.15.22",
"@backstage/plugin-scaffolder-backend-module-rails": "^0.2.4",
"@backstage/plugin-search-backend": "^0.3.1",
"@backstage/plugin-search-backend-node": "^0.4.4",
"@backstage/plugin-search-backend": "^0.4.0",
"@backstage/plugin-search-backend-node": "^0.4.5",
"@backstage/plugin-search-backend-module-elasticsearch": "^0.0.8",
"@backstage/plugin-search-backend-module-pg": "^0.2.4",
"@backstage/plugin-techdocs-backend": "^0.13.0",
"@backstage/plugin-tech-insights-backend": "^0.2.0",
"@backstage/plugin-techdocs-backend": "^0.13.1",
"@backstage/plugin-tech-insights-backend": "^0.2.2",
"@backstage/plugin-tech-insights-node": "^0.2.0",
"@backstage/plugin-tech-insights-backend-module-jsonfc": "^0.1.6",
"@backstage/plugin-todo-backend": "^0.1.19",
@@ -60,7 +60,7 @@
"@octokit/rest": "^18.5.3",
"azure-devops-node-api": "^11.0.1",
"dockerode": "^3.3.1",
"example-app": "^0.2.61",
"example-app": "^0.2.62",
"express": "^4.17.1",
"express-promise-router": "^4.1.0",
"express-prom-bundle": "^6.3.6",
@@ -72,7 +72,7 @@
"winston": "^3.2.1"
},
"devDependencies": {
"@backstage/cli": "^0.12.0",
"@backstage/cli": "^0.13.0",
"@types/dockerode": "^3.3.0",
"@types/express": "^4.17.6",
"@types/express-serve-static-core": "^4.17.5"
+1 -1
View File
@@ -35,7 +35,7 @@
"cross-fetch": "^3.0.6"
},
"devDependencies": {
"@backstage/cli": "^0.12.0",
"@backstage/cli": "^0.13.0",
"@types/jest": "^26.0.7",
"msw": "^0.35.0"
},
+1 -1
View File
@@ -43,7 +43,7 @@
"yup": "^0.32.9"
},
"devDependencies": {
"@backstage/cli": "^0.12.0",
"@backstage/cli": "^0.13.0",
"@types/jest": "^26.0.7",
"@types/lodash": "^4.14.151",
"yaml": "^1.9.2"
+13
View File
@@ -1,5 +1,18 @@
# @backstage/cli
## 0.13.0
### Minor Changes
- 1ddf6d9d5a: Removes the previously deprecated `remove-plugin` command alongside the `--lax` option to `app:build`.
### Patch Changes
- c372a5032f: chore(deps): bump `jest-transform-yaml` from 0.1.1 to 1.0.0
- 1b4ab0d44c: Updated the dependency warning that is baked into `app:serve` to only warn about packages that are not allowed to have duplicates.
- dc46efa2cc: Switched the `WebpackDevServer` configuration to use client-side detection of the WebSocket protocol.
- 10086f5873: Upgraded `webpack`, `webpack-dev-server`,`fork-ts-checker-webpack-plugin`, `react-dev-utils`, and `react-hot-loader`. Since `ForkTsCheckerWebpackPlugin` no longer runs ESLint, we now include the `ESLintPlugin` from `eslint-webpack-plugin` if the `--check` flag is passed.
## 0.12.0
### Minor Changes
+5 -5
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/cli",
"description": "CLI for developing Backstage plugins and apps",
"version": "0.12.0",
"version": "0.13.0",
"private": false,
"publishConfig": {
"access": "public"
@@ -115,12 +115,12 @@
"yn": "^4.0.0"
},
"devDependencies": {
"@backstage/backend-common": "^0.10.4",
"@backstage/backend-common": "^0.10.5",
"@backstage/config": "^0.1.13",
"@backstage/core-components": "^0.8.5",
"@backstage/core-components": "^0.8.6",
"@backstage/core-plugin-api": "^0.6.0",
"@backstage/core-app-api": "^0.5.0",
"@backstage/dev-utils": "^0.2.18",
"@backstage/core-app-api": "^0.5.1",
"@backstage/dev-utils": "^0.2.19",
"@backstage/test-utils": "^0.2.3",
"@backstage/theme": "^0.2.14",
"@types/diff": "^5.0.0",
+8
View File
@@ -1,5 +1,13 @@
# @backstage/codemods
## 0.1.31
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.8.6
- @backstage/core-app-api@0.5.1
## 0.1.30
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/codemods",
"description": "A collection of codemods for Backstage projects",
"version": "0.1.30",
"version": "0.1.31",
"private": false,
"publishConfig": {
"access": "public",
+8
View File
@@ -1,5 +1,13 @@
# @backstage/core-app-api
## 0.5.1
### Patch Changes
- f959c22787: Asynchronous methods on the identity API can now reliably be called at any time, including early in the bootstrap process or prior to successful sign-in.
Previously in such situations, a `Tried to access IdentityApi before app was loaded` error would be thrown. Now, those methods will wait and resolve eventually (as soon as a concrete identity API is provided).
## 0.5.0
### Minor Changes
+2 -2
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/core-app-api",
"description": "Core app API used by Backstage apps",
"version": "0.5.0",
"version": "0.5.1",
"private": false,
"publishConfig": {
"access": "public",
@@ -45,7 +45,7 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
"@backstage/cli": "^0.12.0",
"@backstage/cli": "^0.13.0",
"@backstage/test-utils": "^0.2.3",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^11.2.5",
+12
View File
@@ -1,5 +1,17 @@
# @backstage/core-components
## 0.8.6
### Patch Changes
- b97a2460d5: Remove the `ignoreChildEvent` utility from the sidebar component to avoid conflicts with popovers
- bdc53553eb: chore(deps): bump `react-text-truncate` from 0.16.0 to 0.17.0
- 05f0f44180: chore(deps): bump `remark-gfm` from 2.0.0 to 3.0.1
- 15bac1d738: chore(deps): bump `react-markdown` from 7.1.2 to 8.0.0
- 7346b5fb96: chore(deps): bump `rc-progress` from 3.1.4 to 3.2.4
- 9abb28bb22: Fix issue where component types are not recognized causing the `MobileSidebar` to not render as intended.
- 1787694435: Updates styling of Header component by removing flex wrap and add max width of characters for subtitle
## 0.8.5
### Patch Changes
+3 -3
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/core-components",
"description": "Core components used by Backstage plugins and apps",
"version": "0.8.5",
"version": "0.8.6",
"private": false,
"publishConfig": {
"access": "public",
@@ -73,8 +73,8 @@
"react-dom": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
"@backstage/core-app-api": "^0.5.0",
"@backstage/cli": "^0.12.0",
"@backstage/core-app-api": "^0.5.1",
"@backstage/cli": "^0.13.0",
"@backstage/test-utils": "^0.2.3",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^11.2.5",
+2 -2
View File
@@ -43,8 +43,8 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
"@backstage/cli": "^0.12.0",
"@backstage/core-app-api": "^0.5.0",
"@backstage/cli": "^0.13.0",
"@backstage/core-app-api": "^0.5.1",
"@backstage/test-utils": "^0.2.3",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^11.2.5",
+183
View File
@@ -1,5 +1,188 @@
# @backstage/create-app
## 0.4.15
### Patch Changes
- 01b27d547c: Added three additional required properties to the search-backend `createRouter` function to support filtering search results based on permissions. To make this change to an existing app, add the required parameters to the `createRouter` call in `packages/backend/src/plugins/search.ts`:
```diff
export default async function createPlugin({
logger,
+ permissions,
discovery,
config,
tokenManager,
}: PluginEnvironment) {
/* ... */
return await createRouter({
engine: indexBuilder.getSearchEngine(),
+ types: indexBuilder.getDocumentTypes(),
+ permissions,
+ config,
logger,
});
}
```
- a0d446c8ec: Replaced EntitySystemDiagramCard with EntityCatalogGraphCard
To make this change to an existing app:
Add `@backstage/catalog-graph-plugin` as a `dependency` in `packages/app/package.json`
Apply the following changes to the `packages/app/src/components/catalog/EntityPage.tsx` file:
```diff
+ import {
+ Direction,
+ EntityCatalogGraphCard,
+ } from '@backstage/plugin-catalog-graph';
+ import {
+ RELATION_API_CONSUMED_BY,
+ RELATION_API_PROVIDED_BY,
+ RELATION_CONSUMES_API,
+ RELATION_DEPENDENCY_OF,
+ RELATION_DEPENDS_ON,
+ RELATION_HAS_PART,
+ RELATION_PART_OF,
+ RELATION_PROVIDES_API,
+ } from '@backstage/catalog-model';
```
```diff
<EntityLayout.Route path="/diagram" title="Diagram">
- <EntitySystemDiagramCard />
+ <EntityCatalogGraphCard
+ variant="gridItem"
+ direction={Direction.TOP_BOTTOM}
+ title="System Diagram"
+ height={700}
+ relations={[
+ RELATION_PART_OF,
+ RELATION_HAS_PART,
+ RELATION_API_CONSUMED_BY,
+ RELATION_API_PROVIDED_BY,
+ RELATION_CONSUMES_API,
+ RELATION_PROVIDES_API,
+ RELATION_DEPENDENCY_OF,
+ RELATION_DEPENDS_ON,
+ ]}
+ unidirectional={false}
+ />
</EntityLayout.Route>
```
```diff
const cicdContent = (
<Grid item md={6}>
<EntityAboutCard variant="gridItem" />
</Grid>
+ <Grid item md={6} xs={12}>
+ <EntityCatalogGraphCard variant="gridItem" height={400} />
+ </Grid>
```
Add the above component in `overviewContent`, `apiPage` , `systemPage` and domainPage` as well.
- 4aca2a5307: An example instance of a `<SearchFilter.Select />` with asynchronously loaded values was added to the composed `SearchPage.tsx`, allowing searches bound to the `techdocs` type to be filtered by entity name.
This is an entirely optional change; if you wish to adopt it, you can make the following (or similar) changes to your search page layout:
```diff
--- a/packages/app/src/components/search/SearchPage.tsx
+++ b/packages/app/src/components/search/SearchPage.tsx
@@ -2,6 +2,10 @@ import React from 'react';
import { makeStyles, Theme, Grid, List, Paper } from '@material-ui/core';
import { CatalogResultListItem } from '@backstage/plugin-catalog';
+import {
+ catalogApiRef,
+ CATALOG_FILTER_EXISTS,
+} from '@backstage/plugin-catalog-react';
import { DocsResultListItem } from '@backstage/plugin-techdocs';
import {
@@ -10,6 +14,7 @@ import {
SearchResult,
SearchType,
DefaultResultListItem,
+ useSearch,
} from '@backstage/plugin-search';
import {
CatalogIcon,
@@ -18,6 +23,7 @@ import {
Header,
Page,
} from '@backstage/core-components';
+import { useApi } from '@backstage/core-plugin-api';
const useStyles = makeStyles((theme: Theme) => ({
bar: {
@@ -36,6 +42,8 @@ const useStyles = makeStyles((theme: Theme) => ({
const SearchPage = () => {
const classes = useStyles();
+ const { types } = useSearch();
+ const catalogApi = useApi(catalogApiRef);
return (
<Page themeId="home">
@@ -65,6 +73,27 @@ const SearchPage = () => {
]}
/>
<Paper className={classes.filters}>
+ {types.includes('techdocs') && (
+ <SearchFilter.Select
+ className={classes.filter}
+ label="Entity"
+ name="name"
+ values={async () => {
+ // Return a list of entities which are documented.
+ const { items } = await catalogApi.getEntities({
+ fields: ['metadata.name'],
+ filter: {
+ 'metadata.annotations.backstage.io/techdocs-ref':
+ CATALOG_FILTER_EXISTS,
+ },
+ });
+
+ const names = items.map(entity => entity.metadata.name);
+ names.sort();
+ return names;
+ }}
+ />
+ )}
<SearchFilter.Select
className={classes.filter}
name="kind"
```
- 1dbe63ec39: A `label` prop was added to `<SearchFilter.* />` components in order to allow
user-friendly label strings (as well as the option to omit a label). In order
to maintain labels on your existing filters, add a `label` prop to them in your
`SearchPage.tsx`.
```diff
--- a/packages/app/src/components/search/SearchPage.tsx
+++ b/packages/app/src/components/search/SearchPage.tsx
@@ -96,11 +96,13 @@ const SearchPage = () => {
)}
<SearchFilter.Select
className={classes.filter}
+ label="Kind"
name="kind"
values={['Component', 'Template']}
/>
<SearchFilter.Checkbox
className={classes.filter}
+ label="Lifecycle"
name="lifecycle"
values={['experimental', 'production']}
/>
```
## 0.4.14
### Patch Changes
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/create-app",
"description": "A CLI that helps you create your own Backstage app",
"version": "0.4.14",
"version": "0.4.15",
"private": false,
"publishConfig": {
"access": "public"
+9
View File
@@ -1,5 +1,14 @@
# @backstage/dev-utils
## 0.2.19
### Patch Changes
- 10086f5873: Bumped `react-hot-loader` from `^4.12.21` to `^4.13.0`.
- Updated dependencies
- @backstage/core-components@0.8.6
- @backstage/core-app-api@0.5.1
## 0.2.18
### Patch Changes
+4 -4
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/dev-utils",
"description": "Utilities for developing Backstage plugins.",
"version": "0.2.18",
"version": "0.2.19",
"private": false,
"publishConfig": {
"access": "public",
@@ -30,8 +30,8 @@
},
"dependencies": {
"@backstage/app-defaults": "^0.1.5",
"@backstage/core-app-api": "^0.5.0",
"@backstage/core-components": "^0.8.5",
"@backstage/core-app-api": "^0.5.1",
"@backstage/core-components": "^0.8.6",
"@backstage/core-plugin-api": "^0.6.0",
"@backstage/catalog-model": "^0.9.10",
"@backstage/integration-react": "^0.1.19",
@@ -55,7 +55,7 @@
"react-dom": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
"@backstage/cli": "^0.12.0",
"@backstage/cli": "^0.13.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32"
},
@@ -1,5 +1,16 @@
# embedded-techdocs-app
## 0.2.61
### Patch Changes
- Updated dependencies
- @backstage/core-components@0.8.6
- @backstage/cli@0.13.0
- @backstage/plugin-techdocs@0.13.1
- @backstage/plugin-catalog@0.7.10
- @backstage/core-app-api@0.5.1
## 0.2.60
### Patch Changes
+7 -7
View File
@@ -1,19 +1,19 @@
{
"name": "embedded-techdocs-app",
"version": "0.2.60",
"version": "0.2.61",
"private": true,
"bundled": true,
"dependencies": {
"@backstage/app-defaults": "^0.1.5",
"@backstage/catalog-model": "^0.9.10",
"@backstage/cli": "^0.12.0",
"@backstage/cli": "^0.13.0",
"@backstage/config": "^0.1.13",
"@backstage/core-app-api": "^0.5.0",
"@backstage/core-components": "^0.8.5",
"@backstage/core-app-api": "^0.5.1",
"@backstage/core-components": "^0.8.6",
"@backstage/core-plugin-api": "^0.6.0",
"@backstage/integration-react": "^0.1.19",
"@backstage/plugin-catalog": "^0.7.9",
"@backstage/plugin-techdocs": "^0.13.0",
"@backstage/plugin-catalog": "^0.7.10",
"@backstage/plugin-techdocs": "^0.13.1",
"@backstage/test-utils": "^0.2.3",
"@backstage/theme": "^0.2.14",
"@material-ui/core": "^4.11.0",
@@ -26,7 +26,7 @@
"react-use": "^17.2.4"
},
"devDependencies": {
"@backstage/cli": "^0.12.0",
"@backstage/cli": "^0.13.0",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^11.2.5",
"@testing-library/user-event": "^13.1.8",
+1 -1
View File
@@ -35,7 +35,7 @@
"serialize-error": "^8.0.1"
},
"devDependencies": {
"@backstage/cli": "^0.12.0-next.0",
"@backstage/cli": "^0.13.0",
"@types/jest": "^26.0.7"
},
"files": [
+3 -3
View File
@@ -22,7 +22,7 @@
},
"dependencies": {
"@backstage/config": "^0.1.13",
"@backstage/core-components": "^0.8.5",
"@backstage/core-components": "^0.8.6",
"@backstage/core-plugin-api": "^0.6.0",
"@backstage/integration": "^0.7.2",
"@backstage/theme": "^0.2.14",
@@ -35,8 +35,8 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
"@backstage/cli": "^0.12.0",
"@backstage/dev-utils": "^0.2.18",
"@backstage/cli": "^0.13.0",
"@backstage/dev-utils": "^0.2.19",
"@backstage/test-utils": "^0.2.3",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^11.2.5",
+1 -1
View File
@@ -39,7 +39,7 @@
"lodash": "^4.17.21"
},
"devDependencies": {
"@backstage/cli": "^0.12.0",
"@backstage/cli": "^0.13.0",
"@backstage/config-loader": "^0.9.3",
"@backstage/test-utils": "^0.2.3",
"@types/jest": "^26.0.7",
+9
View File
@@ -1,5 +1,14 @@
# @backstage/search-common
## 0.2.2
### Patch Changes
- 9a511968b1: - Add optional visibilityPermission property to DocumentCollator type
- Add new DocumentTypeInfo type for housing information about the document types stored in a search engine.
- b2e918fa0b: Add optional resourceRef field to the IndexableDocument type for use when authorizing access to documents.
- 96cbebc629: Add optional query request options containing authorization token to SearchEngine#query.
## 0.2.1
### Patch Changes
+2 -2
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/search-common",
"description": "Common functionalities for Search, to be shared between various search-enabled plugins",
"version": "0.2.1",
"version": "0.2.2",
"main": "src/index.ts",
"types": "src/index.ts",
"private": false,
@@ -40,7 +40,7 @@
"@backstage/plugin-permission-common": "^0.4.0-next.0"
},
"devDependencies": {
"@backstage/cli": "^0.12.0-next.0"
"@backstage/cli": "^0.13.0"
},
"jest": {
"roots": [
+9
View File
@@ -1,5 +1,14 @@
# @techdocs/cli
## 0.8.11
### Patch Changes
- 10086f5873: Bumped `react-dev-utils` from `^12.0.0-next.47` to `^12.0.0-next.60`.
- Updated dependencies
- @backstage/techdocs-common@0.11.5
- @backstage/backend-common@0.10.5
## 0.8.11-next.0
### Patch Changes
+5 -5
View File
@@ -1,7 +1,7 @@
{
"name": "@techdocs/cli",
"description": "Utility CLI for managing TechDocs sites in Backstage.",
"version": "0.8.11-next.0",
"version": "0.8.11",
"private": false,
"publishConfig": {
"access": "public"
@@ -32,7 +32,7 @@
"techdocs-cli": "bin/techdocs-cli"
},
"devDependencies": {
"@backstage/cli": "^0.12.0",
"@backstage/cli": "^0.13.0",
"@types/commander": "^2.12.2",
"@types/fs-extra": "^9.0.6",
"@types/http-proxy": "^1.17.4",
@@ -40,7 +40,7 @@
"@types/node": "^14.14.32",
"@types/serve-handler": "^6.1.0",
"@types/webpack-env": "^1.15.3",
"embedded-techdocs-app": "0.2.60",
"embedded-techdocs-app": "0.2.61",
"find-process": "^1.4.5",
"nodemon": "^2.0.2",
"ts-node": "^10.0.0"
@@ -55,10 +55,10 @@
"ext": "ts"
},
"dependencies": {
"@backstage/backend-common": "^0.10.4",
"@backstage/backend-common": "^0.10.5",
"@backstage/catalog-model": "^0.9.10",
"@backstage/config": "^0.1.13",
"@backstage/techdocs-common": "^0.11.4",
"@backstage/techdocs-common": "^0.11.5",
"@types/dockerode": "^3.3.0",
"commander": "^6.1.0",
"dockerode": "^3.3.1",
+9
View File
@@ -1,5 +1,14 @@
# @backstage/techdocs-common
## 0.11.5
### Patch Changes
- ff93fbeeec: Fix interpolated string for "Failed to generate docs from ..."
- Updated dependencies
- @backstage/search-common@0.2.2
- @backstage/backend-common@0.10.5
## 0.11.4
### Patch Changes
+4 -4
View File
@@ -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.11.4",
"version": "0.11.5",
"main": "src/index.ts",
"types": "src/index.ts",
"private": false,
@@ -38,11 +38,11 @@
"dependencies": {
"@azure/identity": "^2.0.1",
"@azure/storage-blob": "^12.5.0",
"@backstage/backend-common": "^0.10.4",
"@backstage/backend-common": "^0.10.5",
"@backstage/catalog-model": "^0.9.10",
"@backstage/config": "^0.1.13",
"@backstage/errors": "^0.2.0",
"@backstage/search-common": "^0.2.1",
"@backstage/search-common": "^0.2.2",
"@backstage/integration": "^0.7.2",
"@google-cloud/storage": "^5.6.0",
"@trendyol-js/openstack-swift-sdk": "^0.0.5",
@@ -60,7 +60,7 @@
"winston": "^3.2.1"
},
"devDependencies": {
"@backstage/cli": "^0.12.0",
"@backstage/cli": "^0.13.0",
"@types/fs-extra": "^9.0.5",
"@types/js-yaml": "^4.0.0",
"@types/mime-types": "^2.1.0",
+2 -2
View File
@@ -30,7 +30,7 @@
},
"dependencies": {
"@backstage/config": "^0.1.13",
"@backstage/core-app-api": "^0.5.0",
"@backstage/core-app-api": "^0.5.1",
"@backstage/core-plugin-api": "^0.6.0",
"@backstage/plugin-permission-common": "^0.4.0",
"@backstage/plugin-permission-react": "^0.3.0",
@@ -51,7 +51,7 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
"@backstage/cli": "^0.12.0",
"@backstage/cli": "^0.13.0",
"@types/jest": "^26.0.7",
"@types/node": "^14.14.32",
"msw": "^0.35.0"
+1 -1
View File
@@ -31,7 +31,7 @@
"@material-ui/core": "^4.12.2"
},
"devDependencies": {
"@backstage/cli": "^0.12.0-next.0"
"@backstage/cli": "^0.13.0"
},
"files": [
"dist"
+1 -1
View File
@@ -31,7 +31,7 @@
},
"dependencies": {},
"devDependencies": {
"@backstage/cli": "^0.12.0-next.0",
"@backstage/cli": "^0.13.0",
"@types/zen-observable": "^0.8.0",
"zen-observable": "^0.8.15"
},
+1 -1
View File
@@ -33,7 +33,7 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
"@backstage/cli": "^0.12.0-next.0",
"@backstage/cli": "^0.13.0",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^11.2.5",
"@testing-library/react-hooks": "^7.0.2"
+4 -4
View File
@@ -20,7 +20,7 @@
"clean": "backstage-cli clean"
},
"dependencies": {
"@backstage/core-components": "^0.8.5",
"@backstage/core-components": "^0.8.6",
"@backstage/core-plugin-api": "^0.6.0",
"@backstage/theme": "^0.2.14",
"@material-ui/core": "^4.12.2",
@@ -35,9 +35,9 @@
"devDependencies": {
"@types/object-hash": "^2.2.1",
"@backstage/app-defaults": "^0.1.5",
"@backstage/cli": "^0.12.0",
"@backstage/core-app-api": "^0.5.0",
"@backstage/dev-utils": "^0.2.18",
"@backstage/cli": "^0.13.0",
"@backstage/core-app-api": "^0.5.1",
"@backstage/dev-utils": "^0.2.19",
"@backstage/test-utils": "^0.2.3",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^11.2.5",
+4 -4
View File
@@ -23,7 +23,7 @@
},
"dependencies": {
"@backstage/catalog-model": "^0.9.10",
"@backstage/core-components": "^0.8.5",
"@backstage/core-components": "^0.8.6",
"@backstage/core-plugin-api": "^0.6.0",
"@backstage/plugin-catalog-react": "^0.6.12",
"@backstage/theme": "^0.2.14",
@@ -37,9 +37,9 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
"@backstage/cli": "^0.12.0",
"@backstage/core-app-api": "^0.5.0",
"@backstage/dev-utils": "^0.2.18",
"@backstage/cli": "^0.13.0",
"@backstage/core-app-api": "^0.5.1",
"@backstage/dev-utils": "^0.2.19",
"@backstage/test-utils": "^0.2.3",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^11.2.5",
+4 -4
View File
@@ -22,7 +22,7 @@
},
"dependencies": {
"@backstage/config": "^0.1.13",
"@backstage/core-components": "^0.8.5",
"@backstage/core-components": "^0.8.6",
"@backstage/core-plugin-api": "^0.6.0",
"@backstage/theme": "^0.2.14",
"@material-ui/core": "^4.12.2",
@@ -35,9 +35,9 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
"@backstage/cli": "^0.12.0",
"@backstage/core-app-api": "^0.5.0",
"@backstage/dev-utils": "^0.2.18",
"@backstage/cli": "^0.13.0",
"@backstage/core-app-api": "^0.5.1",
"@backstage/dev-utils": "^0.2.19",
"@backstage/test-utils": "^0.2.3",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^11.2.5",
+4 -4
View File
@@ -20,7 +20,7 @@
"clean": "backstage-cli clean"
},
"dependencies": {
"@backstage/core-components": "^0.8.5",
"@backstage/core-components": "^0.8.6",
"@backstage/core-plugin-api": "^0.6.0",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
@@ -33,9 +33,9 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
"@backstage/cli": "^0.12.0",
"@backstage/core-app-api": "^0.5.0",
"@backstage/dev-utils": "^0.2.18",
"@backstage/cli": "^0.13.0",
"@backstage/core-app-api": "^0.5.1",
"@backstage/dev-utils": "^0.2.19",
"@backstage/test-utils": "^0.2.3",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^11.2.5",
+5 -5
View File
@@ -32,9 +32,9 @@
"dependencies": {
"@asyncapi/react-component": "1.0.0-next.32",
"@backstage/catalog-model": "^0.9.10",
"@backstage/core-components": "^0.8.5",
"@backstage/core-components": "^0.8.6",
"@backstage/core-plugin-api": "^0.6.0",
"@backstage/plugin-catalog": "^0.7.9",
"@backstage/plugin-catalog": "^0.7.10",
"@backstage/plugin-catalog-react": "^0.6.12",
"@backstage/theme": "^0.2.14",
"@material-ui/core": "^4.12.2",
@@ -53,9 +53,9 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
"@backstage/cli": "^0.12.0",
"@backstage/core-app-api": "^0.5.0",
"@backstage/dev-utils": "^0.2.18",
"@backstage/cli": "^0.13.0",
"@backstage/core-app-api": "^0.5.1",
"@backstage/dev-utils": "^0.2.19",
"@backstage/test-utils": "^0.2.3",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^11.2.5",
+3 -3
View File
@@ -30,7 +30,7 @@
"clean": "backstage-cli clean"
},
"dependencies": {
"@backstage/backend-common": "^0.10.4",
"@backstage/backend-common": "^0.10.5",
"@backstage/config-loader": "^0.9.3",
"@backstage/config": "^0.1.13",
"@backstage/types": "^0.1.1",
@@ -47,8 +47,8 @@
"yn": "^4.0.0"
},
"devDependencies": {
"@backstage/backend-test-utils": "^0.1.14",
"@backstage/cli": "^0.12.0",
"@backstage/backend-test-utils": "^0.1.15",
"@backstage/cli": "^0.13.0",
"@backstage/types": "^0.1.1",
"@types/supertest": "^2.0.8",
"mock-fs": "^5.1.0",
+12
View File
@@ -1,5 +1,17 @@
# @backstage/plugin-auth-backend
## 0.8.0
### Minor Changes
- 67349916ac: The `sub` claim in Backstage tokens generated by the default Google and OIDC sign-in resolvers are now full entity references of the format `<kind>:<namespace>/<name>`.
### Patch Changes
- 033493a8af: Running the `auth-backend` on multiple domains, perhaps different domains depending on the `auth.environment`, was previously not possible as the `domain` name of the cookie was taken from `backend.baseUrl`. This prevented any cookies to be set in the start of the auth flow as the domain of the cookie would not match the domain of the callbackUrl configured in the OAuth app. This change checks if a provider supports custom `callbackUrl`'s to be configured in the application configuration and uses the domain from that, allowing the `domain`'s to match and the cookie to be set.
- Updated dependencies
- @backstage/backend-common@0.10.5
## 0.7.0
### Minor Changes
+3 -3
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-auth-backend",
"description": "A Backstage backend plugin that handles authentication",
"version": "0.7.0",
"version": "0.8.0",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -30,7 +30,7 @@
"clean": "backstage-cli clean"
},
"dependencies": {
"@backstage/backend-common": "^0.10.4",
"@backstage/backend-common": "^0.10.5",
"@backstage/catalog-client": "^0.5.5",
"@backstage/catalog-model": "^0.9.10",
"@backstage/config": "^0.1.13",
@@ -73,7 +73,7 @@
"yn": "^4.0.0"
},
"devDependencies": {
"@backstage/cli": "^0.12.0",
"@backstage/cli": "^0.13.0",
"@backstage/test-utils": "^0.2.3",
"@types/body-parser": "^1.19.0",
"@types/cookie-parser": "^1.4.2",
+2 -2
View File
@@ -20,7 +20,7 @@
"clean": "backstage-cli clean"
},
"dependencies": {
"@backstage/backend-common": "^0.10.4",
"@backstage/backend-common": "^0.10.5",
"@backstage/config": "^0.1.13",
"@backstage/plugin-azure-devops-common": "^0.2.0",
"@types/express": "^4.17.6",
@@ -32,7 +32,7 @@
"yn": "^4.0.0"
},
"devDependencies": {
"@backstage/cli": "^0.12.0",
"@backstage/cli": "^0.13.0",
"@types/supertest": "^2.0.8",
"supertest": "^6.1.6",
"msw": "^0.35.0"
+1 -1
View File
@@ -29,7 +29,7 @@
"clean": "backstage-cli clean"
},
"devDependencies": {
"@backstage/cli": "^0.12.0-next.0"
"@backstage/cli": "^0.13.0"
},
"files": [
"dist"
+8
View File
@@ -1,5 +1,13 @@
# @backstage/plugin-azure-devops
## 0.1.12
### Patch Changes
- 0f104ecc4d: Updated to support cases where only Azure Pipelines to see Builds. You can use this new feature by adding the `dev.azure.com/project` and `dev.azure.com/build-definition` annotations to your `catalog-info.yaml` files. The Azure DevOps plugin [README has more detailed instructions](https://github.com/backstage/backstage/tree/master/plugins/azure-devops#setup).
- Updated dependencies
- @backstage/core-components@0.8.6
## 0.1.11
### Patch Changes
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@backstage/plugin-azure-devops",
"version": "0.1.11",
"version": "0.1.12",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -28,7 +28,7 @@
},
"dependencies": {
"@backstage/catalog-model": "^0.9.10",
"@backstage/core-components": "^0.8.5",
"@backstage/core-components": "^0.8.6",
"@backstage/core-plugin-api": "^0.6.0",
"@backstage/errors": "^0.2.0",
"@backstage/plugin-azure-devops-common": "^0.2.0",
@@ -46,9 +46,9 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
"@backstage/cli": "^0.12.0",
"@backstage/core-app-api": "^0.5.0",
"@backstage/dev-utils": "^0.2.18",
"@backstage/cli": "^0.13.0",
"@backstage/core-app-api": "^0.5.1",
"@backstage/dev-utils": "^0.2.19",
"@backstage/test-utils": "^0.2.3",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^11.2.5",
+2 -2
View File
@@ -31,7 +31,7 @@
"clean": "backstage-cli clean"
},
"dependencies": {
"@backstage/backend-common": "^0.10.4",
"@backstage/backend-common": "^0.10.5",
"@backstage/catalog-client": "^0.5.5",
"@backstage/catalog-model": "^0.9.10",
"@backstage/config": "^0.1.13",
@@ -45,7 +45,7 @@
"yn": "^4.0.0"
},
"devDependencies": {
"@backstage/cli": "^0.12.0",
"@backstage/cli": "^0.13.0",
"@types/supertest": "^2.0.8",
"supertest": "^6.1.3"
},
+4 -4
View File
@@ -28,7 +28,7 @@
},
"dependencies": {
"@backstage/catalog-model": "^0.9.10",
"@backstage/core-components": "^0.8.5",
"@backstage/core-components": "^0.8.6",
"@backstage/core-plugin-api": "^0.6.0",
"@backstage/errors": "^0.2.0",
"@backstage/plugin-catalog-react": "^0.6.12",
@@ -43,9 +43,9 @@
"react": "^16.13.1 || ^17.0.0"
},
"devDependencies": {
"@backstage/cli": "^0.12.0",
"@backstage/core-app-api": "^0.5.0",
"@backstage/dev-utils": "^0.2.18",
"@backstage/cli": "^0.13.0",
"@backstage/core-app-api": "^0.5.1",
"@backstage/dev-utils": "^0.2.19",
"@backstage/test-utils": "^0.2.3",
"@testing-library/jest-dom": "^5.10.1",
"@testing-library/react": "^11.2.5",
+3 -3
View File
@@ -20,8 +20,8 @@
"clean": "backstage-cli clean"
},
"dependencies": {
"@backstage/backend-common": "^0.10.4",
"@backstage/backend-test-utils": "^0.1.14",
"@backstage/backend-common": "^0.10.5",
"@backstage/backend-test-utils": "^0.1.15",
"@backstage/config": "^0.1.13",
"@types/express": "^4.17.6",
"express": "^4.17.1",
@@ -31,7 +31,7 @@
"yn": "^4.0.0"
},
"devDependencies": {
"@backstage/cli": "^0.12.0"
"@backstage/cli": "^0.13.0"
},
"files": [
"dist",

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