All Versions
115
Latest Version
Avg Release Cycle
8 days
Latest Release
-
Changelog History
Page 9
Changelog History
Page 9
-
v0.4.6 Changes
- โ Add
ignore_specs
option toMaxLineLength
- ๐ Fix false positives for
LargeNumbers
in Elixir>= 1.3.2
- ๐ Fix compiler warnings in preparation for Elixir v1.4
- โ Add
-
v0.4.5 Changes
- โ Warnings about redeclaring names of Kernel or local functions now only consider function of arity zero.
- โ Warnings for operations with constant result now ignore division by 1
- ๐ Better explanation how to configure checks in
explain
output
-
v0.4.4 Changes
- New check: readability/parentheses_in_condition
-
v0.4.3 Changes
- ๐ Fix compatibility issues in
Credo.CLI.Command.GenCheck
for Elixir < 1.2
- ๐ Fix compatibility issues in
-
v0.4.2 Changes
- ๐ Fix outdated comments regarding .credo.exs in README
- ๐ Fix name generator including "Lib." prefix for custom checks
-
v0.4.1 Changes
- ๐ Maintenance release because I apparently don't understand how merging works :sweat:
-
v0.4.0 Changes
๐ Custom check support
- โ Adds support for custom checks in your projects.
Using two new mix commands
mix credo.gen.config
andmix credo.gen.check
you can generate the boilerplate to include custom checks in your projects.๐ฅ BREAKING CHANGE: Checks listed in
.credo.exs
- Prior to
v0.4.0
,.credo.exs
contained the full list of checks specific to your project - ๐ Starting with
v0.4.0
the check list incredo.exs
will be merged with the standard check list, with your definitions overwriting the defaults - ๐ PRO: you can customize individual tasks to your liking and still benefit from additional standard checks with each new release
- CON: this means checks have to be disabled explicitly in
.credo.exs
๐ New Checks
- readability/large_numbers
- warning/bool_operation_on_same_values
- warning/unused_file_operation
- warning/unused_path_operation
- warning/unused_regex_operation
Minor Improvements
- Ready for Elixir 1.3
- Checks for new Credo versions automatically, like Hex does (can be disabled)
- Umbrella apps work out of the box now
- DuplicatedCode can now ignore macro calls
- ModuleDoc now ignores modules declaring exceptions
- ModuleDoc now allows modules to be ignored based on their name
- MatchInCondition now allows "simple" wildcard assignments in conditionals
- Checks analysing all files in the codebase sequentially (consistency checks) are now run in parallel
- If
--only
is given, all issues are shown (mix credo --only MaxLineLength
previously yielded no results, since all issues needed--strict
to actually be displayed)
-
v0.3.13 Changes
- ๐ Fix false positives for
NameRedeclarationByDef
. - ๐ Fix false positives for
UnusedEnumOperation
.
- ๐ Fix false positives for
-
v0.3.12 Changes
- ๐ Fix false positives for
SpaceInParentheses
. - ๐ Fix false positive for
SpaceAroundOperators
.
- ๐ Fix false positives for
-
v0.3.11 Changes
- ๐ Fix a bug with checks on function names when declaring a variable with the name
def
,defp
ordefmacro
.
- ๐ Fix a bug with checks on function names when declaring a variable with the name