is the code analysis rules of 9.9.5 and 10.5 the same?
Must-share information (formatted with Markdown ):
which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
9.9.5
how is SonarQube deployed: zip, Docker, Helm
zip
what are you trying to achieve
stay at 9.9.x if the rule set the same with 10.5.X
what have you tried so far to achieve this
dont understand the way sonarqube update the ruleset /coverage for community edition
Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!
Colin
(Colin)
June 17, 2024, 9:30am
2
Hey there.
SonarQube’s ruleset evolves with each version. Rules are updated, added, deprecated, and (after appropriate deprecation) removed.
You can see at a high-level what evolution takes place in our release announcements . For example, in SonarQube 10.5:
Other Changes to Note
JavaScript/TypeScript:
Ongoing precision improvements were made to reduce false positive rates.
Java/Kotlin:
.NET:
Promoted seven rules to the Sonar way quality profile.
Python:
Ongoing precision improvements were made to reduce false positive rates.
1 Like
Colin:
SonarQube’s ruleset evolves with each version. Rules are updated, added, deprecated, and (after appropriate deprecation) removed.
Thanks for sharing this. 10.5.X had new feature and changes.
But we will stay at 9.9.x LTA branch as its still providing Bug fix and Security updates .
if we stay at 9.9 LTA and update with the latest minor version. Do we still get the latest rules.
can we assume the the ruleset updates in 9.9.x LTA as welll. eg version of 9.9.4 to 9.9.x on par with 10.5.x ?
the rules site dont have mean to download.
https://rules.sonarsource.com/
Colin
(Colin)
June 19, 2024, 12:19pm
4
jame:
if we stay at 9.9 LTA and update with the latest minor version. Do we still get the latest rules.
No. Rules are only updated in new major/minor versions of SonarQube (not patch versions)
Hello SonarQube Community,
Version after version, SonarQube offers new features and improvements for 27 languages. From now on, the future additions to languages will be available only in new releases of SonarQube. In practice, previous SonarQube versions, including the 7.9 LTS, will stop offering the ability to upgrade language analysis to benefit from features added in the future versions of the product.
Why? We thought hard about this and, in the end, it came down to the choice …
1 Like
before this thread close.
noted. Rules are only updated in new major/minor versions.
version 9.5 to 9.9 consider minor version ?
i observed that there are java rules update between the version 9.5 to 9.9.x LTA
refer to png file attached.
java profile for 9.5.0 was 471
java profile for 9.9.5 add to 479
Colin
(Colin)
June 25, 2024, 5:27am
6
Yes, that’s expected and normal!