From 6b59903bfad487f4b69717a3f04f9c3eb395de8e Mon Sep 17 00:00:00 2001 From: Magnus Persson Date: Wed, 14 Dec 2022 14:52:30 +0100 Subject: [PATCH] Add changeset Signed-off-by: Magnus Persson --- .changeset/short-pigs-juggle.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .changeset/short-pigs-juggle.md diff --git a/.changeset/short-pigs-juggle.md b/.changeset/short-pigs-juggle.md new file mode 100644 index 0000000000..c7ef43e62a --- /dev/null +++ b/.changeset/short-pigs-juggle.md @@ -0,0 +1,22 @@ +--- +'@backstage/plugin-sonarqube': minor +'@backstage/plugin-sonarqube-react': minor +--- + +Parts of plugin-sonarqube have been moved into a new plugin-sonarqube-react package. Additionally some types that were +previously internal to plugin-sonarqube have been made public and will allow access for third-parties. As the sonarqube +plugin has not yet reached 1.0 breaking changes are expected in the future. As such exports of plugin-sonarqube-react +require importing via the `/alpha` entrypoint: + +```ts +import { sonarQubeApiRef } from '@backstage/plugin-sonarqube-react/alpha'; + +const sonarQubeApi = useApi(sonarQubeApiRef); +``` + +Moved from plugin-sonarqube to plugin-sonarqube-react: + +- isSonarQubeAvailable +- SONARQUBE_PROJECT_KEY_ANNOTATION + +Exports that been introduced to plugin-sonarqube-react are documented in the [API report](https://github.com/backstage/backstage/blob/master/plugins/sonarqube-react/api-report.md).