Releases: jfmengels/node-elm-review
v2.13.2
- Update changelog c3f6cfc
- Use unique function 1b4d29d
- Report nice error message when GitHub API request returns 401 b53ff8d
- Fix --template used without --github-auth 574875c
- Yield error if source-directories is empty a856c57
- Yield error if no files were found even without CLI arguments 949725a
- Remove duplicate source-directories to look into e977912
- Check snapshots for rate limits early 0eaabb4
- Remove quotes from github-auth in test suite 4da6b57
- Fix GitHub authentication not working 4735dfd
- Update other usages of tinyglobby cd1e9b5
- Use cwd with tinyglobby to avoid Windows path issues a4ece7e
- Check that we're using the correct Node.js version when running test-sync f5b0e7e
- Add test about rate limit warnings in tests 7e80962
- Reduce blank lines in rate limit warning (#348) c2bed6b
- Reduce the number of --template tests f1cd2e8
- Revert snapshot tests to what was mean originally 5a595f9
- chore: refresh snapshots fee9f8f
- Add test for visiting extra files 5b112e8
- chore(deps-dev): bump elm-test ef1a42e
- Update snapshots 279c0ab
- Update CHANGELOG 3188296
v2.13.1
- Fixed an issue causing fix diff proposals not to be properly indented.
- Improve the error message when getting rate limit errors from GitHub after using
--template
too often. - Only require the personal access token (and not the username + personal access token) when using
--github-auth
(to prevent GitHub rate limits). - Improved performance around listing files to load.
- Removed dependency
glob
.
Multi-file fixes!
Now requires jfmengels/elm-review
v2.15.0, as well as Node.js 14 and newer.
-
Added support for multi-file fixes and file removals introduced in the Elm package (see its CHANGELOG).
-
Added
--allow-remove-files
to enable file removal in fixes -
Improved the output of the error report.
-
Added
--explain-fix-failure
to get more information about why an automatic fix failed. -
Publicly documented the
--fix-all-without-prompt
CLI flag. Please use it well! -
The
--compiler
flag now additionally resolves the compiler path using thePATH
environment variable (more easily enablingelm-review --compiler lamdera
for instance). -
The
--elm-format-path
flag now additionally resolves the path toelm-format
using thePATH
environment variable. -
Fixed an issue where the initial rule created with
elm-review new-package
was always a module rule, even when it was requested to be a project rule. Thanks to @mateusfpleite! -
Fixed an issue where files in source-directories under
elm-stuff/
would not be included in the analysis. -
Fixed an issue where colors would not show up.
-
Plenty of behind the scenes improvement to the maintenance of the repository. Thanks to @lishaduck for all of those.
-
Optimized the usages of
>>
and<<
used in the Elm code to be run.
v2.12.0
v2.11.2
- The
--ignore-dirs
and--ignore-files
flags now support absolute paths. Thanks @jamesrweb! - Fixed an issue where the CLI output would sometimes be cut off abruptly. Thanks @BrianHicks!
- When using
--watch
and--report=json
, reviews will now be triggered when files are changed even when the contents are triggered, to make it easier for editors to integrateelm-review
.
v2.11.1
Offline support
- Add an
offline
mode to preventelm-review
from making any HTTP requests. This is useful for CI environments that should not have access to the internet, where you only want to runelm-review
without arguments. - Introduce
prepare-offline
subcommand to haveelm-review
fetch and pre-build all the necessary data when it has network access to prepare for being run usingelm-review --offline
. - Replaced the internally used
elm-json
dependency withelm-solve-deps-wasm
, which should be more reliable, re-enable support for old MacOS versions as well as improve performance. - Fixed a crash when using
--template
from the same repository but from two different paths. - Fixed an issue where project rules created using
elm-review new-rule
mixed theModuleContext
andProjectContext
.
v2.11.0-beta.3
v2.11.0-beta.2
- Fix illegal FS operation on versions cache file c91aa08
2.11.0-beta.1
- Add an
offline
mode to preventelm-review
from making any HTTP requests. This is useful for CI environments that should not have access to the internet, where you only want to runelm-review
without arguments. - Replaced the internally used
elm-json
dependency withelm-solve-deps-wasm
, which should be more reliable, re-enable support for old MacOS versions as well as improve performance. - Fixed a crash when using
--template
from the same repository but from two different paths.
This is a BETA release, so I expect things to break. Please report any issues you encounter on the #elm-review channel on the Elm Slack.