Skip to content

treefmt 2.2.0#217409

Merged
BrewTestBot merged 2 commits intomasterfrom
bump-treefmt-2.2.0
Mar 31, 2025
Merged

treefmt 2.2.0#217409
BrewTestBot merged 2 commits intomasterfrom
bump-treefmt-2.2.0

Conversation

@BrewTestBot
Copy link
Contributor

Created by brew bump


Created with brew bump-formula-pr.

Details

release notes
## 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 (treefmt: add configuration wrappers 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

  • 621144f040f1a585b6159902f250db9af971ccd7: better error if command cannot be found (@Mic92)
  • 855eb9aaa83367fac451069adc9f91a96ae588a9: docs(README): update motivation (@zimbatm)
  • f4336fd6b967e757e09d58ed72966e06ba82a78a: feat(docs): auto-generate usage snippet (@brianmcgee)
  • 583681d0794690c2544bf65db057245e50a130fb: feat(docs): improve docs package (@brianmcgee)
  • 5861604b32db03a1ff6fdf06e9d8594d76c33274: feat(docs): refine setup (@brianmcgee)
  • 3828aaf226c1d3673d809704938931315c819a75: feat(docs): rename content directory to site (@brianmcgee)
  • b0731a2b8a9cd7cc3d28a21efdf35990c3745f3e: feat: add withConfig & buildConfig from nixpkgs (@MattSturgeon)
  • 10c9a72c0b28e9bcef2f0166c006136ac0141fa9: feat: add a quiet flag to suppress all output except for errors (@brianmcgee)
  • b76d83959153845ffcea6bd95d346814ac7e04a9: feat: change default log level for unmatched to INFO instead of WARN (@brianmcgee)
  • 43f943f8c37b15ad7382c8fd85f516794b89a1b4: feat: enforce formatter name format (@brianmcgee)
  • 30e1ecd6fba32471ce0f932c2f4476a29595044e: feat: improve error handling in format Run method (@brianmcgee)
  • d182c6d3c9763cac3c4f1365bd69c54741e00725: feat: log the config file used at DEBUG level instead of INFO (@brianmcgee)
  • 21cefd77ad2587235ea4cf144d960f8dbf3cab55: feat: print stats to stderr instead of stdout (@brianmcgee)
  • 9662ee657c9e6c52f1758b13da98ad2391304c48: feat: traverse untracked files in git walker (@brianmcgee)
  • d17a8d6325e1b437a3682d5ba48c2a5234d919a2: feat: update to go 1.24 (@brianmcgee)
  • e90b9520ce33af6cdaa07a69fbb7fb655b7d1f21: fix(go): update termenv to v0.16.0 (@zimbatm)
  • d82a9fc200de65ce12e9ce3fc41bf44d3aef4ed1: fix: bad usage of require.Errorf (@brianmcgee)
  • ce65379baa288c35220a2cf6ae0a4835a195fb18: fix: ignoring symlinks (#528) (@gabyx)
  • bbf3177a6a51480dd5b46b4bb5565cc01e1f3ec2: fix: move path resolution logging to debug instead of error (@brianmcgee)
  • 2503227d61964aa977e7ad3b3e37ccd430cd95f5: fix: shell completions (@brianmcgee)

@github-actions github-actions bot added go Go use is a significant feature of the PR or issue bump-formula-pr PR was created using `brew bump-formula-pr` labels Mar 31, 2025
@github-actions
Copy link
Contributor

🤖 An automated task has requested bottles to be published to this PR.

Please do not push to this PR branch before the bottle commits have been pushed, as this results in a state that is difficult to recover from. If you need to resolve a merge conflict, please use a merge commit. Do not force-push to this PR branch.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Mar 31, 2025
@BrewTestBot BrewTestBot enabled auto-merge March 31, 2025 14:52
@BrewTestBot BrewTestBot added this pull request to the merge queue Mar 31, 2025
Merged via the queue into master with commit 8a52373 Mar 31, 2025
14 checks passed
@BrewTestBot BrewTestBot deleted the bump-treefmt-2.2.0 branch March 31, 2025 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bump-formula-pr PR was created using `brew bump-formula-pr` CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. go Go use is a significant feature of the PR or issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants