| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| elm-format-0.8.6-windows-win-x64.zip.asc | 2023-03-08 | 228 Bytes | |
| elm-format-0.8.6-windows-win-x64.zip | 2023-03-08 | 7.1 MB | |
| elm-format-0.8.6-mac-x64.tgz.asc | 2023-03-01 | 228 Bytes | |
| elm-format-0.8.6-mac-x64.tgz | 2023-03-01 | 1.5 MB | |
| elm-format-0.8.6-mac-arm64.tgz.asc | 2023-03-01 | 228 Bytes | |
| elm-format-0.8.6-linux-x64.tgz.asc | 2023-03-01 | 228 Bytes | |
| elm-format-0.8.6-mac-arm64.tgz | 2023-03-01 | 9.2 MB | |
| elm-format-0.8.6-linux-x64.tgz | 2023-03-01 | 5.0 MB | |
| elm-format-0.8.6-linux-aarch64.tgz.asc | 2023-03-01 | 228 Bytes | |
| elm-format-0.8.6-linux-aarch64.tgz | 2023-03-01 | 5.9 MB | |
| 0.8.6.tar.gz | 2023-03-01 | 422.8 kB | |
| 0.8.6.zip | 2023-03-01 | 650.5 kB | |
| README.md | 2023-03-01 | 1.7 kB | |
| Totals: 13 Items | 29.8 MB | 0 | |
Much, much faster; Many, many contributors
Thanks to the contributions of many (see below), elm-format is now much faster. (Testers of the pre-release saw an 11x speedup on MacOS ARM, and a 4x speedup on other platforms.)
New features: - File are now processed in parallel
Bug fixes:
- module exposing listings containing comments no longer add extra leading spaces
- Redundant import aliases (when the alias is the same as the module name) are now removed
Other changes: - Native binaries are now provided for MacOS ARM64 (previous versions required Rosetta) - Native (statically-linked) binaries are now provided for Linux ARM64 (aarch64) - The npm installer now has zero dependencies - Performance optimization, making use of Elm 0.19's parser, thanks to @emmabastas's contributions via Google Summer of Code
Install
:::sh
npm install -g elm-format
or download from the release page.
Thanks to ...
- @emmabastas for refactoring the parser internals to integrate Elm 0.19's compiler's parser
- @lydell for processing files in parallel
- @lydell for the new dependency-free npm installer script
- @mdevlamynck for the
exposinglistings bug fix - @tfausak for linux-aarch64 build script updates
- @supermario for mac-arm64 build script updates
- Lamdera for providing CI runners to build the MacOS ARM64 release binaries
- Elm community members for testing the new binaries and npm packages
- ... and anyone who's contributed to cross-compilation support in ghc or nix in the past two years