On this page
Release upgrade notes
Release 8.9 LTS upgrade notes
GitHub Enterprise compatibility
SonarQube 8.9 only supports GitHub Enterprise 2.21+ for pull request decoration (the previous minimum version was 2.15).
Plugins require risk consent
When upgrading, if you're using plugins, a SonarQube administrator needs to acknowledge the risk involved with plugin installation when prompted in SonarQube.
Database support updated
SonarQube 8.9 supports the following database versions:
- PostgreSQL versions 9.6 to 13. PostgreSQL versions <9.6 are no longer supported.
- MSSQL Server 2014, 2016, 2017, and 2019.
- Oracle XE, 12C, 18C, and 19C. Oracle 11G is no longer supported.
Webhooks aren't allowed to target the instance
To improve security, webhooks, by default, aren't allowed to point to the SonarQube server. You can change this behavior in the configuration. (SONAR-14682).
Release 8.8 Upgrade Notes
CSS analysis now requires Node.js 10+
In order to analyze CSS code, you now need to have Node.js 10+ installed on the machine running the scan.
Deprecated web services have been dropped
Web services that were deprecated in 6.x versions have been dropped. (SONAR-13848).
Release 8.7 upgrade notes
Azure DevOps Services and Bitbucket Cloud are now supported
SonarQube now officially supports Azure DevOps Services and Bitbucket Cloud. If you were running analysis using Bitbucket Pipelines previously, when you upgrade, the Main branch name in your SonarQube project needs to match the branch name in your code repository to continue writing history to the branch. You may have to rename it before running analysis again.
Microsoft SQL Server and Integrated Authentication
If you are using Microsoft SQL Server with Integrated Authentication, you will need to replace the
sqljdbc_auth.dll file on your
mssql-jdbc_auth-9.2.0.x64.dll from the Microsoft SQL JDBC Driver 9.2.0 package. See Install the Server for more information.
Release 8.6 upgrade notes
Elasticsearch update and change in cluster configuration
For non-DCE editions, the Elasticsearch upgrade doesn't change the configuration. SonarQube automatically binds to the loopback address an additional Elasticsearch port which can be configured optionally.
When running a cluster with Data Center Edition, the configuration of search nodes has changed. The old search properties will now fail. You need to configure two new sets of properties. See Configure and operate a cluster for more information.
We recommend only giving external access to the application nodes and to the main port. (SONAR-12686).
Default authentication and administrator credentials
On a fresh install to avoid misconfiguration and related security risks, authentication is now required by default, and you need to change the default password for the administrator account. When upgrading, if you were still using default credentials, you'll be asked to change the password the next time you authenticate with the admin account.
Release 8.5 upgrade notes
GitHub Enterprise compatibility
SonarQube 8.5 only supports GitHub Enterprise 2.15+ for pull request decoration (the previous minimum version was 2.14).
SonarScanner for MSBuild compatibility
Analyzing a C# / VB.NET solution in SonarQube 8.5 requires SonarScanner for MSBuild 4.0+.
Upgrade simplified: Languages, GIT and SVN support now built-in
Languages provided with your edition and support for GIT and SVN version control are now built-in and don’t require plugins. If you were using these plugins, you need to remove them from SonarQube before upgrading.
Release 8.4 upgrade notes
Updated system settings recommendations
In previous versions, the recommended limits regarding threads, file descriptors, and vm.maxmapcount were taken from Elasticsearch dependencies. This release can reach these limits occasionally, so we recommend increasing the following settings of your OS when upgrading:
vm.max_map_count is greater than or equal to 524288
fs.file-maxis greater than or equal to 131072
- the user running SonarQube can open at least 131072 file descriptors
- the user running SonarQube can open at least 8192 threads
For more information, see the Requirements documentation.
Project, application, and portfolio availability when rebuilding Elasticsearch indexes
From now on if your upgrade requires the rebuild of Elasticsearch indexes, your projects and applications will become available as they are reindexed. Portfolios won't be available until all projects are reindexed.
Additionnal SAML checks
SAML authentication adds additional checks for validating SAML responses from the identity provider. This could reveal a non-standard configuration that needs to be updated. Information will appear in the logs upon a failed login attempt in the event that the configuration needs to be tweaked.
Changes in web services and plugin APIs
The format of several IDs exposed in web services changed and their use is deprecated. See SONAR-13248, SONAR-13249, and SONAR-13300.
A related change is introduced in a plugin API method. See SONAR-13420.
Release 8.3 upgrade notes
Security Hotspots in the built-in quality gate
We've added a new condition to the built-in "Sonar way" quality gate to make sure all security hotspots on new code are reviewed. The quality gate fails if the percentage of new hotspots reviewed is less than 100%.
Jenkins automatic branch and pull request detection
With Developer Edition and above, Scanners now automatically detect branches and pull requests in Jenkins Multibranch Pipelines. You no longer need to pass branch and pull request parameters. When upgrading from Community Edition or an old commercial edition version, the branch name in your SonarQube project needs to match the branch name in your code repository to continue writing history to the branch. Because SonarQube names the Main Branch "master" by default, you may have to rename it before running analysis again. See the Jenkins CI Integration page for more information.
Updated .NET code coverage
The code coverage for .NET projects now takes into account the branch/condition coverage in addition to the line coverage. The coverage of your projects may decrease to be closer to reality, and it can impact your quality gate. (See more details here).
Analysis summary for GitHub pull requests
- Pull Request analysis can be shown under the Conversation tab in GitHub. You can enable or disable it at Project Settings > General Settings > Pull Request Decoration.
- If you already have pull request analysis under the GitHub Checks tab, you'll need to update your GitHub App to give pull request read & write access. For more information see Pull request analysis.
Applications on the Projects page
Applications are now found on the Projects page. You can filter, favorite, and tag applications like you can with projects.
Release 8.2 upgrade notes
Security hotspots: dedicated space and workflow
- The Security hotspots have a brand new space where developers can perform security reviews. The review process has been simplified. It's no longer necessary to transform a security hotspot into a manual vulnerability and back. A developer can now simply mark a security hotspot as Safe, Fixed, or leave it as-is if more time is needed.
- Manual vulnerabilities created from security hotspots are migrated to security hotspots with the status "To Review". A comment "Migrated from Manual Vulnerability" is added to the review history to recognize them.
- The formula to compute the security review rating, which was previously only available at the portfolio level, has been updated to be more meaningful. Historical values for this indicator have been removed to avoid confusion.
- A Security Hotspots Reviewed metric has been added and is available to quality gates along with the security review rating.
New project homepage
The project homepage has been redesigned to focus on new code. Projects details are now tucked into a new "Project information" pane. The project administration menu has been renamed "Project Settings".
The old way of referencing environment variables in server configuration is deprecated and replaced with the support of default environment variables. (SONAR-13113).
Release 8.1 upgrade notes
Short-lived and Long-lived branches are now just branches
The concept for branches is now simplified, with a single way to handle all of them.
- Analysis is the same for all branches. The parameter
sonar.branch.targetis no longer used and can be removed.
- All branches behave as previous long-lived branches: all measures are available. The new code period is configurable and starts by default after the first analysis. The quality gate check applies on all conditions.
- As a consequence, branches that were previously short-lived branches may display incomplete measures before they are analyzed again. With the first analysis, measures on new code and the quality gate status may change.
- New housekeeping settings replace the long-lived branch pattern and allow you to choose the branches which should be kept when inactive.
- Detection of new issues in branches and PRs is simplified. The list of issues reported as new may change slighlty. (SONAR-12627).
Configuration of pull request decoration
The configuration of pull request decoration changes. Previous settings are replaced by a new configuration in the UI. Also, decoration of pull requests now supports multiple instances of a same ALM provider in Enterprise Edition and above.
Deprecated web services and parameters dropped
Some web services and parameters which were deprecated in 6.x versions have been dropped, including some related to quality profiles. See full release notes for more info.
Release 8.0 upgrade notes
GitHub, LDAP, and SAML authentication now built in
GitHub, LDAP, and SAML authentication is now built in. If you were using the authentication plugins (sonar-ldap, sonar-auth-github, and sonar-auth-saml), you need to remove them from SonarQube before upgrading. (SONAR-12471).
GitLab authentication now available
GitLab OAuth2 authentication is now available in all editions. If you were using the community plugin, you need to remove it from SonarQube before upgrading. The configured variable of the plugin will be migrated, so the authentication will work without having to rewrite the configuration. Due to changes in group mapping, GitLab subgroups mapped using the community plugin will need to be renamed in SonarQube for the mapping to work. (SONAR-12460).
New code: period values simplified
It's now easier to set your new code period in the UI. With the new settings, specific analysis has replaced setting the new code period to a specific date or version. If you were using a specific date or version for your new code period, now you'll need to use a specific analysis. See the Setting your new code period for more info.
Release 7.9.1 LTS upgrade notes
Upgrade on Microsoft SQL Server fixed
Upgrade failure and performance issues with Microsoft SQL Server have been fixed (SONAR-12260, SONAR-12251).
Pylint execution on Windows fixed
Automatic execution of Pylint during python analysis on Windows has been fixed. Note that automatic execution of pylint during analysis remains deprecated on all OSes. (SONAR-12274).
Release 7.9 LTS upgrade notes
Upgrade can fail on Microsoft SQL Server
Migration from SonarQube v6.7.x to v7.9 fails on Microsoft SQL Server (SONAR-12260).
MySQL no longer supported
SonarQube no longer supports MySQL. To migrate from MySQL to a supported database, see the free MySQL Migrator tool.
Java 11 required
The SonarQube server now requires Java 11. Analyses may continue to use Java 8 if necessary.
Pylint should be run manually
Running Pylint automatically during python analysis has been deprecated. Additionally, it is broken in this version on Windows. If needed, Pylint must be run ahead of time and the resulting report passed in to analysis.
© 2008-2023, SonarSource S.A, Switzerland. Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution-NonCommercial 3.0 United States License. SONARQUBE is a trademark of SonarSource SA. All other trademarks and copyrights are the property of their respective owners.