Skip to content

Releases: crystal-ameba/ameba

v1.3.0

03 Nov 13:22
35ff162
Compare
Choose a tag to compare

What's Changed

  • Add Lint/LiteralsComparison rule by @Sija in #292, #293
  • Add Lint/NotNil rule by @Sija in #288
  • Add Lint/NotNilAfterNoBang rule by @Sija in #291
  • Enable Lint/EmptyExpression by default by @Sija in #287
  • Fix typo in a Style/VerboseBlock configuration example by @Sija in #280
  • Fix Source::Corrector#remove_{leading,trailing} methods by @Sija in #289
  • Populate Rule::Base+.parsed_doc on compile time by @Sija in #282
  • Reduce usage of Object#not_nil! by @Sija in #281
  • Use String#hash instead of Digest::SHA1.hexdigest by @Sija in #286
  • Remove trailing dots from rule descriptions by @Sija in #290

Full Changelog: v1.2.0...v1.3.0

v1.2.0

15 Oct 06:38
cac1ce4
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.1.0...v1.2.0

v1.1.0

25 Aug 07:22
a8fa39f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.1...v1.1.0

v1.0.1

02 Aug 06:58
a8c00db
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.0...v1.0.1

v1.0.0

08 Apr 07:36
e9fbfe5
Compare
Choose a tag to compare

Breaking changes

  • Drop support of Crystal < 1.4

What's Changed

New Contributors

Full Changelog: v0.14.3...v1.0.0

v0.14.4

08 Apr 14:57
Compare
Choose a tag to compare

v0.14.3

18 Apr 18:03
df14fda
Compare
Choose a tag to compare

This is a bugfix release that addresses the following issues:

  • False-positives with macro code in Style/IsAFilter rule #219
  • Ameba does not install on FreeBSD #167
  • Don't warn on "map + join" in MapInsteadOfBlock rule #226
  • Performance/AnyInsteadOfEmpty in spec context #220
  • ShadowingOuterLocalVar while it is not in macro #224

v0.14.2

29 Mar 06:20
4a6511c
Compare
Choose a tag to compare
  • Change Style/VerboseBlock - ExcludeOperators - setting default #218
  • Disable MapInsteadOfBlock by default 0881b86
  • Do not report IsAFilter if there is a block with multiple args #216

v0.14.1

14 Mar 14:22
6aaf398
Compare
Choose a tag to compare
  • Add ~ as the prefix operator to the Style/VerboseBlock rule #209
  • Default to ExcludeMultipleLineBlocks in Style/VerboseBlock rule #210
  • Use alpine:latest image in Dockerfile c1deb8a

v0.14.0

24 Feb 08:22
d8c32f0
Compare
Choose a tag to compare

New Rules

  • Lint/DuplicatedRequire #188
  • Lint/SpecFocus #204
  • Performance/JoinAfterMap #186
  • Performance/FlattenAfterMap #192
  • Performance/CompactAfterMap #193
  • Performance/ChainedCallWithNoBang #195
  • Performance/AnyInsteadOfEmpty #197
  • Style/VerboseBlock #201
  • Style/IsAFilter #202

Improvements

  • Change Rule to a class #191
  • Add --rules switch to the CLI #179
  • Add support for showing code context lines #181
  • Add support for showing end location marker #200

Bugfixes

  • Avoid exponential recursion while finding variable references in scopes #203

Credits

Huge thanks to @Sija who made a valuable commitment to this release!