0.4.0
Added
-
A text user interface with a progress-bar
and modern, colorful output (requires a tty).When no tty is available
or in non-interactive environments like a CI/CD
or when piping alejandra to other commands ($ alejandra 2> file
,$ alejandra | cat
)
the old school program output will be used. -
A
--exclude
option to the CLI. -
Refactors to the codebase. We now comply with
clippy
, a Rust linter. -
A new structure to the codebase and link time optimizations.
Binaries were reduced in size by 15%
with respect to the previous release
(even with the added features),
performance was improved in the reference machine
from 45 seconds to 35 while formatting Nixpkgs on a single core.
Changed
-
The old school program output is now less verbose.
It prints only the path of files that were changed,
and a summary of the number of errors and files changed during formatting.
Removed
- The
--debug
flag in the CLI.
What's Changed
- feat: release 0.3.0 by @kamadorueda in #149
- feat: crosscompile more by @kamadorueda in #150
- Ignore the generated list of nixpkgs files for language stats by @tazjin in #152
- style: format cargo lock by @kamadorueda in #153
- perf: improve cache hits on code builds by @kamadorueda in #154
- feat: make musl binaries really static by @kamadorueda in #155
- feat: shaped with love by more people by @kamadorueda in #156
- perf: use gnu as native binary by @kamadorueda in #157
- feat: only cross compile static binaries by @kamadorueda in #158
- feat: pin nix-env urls by @kamadorueda in #159
- docs: update changelog by @kamadorueda in #160
- Print stats when formatting trees by @tomberek in #161
- fix: attempt to substract with overflow by @kamadorueda in #162
- Kamadorueda by @kamadorueda in #163
- feat: add a text user interface by @kamadorueda in #164
- refactor: remove noisy logging by @kamadorueda in #165
- refactor: drop --debug flag by @kamadorueda in #166
- refactor: remove commented code by @kamadorueda in #167
- feat: property handle errors by @kamadorueda in #168
- refactor: solve clippy warnings by @kamadorueda in #170
- docs: udpate stats by @kamadorueda in #171
- refactor: solve clippy warnings by @kamadorueda in #172
- refactor: organize project by @kamadorueda in #173
- test: engine only by @kamadorueda in #174
- perf: enable lto by @kamadorueda in #175
- feat: --exclude flag by @kamadorueda in #176
- feat: release 0.4.0 by @kamadorueda in #177
New Contributors
Full Changelog: 0.3.0...0.4.0