@jpsim jpsim released this Nov 27, 2018 · 93 commits to master since this release

Assets 5

Breaking

  • SwiftLint now requires Swift 4.2 or higher to build.
    JP Simard

Experimental

  • None.

Enhancements

  • Improve the performance of saving or reading cached lint results on platforms
    with CommonCrypto.
    JP Simard

  • Add markdown reporter which outputs markdown-formatted tables, ideal for
    rendering in GitLab or GitHub.
    Dani Vela

  • Add testSimulateHomebrewTest() to IntegrationTests that simulates test in
    homebrew-core/Formula/swiftlint.rb within sandbox.
    Norio Nomura

Bug Fixes

  • Fix compiler warnings when building with Swift 4.2 introduced in the last
    release.
    JP Simard

  • Fix false positive in explicit_init rule.
    Dominic Freeston

  • Fix toggle_bool false positive violation when comparing object parameter to
    an equally named variable.
    Timofey Solonin
    #2471

  • Fix false positive on file_name rule with specific patterns.
    Cihat Gündüz
    #2417

  • Fix crash in no_fallthrough_only and potentially other rules when linting
    files with unicode characters in certain locations.
    JP Simard
    #2276

  • Fix violations with no character/column location not being reported in
    xcpretty. Now violations with no column location default to a column value
    of 1 indicating the start of the line.
    JP Simard
    #2267