diff --git a/.changeset/late-ants-impress.md b/.changeset/late-ants-impress.md new file mode 100644 index 0000000000..c694cea7c4 --- /dev/null +++ b/.changeset/late-ants-impress.md @@ -0,0 +1,11 @@ +--- +'@backstage/plugin-catalog-backend-module-bitbucket-cloud': patch +'@backstage/plugin-scaffolder-node-test-utils': patch +'@backstage/plugin-search-backend-module-elasticsearch': patch +'@backstage/plugin-search-backend-module-pg': patch +'@backstage/plugin-search-backend-node': patch +'@backstage/plugin-signals-backend': patch +'@backstage/plugin-events-node': patch +--- + +Replace the usage of `getVoidLogger` with `mockServices.logger.mock` in order to remove the dependency with the soon-to-deprecate `backend-common` package. diff --git a/.changeset/old-trees-check.md b/.changeset/old-trees-check.md new file mode 100644 index 0000000000..4c259bf4d7 --- /dev/null +++ b/.changeset/old-trees-check.md @@ -0,0 +1,5 @@ +--- +'@backstage/backend-tasks': patch +--- + +Deprecate the legacy `TaskScheduler.fromConfig` method and stop using the `getVoidlogger` in tests files to reduce the dependecy on the soon-to-deprecate `backstage-common` package. diff --git a/.changeset/olive-mangos-tickle.md b/.changeset/olive-mangos-tickle.md new file mode 100644 index 0000000000..d28d250ca3 --- /dev/null +++ b/.changeset/olive-mangos-tickle.md @@ -0,0 +1,5 @@ +--- +'@backstage/backend-app-api': patch +--- + +Export a new `VoidLogger` implementation and stop using `getVoidLogger` in tests to reduce the dependecy on the soon-to-deprecate `backstage-common` package. diff --git a/.changeset/sour-colts-juggle.md b/.changeset/sour-colts-juggle.md new file mode 100644 index 0000000000..35dc79452a --- /dev/null +++ b/.changeset/sour-colts-juggle.md @@ -0,0 +1,5 @@ +--- +'@backstage/backend-test-utils': patch +--- + +Fix the logger service mock to prevent returning `undefined` from the `child` method. diff --git a/.changeset/wise-vans-sin.md b/.changeset/wise-vans-sin.md new file mode 100644 index 0000000000..37565c9300 --- /dev/null +++ b/.changeset/wise-vans-sin.md @@ -0,0 +1,5 @@ +--- +'@backstage/backend-common': patch +--- + +Deprecate legacy service logger helpers and stop using `getVoidLogger` in tests.