Releases: inaka/elvis_core
Releases · inaka/elvis_core
4.2.3
What's Changed
- Extend
ignoredocumentation around using (string) filenames by @elbrujohalcon in #583
Full Changelog: 4.2.2...4.2.3
4.2.2
What's Changed
- Fix: Don't crash on deprecated/renamed rules, warn and skip instead by @NelsonVides in #552
- Fix #557: Don't try to print compiled regexes as strings by @elbrujohalcon in #558
Full Changelog: 4.2.1...4.2.2
4.2.1
What's Changed
- Fix: Crash in macro_definition_parentheses rule and relax its logic by @NelsonVides in #546
- Set new default for parallelism by @NelsonVides in #547
- Optimise rules with heavy computation by @NelsonVides in #548
- Fix: Allow glob dir patterns that match nothing by @NelsonVides in #551
- Fix: Allow string patterns in ignore lists by @NelsonVides in #550
- Add a regression test for #545 by @NelsonVides in #549
New Contributors
- @NelsonVides made their first contribution in #546
Full Changelog: 4.2.0...4.2.1
4.2.0
What's Changed
- Fix #481: Improve comparison for no_operation_on_same_value by @elbrujohalcon in #483
- Fix #484: Properly show include filenames in no_nested_hrls by @elbrujohalcon in #485
- Attempt to fix crash in export_used_types by @filmor in #489
- Propose a more consistent output message format (and hopefully simpler coding of future rules) by @paulo-ferraz-oliveira in #475
- Add forbidden_regex to macro_names by @elbrujohalcon in #492
- Move
&to$in documentation by @paulo-ferraz-oliveira in #502 - Tweak: further simplification in the code base by @paulo-ferraz-oliveira in #500
- Rename some of the rules by @paulo-ferraz-oliveira in #505
- New
erl_files(-hrl +beam) rule:{elvis_style, guard_operators}by @elbrujohalcon in #506 - #462 guard_operators fixes by @elbrujohalcon in #507
- Add ruleset for tests(#435) by @bormilan in #493
- #461: New rule: simplify_anonymous_functions by @elbrujohalcon in #511
- Allow catch expressions if the result is discarded by @elbrujohalcon in #512
- Move prefer_unquoted_atoms to elvis_style by @elbrujohalcon in #513
- #487 New rule: Prefer Include by @bormilan in #514
- Rename no_nested_hrls as no_includes by @elbrujohalcon in #519
- Handle named funs in all rules by @elbrujohalcon in #523
- Fix #431: New strict rule: strict_term_equivalence by @elbrujohalcon in #524
- New Rules for anonymous function lengths by @elbrujohalcon in #522
- Fixes from #532 review by @elbrujohalcon in #525
- revisit types by @bormilan in #530
- New Rule: Macro Definition Parentheses by @bormilan in #529
- Fix #527: Remove duplicate results by @elbrujohalcon in #531
- Fix #533: New rule: max_record_fields by @elbrujohalcon in #534
- Fix #532 and #409: New rule: max_record_fields by @elbrujohalcon in #535
- Fix #459: New rule: prefer_strict_generators by @elbrujohalcon in #537
- Revisit strict from an options' perspective by @bormilan in #536
- Add test for #539 by @elbrujohalcon in #540
- Deeper configuration parsing and validation by @paulo-ferraz-oliveira in #515
Full Changelog: 4.1.1...4.2.0
4.1.1-otp24
What's Changed
- Backport changes to otp24-release by @elbrujohalcon in #526
Full Changelog: 4.0.0-otp24...4.1.1-otp24
4.1.1-otp24-rc1
What's Changed
- Backport changes to otp24-release by @elbrujohalcon in #526
Full Changelog: 4.0.0-otp24...4.1.1-otp24-rc1
4.1.1
What's Changed
- Fix badge link and support range by @paulo-ferraz-oliveira in #474
- Alternative fix for #476 by @elbrujohalcon in #479
Full Changelog: 4.1.0...4.1.1
4.1.0
What's Changed
- New
elvis_text_stylerule:no_redundant_blank_linesby @bormilan in #381 - Add option
no_whitespace_after_limitto ruleline_lengthby @williamthome in #386 - Add option
count_docsto rulemax_module_lengthby @williamthome in #385 - New
elvis_stylerule:no_boolean_in_comparisonby @bormilan in #383 - Format codebase with
erlfmtby @bormilan in #388 - Allow test generators in default
function_naming_conventionregex by @pbrudnick in #391 - Fix false positive warning for
no_match_in_conditionby @belltoy in #394 - New
elvis_stylerule:no_operation_on_same_valueby @elbrujohalcon in #395 - Clarify documentation for rule
no_debug_callby @paulo-ferraz-oliveira in #399 - Improve documentation with "Avoid" vs. "Prefer" and "Quick fix" by @paulo-ferraz-oliveira in #403
- New
elvis_stylerule:no_single_match_maybeby @elbrujohalcon in #412 - Make documentation easier to follow with icons by @paulo-ferraz-oliveira in #413
- Add some history to the documentation by @paulo-ferraz-oliveira in #417
- New
elvis_stylerule:no_nested_hrlsby @elbrujohalcon in #429 - Spot some issues with
elvis.config(non-existing modules, non-existing rules) by @bormilan in #397 - Some minor tweaks for
andalso/orelse"ambiguity" by @paulo-ferraz-oliveira in #437 - Propose a few changes to (the codebase's) readability and shared elements by @paulo-ferraz-oliveira in #442
- Fix
operator_spacesfor [=,=>,:=,<-,<=], while adding?=to it, too by @paulo-ferraz-oliveira in #446 - Add
{gen_statem, call, 2},{gen_server, call, 2}, and{gen_event, call, 3}to optioncaveat_functionsin ruleno_common_caveats_callby @paulo-ferraz-oliveira in #450 - Improve
macro_module_names' test suite (increase it with elements from a report) by @paulo-ferraz-oliveira in #449 - Simplify
elvis_codeby @paulo-ferraz-oliveira in #447 - Fix
no_boolean_in_comparison: adds [=:=,/=,=/=] by @paulo-ferraz-oliveira in #448 - Update katana-code and remove dialyzer attribute by @elbrujohalcon in #452
- Rely on
beam_filesfor pre-processed -related analysis (no_debug_call,invalid_dynamic_call, ...) by @paulo-ferraz-oliveira in #451 - Fix
prefer_unquoted_atoms(match better) by @paulo-ferraz-oliveira in #455 - New rulesets:
hrl_files_strictandbeam_files_strictby @paulo-ferraz-oliveira in #453 - Allow for OTP behaviours to bypass
export_used_typesby @paulo-ferraz-oliveira in #457 - Lint
elvis_corefurther by @paulo-ferraz-oliveira in #456 - Reuse code when possible (minor tweak/fix to
elvis_file:module/1) by @paulo-ferraz-oliveira in #458 - Add
list_to_atom/1andbinary_to_atom/1,2to ruleno_common_caveats_call's optioncaveat_functions(default) by @paulo-ferraz-oliveira in #464 - A few minor fixes around documentation and moving towards OTP 28 by @paulo-ferraz-oliveira in #465
- Improve
invalid_dynamic_call; deprecatemacro_module_namesby @elbrujohalcon in #467 - Further code reviews on #467 by @elbrujohalcon in #468
- Add
{dbg, '_'}, {dyntrace, '_'}, {instrument, '_'}tono_debug_callby @paulo-ferraz-oliveira in #471 - New
elvis_stylerule:no_receive_without_timeoutby @elbrujohalcon in #472 - Add
{left, "."}, {left, ";"}tono_space; add{right, ";"}tooperator_spacesby @paulo-ferraz-oliveira in #470 - Support OTP 28 by @paulo-ferraz-oliveira in #466
- Add
<:=,<:-, and&&(leftandright) to ruleoperator_spacesby @paulo-ferraz-oliveira in #463
New Contributors
- @williamthome made their first contribution in #386
- @pbrudnick made their first contribution in #391
Full Changelog: 4.0.0...4.1.0
4.0.0-otp24
What's Changed
- New
elvis_text_stylerule:no_redundant_blank_linesby @bormilan in #381 - Add
no_whitespace_after_limitto theline_lengthoptions by @williamthome in #386 - Add
count_docstomax_module_lengthrule options by @williamthome in #385 - New
elvis_stylerule:no_boolean_in_comparisonby @bormilan in #383 - Format codebase with
erlfmtby @bormilan in #388 - Allow test generators in default
function_naming_conventionregex by @pbrudnick in #391 - Fix false positive warning for
no_match_in_conditionby @belltoy in #394 - New
elvis_stylerule:no_operation_on_same_valueby @elbrujohalcon in #395 - Clarify documentation for rule
no_debug_callby @paulo-ferraz-oliveira in #399 - Allow recent changes to be used in Erlang/OTP24 by @elbrujohalcon in #400
New Contributors
- @williamthome made their first contribution in #386
- @pbrudnick made their first contribution in #391
Full Changelog: 4.0.0...4.0.0-otp24
4.0.0
What's Changed
- Add opaque state as a type declaration by @belltoy in #354
- Breaking: update atom naming convention's default regex by @bormilan in #356
- feat(#297): New rule: Prefer Unquoted Atoms by @bormilan in #355
- Add a pull request template by @paulo-ferraz-oliveira in #359
- Add a security policy by @paulo-ferraz-oliveira in #361
- Minor tweaks: versioning, default elements, contributing by @paulo-ferraz-oliveira in #362
- Add a code of conduct by @paulo-ferraz-oliveira in #360
- Tweak some defaults:
macro_names,operator_spaces,no_space,function_naming_convention,module_naming_convention,no_debug_callby @paulo-ferraz-oliveira in #358 - Remove "I have performed a self-review of my changes" from the pull request template by @paulo-ferraz-oliveira in #363
- Add new ruleset,
gitignore, with rulesgitignore_required_patternsandgitignore_forbidden_patternsby @paulo-ferraz-oliveira in #357 - Feature more
no_common_caveats_calldefault options by @paulo-ferraz-oliveira in #364 - A few minor tweaks around doc. rules by @paulo-ferraz-oliveira in #366
- New
elvis_stylerule:max_function_clause_lengthby @bormilan in #365 - New
elvis_stylerule:no_init_listsby @bormilan in #367 - Closes #311 - fix no_match_in_condition reports a warning even when the condition includes a valid match by @bormilan in #368
- Closes #351 - fix false positive on no_nested_try_catch by @bormilan in #369
- fix(no_successive_maps): prevent failing on nested maps by @bormilan in #372
- Fix
protocol_for_depsallow forgit_subdir'srefandtagby @paulo-ferraz-oliveira in #373 - Ets fun2ms without ms transform by @bormilan in #374
- Fixes #352 - Avoid reporting ignored variables as used when they are used inside a macro by @bormilan in #376
- add forbidden regex by @bormilan in #377
- change(atom_naming_convention): do not apply to function names by @bormilan in #378
- add(max_function_arity): limit for non exported functions by @bormilan in #379
New Contributors
Full Changelog: 3.2.5...4.0.0