Merge pull request #10174 from backstage/emmaindal/techdocs-clean-up-deprecations

[TechDocs] clean up deprecations
This commit is contained in:
Emma Indal
2022-03-15 11:00:17 +01:00
committed by GitHub
34 changed files with 105 additions and 595 deletions
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/plugin-techdocs-node': minor
---
- `DirectoryPreparer` now uses private constructor. Use static fromConfig method to instantiate.
- `UrlPreparer` now uses private constructor. Use static fromConfig method to instantiate.
+11
View File
@@ -0,0 +1,11 @@
---
'@backstage/plugin-techdocs-backend': minor
---
Removed deprecated exports, including:
- deprecated config `generators` is now deleted and fully replaced with `techdocs.generator`
- deprecated config `generators.techdocs` is now deleted and fully replaced with `techdocs.generator.runIn`
- deprecated config `techdocs.requestUrl` is now deleted
- deprecated config `techdocs.storageUrl` is now deleted
- deprecated `createHttpResponse` is now deleted and calls to `/sync/:namespace/:kind/:name` needs to be done by an EventSource.
+12
View File
@@ -0,0 +1,12 @@
---
'@backstage/plugin-techdocs': minor
---
Removed deprecated exports, including:
- deprecated `DocsResultListItem` is now deleted and fully replaced with `TechDocsSearchResultListItem`
- deprecated `TechDocsPage` is now deleted and fully replaced with `TechDocsReaderPage`
- deprecated `TechDocsPageHeader` is now deleted and fully replaced with `TechDocsReaderPageHeader`
- deprecated `TechDocsPageHeaderProps` is now deleted and fully replaced with `TechDocsReaderPageHeaderProps`
- deprecated `TechDocsPageRenderFunction` is now deleted and fully replaced with `TechDocsReaderPageRenderFunction`
- deprecated config `techdocs.requestUrl` is now deleted and fully replaced with the discoveryApi