@backstage/plugin-techdocs-backend 0.0.0-nightly-20260227031022 → 0.0.0-nightly-20260304030634

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,19 +1,36 @@
1
1
  # @backstage/plugin-techdocs-backend
2
2
 
3
- ## 0.0.0-nightly-20260227031022
3
+ ## 0.0.0-nightly-20260304030634
4
4
 
5
5
  ### Patch Changes
6
6
 
7
+ - cb7c6b1: Added `techdocs.generator.mkdocs.dangerouslyAllowAdditionalKeys` configuration option to explicitly bypass MkDocs configuration key restrictions. This enables support for additional MkDocs configuration keys beyond the default safe allow list, such as the `hooks` key which some MkDocs plugins require.
7
8
  - Updated dependencies
8
- - @backstage/catalog-client@0.0.0-nightly-20260227031022
9
- - @backstage/integration@0.0.0-nightly-20260227031022
10
- - @backstage/plugin-catalog-node@0.0.0-nightly-20260227031022
11
- - @backstage/backend-plugin-api@0.0.0-nightly-20260227031022
9
+ - @backstage/catalog-client@0.0.0-nightly-20260304030634
10
+ - @backstage/plugin-techdocs-node@0.0.0-nightly-20260304030634
11
+ - @backstage/integration@0.0.0-nightly-20260304030634
12
+ - @backstage/plugin-catalog-node@0.0.0-nightly-20260304030634
13
+ - @backstage/backend-plugin-api@0.0.0-nightly-20260304030634
14
+ - @backstage/catalog-model@1.7.6
15
+ - @backstage/config@1.3.6
16
+ - @backstage/errors@1.2.7
17
+ - @backstage/types@1.2.2
18
+
19
+ ## 2.1.6-next.1
20
+
21
+ ### Patch Changes
22
+
23
+ - cb7c6b1: Added `techdocs.generator.mkdocs.dangerouslyAllowAdditionalKeys` configuration option to explicitly bypass MkDocs configuration key restrictions. This enables support for additional MkDocs configuration keys beyond the default safe allow list, such as the `hooks` key which some MkDocs plugins require.
24
+ - Updated dependencies
25
+ - @backstage/catalog-client@1.14.0-next.1
26
+ - @backstage/plugin-techdocs-node@1.14.3-next.1
27
+ - @backstage/integration@2.0.0-next.1
28
+ - @backstage/plugin-catalog-node@2.1.0-next.1
29
+ - @backstage/backend-plugin-api@1.7.1-next.0
12
30
  - @backstage/catalog-model@1.7.6
13
31
  - @backstage/config@1.3.6
14
32
  - @backstage/errors@1.2.7
15
33
  - @backstage/types@1.2.2
16
- - @backstage/plugin-techdocs-node@0.0.0-nightly-20260227031022
17
34
 
18
35
  ## 2.1.6-next.0
19
36
 
package/config.d.ts CHANGED
@@ -64,6 +64,18 @@ export interface Config {
64
64
  * List of mkdocs plugins which should be added as default to all mkdocs.yml files.
65
65
  */
66
66
  defaultPlugins?: string[];
67
+
68
+ /**
69
+ * List of additional MkDocs configuration keys to allow beyond
70
+ * the default safe allowlist. This can introduce security vulnerabilities.
71
+ *
72
+ * WARNING: Some MkDocs configuration keys can execute arbitrary code. For example, the
73
+ * 'hooks' key allows running arbitrary Python code during documentation generation.
74
+ * Only use this in trusted environments where all mkdocs.yml files are audited.
75
+ *
76
+ * @see https://www.mkdocs.org/user-guide/configuration/#hooks
77
+ */
78
+ dangerouslyAllowAdditionalKeys?: string[];
67
79
  };
68
80
  };
69
81
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-techdocs-backend",
3
- "version": "0.0.0-nightly-20260227031022",
3
+ "version": "0.0.0-nightly-20260304030634",
4
4
  "description": "The Backstage backend plugin that renders technical documentation for your components",
5
5
  "backstage": {
6
6
  "role": "backend-plugin",
@@ -75,14 +75,14 @@
75
75
  "test": "backstage-cli package test"
76
76
  },
77
77
  "dependencies": {
78
- "@backstage/backend-plugin-api": "0.0.0-nightly-20260227031022",
79
- "@backstage/catalog-client": "0.0.0-nightly-20260227031022",
78
+ "@backstage/backend-plugin-api": "0.0.0-nightly-20260304030634",
79
+ "@backstage/catalog-client": "0.0.0-nightly-20260304030634",
80
80
  "@backstage/catalog-model": "1.7.6",
81
81
  "@backstage/config": "1.3.6",
82
82
  "@backstage/errors": "1.2.7",
83
- "@backstage/integration": "0.0.0-nightly-20260227031022",
84
- "@backstage/plugin-catalog-node": "0.0.0-nightly-20260227031022",
85
- "@backstage/plugin-techdocs-node": "0.0.0-nightly-20260227031022",
83
+ "@backstage/integration": "0.0.0-nightly-20260304030634",
84
+ "@backstage/plugin-catalog-node": "0.0.0-nightly-20260304030634",
85
+ "@backstage/plugin-techdocs-node": "0.0.0-nightly-20260304030634",
86
86
  "@backstage/types": "1.2.2",
87
87
  "express": "^4.22.0",
88
88
  "express-promise-router": "^4.1.0",
@@ -92,9 +92,9 @@
92
92
  "winston": "^3.2.1"
93
93
  },
94
94
  "devDependencies": {
95
- "@backstage/backend-defaults": "0.0.0-nightly-20260227031022",
96
- "@backstage/backend-test-utils": "0.0.0-nightly-20260227031022",
97
- "@backstage/cli": "0.0.0-nightly-20260227031022",
95
+ "@backstage/backend-defaults": "0.0.0-nightly-20260304030634",
96
+ "@backstage/backend-test-utils": "0.0.0-nightly-20260304030634",
97
+ "@backstage/cli": "0.0.0-nightly-20260304030634",
98
98
  "@types/express": "^4.17.6",
99
99
  "msw": "^2.0.0",
100
100
  "supertest": "^7.0.0"