Update sonar-plugin-api to v11.4.0.2922#716
Conversation
|
SummaryUpdates sonar-plugin-api from 11.1.0.2693 to 11.4.0.2922, spanning three minor versions. This is a straightforward dependency bump affecting only What reviewers should knowKey compatibility concerns to verify:
The actual code change is minimal — focus review on whether the plugin's existing codebase is compatible with these API changes.
|
There was a problem hiding this comment.
The codebase is clean with respect to the two breaking changes in this release: ProfileImporter/ProfileExporter (removed) and UserRole/DefaultTransitions (deprecated) are not used anywhere. The mechanical change is correct.
The open question is whether bumping to 11.4.0 is intentional, since this is a Renovate auto-PR and the PR description itself warns to verify the compatibility matrix before merging.
| val kotlinVersion: String by extra | ||
| val analyzerCommonsVersionStr = "2.18.0.3393" | ||
| val sonarPluginApi = "11.1.0.2693" | ||
| val sonarPluginApi = "11.4.0.2922" |
There was a problem hiding this comment.
Two concerns with this bump:
1. Minimum SQ version raised. Per PLUGINAPI-139, 11.4.0 is the API version introduced for SQS 2025.2 LTA. Bumping sonar-plugin-api to 11.4.0 means the plugin now requires a SonarQube server that ships plugin API ≥ 11.4.0. If customers on older SQ versions (e.g. SQS 25.1 / LTS) need support, this is a breaking change for them. The PR description's own note says to stick to the lowest denominator — please confirm this version is acceptable per the compatibility matrix.
2. Test impl is now mismatched. sonar-plugin-api-test-fixtures was bumped to 11.4.0.2922 (line 92–93), but sonar-plugin-api-impl is still pinned to sonarqube = 25.1.0.102122 (line 82/91). The plugin is now compiled and fixture-tested against 11.4.0, but the actual test runtime is a SQS 25.1 impl. If any new API surfaces from 11.2–11.4 are exercised in tests, they will fail silently or at runtime. Both should be updated together, or this version should not be bumped.
- Mark as noise
Before updating the plugin-api version, make sure to check the compatibility matrix and stick to the lowest denominator.
This PR contains the following updates:
11.1.0.2693→11.4.0.292211.1.0.2693→11.4.0.2922Release Notes
SonarSource/sonar-plugin-api (org.sonarsource.api.plugin:sonar-plugin-api-test-fixtures)
v11.4.0.2922Compare Source
PLUGINAPI-142 [BE] Modify the Plugin API to support OWASP Mobile Top 10 2024 issues
PLUGINAPI-130 Remove deprecated extension points ProfileImporter and ProfileExporter
PLUGINAPI-135 Deprecate org.sonar.api.web.UserRole
PLUGINAPI-136 Deprecate org.sonar.api.issues.DefaultTransitions
PLUGINAPI-139 Add the Plugin API version for SQS 2025.2 LTA
v11.3.0.2824Compare Source
What's Changed
v11.2.0.2797Compare Source
PLUGINAPI-122 Standard severities need to be mapped to all the five impact severities
Configuration
📅 Schedule: (in timezone CET)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.