Skip to content

Latest commit

 

History

History
218 lines (135 loc) · 6.09 KB

CHANGELOG.md

File metadata and controls

218 lines (135 loc) · 6.09 KB

Changelog

develop

Breaking

  • None.

Experimental

  • None.

Enhancements

  • None.

Bug Fixes

  • #177 analyzer execution fails when errors detected.
  • #212 source file not indexed with SonarQube 10.4+
  • PR #201 bump snakeyaml and jackson-databind to latest versions
  • Updated Apache Ivy to 2.5.2
  • Analyzer rules update (1 added)

0.5.0

Breaking

  • SonarQube API update to 7.9 for latest LTS support (9.9)
  • Removed dartanalyzer implementation that scans each file individual, this may affect projects running on a (pretty) old Dart SDK. The replacement runs legacy dartanalyzer . instead which is much faster.
  • Renamed sonar.flutter.analyzer.mode to sonar.dart.analyzer.mode and reworked implementation.
    • Available options DETECT|DART|FLUTTER|MANUAL|DARTANALYZER
    • Defaults to automatic detection by parsing the pubspec.yaml.
    • Uses flutter analyze when environment.flutter is configured in pubspec.yaml.
    • Uses dart analyze when environment.flutter is NOT configured in pubspec.yaml.
    • Allows to be configured for legacy dartanalyzer if required (DARTANALYZER)
    • Allows to be configured for pre-existing analysis reports (MANUAL)
  • Renamed sonar.dart.analysis.useExistingOptions to sonar.dart.analyzer.options.override, now defaults to true
  • Renamed sonar.dart.analysis.reportPath to sonar.dart.analyzer.report.path - this is only evaluated when sonar.dart.analyzer.modeis set to MANUAL
  • Added sonar.dart.analyzer.report.mode option
    • Available options DETECT|MACHINE|LEGACY
    • Defaults to automatic detection by parsing the Dart SDK version and defaults to --format=machine for Dart when SDK >= 2.12
    • Can be set to legacy mode when using pre-existing analysis report or an older Dart SDK

Experimental

  • None.

Enhancements

  • Add a pubspec.yaml sensor which adds the file to SonarQube and allow showing lints for this file
  • Add support for multi-module projects (sonar.modules=mylib,mylib_generator,example)
  • Added missing dart keywords and corrected some
    • try
    • hide
    • show
    • late
    • of
    • continue
    • covariant
    • out
    • do
    • dynamic
    • native
  • Rules update
  • Better rules description

Bug Fixes

  • #160 dart analysis with an exception of NumberFormatException

0.4.0

Breaking

  • None.

Experimental

  • None.

Enhancements

  • (#65) Support SonarQube 9 - (thanks to @kuhnroyal)
  • (#32) make perfer final issue type to CODE_SMELL - (thanks to @magaofei)
  • (#70) Automate changelog and releases - (thanks to @kuhnroyal)
  • (#66) CI improvements - (thanks to @kuhnroyal)
  • (#56) Update README.md - (thanks to @thiagoloureiro)

Bug Fixes

  • None.

0.3.2

Breaking

  • None.

Experimental

  • None.

Enhancements

  • Allow re-using an existing dartanalyzer report with sonar.dart.analysis.reportPath (thanks to Peter Leibiger)
  • Add missing dart keywords extension, on, mixin (thanks to Peter Leibiger)
  • Add pedantic 1.9.0 profile (thanks to Daniel Morawetz)
  • Faster analysis with 'flutter analyze' and support for different analysis modes with sonar.flutter.analyzer.mode (thanks to Marc Reichelt)

Bug Fixes

0.3.1

Breaking

  • None.

Experimental

  • None.

Enhancements

  • Better handling of missing test report file.
  • Faster analysis on large projects (increased analyser page size to 50).

Bug Fixes

  • Test report parsing fix for Windows (thanks to victorgilc).
  • Removed duplicated issues on the same file.

0.3.0

Breaking

  • None.

Experimental

  • None.

Enhancements

Bug Fixes

  • Report the correct test case count (thanks to Peter Leibiger)
  • Better test report parsing (thanks to victorgilc)
  • Restore Java 8 compatibility required by the sonar-scanner (thanks to Peter Leibiger)
  • Restore the original analysis options file when analysis crashes (thanks to amond)
  • Windows support (thanks to victorgilc), fixes #12, #24
  • Running sonar-scanner does not result no 0 exit code anymore when issues are found by dartanalyzer (thanks to amond), fixes #11

0.2.1

Breaking

  • None.

Experimental

  • None.

Enhancements

Bug Fixes

  • None

0.2.0

Breaking

  • None.

Experimental

  • None.

Enhancements

  • Syntax coloration
  • Cyclomatic complexity computation
  • More accurate code line count

Bug Fixes

  • None

0.1.0

Breaking

  • Initial release.

Experimental

  • None.

Enhancements

  • None.

Bug Fixes

  • None.