Releases: SonarSource/sonar-scanner-msbuild
7.0.0
Breaking changes
The default value for the /d:sonar.host.url
parameter changed from http://localhost:9000
to https://sonarcloud.io
.
What's new
The scanner no longer depends on a local Java runtime environment installation. The required Java runtime environment is provisioned and cached by the scanner.
You can skip this provisioning by specifying one of these parameters in the begin step:
/d:sonar.scanner.skipJreProvisioning=true
/d:sonar.scanner.javaExePath="<<path\to\java.exe>>"
5.15.1
6.2.0
This release fixes the failing analysis on macOS with .NET 8.0. It also introduces the new optional sonar.http.timeout
command line parameter.
Improvements
- 1694 - Make HttpClient.Timeout configurable
Bug Fixes
- 1862 - Fix analysis on MacOSX with .NET 8 when begin runtime doesn't match with build runtime
6.1.0
Hi everyone,
With this release, we officially dropped support for MSBuild 14.
6.0.0
Hi everyone!
This major release of the Scanner for .NET drops support for .NET Core 2.1 and 3.0, .NET Framework 4.6, Java 11, and SonarQube < 8.9.
It simplifies packaging: now two packages are made available, instead of 4:
sonar-scanner-*-net
, based on .NET Core 3.1, for .NET Core and .NET 5 and abovesonar-scanner-*-net-framework
, based on .NET Framework 4.6.2, for .NET Framework 4.6.2 and above
We also changed the way automatic code coverage detection works on Azure DevOps Extensions. We no longer depend on CodeCoverage.exe
being present on the build machine.
For the complete list of breaking changes check the list below.
Improvements
- #1768 - Drop support for .Net core 2.1
- #1771 - Do not generate the net 5 artifacts
- #1738 - Upgrade net46 to net462
- #1770 - Rename the sonar-scanner-msbuild-*-netcoreapp3.0.zip to sonar-scanner-*-net.zip
- #1769 - Rename the sonar-scanner-msbuild-*-net46 packages to sonar-scanner-*-net-framework.zip
- #1721 - Make
begin
/end
phase mandatory on command line - #1475 - Fail hard when C# and VB.NET plugins are missing on the server
- #1425 - Fail hard for SonarQube version below 8.9
- #1805 - Improve the global tool description message
- #1759 - Ensure that the assemblies from the zip files we publish on GitHub are signed
- #1651 - Update sonar-scanner-cli to 5.0.1.3006
- #1421 - Remove wrong UserAgent header
- #1737 - Code coverage: use nuget package
5.15.0
Hi everyone!
This release brings a new option to specify the temporary working directory for the scanner; thanks to @mieliespoor for his contribution!
Improvements
5.14.0
5.13.1
5.13.0
New Features
- 1541 - Automatic base branch detection for Incremental PR analysis
- 1520 - Add support for sonar.token parameter when targeting SonarQube
Improvements
- 1545 - Download cache: Improve logs on erroneous cases
- 1489 - Always print out the plugin version used in the begin step
- 1293 - Provide better message for 401 codes
- 1279 - When no parameter is given, the S4NET should show the help message
- 1149 - Provide more user friendly error when SQ is down or not running