Releases: SonarSource/sonar-scanner-msbuild
11.1.0
This release enhances telemetry, streamlines data collection, and updates dependencies to improve performance and insights.
What's New
- Added telemetry to track usage of scanner features (e.g., coverage report conversion).
- Added telemetry to capture details about the environments where the scanner is used (e.g. CPU architecture, Operating System kind).
Note: The telemetry in the scanner reports if a specific feature has been used or not. No project-specific information is extracted during analysis. This helps us prioritize development effort. We typically use this information to know the proportion of projects using a specific feature such as
- specific coverage formats
- ways of setting parameters (server UI, csproj tag, CLI argument…)
- …
Fixed
- #2987 C# warning wave compiler warnings were suppressed by the scanner. We now respect the user setting for WarningLevel and only increase it but never lower it. This change may find new issues in existing code.
Changed
- Removed telemetry reporting on target framework.
- Reduced collection of telemetry data about parameter usage.
Maintenance
- Updated dependencies to the latest versions.
11.0.0
In the 10.4 release of the SonarScanner for .NET, we implemented a mechanism that no longer uses the embedded SonarScanner CLI to communicate with SonarQube.
In this release, the SonarScanner CLI is no longer bundled with the SonarScanner for .NET. In scenarios where the new mechanism isn’t available, the SonarScanner CLI is now downloaded on demand from https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-5.0.2.4997.zip.
The download will happen if any of these conditions are met
- SonarQube Server version is lower than 10.6
/d:sonar.scanner.useSonarScannerCLI=truewas specified in the begin step to re-enable the old mechanism
Make sure binaries.sonarsource.com is reachable when you use the SonarScanner for .NET and the download of the SonarScanner CLI is needed.
New features
- SCAN4NET-720 - Download Scanner-CLI V5 instead of bundling it
- SCAN4NET-941 - Invoke the download of the scanner-cli if needed
- SCAN4NET-962 - Call ScannerCliResolver and set SonarScannerCliPath
- SCAN4NET-963 - Use AnalysisConfig.SonarScannerCliPath in SonarScannerWrapper.FindScannerExe
- SCAN4NET-942 - Create ITs that assert the scanner-cli download scenarios
- SCAN4NET-943 - Add a warning about scanner-cli support will be removed in the future
- SCAN4NET-955 - Remove the embedded scanner-cli.jar
Improvements
- SCAN4NET-978 - Add support for MSTest V4
10.4.1
Revert a change that falsely reported "You're using an unsupported version of SonarQube" in SonarQube Community build.
10.4.0
The scanner now accesses SonarQube's APIs directly instead of relying on an embedded SonarScanner CLI when used with SonarQube Cloud and recent SonarQube Server versions. Use /d:sonar.scanner.useSonarScannerCLI=true in the begin step to re-enable the previous behavior.
10.3.0
The version 10.3 of the scanner contains these changes:
SCAN4NET-423 Fixes Use RunDeploymentRoot in trx files to find coverage files
SCAN4NET-428 Removes sonar.scanner.scanAll analysis warning
NET-2190 - Adds Support for xUnit 3
Thank you @pieterkl for your PR #2502 which gave us the right insights for the fix in #2581.
10.2.0
- Vulnerability fix for the embedded scanner-cli.jar.
- This version adds telemetry to gather information on feature usage, when used with sonar-dotnet 10.11 or later.
10.1.2
Bug
- SCAN4NET-440 Add 'sonar' default truststore password fallback
10.1.1
Maintenance and dependency updates
10.1.0
This release includes maintenance and dependencies updates.
10.0.0
This release adds the support of additional languages to be automatically analyzed. It will now include the following languages:
- Python (including Jupyter Notebooks)
- AzureResourceManager
- Docker
- PHP
- Go
- Terraform
- CloudFormation
- Java Config files
Bug
- SCAN4NET-287 sonar.scanner.truststorePassword should be required for the end step
Improvement
- SCAN4NET-260 Add python support
- SCAN4NET-262 Add support for python jupyter notebooks
- SCAN4NET-269 Add Docker support
- SCAN4NET-271 Add AzureResourceManager support
- SCAN4NET-273 Add support for PHP
- SCAN4NET-275 Add Go support
- SCAN4NET-276 Add Terraform support
- SCAN4NET-280 Add cloudformation support
- SCAN4NET-281 Add jvm-framework-config support
- SCAN4NET-288 Add SonarText support