Skip to content

Releases: SonarSource/sonar-scanner-msbuild

11.1.0

02 Feb 14:59
82a3f8b

Choose a tag to compare

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

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

15 Oct 11:48
6f65214

Choose a tag to compare

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=true was 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

10.4.1

23 Sep 12:13
c09bd31

Choose a tag to compare

Revert a change that falsely reported "You're using an unsupported version of SonarQube" in SonarQube Community build.

10.4.0

22 Sep 13:08
a964dca

Choose a tag to compare

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

16 Jul 11:25
0c0457b

Choose a tag to compare

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

03 Jun 16:20
6b22c1e

Choose a tag to compare

  • 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

16 Apr 15:19
f4b3db7

Choose a tag to compare

Bug

  • SCAN4NET-440 Add 'sonar' default truststore password fallback

10.1.1

25 Mar 16:43
f100f00

Choose a tag to compare

Maintenance and dependency updates

10.1.0

19 Mar 14:29
6ddcbca

Choose a tag to compare

This release includes maintenance and dependencies updates.

10.0.0

13 Mar 14:43
fc75659

Choose a tag to compare

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