Skip to content

Commit

Permalink
Bump version to 1.7.0-rc.2
Browse files Browse the repository at this point in the history
  • Loading branch information
rrrene committed Feb 4, 2023
1 parent 6a8d259 commit 5c9e568
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
18 changes: 17 additions & 1 deletion CHANGELOG.md
@@ -1,12 +1,14 @@
# Changelog

## 1.7.0-rc.1
## 1.7.0-rc.2

- `Credo.Check.Readability.ModuleDoc` works for Phoenix 1.7+ views
- `Credo.Check.Readability.FunctionNames` now ignores custom operators
- `Credo.Check.Refactor.Apply` now works in pipes
- `Credo.Check.Consistency.ExceptionNames` does no longer yield an issue if there is only one match
- `Credo.Check.Readability.ModuleNames` now supports an `:ignore` parameter
- `Credo.Check.Design.AliasUsage` now supports an `:if_referenced` parameter
- `Credo.Check.Readability.FunctionNames` now works for acronyms in predicate functions

### Add SARIF support

Expand Down Expand Up @@ -65,6 +67,20 @@ This means that you can extend Credo with

all while adhering to Credo's own scheme (and of course, you can simply invent a completely different naming scheme for your checks).

### Allow passing of multiple files to Mix task

It is now possible to pass a list of files to `mix credo`.

```
mix credo lib/foo.ex lib/foo/bar.ex lib/foo/baz.ex
```

This means that you can now use the output of commands to determine which files to analyse, e.g.:

```
mix credo $(git diff --name-only)
```

### Ensure stable ordering of analysis results

Continuing our quest to remove ambiguity and reduce undocumented behaviour, Credo now orders its results by default.
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
@@ -1,7 +1,7 @@
defmodule Credo.Mixfile do
use Mix.Project

@version "1.7.0-rc.1"
@version "1.7.0-rc.2"

def project do
[
Expand Down

0 comments on commit 5c9e568

Please sign in to comment.