Releases: jfmengels/node-elm-review
Releases · jfmengels/node-elm-review
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
Fix bug preventing automatic fixes from working
v2.8.4
Small communication & docs improvements + bug fix
- Don't call process.stdout.clearLine when the environment doesn't support it fba84c0
- Update snapshots 8aa63d0
- Document --extract flag 830e704
- Document --benchmark-info 95f4b26
- Update description for --debug in help 07c7bb6
- Give a more helpful error when using an outdated version of the package 7f0538b
- Update elm-test and elm-syntax in new packages 92c1477
v2.8.2
Much faster fixes and extract functionality
(A technical mishap caused 2.8.0 to not be publishable, hence why the jump from 2.7.6 to 2.8.1)
Now requires running jfmengels/elm-review
v2.10.0.
This release is partially announced by this announcement blog post.
- By using the package's new way of handling fixes, fixes have become much faster
- Introduce
--fix-limit=N
flag to limit the number of fixes to apply before prompting the user - Introduce
--extract
to extract data from the project (needs to be run with--report=json
) - Include the information of how long a rule ran for when running with
--benchmark-info
- More tests folders are now included. Before,
elm-review
looked at the source-directories plus thetests/
folder in the root of the Elm project.
Instead,elm-review
will now look for atests/
folder next to every source-directory. This should accommodate projects with multiple Elm subprojects.
Commits: v2.7.6...v2.8.1
- Update changelog 4a7f5e0
- Update snapshots feb2c18
- Require jfmengels/elm-review v2.10.0 or higher 47a0ebf
- Fix crash when handling error 24ba303
- Ignore test-dependencies in elm.json when downloading using --template 5ab1e8a
- Document the extracts in tooling-integration 0e34fdb
- Don't enable computing extracts by default 0d61ec2
- Add missing changelog for 2.7.6 bea2388
- Report an error if fix-limit is not a positive integer 4882b94
- Change order of checks 44bef6e
- Always report extracts 557ab4b
- Add TODOs 9356cc7
- Compute cache of sources once 71977e8
- Have more consistent error handling for spawnElmJsonAsync 51e48af
- Document the --extract flag more 09c1400
- Fix extra lines printed out when fixing but not using --benchmark-info 8b5fecb
- Remove handler of rule-start and rule-end 7af4622
- Make CliCommunication.send take a list of properties 284164f
- Include tests that are stored in sub-folders 126529c
- Separate the line that count the number of fixes and the benchmark results 50c164e
- Add more inclusive terms e8e35c9
- Rename fix-logger to elm-communication 9fba028
- Remove clearFixProgress in favor of clearing inside the CLI db3f580
- Document Cli communication 4fc1901
- Rename Progress to CliCommunication d2e9040
- Remove unused message handling a9ff47e
- Use more pipelines 323c451
- Extract variable e958e1b
- Move functions to communicate with the CLI to Progress af69f0b
- Remove stray logging 78256bb
- Make timer easier and remove issue about label already existing 1217385
- Always use the apply-fix logging a362df6
- Specify fixes to ignore dbae5a9
- Put in AwaitingError mode 948b29b
- Make fixAllErrors a dict of ReviewError 46eceac
- Remove unnecessary assignment ead7c7b
- Re-run review in single fix mode 8b6d9b5
- Rename fixAll to applyFixesAfterReview 37e4e4d
- Return the new model in fixAll 456a6a4
- Rename field argument 2b6f7ad
- Remove unnecessary List.reverse 8fd1d3b
- Allow increasing the fix limit for --fix 849ef3a
- If using --fix-all always print the fix-all prompt 7859fed
- Extract function 4cc2bc0
- If there is a single error, then print the single fix proposal aad6950
- Add the file path 81588d6
- Remove unnecessary sending of error message 34d8698
- Remove constant argument to Reporter.formatFixProposal fe64412
- Add numberOfErrors2 cba99ba
- Extract variable e7b90e8
- Extract function 5247fcb
- Cause Mode_Fix to trigger the same process as fixAll fa6bcaa
- Mark argument as unused d76e02c
- Make fix limit nullable 5a733fe
- Code reformatting 01d35c8
- Add --fix-limit=N option 074d491
- Use ReviewOptions.withFixes 392b5c0
- Print the count of fixed errors from inside the message f42b5c0
- Show the number of errors in the fix prompt 8a8f8e6
- Store the rules with caching specific to the fix-all results only when changes have been accepted f609b42
- Prevent running fixes again when refusing fix-all 0f263fb
- After a fix has been applied, continue from the fixed project aa949d7
- Replace functions in compiled JS by faster ones 90595c2
- Fix infinite loop because we're applying fixes on the old model 821f3f6
- Add suppressed errors to review options b3e7936
- Register the fixed errors bd365aa
- Save result project under fixAllResultProject 723dc0b
- Print number of fixed errors 725b40c
- Print file path when we're fixing a file a81fd04
- Add fix all flag 38d156c
- Remove ProjectData and add Project 6bc86a2
- Fix report e489b92
- Only show rule performance when running with --benchmark-info 5cc2f74
- Add more logs 8e8f0a2
- Add more logs c7b582d
- Log fixes 7fe52bd
- Add timer a5ec1c5
- Connect a generic logger 5d7babe
- Add finishedRunningRule fdfe225
- Extract function 0c1ec75
- Pass objects as logger messages instead of constructed strings 3724830
- Use ReviewOptions e22d438
- Only extract when in report mode a25901c
- Properly print the entire extracts before exiting 6d122bb
- Print correct JSON 5127576
- Add extract to JSON output ff34de3
- WIP 0f2d3ea
- Send extracts to JavaScript d622d76
- Add extract option f047a8f
- Collect extracts 17c7ea6