Releases: jfmengels/node-elm-review
Releases · jfmengels/node-elm-review
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.
v2.10.3
- Fixed crash when too many errors were reported.
- Improved guidance after using
elm-review init --template <some-template>
.
Better starter templates for new-rule
- Bump http-cache-semantics from 4.1.0 to 4.1.1 c606608
- Bump json5 and tsconfig-paths 72ae555
- Bump decode-uri-component from 0.2.0 to 0.2.2 f256efc
- Bump minimatch from 3.0.4 to 3.0.8 248eb10
- Remove mentions of 'Downloading elm-json' in test output f8fdbe7
- Fix formatting e538ad1
- Add a hint in the prompt 479d85c
- Generate a separate template for project rules a2b790e
- Split body template into a separate function 4bba8a4
- Add the --rule-type flag to new-package 42a832d
- Prompt for the rule-type if needed 4d0cf4f
- Add --rule-type in tests and create a project rule in the tests 691fa8d
- Add --rule-type flag to new-rule 731f515
- Add a test by default that does not expect errors d8fe998
- Change the template for new-rule 86e7dd0
- Update dependencies created by new-package 58e1ebf
- Fix formatting issues dd928fb
- Fix file caching issue on Windows a8d37e7
- Use longer timeout in jest 7fbe058
- Fix xo errors 0f472bf
- Cache replacer: Don't crash when null is encountered d35e821
- Update snapshots a0f3095
- Enable NoDeprecated in the review configuration for new-package 983c073
- Bump dependencies for new-package review configuration d1fe9b9
What's Changed
- Fix CI failures by @kachick in #104
- Fix watch issue on Windows by @bdukes in #107
- Add a template for project rules using new-rule by @jfmengels in #108
- Remove mentions of 'Downloading elm-json' in test output by @jfmengels in #109
- Bump minimatch from 3.0.4 to 3.0.8 by @dependabot in #92
- Bump decode-uri-component from 0.2.0 to 0.2.2 by @dependabot in #88
- Bump json5 and tsconfig-paths by @dependabot in #96
- Bump http-cache-semantics from 4.1.0 to 4.1.1 by @dependabot in #102
New Contributors
Full Changelog: v2.9.1...v2.9.2
Improve serialization of contexts
Optimizes the internal stringification of project contexts. Hopefully this will improve performance, but it's mostly useful to avoid stack overflows during that process.
v2.9.0
Now requires jfmengels/elm-review
v2.11.0.
- Adds a file-system cache for the linting results, which improves performance by quite a bit.
- Improve the error message when indicated that the package version is not supported
- Fix a problem where in watch and fix mode, the CLI sometimes remained stuck.
- Add changelog for 2.9.0 b460890
- Improve error message for outdated messages 8423b76
- Fix expected test output 0c93e9a
- Prevent crashing when caching is disabled 7d34248
- Require jfmengels/elm-review 2.11.0 or higher 3e6ef02
- Upgrade elm-review dependency 4bac96e
- Fix crash in --watch mode 1312fbe
- Make the appHash for a template its commit hash ad503b4
- Add JSON replacer/reviver to support NaN and Infinity values b08b527
- Check if there is a promise to resolve before calling it 2011ba1
- Support injecting the cache when not using LOCAL_ELM_REVIEW_SRC 97a2fc3
- Disable caching when files/dirs are specified or ignored 914d077
- Fix crash resultCachePath in watch mode 8bbc059
- Load the result cache when initializing the app 6fd3386
- Compute the cache folder inside ResultCache.load ab1ac95
- Disable result-caching in debug mode fc9589b
- Make result-cache work for Node.js v10 7f7a052
- Formatting 3c221c3
- Make elmReviewResultCache a Map be09658
- Make promisesToResolve a Map 72d6a02
- Clear up the cache when re-loading the cache f212c1b
- CLean up 621148c
- Avoid recreating worker unnecessarily edbe0fa
- Load the result cache in watch mode as well 9e8e0b5
- Write the result-cache files from a worker thread f85a6fd
- Avoid creating the cache folder multiple times 37e6e18
- Show how long it took to write a result-cache file 845bbf7
- Remove redundant error handling for caching results 7fc6cfc
- Avoid crashing on invalid JSON 98bfd1a
- Pass the cache key 9048f88
- Don't benchmark caching results ce13a51
- Remove unnecessary argument 742fb7e
- Avoid rules with the same name from conflicting 0aa0ef3
- Provide a function rather than a record 4a51946
- Make sure that the cache is loaded before starting the review in the worker 9a7e2f5
- Load the cache in the app in the worker 53bef1b
- Pass cache folder to ResultCache.load 9adb766
- Add resultCacheFolder to the app flags 6711454
- Rename options.rules to options.rulesFilter ca8a1bc
- Avoid writing to the memory result cache 8a6d7c8
- Fix benchmarking c7979de
- Save result cache for each rule independently when we're done reviewing it 487cd32
- Formatting 88f25ef
- Fix waiting working on undefined 697962a
- Using benchmark to log time spent caching results 5a032ef
- Enable hacky communication for non-TTY systems dfc251b
- Reformat code 78bfb9f
- Don't apply caching replacements to the parser app build ce602cb
- Remove try catch 42787fa
- Define result cache location in options f80e783
- Clean up result cache folder handling bd4c90b
- Remove gzip compression 886a5c5
- Remove exposing of safeConsoleLog 62971be
- Benchmark printing report fceeee6
- Only load some rules if --rules is used 8167687
- Rename RuleCaches to ResultCache 748aff0
- Cache stringifying a context 01b43e5
- Save cache prettified if in the debug mode c8b56d4
- Update optimization targets f992864
- Put hashes into a map 7b2e301
- Don't try to load files if dir is empty 1eb4e0c
- Add replacement to convert contexts to comparable integers 5a361f7
- Revert "DEBUG" 43ec50f
- DEBUG d5bca60
- Read individual cached files 26c4e47
- Fix gzip loading 1d46ee3
- Only save individual files 713619e
- Write rules individually c9c3722
- Remove hardcoding of appHash 2f8aca0
- Rename RuleCaches functions 03b847b
- Make reading async 3d4acfe
- Move loading the cache at the same time as loading the files a5d2763
- Load cache in parallel of building the wrapper 1a5d54f
- Exit earlier if there is no elm module path 61ee802
- formatting 78be302
- Add timers c3b6d6c
- Make it easy to try out both gzip and simple json cd80d36
- Reorder arguments d67cd5b
- Optimize the JS bundle even in debug mode dc3c7f8
- TODO 47935a1
- Deflate the gzipped cache 695653f
- Rename 5f58b93
- Succeed in gzipping the cache 3f7c2f9
- Succeed in writing to the file system bf91ac0
- Write cache to file system 644cca8
- Read the cache 89a8cd3
- Add mechanism to inject a cache 8fc9970
- Update snapshots b50c04d
- Prevent optimizing the code if the build failed 8d74890
- Fix watch mode blocking forever when undoing a fix fa4aea0
- Update snapshots 7cda67e