Releases: crystal-ameba/ameba
Releases · crystal-ameba/ameba
v1.3.0
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 ofDigest::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
v1.1.0
v1.0.1
What's Changed
- Fix regression in
AnyInsteadOfEmpty
rule by @Sija in #268 - Build ameba with MT by default by @carlhoerberg in #269
- Fix new crystal compiler restriction issue by @mamantoha in #271
New Contributors
- @carlhoerberg made their first contribution in #269
Full Changelog: v1.0.0...v1.0.1
v1.0.0
Breaking changes
- Drop support of Crystal < 1.4
What's Changed
- Crystal 1.4 compatibility by @veelenga in #259
- Count an exhaustive
case
complexity as 1 by @caspiano in #238 - Fix typos throughout the codebase by @Sija in #239
- Add
Lint/AmbiguousAssignment
rule by @FnControlOption in #244 - Add
expect_issue
andexpect_no_issues
spec helpers by @FnControlOption in #245 - Allow named replacements in
expect_issue
by @FnControlOption in #246 - Add autocorrect by @FnControlOption in #248
- Use
expect_issue
inStyle
specs by @FnControlOption in #250 - Do not report unreachable code after loops by @veelenga in #252
- Autocorrect various rules by @FnControlOption in #253
- Fix unexpected token compiler error match by @straight-shoota in #255
- Add
Style/GuardClause
rule by @FnControlOption in #254 - Add
Lint/DebugCalls
rule by @Sija in #256 - Bump default value of
LargeNumbers#int_min_digits
to 6 by @Sija in #258 - Ignore macro scopes in
ShadowingOuterLocalVar
by @Sija in #260 - Convert more specs to use assertion helpers by @Sija in #261
- Change
crystal
version constraint to~> 1.4.0
by @Sija in #263
New Contributors
- @caspiano made their first contribution in #238
- @FnControlOption made their first contribution in #244
Full Changelog: v0.14.3...v1.0.0
v0.14.4
v0.14.3
This is a bugfix release that addresses the following issues:
v0.14.2
v0.14.1
v0.14.0
New Rules
Lint/DuplicatedRequire
#188Lint/SpecFocus
#204Performance/JoinAfterMap
#186Performance/FlattenAfterMap
#192Performance/CompactAfterMap
#193Performance/ChainedCallWithNoBang
#195Performance/AnyInsteadOfEmpty
#197Style/VerboseBlock
#201Style/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!