@backstage/plugin-techdocs-backend 2.2.4 → 2.2.5

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,13 @@
1
1
  # @backstage/plugin-techdocs-backend
2
2
 
3
+ ## 2.2.5
4
+
5
+ ### Patch Changes
6
+
7
+ - 28aa82a: Added `techdocs.generator.mkdocs.dangerouslyAllowAdditionalPlugins` configuration option, allowing operators to extend the set of permitted MkDocs plugins during TechDocs generation.
8
+ - Updated dependencies
9
+ - @backstage/plugin-techdocs-node@1.15.5
10
+
3
11
  ## 2.2.4
4
12
 
5
13
  ### Patch Changes
@@ -54,6 +54,13 @@
54
54
  },
55
55
  "description": "List of additional MkDocs configuration keys to allow beyond the default safe allowlist. This can introduce security vulnerabilities.\n\nWARNING: Some MkDocs configuration keys can execute arbitrary code. For example, the 'hooks' key allows running arbitrary Python code during documentation generation. Only use this in trusted environments where all mkdocs.yml files are audited."
56
56
  },
57
+ "dangerouslyAllowAdditionalPlugins": {
58
+ "type": "array",
59
+ "items": {
60
+ "type": "string"
61
+ },
62
+ "description": "List of additional MkDocs plugins to allow beyond the default set. Plugins not in this list or the default set will be removed from mkdocs.yml before documentation generation.\n\nWARNING: Some MkDocs plugins can make outbound HTTP requests or execute arbitrary code during documentation generation. Only allow plugins that have been audited for use in your environment, including the configuration options that documentation authors can supply."
63
+ },
57
64
  "disableExternalFonts": {
58
65
  "type": "boolean",
59
66
  "description": "Disable external fonts for all TechDocs sites. If not set, the default value is false. If set to true, the external font will be disabled for all TechDocs sites. If set to false, the external font will be enabled for all TechDocs sites."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-techdocs-backend",
3
- "version": "2.2.4",
3
+ "version": "2.2.5",
4
4
  "description": "The Backstage backend plugin that renders technical documentation for your components",
5
5
  "backstage": {
6
6
  "role": "backend-plugin",
@@ -82,7 +82,7 @@
82
82
  "@backstage/errors": "^1.3.1",
83
83
  "@backstage/integration": "^2.1.1",
84
84
  "@backstage/plugin-catalog-node": "^2.2.4",
85
- "@backstage/plugin-techdocs-node": "^1.15.4",
85
+ "@backstage/plugin-techdocs-node": "^1.15.5",
86
86
  "@backstage/types": "^1.2.2",
87
87
  "express": "^4.22.0",
88
88
  "express-promise-router": "^4.1.0",