Skip to content

v2.2.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 31 Mar 12:32
· 4 commits to main since this release
v2.2.0
0773976

Changelog

Features

  • we now traverse untracked files in the git walker.
  • a new -q|--quiet flag has been added which will suppress all output except for errors.
  • for users who don't quiet need treefmt-nix but still want to configure treefmt with nix, there are now
    treefmt.withConfig and treefmt.buildConfig helper functions exposed directly from the package itself (NixOS/nixpkgs#390147).

Bugfixes

  • we now ignore symlinks when traversing.
  • static shell completions should now work for bash, zsh and fish, and can be generated with
    treefmt --completion <bash|zsh|fish>.
  • improved error reporting if a formatter command cannot be found.
  • we no longer hang for 10 seconds when stderr is a dumb tty.

Nixpkgs PR Tracker

https://nixpkgs-tracker.ocfox.me/?pr=394906

Changelog