@backstage/plugin-techdocs 0.0.0-nightly-20241023023252 → 0.0.0-nightly-20241025023335

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,9 +1,10 @@
1
1
  # @backstage/plugin-techdocs
2
2
 
3
- ## 0.0.0-nightly-20241023023252
3
+ ## 0.0.0-nightly-20241025023335
4
4
 
5
5
  ### Patch Changes
6
6
 
7
+ - 90246a9: Fix techdocs config schema for custom elements sanitizer
7
8
  - 605bdc0: Avoid page re-rendering when clicking on anchor links in the same documentation page.
8
9
  - 4f0cb89: Added DomPurify sanitizer configuration for custom elements implementing RFC https://github.com/backstage/backstage/issues/26988.
9
10
  See https://backstage.io/docs/features/techdocs/how-to-guides#how-to-enable-custom-elements-in-techdocs for how to enable it in the configuration.
@@ -11,21 +12,21 @@
11
12
  - 4a2f73a: Fix an issue that caused the current documentation page to be re-rendered when navigating to
12
13
  another one.
13
14
  - Updated dependencies
14
- - @backstage/core-components@0.0.0-nightly-20241023023252
15
- - @backstage/plugin-techdocs-react@0.0.0-nightly-20241023023252
15
+ - @backstage/core-components@0.0.0-nightly-20241025023335
16
+ - @backstage/plugin-techdocs-react@0.0.0-nightly-20241025023335
16
17
  - @backstage/catalog-model@1.7.0
17
18
  - @backstage/config@1.2.0
18
- - @backstage/core-compat-api@0.0.0-nightly-20241023023252
19
+ - @backstage/core-compat-api@0.0.0-nightly-20241025023335
19
20
  - @backstage/core-plugin-api@1.10.0
20
21
  - @backstage/errors@1.2.4
21
- - @backstage/frontend-plugin-api@0.0.0-nightly-20241023023252
22
+ - @backstage/frontend-plugin-api@0.0.0-nightly-20241025023335
22
23
  - @backstage/integration@1.15.1
23
24
  - @backstage/integration-react@1.2.0
24
25
  - @backstage/theme@0.6.0
25
- - @backstage/plugin-auth-react@0.0.0-nightly-20241023023252
26
- - @backstage/plugin-catalog-react@0.0.0-nightly-20241023023252
26
+ - @backstage/plugin-auth-react@0.0.0-nightly-20241025023335
27
+ - @backstage/plugin-catalog-react@0.0.0-nightly-20241025023335
27
28
  - @backstage/plugin-search-common@1.2.14
28
- - @backstage/plugin-search-react@0.0.0-nightly-20241023023252
29
+ - @backstage/plugin-search-react@0.0.0-nightly-20241025023335
29
30
  - @backstage/plugin-techdocs-common@0.1.0
30
31
 
31
32
  ## 1.11.1-next.0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-techdocs__alpha",
3
- "version": "0.0.0-nightly-20241023023252",
3
+ "version": "0.0.0-nightly-20241025023335",
4
4
  "main": "../dist/alpha.esm.js",
5
5
  "module": "../dist/alpha.esm.js",
6
6
  "types": "../dist/alpha.d.ts"
package/config.d.ts CHANGED
@@ -49,7 +49,7 @@ export interface Config {
49
49
  * this will allow all custom elements with tag name matching `^backstage-` like <backstage-custom-element /> etc.
50
50
  * @visibility frontend
51
51
  */
52
- allowedCustomElementTagNameRegExp: string;
52
+ allowedCustomElementTagNameRegExp?: string;
53
53
  /**
54
54
  * Allows listed custom element attribute name regex
55
55
  * Example:
@@ -57,7 +57,7 @@ export interface Config {
57
57
  * this will allow all custom element attributes matching `attribute1` or `attribute2` like <backstage-custom-element attribute1="yes" attribute2/>
58
58
  * @visibility frontend
59
59
  */
60
- allowedCustomElementAttributeNameRegExp: string;
60
+ allowedCustomElementAttributeNameRegExp?: string;
61
61
  };
62
62
  };
63
63
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-techdocs",
3
- "version": "0.0.0-nightly-20241023023252",
3
+ "version": "0.0.0-nightly-20241025023335",
4
4
  "description": "The Backstage plugin that renders technical documentation for your components",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",
@@ -61,19 +61,19 @@
61
61
  "dependencies": {
62
62
  "@backstage/catalog-model": "1.7.0",
63
63
  "@backstage/config": "1.2.0",
64
- "@backstage/core-compat-api": "0.0.0-nightly-20241023023252",
65
- "@backstage/core-components": "0.0.0-nightly-20241023023252",
64
+ "@backstage/core-compat-api": "0.0.0-nightly-20241025023335",
65
+ "@backstage/core-components": "0.0.0-nightly-20241025023335",
66
66
  "@backstage/core-plugin-api": "1.10.0",
67
67
  "@backstage/errors": "1.2.4",
68
- "@backstage/frontend-plugin-api": "0.0.0-nightly-20241023023252",
68
+ "@backstage/frontend-plugin-api": "0.0.0-nightly-20241025023335",
69
69
  "@backstage/integration": "1.15.1",
70
70
  "@backstage/integration-react": "1.2.0",
71
- "@backstage/plugin-auth-react": "0.0.0-nightly-20241023023252",
72
- "@backstage/plugin-catalog-react": "0.0.0-nightly-20241023023252",
71
+ "@backstage/plugin-auth-react": "0.0.0-nightly-20241025023335",
72
+ "@backstage/plugin-catalog-react": "0.0.0-nightly-20241025023335",
73
73
  "@backstage/plugin-search-common": "1.2.14",
74
- "@backstage/plugin-search-react": "0.0.0-nightly-20241023023252",
74
+ "@backstage/plugin-search-react": "0.0.0-nightly-20241025023335",
75
75
  "@backstage/plugin-techdocs-common": "0.1.0",
76
- "@backstage/plugin-techdocs-react": "0.0.0-nightly-20241023023252",
76
+ "@backstage/plugin-techdocs-react": "0.0.0-nightly-20241025023335",
77
77
  "@backstage/theme": "0.6.0",
78
78
  "@material-ui/core": "^4.12.2",
79
79
  "@material-ui/icons": "^4.9.1",
@@ -88,10 +88,10 @@
88
88
  "react-use": "^17.2.4"
89
89
  },
90
90
  "devDependencies": {
91
- "@backstage/cli": "0.0.0-nightly-20241023023252",
91
+ "@backstage/cli": "0.0.0-nightly-20241025023335",
92
92
  "@backstage/core-app-api": "1.15.1",
93
- "@backstage/dev-utils": "0.0.0-nightly-20241023023252",
94
- "@backstage/plugin-techdocs-module-addons-contrib": "0.0.0-nightly-20241023023252",
93
+ "@backstage/dev-utils": "0.0.0-nightly-20241025023335",
94
+ "@backstage/plugin-techdocs-module-addons-contrib": "0.0.0-nightly-20241025023335",
95
95
  "@backstage/test-utils": "1.7.0",
96
96
  "@testing-library/dom": "^10.0.0",
97
97
  "@testing-library/jest-dom": "^6.0.0",