diff --git a/.changeset/khaki-adults-own.md b/.changeset/khaki-adults-own.md index 3e61917ecf..dea317b226 100644 --- a/.changeset/khaki-adults-own.md +++ b/.changeset/khaki-adults-own.md @@ -2,8 +2,7 @@ '@backstage/plugin-catalog-backend': minor --- -**BREAKING CHANGE**: Removed all remnants of the old catalog engine -implementation. +**BREAKING**: Removed all remnants of the old catalog engine implementation. The old implementation has been deprecated for over half a year. To ensure that you are not using the old implementation, check that your @@ -14,6 +13,20 @@ version. If you are still on the old version, see [the relevant change log entry](https://github.com/backstage/backstage/blob/master/plugins/catalog-backend/CHANGELOG.md#patch-changes-27) for migration instructions. +The minimal `packages/backend/src/plugins/catalog.ts` file is now: + +```ts +export default async function createPlugin( + env: PluginEnvironment, +): Promise { + const builder = await CatalogBuilder.create(env); + builder.addProcessor(new ScaffolderEntitiesProcessor()); + const { processingEngine, router } = await builder.build(); + await processingEngine.start(); + return router; +} +``` + The following classes and interfaces have been removed: - The `CatalogBuilder` constructor (see above; use `CatalogBuilder.create`