Skip to content

Latest commit

 

History

History
198 lines (128 loc) · 8.68 KB

CHANGELOG.md

File metadata and controls

198 lines (128 loc) · 8.68 KB

//.# SonarQube Plugin for Swift Changelog

Develop

Breaking

  • None.

Experimental

  • None.

Enhancements

  • None.

Bug Fixes

  • None.

v1.0.0

support import issue from Facebook Infer

v0.4.6

Breaking

  • None.

Experimental

  • None.

Enhancements

  • Sped up analysis with a single build test using 'build-for-testing'
  • run-sonar-swift.sh now supports -sonarurl -sonarlogin and -sonarpassword arguments for SonarQube server connection

Bug Fixes

  • Fixed "The domain/default pair of (xxx, yyy) does not exist" Gaël Foppolo #246
  • Add SwiftLint 0.35.0 support Gaël Foppolo #247
  • Fixed NPE on LizardReportParser.addComplexityFileMeasures #253 and #258
  • Fixed "Unable to locate test source file ****.swift" with Objective-C #242 egr-ext #248

v0.4.5

Breaking

  • None.

Experimental

  • None.

Enhancements

Bug Fixes

v0.4.4

v0.4.3

  • Added support for SonarQube 7.3

v0.4.2

  • Fixed "rule does not exist" crash on Objective-C sensors

v0.4.1

  • Fixed NPE on SquidSensor

v0.4.0

  • Objective-C support (merged from our Objective-C plugin). When upgrading to this version you must install OCLint (brew install oclint). If you used our Objective-C plugin, you must uninstall it (remove it from /extensions/plugins directory).

v0.3.8

v0.3.7

v0.3.6

v0.3.5

  • SwiftLint 0.21.0 (95 rules now)
  • SonarQube 6.5 support
  • Fixes properties with space by Branlute. See PR 84
  • Finds project version automatically with CFBundleShortVersionString by Branlute. See PR 87
  • Fixes coverage with mixed objc swift project by Branlute. See PR 88
  • Quotes support for multi-word project names by PetrJandak. See PR 97

v0.3.4

  • SwiftLint 0.18.1 (add 8 more rules)
  • Fix README headers
  • Update README URLs to SonarQube

v0.3.3

  • Updated run-sonar-swift.sh to support -usesonarscanner (for sonar-scanner instead of sonar-runner).

v0.3.2

v0.3.1

  • Now falls back to sonar-scanner if sonar-runner is not installed (thanks to MaikoHermans. See PR 59)
  • Ability to set sonar.swift.appName. Useful when basename is different from targeted scheme, or when slather fails with 'No product binary found' (thanks to MaikoHermans. See PR 58)
  • Added a second linter: Tailor. Enables analysis of Swift code on linux. (thanks to tzwickl for the hard work. See PR 51)

v0.3.0

  • SonarQube 6 support. Important : will work with SonarQube 5.x and above only. Will not work anymore with SonarQube 4.5.x anymore.
  • SwiftLint 0.13.1 support (49 rules now).
  • Desactivation of unit tests and coverage is now allowed. Use run-sonar-swift.sh -nounittests to do it.

v0.2.4

  • Analysis does not fail anymore when an unkwown issue is reported by SwiftLint. See issue 35
  • fastlane documentation (thanks to viteinfinite). See PR 33
  • Fixed fastlane JUnit report support
  • SwiftLint 0.11.1 support
  • Better return code suppot for run-sonar-swift.sh

v0.2.3

  • Fixed Lizard Sensor wrong file path

v0.2.2

  • Added support for .xcodeproj only projects (thanks to delannoyk)
  • Fix for Lizard Sensor to find indexed files (thanks to gretzki)
  • Got rid of confusion with commercial plugin in the update center

v0.2.1

  • SwiftLint 0.8 support (new rules added).

v0.2.0

v0.1.2

  • SwiftLint 0.5.1 support (new rules added).
  • Added sonar.swift.simulator key in sonar-project.properties to select destination simulator for running tests
  • SwiftLint scans source directories only

v0.1.1

  • SwiftLint 0.4.0 support (new rules added).

v0.1.0

  • Initial release.