@backstage/plugin-techdocs 0.0.0-nightly-20241022023338 → 0.0.0-nightly-20241024023249

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,30 +1,60 @@
1
1
  # @backstage/plugin-techdocs
2
2
 
3
- ## 0.0.0-nightly-20241022023338
3
+ ## 0.0.0-nightly-20241024023249
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
+ - f246178: Removed `canvas` dev dependency.
10
12
  - 4a2f73a: Fix an issue that caused the current documentation page to be re-rendered when navigating to
11
13
  another one.
12
14
  - Updated dependencies
13
- - @backstage/core-components@0.0.0-nightly-20241022023338
14
- - @backstage/plugin-techdocs-react@0.0.0-nightly-20241022023338
15
+ - @backstage/core-components@0.0.0-nightly-20241024023249
16
+ - @backstage/plugin-techdocs-react@0.0.0-nightly-20241024023249
15
17
  - @backstage/catalog-model@1.7.0
16
18
  - @backstage/config@1.2.0
17
- - @backstage/core-compat-api@0.0.0-nightly-20241022023338
19
+ - @backstage/core-compat-api@0.0.0-nightly-20241024023249
18
20
  - @backstage/core-plugin-api@1.10.0
19
21
  - @backstage/errors@1.2.4
20
- - @backstage/frontend-plugin-api@0.0.0-nightly-20241022023338
22
+ - @backstage/frontend-plugin-api@0.0.0-nightly-20241024023249
21
23
  - @backstage/integration@1.15.1
22
24
  - @backstage/integration-react@1.2.0
23
25
  - @backstage/theme@0.6.0
24
- - @backstage/plugin-auth-react@0.0.0-nightly-20241022023338
25
- - @backstage/plugin-catalog-react@0.0.0-nightly-20241022023338
26
+ - @backstage/plugin-auth-react@0.0.0-nightly-20241024023249
27
+ - @backstage/plugin-catalog-react@0.0.0-nightly-20241024023249
26
28
  - @backstage/plugin-search-common@1.2.14
27
- - @backstage/plugin-search-react@0.0.0-nightly-20241022023338
29
+ - @backstage/plugin-search-react@0.0.0-nightly-20241024023249
30
+ - @backstage/plugin-techdocs-common@0.1.0
31
+
32
+ ## 1.11.1-next.0
33
+
34
+ ### Patch Changes
35
+
36
+ - 605bdc0: Avoid page re-rendering when clicking on anchor links in the same documentation page.
37
+ - 4f0cb89: Added DomPurify sanitizer configuration for custom elements implementing RFC https://github.com/backstage/backstage/issues/26988.
38
+ 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.
39
+ - f246178: Removed `canvas` dev dependency.
40
+ - 4a2f73a: Fix an issue that caused the current documentation page to be re-rendered when navigating to
41
+ another one.
42
+ - Updated dependencies
43
+ - @backstage/core-components@0.16.0-next.0
44
+ - @backstage/plugin-techdocs-react@1.2.10-next.0
45
+ - @backstage/catalog-model@1.7.0
46
+ - @backstage/config@1.2.0
47
+ - @backstage/core-compat-api@0.3.2-next.0
48
+ - @backstage/core-plugin-api@1.10.0
49
+ - @backstage/errors@1.2.4
50
+ - @backstage/frontend-plugin-api@0.9.1-next.0
51
+ - @backstage/integration@1.15.1
52
+ - @backstage/integration-react@1.2.0
53
+ - @backstage/theme@0.6.0
54
+ - @backstage/plugin-auth-react@0.1.8-next.0
55
+ - @backstage/plugin-catalog-react@1.14.1-next.0
56
+ - @backstage/plugin-search-common@1.2.14
57
+ - @backstage/plugin-search-react@1.8.2-next.0
28
58
  - @backstage/plugin-techdocs-common@0.1.0
29
59
 
30
60
  ## 1.11.0
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage/plugin-techdocs__alpha",
3
- "version": "0.0.0-nightly-20241022023338",
3
+ "version": "0.0.0-nightly-20241024023249",
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-20241022023338",
3
+ "version": "0.0.0-nightly-20241024023249",
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-20241022023338",
65
- "@backstage/core-components": "0.0.0-nightly-20241022023338",
64
+ "@backstage/core-compat-api": "0.0.0-nightly-20241024023249",
65
+ "@backstage/core-components": "0.0.0-nightly-20241024023249",
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-20241022023338",
68
+ "@backstage/frontend-plugin-api": "0.0.0-nightly-20241024023249",
69
69
  "@backstage/integration": "1.15.1",
70
70
  "@backstage/integration-react": "1.2.0",
71
- "@backstage/plugin-auth-react": "0.0.0-nightly-20241022023338",
72
- "@backstage/plugin-catalog-react": "0.0.0-nightly-20241022023338",
71
+ "@backstage/plugin-auth-react": "0.0.0-nightly-20241024023249",
72
+ "@backstage/plugin-catalog-react": "0.0.0-nightly-20241024023249",
73
73
  "@backstage/plugin-search-common": "1.2.14",
74
- "@backstage/plugin-search-react": "0.0.0-nightly-20241022023338",
74
+ "@backstage/plugin-search-react": "0.0.0-nightly-20241024023249",
75
75
  "@backstage/plugin-techdocs-common": "0.1.0",
76
- "@backstage/plugin-techdocs-react": "0.0.0-nightly-20241022023338",
76
+ "@backstage/plugin-techdocs-react": "0.0.0-nightly-20241024023249",
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-20241022023338",
91
+ "@backstage/cli": "0.0.0-nightly-20241024023249",
92
92
  "@backstage/core-app-api": "1.15.1",
93
- "@backstage/dev-utils": "0.0.0-nightly-20241022023338",
94
- "@backstage/plugin-techdocs-module-addons-contrib": "0.0.0-nightly-20241022023338",
93
+ "@backstage/dev-utils": "0.0.0-nightly-20241024023249",
94
+ "@backstage/plugin-techdocs-module-addons-contrib": "0.0.0-nightly-20241024023249",
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",
@@ -99,7 +99,6 @@
99
99
  "@testing-library/user-event": "^14.0.0",
100
100
  "@types/dompurify": "^3.0.0",
101
101
  "@types/react": "^18.0.0",
102
- "canvas": "^2.10.2",
103
102
  "react": "^18.0.2",
104
103
  "react-dom": "^18.0.2",
105
104
  "react-router-dom": "^6.3.0"