Skip to content

Latest commit

 

History

History
121 lines (101 loc) · 6.92 KB

CHANGELOG.md

File metadata and controls

121 lines (101 loc) · 6.92 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog.

Formatting Rules for Entries Each entry should use the following format:
- Summary of what was changed in a single line using past tense & followed by two whitespaces.  
  Issue: [#0](https://github.com/Flinesoft/AnyLint/issues/0) | PR: [#0](https://github.com/Flinesoft/AnyLint/pull/0) | Author: [Cihat Gündüz](https://github.com/Jeehut)

Note that at the end of the summary line, you need to add two whitespaces ( ) for correct rendering on GitHub.

If needed, pluralize to Tasks, PRs or Authors and list multiple entries separated by , . Also, remove entries not needed in the second line.

[Unreleased]

Added

  • None.

Changed

  • None.

Deprecated

  • None.

Removed

  • None.

Fixed

  • None.

Security

  • None.

[0.8.2] - 2020-06-09

Changed

  • Made internal extension methos public for usage in customCheck.
    PR: #35 | Author: Cihat Gündüz
  • Print diff out to console for multiline autocorrections that were applied.
    Issue: #27 | PR: #35 | Author: Cihat Gündüz

[0.8.1] - 2020-06-08

Changed

  • Made internal methods in types FilesSearch and Violation public for usage in customCheck.
    PR: #34 | Author: Cihat Gündüz

[0.8.0] - 2020-05-18

Added

  • Added new repeatIfAutoCorrected option to checkFileContents method to repeat the check if last run did any auto-corrections.
    Issue: #29 | PR: #31 | Author: Cihat Gündüz
  • Added new Regex Cheat Sheet section to README including a tip on how to workaround the pointer issue.
    Issue: #3 | PR: #32 | Author: Cihat Gündüz

[0.7.0] - 2020-05-18

Added

  • A new AnyLint custom check was added to ensure AnyLint fails when LinuxMain.swift isn't up-to-date, useful as a git pre-commit hook.
    Author: Cihat Gündüz | PR: #28

Changed

  • When a given autoCorrectReplacement on the checkFileContents method leads to no changes, the matched string of the given regex is considered to be already correct, thus no violation is reported anymore.
    Issue: #26 | PR: #28 | Author: Cihat Gündüz
  • A CI pipeline using GitHub Actions was setup, which is much faster as it runs multiple tasks in parallel than Bitrise.
    Author: Cihat Gündüz

[0.6.3] - 2020-05-07

Added

  • Summary output states how many files have been checked to make it easier to find include/exclude regexes.
    Author: Cihat Gündüz
  • Made Violation public for usage in customCheck methods.
    Author: Cihat Gündüz

Changed

  • Removed version specifier from lint.swift file to get always latest AnyLint library.
    Author: Cihat Gündüz

[0.6.2] - 2020-04-30

Fixed

  • Attempt to fix an issue that lead to failed builds with an error on Linux CI servers.
    Issue: #22 | Author: Cihat Gündüz

[0.6.1] - 2020-04-25

Changed

  • Hugely improved performance of subsequent file searches with the same combination of includeFilters and excludeFilters. For example, if 30 checks were sharing the same filters, each file search is now ~8x faster.
    Issue: #20 | PR: #21 | Author: Cihat Gündüz

[0.6.0] - 2020-04-23

Added

  • Added a way to specify Regex options for literal initialization via /i, /m (String) or #"\"#: "im" (Dictionary).
    PR: #18 | Author: Cihat Gündüz

[0.5.0] - 2020-04-22

Added

  • New -s / --strict option to fail on warnings as well (by default fails only on errors).
    PR: #15 | Author: Cihat Gündüz
  • New -l / --validate option to only runs validations for matchingExamples, nonMatchingExamples and autoCorrectExamples.
    PR: #17 | Author: Cihat Gündüz

[0.4.0] - 2020-04-20

Added

  • New -d / --debug option to log more info about what AnyLint is doing. Required to add a checks completion block in logSummaryAndExit and moved it up in the blank template.
    PR: #13 | Author: Cihat Gündüz

[0.3.0] - 2020-04-16

Added

  • Made AutoCorrection expressible by Dictionary literals and updated the README.md accordingly.
    Issue: #5 | PR: #11 | Author: Cihat Gündüz
  • Added option to skip checks within file contents by specifying AnyLint.skipHere: <CheckInfo.ID> or AnyLint.skipInFile: <All or CheckInfo.ID>. Checkout the Skip file content checks README section for more info.
    Issue: #9 | PR: #12 | Author: Cihat Gündüz

[0.2.0] - 2020-04-10

Added

  • Added new -x / --xcode option to print out warnings & errors in an Xcode-compatible manner to improve user experience when used with an Xcode build script. Requires arguments: CommandLine.arguments as parameters to logSummary in config file.
    Issue: #4 | PR: #8 | Author: Cihat Gündüz

[0.1.1] - 2020-03-23

Added

  • Added two simple lint check examples in first code sample in README. (Thanks for the pointer, Dave Verwer!)
    Author: Cihat Gündüz

Changed

  • Changed CheckInfo id casing convention from snake_case to UpperCamelCase in blank template.
    Author: Cihat Gündüz

[0.1.0] - 2020-03-22

Initial public release.