@backstage/plugin-techdocs-backend 2.1.6-next.0 → 2.1.6-next.2

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,5 +1,32 @@
1
1
  # @backstage/plugin-techdocs-backend
2
2
 
3
+ ## 2.1.6-next.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @backstage/backend-plugin-api@1.8.0-next.1
9
+ - @backstage/plugin-techdocs-node@1.14.4-next.2
10
+ - @backstage/catalog-client@1.14.0-next.2
11
+ - @backstage/integration@2.0.0-next.2
12
+ - @backstage/plugin-catalog-node@2.1.0-next.2
13
+
14
+ ## 2.1.6-next.1
15
+
16
+ ### Patch Changes
17
+
18
+ - 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.
19
+ - Updated dependencies
20
+ - @backstage/catalog-client@1.14.0-next.1
21
+ - @backstage/plugin-techdocs-node@1.14.3-next.1
22
+ - @backstage/integration@2.0.0-next.1
23
+ - @backstage/plugin-catalog-node@2.1.0-next.1
24
+ - @backstage/backend-plugin-api@1.7.1-next.0
25
+ - @backstage/catalog-model@1.7.6
26
+ - @backstage/config@1.3.6
27
+ - @backstage/errors@1.2.7
28
+ - @backstage/types@1.2.2
29
+
3
30
  ## 2.1.6-next.0
4
31
 
5
32
  ### Patch Changes
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": "2.1.6-next.0",
3
+ "version": "2.1.6-next.2",
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": "1.7.1-next.0",
79
- "@backstage/catalog-client": "1.13.1-next.0",
78
+ "@backstage/backend-plugin-api": "1.8.0-next.1",
79
+ "@backstage/catalog-client": "1.14.0-next.2",
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": "1.21.0-next.0",
84
- "@backstage/plugin-catalog-node": "2.1.0-next.0",
85
- "@backstage/plugin-techdocs-node": "1.14.3-next.0",
83
+ "@backstage/integration": "2.0.0-next.2",
84
+ "@backstage/plugin-catalog-node": "2.1.0-next.2",
85
+ "@backstage/plugin-techdocs-node": "1.14.4-next.2",
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.15.3-next.0",
96
- "@backstage/backend-test-utils": "1.11.1-next.0",
97
- "@backstage/cli": "0.35.5-next.0",
95
+ "@backstage/backend-defaults": "0.16.0-next.2",
96
+ "@backstage/backend-test-utils": "1.11.1-next.2",
97
+ "@backstage/cli": "0.36.0-next.2",
98
98
  "@types/express": "^4.17.6",
99
99
  "msw": "^2.0.0",
100
100
  "supertest": "^7.0.0"