Version Packages

This commit is contained in:
github-actions[bot]
2022-01-20 10:33:31 +00:00
parent 4918be78b0
commit 8b18d054f3
302 changed files with 2829 additions and 2214 deletions
+20
View File
@@ -1,5 +1,25 @@
# @backstage/plugin-techdocs-backend
## 0.13.0
### Minor Changes
- ca2ee182c3: **BREAKING**: The `cache` option is now required by `createRouter`.
Added catalog-based authorization to TechDocs backend. When permissions are enabled for Backstage (via the `permission.enabled` config) the current user must have read access to the doc's corresponding catalog entity. The backend will return a 404 if the current user doesn't have access or if the entity doesn't exist. Entities are cached to for a short time to optimize the `/static/docs` request path, which can be called many times when loading a single TechDocs page.
Note: If you publish your TechDocs documentation to storage in a custom way under paths that do not conform to the default `:namespace/:kind/:name` pattern, then TechDocs will not work with permissions enabled. We want understand these use cases better and provide a solution in the future, so reach out to us on Discord in the [#docs-like-code](https://discord.com/channels/687207715902193673/714754240933003266) channel if you would like to help out.
### Patch Changes
- Updated dependencies
- @backstage/integration@0.7.2
- @backstage/backend-common@0.10.4
- @backstage/config@0.1.13
- @backstage/techdocs-common@0.11.4
- @backstage/catalog-model@0.9.10
- @backstage/catalog-client@0.5.5
## 0.12.4-next.0
### Patch Changes
+9 -9
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-techdocs-backend",
"description": "The Backstage backend plugin that renders technical documentation for your components",
"version": "0.12.4-next.0",
"version": "0.13.0",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -31,14 +31,14 @@
"clean": "backstage-cli clean"
},
"dependencies": {
"@backstage/backend-common": "^0.10.4-next.0",
"@backstage/catalog-client": "^0.5.5-next.0",
"@backstage/catalog-model": "^0.9.10-next.0",
"@backstage/config": "^0.1.13-next.0",
"@backstage/backend-common": "^0.10.4",
"@backstage/catalog-client": "^0.5.5",
"@backstage/catalog-model": "^0.9.10",
"@backstage/config": "^0.1.13",
"@backstage/errors": "^0.2.0",
"@backstage/integration": "^0.7.2-next.0",
"@backstage/integration": "^0.7.2",
"@backstage/search-common": "^0.2.1",
"@backstage/techdocs-common": "^0.11.4-next.0",
"@backstage/techdocs-common": "^0.11.4",
"@types/express": "^4.17.6",
"cross-fetch": "^3.0.6",
"dockerode": "^3.3.1",
@@ -52,8 +52,8 @@
"winston": "^3.2.1"
},
"devDependencies": {
"@backstage/cli": "^0.12.0-next.0",
"@backstage/test-utils": "^0.2.3-next.0",
"@backstage/cli": "^0.12.0",
"@backstage/test-utils": "^0.2.3",
"@types/dockerode": "^3.3.0",
"msw": "^0.35.0",
"supertest": "^6.1.3"