Releases: SonarSource/sonar-scanner-msbuild
8.0.3
9.0.0-rc
Disabled support for sonar.sources and sonar.tests.
These properties are automatically populated by the Scanner, and they do not function properly if they are also set by user input.
This became more apparent with the introduction of multi-language analysis.
8.0.2
Hotfix release that addresses some of the issues found in community:
- Re-enable sonar.exclusions
- Automatically exclude coverage files
- Skip projects that are transiently created and destroyed during the build.
8.0.1
Bug fix release which addresses these issues:
- Fix #2148: Root directory detection: OS root (/ on Unix or C: on Windows) is identified as the project directory
- Fix #1931: Output directory is used as a fallback when the base directory cannot be identified
- Improvement #2152: Log server version in the begin step, to ease investigations
- Improvement #2156: Better messages for Multi-file analysis
8.0.0
- The scanner is now supporting multi-language analysis. This means that it automatically picks up all the files for the following languages:
- T-SQL
- PL/SQL
- YAML
- XML
- JSON
- CSS
- HTML
- Javascript
- Typescript
If this is not desired, it can be turned off by providing /d:sonar.scanner.scanAll=false
on the begin
step.
- The JRE provisioning is disabled if the targeted SonarQube instance version is less than 10.6
7.1.1
Patch release for the wrong file path problem in the release zip files.
Fixes
#2104 Releases produce zip files with a backslash as a separator (#2087)
#2107 Add Reference to fix the version of Microsoft.IO.Redist (addresses CVE-2024-38081)
7.1.0
What's new
- Changed an internal URL that is responsible for Incremental PR Analysis on SonarCloud
- Fixed a small issue when not specifying
sonar.host.url
(defaults tohttps://sonarcloud.io
)
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