Skip to content

Releases: SonarSource/sonar-scanner-msbuild

6.1.0

29 Jan 10:48
a821265
Compare
Choose a tag to compare

Hi everyone,

With this release, we officially dropped support for MSBuild 14.

6.0.0

04 Dec 14:00
6e58e9b
Compare
Choose a tag to compare

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 above
  • sonar-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

20 Nov 10:48
55006c5
Compare
Choose a tag to compare

Hi everyone!

This release brings a new option to specify the temporary working directory for the scanner; thanks to @mieliespoor for his contribution!

Improvements

  • 1757 - Clarify code coverage conversion error message (in logs)
  • 1641 - Add an option to specify the scanner's temporary working directory

5.14.0

02 Oct 13:27
a30eb6a
Compare
Choose a tag to compare

Improvements

  • 1639 - Support new api/rules/search API

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