Skip to content

Releases: rrrene/credo

v1.7.16

27 Jan 09:36

Choose a tag to compare

Check it out on Hex: https://hex.pm/packages/credo/1.7.16

  • Fix compatibility & compiler warnings with Elixir 1.20.0-rc.1
  • Credo.Check.Refactor.PassAsyncInTestCases add new param :force_comment_on_explicit_false (defaults to false)
  • Credo.Check.Warning.Dbg add new param :allow_captures (defaults to false)
  • New Check: Credo.Check.Warning.UnusedMapOperation
  • New Check: Credo.Check.Warning.UnusedOperation

v1.7.15

26 Dec 08:14

Choose a tag to compare

Check it out on Hex: https://hex.pm/packages/credo/1.7.15

  • Improve performance on large projects
  • Parse token_metadata for source files
  • Credo.Check.Warning.ExpensiveEmptyEnumCheck have better issue messages
  • Credo.Check.Refactor.MatchInCondition add new param :allow_operators
  • Credo.Check.Refactor.MatchInCondition fix false positive
  • Credo.Check.Readability.AliasOrder fix false positive
  • Credo.Check.Readability.FunctionNames fix false positive
  • Credo.Check.Readability.SinglePipe add new param :allow_blocks (defaults to true)
  • Credo.Check.Refactor.ModuleDependencies fix false positive

v1.7.14

01 Dec 14:21

Choose a tag to compare

Check it out on Hex: https://hex.pm/packages/credo/1.7.14

  • Fixed regression for DuplicatedCode
  • Expanded Credo.Check.Warning.ExpensiveEmptyEnumCheck to cover less obvious cases
  • New Check: Credo.Check.Warning.StructFieldAmount

1.7.13

15 Oct 04:35

Choose a tag to compare

Check it out on Hex: https://hex.pm/packages/credo/1.7.13

  • Fix compatibility & compiler warnings with Elixir 1.19
  • Credo.Check.Refactor.ABCSize fixed false positive

v1.7.12

17 Apr 04:20

Choose a tag to compare

Check it out on Hex: https://hex.pm/packages/credo/1.7.12

  • Fix compatibility & compiler warnings with Elixir 1.19 (dev)
  • Provide :column on all checks
  • Fix check docs in other project's documentation
  • Credo.Check.Refactor.DoubleBooleanNegation fixed false positive
  • Credo.Check.Readability.NestedFunctionCalls fixed false positive
  • Credo.Check.Consistency.UnusedVariableNames fixed duplicate issues

v1.7.11

28 Dec 19:47

Choose a tag to compare

Check it out on Hex: https://hex.pm/packages/credo/1.7.11

  • Fix compatibility & compiler warnings with Elixir 1.18
  • Fix crashing for invalid strings in issue messages
  • Show required Elixir version for skipped checks
  • Add options :exit_status and :category to format_issue/2 when using Credo.Check
  • Credo.Check.Readability.ModuleDoc fixed false positive
  • Credo.Check.Warning.UnusedEnumOperation fixed false positive
  • Credo.Check.Refactor.ABCSize fixed false positive for tuples and underscored matches (_foo)

v1.7.10

04 Nov 20:31

Choose a tag to compare

v1.7.9

03 Nov 16:01

Choose a tag to compare

Check it out on Hex: https://hex.pm/packages/credo/1.7.9

  • Credo.Check.Refactor.ABCSize fixed false positive for pin operator (^)
  • Credo.Check.Readability.FunctionNames fixed false positive for pow operator (**)
  • Fixed a bug in Credo.Code.Parameters when couting parameters for functions with guards

v1.7.8

26 Sep 17:00

Choose a tag to compare

Check it out on Hex: https://hex.pm/packages/credo/1.7.8

  • Credo.Check.Refactor.Apply fixed false positive
  • Credo.Check.Warning.IoInspect fixed false positive
  • Credo.Check.Warning.UnsafeToAtom fixed false positive
  • Credo.Check.Readability.FunctionNames fixed false positive

v1.7.7

12 Jun 20:29

Choose a tag to compare

Check it out on Hex: https://hex.pm/packages/credo/1.7.7

  • Fix compatibility & compiler warnings with Elixir 1.17
  • Credo.Check.Design.SkipTestWithoutComment, Credo.Check.Refactor.PassAsyncInTestCases and Credo.Check.Warning.WrongTestFileExtension now work for umrella apps