All Versions
16
Latest Version
Avg Release Cycle
62 days
Latest Release
1210 days ago

Changelog History
Page 2

  • v0.9.1 Changes

    March 23, 2019
    • ๐Ÿ‘€ Now globs can be used to exclude files as a cli argument: (see 3c5e3cd)

      $ ameba path/to/shard/*.cr !path/to/shard/lib $ ameba . !lib

    • ๐Ÿ‘€ Formatting to explain the issue at a point is slightly adjusted to be markdown compatible, see f294bb6

    • ๐Ÿ†• New integrations added:

    • ๐Ÿ†• New Rule: Metrics/CyclomaticComplexity, see #92

    • ๐Ÿ‘Œ Improved Lint/LiteralInCondition rule, so it is able to report literals properly verifying them recursively. see #96

  • v0.9.0 Changes

    January 09, 2019

    ๐Ÿ†• New Features

    • ๐Ÿ†• New rules:
      • UnreachableCode #82, #83
      • RedundantReturn #87
    • ๐Ÿ‘ Allow showing the affected code in the default report #85
    • Let Ameba explain the issue at a specified location #86
    • Codacy-Ameba integration project, which is still in review by the Codacy team.

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ‘€ Correct the end location of the issue reported by ConstantNames, see e951c07
    • ๐Ÿ‘€ Correct the end location of the issue reported by MethodNames, see f8dab3b
    • ๐Ÿ‘€ Correct the line number of the issue reported by TrailingBlankLines, see 32ac199

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fix regression with UnusedArgument rule and crystal latest release, see 60ce034
  • v0.8.1 Changes

    October 20, 2018

    ๐Ÿ‘Œ Improvements

    • ๐Ÿณ Run ameba in docker #73
    • ๐Ÿ†• New rules:
      • Performance/SizeAfterFilter #74
      • Performance/AnyAfterFilter #75
      • Performance/FirstLastAfterFilter #76

    ๐Ÿ›  Bugfixes

    • ๐Ÿ”ง Generate UTC (instead of local) time in a configuration file 18ac04d
    • Correctly process record declaration at a top level #78
    • ๐Ÿ›  Fix Style/RedundantBegin: begin-end in a proc literal 12aa48c
  • v0.8.0 Changes

    August 15, 2018

    ๐Ÿ†• New Features

    • ๐Ÿ’… Now rules have namespaces (i.e. style, lint, layout), see #63
    • ๐Ÿ‘€ It became possible to run only rules that belong to a specific namespace, see #65

      $ ameba --only Style,Lint $ ameba --except Style

    • ๐Ÿ‘€ It became possible to disable a group of rules by inline directive, see 98f0aa7

      time = Time.epoch(1483859302) # ameba:disable Style, Lint

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ›  Fix Makefile to avoid rebuild if bin/ameba exists, see #69
    • ๐Ÿ‘€ Disable PredicateName and LargeNumbers rules by default, see 970ca4b
    • 0๏ธโƒฃ Now ameba accepts --all cli flag, that enables all available rules (even if they are disabled by default), 248c5a6
    • โž• Added --no-color cli flag to disable colorizing, see d60aea1

    ๐Ÿ›  Bugfixes

    • ๐Ÿ‘€ Correctly handle type declarations in scopes, see 04c7300
    • ๐Ÿ‘€ Ignore outer shadowing of throwaway variables, see dbac46b
  • v0.7.0 Changes

    June 15, 2018

    ๐Ÿ†• New Features:

    • Now Ameba has a Roadmap
    • ๐Ÿš€ Crystal 0.25.0 support, see #57
    • ๐Ÿ†• New rule ShadowingOuterLocalVar, which detects the shadowing of outer local variables, see #59
    • ๐Ÿ†• New rule ShadowedArgument, which detects the shadowing of arguments, see #60

    ๐Ÿ‘Œ Improvements:

    • ๐Ÿ‘€ Now it is possible to include/exclude files in a config using a wildcard, see #61
    • ๐Ÿ‘€ Error is renamed to Issue which is semantically more correct, see #62
    • ๐Ÿ‘€ JSON reporter now reports the end location of the issue, see #62

    ๐Ÿ›  Bugfixing:

    • ๐Ÿ‘€ Now LargeNumbers rule doesn't report false positiveness for float number with less than 3 digits after comma, see 1cea21b
    • ๐Ÿ‘€ Now RedundantBegin rule does not report false positiveness if there is an inner error handler, see 3887da1, #56
  • v0.6.0 Changes

    May 13, 2018

    ๐Ÿ†• New features:

    • Detection of useless assignments #41
    • Detection of unused arguments #52
    • JSON output formatter #54
    • ๐Ÿ‘• SublimeText linter plugin #55

    ๐Ÿ‘Œ Improvements:

    • โž• Add a space delimiter to duplicated hash keys d307f01
    • โฌ‡๏ธ Drop --no-debug flag when building 5647621
    • Constantize error messages #50
    • ๐Ÿ‘Œ Improve usage info 58e6b42

    ๐Ÿ›  Bugfixes:

    • Do not report unneeded disable directive if the directive is used one line above 1fc0c52
    • Ignore config if todo formatter is used 6579c8f