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).