Skip to content

0.7.0: Automatic Permanent Press

Compare
Choose a tag to compare
@jpsim jpsim released this 24 Jan 22:42
· 6191 commits to main since this release

This is a big release, with lots of improvements especially with regards to configuration. Big thanks to @scottrhoyt, @marcelofabri, @norio-nomura & @garnett for their contributions to this release! 🎉

Breaking
  • Replaced all uses of XPCDictionary with
    [String: SourceKitRepresentable].
    JP Simard
  • VariableNameMinLengthRule and VariableNameMaxLengthRule have been
    removed. VariableNameRule now has this functionality.
    Scott Hoyt
  • ViolationLevelRule has been removed. This functionality is now provided
    by ConfigProviderRule and SeverityLevelsConfig.
    Scott Hoyt
Enhancements
  • TypeBodyLengthRule now does not count comment or whitespace lines.
    Marcelo Fabri
    #369
  • FunctionBodyLengthRule now does not count comment or whitespace lines.
    Marcelo Fabri
    #258
  • All Rules are now configurable in at least their severity: SeverityConfig.
    Scott Hoyt
    #371
    #130
    #268
  • TypeNameRule and VariableNameRule conform to ConfigProviderRule using
    NameConfig to support min_length, max_length, and excluded names.
    Scott Hoyt
    #388
    #259
    #191
  • Add CyclomaticComplexityRule.
    Denis Lebedev
Bug Fixes
  • Fix crash caused by infinite recursion when using nested config files.
    JP Simard
    #368
  • Fix crash when file contains NULL character.
    Norio Nomura
    #379