Skip to content

Releases: SonarSource/sonar-scanner-msbuild

5.13.1

14 Aug 14:03
212ddea
Compare
Choose a tag to compare

Improvements

  • 1654 - SQSCANNER-115 Update sonar-scanner-cli to 4.8.1.3023

5.13.0

04 Apr 15:51
6fceba5
Compare
Choose a tag to compare

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

Bug Fixes

  • 1554 - Fix error when the provided sonar host url is not a valid URI format
  • 1150 - Fix NRE when unexpected content is returned by the server

5.12.0

15 Mar 13:26
be65de1
Compare
Choose a tag to compare

New features

  • 1464 - Add incremental PR analysis support for dotnet analyzers in SonarCloud context

5.11.0

27 Jan 08:02
f888683
Compare
Choose a tag to compare

Bug Fixes

  • 1454 - Incremental analysis is broken due to the latest changes on SonarQube

5.10.0

12 Jan 13:48
12c1f68
Compare
Choose a tag to compare

Improvements

  • 1447 - Moved from SHA256Managed to SHA256CryptoServiceProvider in CacheProvider to be FIPS compliant
  • 1446 - Bump scanner-cli version to 4.8.0.2856

5.9.2

14 Dec 13:23
c1469f5
Compare
Choose a tag to compare

Improvements

  • 1440 - The scanner does not normalize the file paths of unchanged files before writing them to UnchangedFiles.txt

5.9.1

06 Dec 14:49
cb2c2c4
Compare
Choose a tag to compare

Improvements

  • 1430 - Incremental PR Analysis: Validate cache keys
  • 1429 - Fix regression introduced when switching from string URLs to Uri

5.9.0

01 Dec 11:33
f00ea58
Compare
Choose a tag to compare

Hello,

This release of SonarScanner for .NET brings support for incremental PR analysis. It's a prerequisite for our analyzers that will introduce this feature in the near future.

This version also adds a correct User-Agent header. Previous header UserAgent will remain for backward compatibility until version 6.0.0.

Improvements

  • 1412 - Incremental PR analysis: Log stats
  • 1396 - Incremental PR analysis: Add integration tests
  • 1393 - Fix the nuget restore step during build
  • 1387 - Incremental PR analysis: Produce unchanged files
  • 1379 - Incremental PR analysis: Add UnchangedFiles
  • 1377 - Incremental PR analysis: Implement the protobuf deserialization
  • 1370 - Incremental PR analysis: Download the cache
  • 1369 - Incremental PR analysis: Implement the hashing
  • 1354 - Fix broken ITs: Change tested plugin versions
  • 1344 - Add .NET 7 IT for Razor projects
  • 1331 - Move "src" folder under LGPL v3 license
  • 1328 - Remove jdbc related properties
  • 1321 - Remove jdbc related properties.
  • 1295 - User Agent Header not Set

Bug Fixes

  • 1357 - VsTestToolsInstallerInstalledToolLocation: Path to CodeCoverage.exe may contain net462 instead of net451
  • 1333 - Analysis fails with .NET 7

5.8.0

24 Aug 08:26
15db33a
Compare
Choose a tag to compare

Analysis of Azure Functions on Github Actions with default behavior no longer hard fails. However, in this case, you still need to provide the sonar.projectBaseDir parameter to the BEGIN step to have the correct paths in SonarQube / SonarCloud (see #1309 for details).

Improvements

  • 1298 - Remove confusing message about "project without guid will not be analyzed"

Bug Fixes

  • 1294 - When projects are on different drives and sonar.projectBaseDir is not explicitly set, end step fails hard on generation of sonar-properties (e.g. Azure Functions on GH Actions)

5.7.2

12 Jul 16:46
5fe8e59
Compare
Choose a tag to compare

Improvements

  • 1281 - Log warning instead of error when not parsing environment variables to avoid hard failure when Newtonsoft does not get resolved