From be89d6e7f375909348936018c709c6acd7dadd80 Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Sat, 21 May 2022 10:48:34 +0200 Subject: [PATCH] fix references to search-backend-node Signed-off-by: Patrik Oldsberg --- .changeset/reject-failed-index-tasks.md | 2 +- plugins/catalog-backend/CHANGELOG.md | 2 +- plugins/catalog-backend/src/search/DefaultCatalogCollator.ts | 2 +- plugins/search-backend-module-elasticsearch/CHANGELOG.md | 4 ++-- plugins/search-backend-module-pg/CHANGELOG.md | 4 ++-- plugins/search-common/src/types.ts | 2 +- plugins/techdocs-backend/CHANGELOG.md | 2 +- .../techdocs-backend/src/search/DefaultTechDocsCollator.ts | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.changeset/reject-failed-index-tasks.md b/.changeset/reject-failed-index-tasks.md index 3c669ce545..b2f1f5ad6a 100644 --- a/.changeset/reject-failed-index-tasks.md +++ b/.changeset/reject-failed-index-tasks.md @@ -1,5 +1,5 @@ --- -'@backstage/search-backend-node': patch +'@backstage/plugin-search-backend-node': patch --- propagate indexing errors so they don't appear successful to the task scheduler diff --git a/plugins/catalog-backend/CHANGELOG.md b/plugins/catalog-backend/CHANGELOG.md index c4679de20a..44e470750d 100644 --- a/plugins/catalog-backend/CHANGELOG.md +++ b/plugins/catalog-backend/CHANGELOG.md @@ -495,7 +495,7 @@ - 022507c860: A `DefaultCatalogCollatorFactory`, which works with the new stream-based search indexing subsystem, is now available. The `DefaultCatalogCollator` will continue to be available for those unable to upgrade to the stream-based - `@backstage/search-backend-node` (and related packages), however it is now + `@backstage/plugin-search-backend-node` (and related packages), however it is now marked as deprecated and will be removed in a future version. To upgrade this plugin and the search indexing subsystem in one go, check diff --git a/plugins/catalog-backend/src/search/DefaultCatalogCollator.ts b/plugins/catalog-backend/src/search/DefaultCatalogCollator.ts index bb44670443..f895ded85e 100644 --- a/plugins/catalog-backend/src/search/DefaultCatalogCollator.ts +++ b/plugins/catalog-backend/src/search/DefaultCatalogCollator.ts @@ -37,7 +37,7 @@ import { Permission } from '@backstage/plugin-permission-common'; /** * @public - * @deprecated Upgrade to a more recent `@backstage/search-backend-node` and + * @deprecated Upgrade to a more recent `@backstage/plugin-search-backend-node` and * use `DefaultCatalogCollatorFactory` instead. */ export class DefaultCatalogCollator { diff --git a/plugins/search-backend-module-elasticsearch/CHANGELOG.md b/plugins/search-backend-module-elasticsearch/CHANGELOG.md index b5c8adaea7..f2344d430c 100644 --- a/plugins/search-backend-module-elasticsearch/CHANGELOG.md +++ b/plugins/search-backend-module-elasticsearch/CHANGELOG.md @@ -91,10 +91,10 @@ - 022507c860: **BREAKING** The `ElasticSearchSearchEngine` implements the new stream-based indexing - process expected by the latest `@backstage/search-backend-node`. + process expected by the latest `@backstage/plugin-search-backend-node`. When updating to this version, you must also update to the latest version of - `@backstage/search-backend-node`. Check [this upgrade guide](https://backstage.io/docs/features/search/how-to-guides#how-to-migrate-from-search-alpha-to-beta) + `@backstage/plugin-search-backend-node`. Check [this upgrade guide](https://backstage.io/docs/features/search/how-to-guides#how-to-migrate-from-search-alpha-to-beta) for further details. ### Patch Changes diff --git a/plugins/search-backend-module-pg/CHANGELOG.md b/plugins/search-backend-module-pg/CHANGELOG.md index b4823f448d..af48846754 100644 --- a/plugins/search-backend-module-pg/CHANGELOG.md +++ b/plugins/search-backend-module-pg/CHANGELOG.md @@ -83,10 +83,10 @@ - 022507c860: **BREAKING** The `PgSearchEngine` implements the new stream-based indexing process expected - by the latest `@backstage/search-backend-node`. + by the latest `@backstage/plugin-search-backend-node`. When updating to this version, you must also update to the latest version of - `@backstage/search-backend-node`. Check [this upgrade guide](https://backstage.io/docs/features/search/how-to-guides#how-to-migrate-from-search-alpha-to-beta) + `@backstage/plugin-search-backend-node`. Check [this upgrade guide](https://backstage.io/docs/features/search/how-to-guides#how-to-migrate-from-search-alpha-to-beta) for further details. ### Patch Changes diff --git a/plugins/search-common/src/types.ts b/plugins/search-common/src/types.ts index 220ac977e5..f77e819364 100644 --- a/plugins/search-common/src/types.ts +++ b/plugins/search-common/src/types.ts @@ -134,7 +134,7 @@ export type IndexableDocument = SearchDocument & { /** * Information about a specific document type. Intended to be used in the - * {@link @backstage/search-backend-node#IndexBuilder} to collect information + * {@link @backstage/plugin-search-backend-node#IndexBuilder} to collect information * about the types stored in the index. * @beta */ diff --git a/plugins/techdocs-backend/CHANGELOG.md b/plugins/techdocs-backend/CHANGELOG.md index 1ecc97e1aa..897d308c6e 100644 --- a/plugins/techdocs-backend/CHANGELOG.md +++ b/plugins/techdocs-backend/CHANGELOG.md @@ -190,7 +190,7 @@ - 022507c860: A `DefaultTechDocsCollatorFactory`, which works with the new stream-based search indexing subsystem, is now available. The `DefaultTechDocsCollator` will continue to be available for those unable to upgrade to the stream-based - `@backstage/search-backend-node` (and related packages), however it is now + `@backstage/plugin-search-backend-node` (and related packages), however it is now marked as deprecated and will be removed in a future version. To upgrade this plugin and the search indexing subsystem in one go, check diff --git a/plugins/techdocs-backend/src/search/DefaultTechDocsCollator.ts b/plugins/techdocs-backend/src/search/DefaultTechDocsCollator.ts index bf647322cf..a76ea66729 100644 --- a/plugins/techdocs-backend/src/search/DefaultTechDocsCollator.ts +++ b/plugins/techdocs-backend/src/search/DefaultTechDocsCollator.ts @@ -69,7 +69,7 @@ type EntityInfo = { * A search collator responsible for gathering and transforming TechDocs documents. * * @public - * @deprecated Upgrade to a more recent `@backstage/search-backend-node` and + * @deprecated Upgrade to a more recent `@backstage/plugin-search-backend-node` and * use `DefaultTechDocsCollatorFactory` instead. */ export class DefaultTechDocsCollator {