Releases: numtide/treefmt
Releases · numtide/treefmt
v2.0.0-rc2
Changelog
- ff3bfaa: feat: demote some cache related logging to debug level (@brianmcgee)
- 06e4145: feat: error out when a path matches multiple formatters (@brianmcgee)
- 385fbc3: feat: improve formatter cache debug logging (@brianmcgee)
- 3c264c6: feat: log out the formatter command being applied at debug level (@brianmcgee)
- c002eca: feat: log out when a path is not matched to any formatter (@brianmcgee)
- affbb99: feat: switch back to numtide/treefmt-nix (@brianmcgee)
- 24114f5: feat: update go modules (@brianmcgee)
- f7cc274: fix wording (@fricklerhandwerk)
- 4d07521: fix: -f short flag for specifying formatters (@brianmcgee)
- 3649e47: fix: support core.untrackedCache in git (@brianmcgee)
- 2b94480: fix: use resolved executable when applying a formatter (@brianmcgee)
v2.0.0-rc1
We have chosen to re-write treefmt
in Go, but have tried to retain backwards compatibility as much as possible. For the most part, treefmt
2.0 should be a drop in replacement for 1.0.
Where users may find some differences in behaviour is in how treefmt
2.0 traverses the filesystem. See below for an explanation of walkers
.
If you have any problems please create an issue and we will do our best to resolve it in a timely fashion.
Features
- migrated cache storage from Toml to boltdb
- introduced the concept of
walkers
to make traversal of the filesystem extensible. Currently supportsauto
,git
andfilesystem
. You no longer have to exclude the.git
directory, andtreefmt
will traverse files based on the git index if a.git
directory is detected. - introduced the concept of pipelines to allow grouping of related formatters into a deterministic sequence
- improved performance by up to 8x when cached based on a nixpkgs benchmark
- migrated docs from mkdocs to vitepress
- docs are now hosted under a custom domain, treefmt.com
Changelog
- 4f004de: Merge branch 'main' into dependabot/github_actions/actions/setup-go-5 (@mergify[bot])
- 87e844a: Merge branch 'main' into dependabot/github_actions/goreleaser/goreleaser-action-5 (@mergify[bot])
- 9328b46: Merge pull request #1 from numtide/feat/improve-stdin-and-path-processing (@brianmcgee)
- 3d165d7: Merge pull request #10 from numtide/fix/race-condition (@brianmcgee)
- 243d1be: Merge pull request #2 from numtide/feat/cpu-profiling (@brianmcgee)
- 3ed9fc9: Merge pull request #287 from numtide/dependabot/pip/test/examples/python/flask-2.2.5 (@brianmcgee)
- 3e73f5d: Merge pull request #288 from numtide/dependabot/github_actions/goreleaser/goreleaser-action-5 (@mergify[bot])
- 010a6cf: Merge pull request #289 from numtide/dependabot/github_actions/actions/setup-go-5 (@mergify[bot])
- b7458e6: Merge pull request #3 from numtide/fix/ci-deploy-pages-on-main (@brianmcgee)
- 306fe0f: Merge pull request #4 from numtide/dependabot/github_actions/cachix/install-nix-action-26 (@brianmcgee)
- 7aa2ad6: Merge pull request #5 from numtide/feat/nix-ci (@brianmcgee)
- fe1fad5: Merge pull request #6 from numtide/feat/release-workflow (@brianmcgee)
- 0dd4344: Merge pull request #7 from numtide/feat/improve-docs (@brianmcgee)
- 2188358: Merge pull request #8 from numtide/chore/set-package-version (@brianmcgee)
- 39b73b8: Merge pull request #9 from numtide/fix/install-docs-dependencies (@brianmcgee)
- 9de4fd4: Merge pull request 'Feature parity with treefmt.rs' (#22) from feat/explicit-paths-and-stdin into main ( <>)
- 8333c99: Merge pull request 'Implement Init and fix setting build variables' (#26) from feat/init into main ( <>)
- 964330f: Merge pull request 'Port README' (#35) from feat/port-readme into main ( <>)
- 618f6f7: Merge pull request 'Stats output similar to treefmt.rs' (#33) from feat/stats into main ( <>)
- d3cdb69: Merge pull request 'feat/configure-treefmt-pipeline' (#32) from feat/configure-treefmt-pipeline into main ( <>)
- 5d341f9: Merge pull request 'feat: introduce concept of pipelines for better concurrency' (#30) from feat/concurrency-refactor into main ( <>)
- 404b0a9: Merge pull request 'improve caching and tracking' (#34) from feat/improve-caching into main ( <>)
- 2ad2cef: Merge pull request 'port docs' (#31) from feat/docs into main ( <>)
- 187375c: README: update link to the Rust v1 (@zimbatm)
- 400d0c7: Revert "chore: temporarily remove settings.yml workflow" (@brianmcgee)
- 8de5446: Revert "ci: add go workflow" (@brianmcgee)
- 8df73f7: chore(deps): bump actions/setup-go from 4 to 5 (@dependabot[bot])
- 4b47097: chore(deps): bump cachix/install-nix-action from 25 to 26 (@dependabot[bot])
- 039888b: chore(deps): bump flask from 0.12.1 to 2.2.5 in /test/examples/python (@dependabot[bot])
- feaf2b7: chore(deps): bump goreleaser/goreleaser-action from 4 to 5 (@dependabot[bot])
- 978eb48: ci: add go workflow (@brianmcgee)
- e5a6cc6: ci: handle releases with goreleaser (@zimbatm)
- 73a224a: ci: only deploy github pages on main (@brianmcgee)
- 183fbf7: ci: remove henri (@brianmcgee)
- e232ffe: ci: testing alternative gh pages upload action (@brianmcgee)
- 9cc0ab7: ci: testing alternative gh pages workflow (@brianmcgee)
- e6fe431: ci: tweak repo settings (@brianmcgee)
- ead81a6: ci: update gh pages action in github workflow (@brianmcgee)
- aa07c0a: doc: add favicon (@brianmcgee)
- fc8d8f3: doc: add footer (@brianmcgee)
- b01ea77: doc: add init gif (@brianmcgee)
- 95c6cdb: doc: add some devshell helpers (@brianmcgee)
- c68ef40: doc: adjust formatting in README (@brianmcgee)
- 926c1b2: doc: change project url to github.com/numtide/treefmt.go (@brianmcgee)
- b86d0f8: doc: configure hero and logo (@brianmcgee)
- e7f6bfa: doc: explain re-write in Go (@brianmcgee)
- e252f6b: doc: fix bad formatter spec link (@brianmcgee)
- b11474c: doc: fix copyright notice (@brianmcgee)
- 311e46a: doc: fix docs package build (@brianmcgee)
- 54d3cd0: doc: fix license link in footer (@brianmcgee)
- aa2b9e8: doc: fix social links (@brianmcgee)
- 17f354b: doc: improve hero gif (@brianmcgee)
- ea6fe2d: doc: improve treefmt.gif (@brianmcgee)
- f5c81e6: doc: initial port of README (@brianmcgee)
- 361c5a9: doc: minor tweak to README (@brianmcgee)
- 894f90f: doc: move assets into public folder (@brianmcgee)
- 7372273: doc: port existing content (@brianmcgee)
- 0a2a823: doc: reduce use of anchors for Rust and Go in README (@brianmcgee)
- 4d60509: doc: refine contributing (@brianmcgee)
- e5da10e: doc: refine docs and usage (@brianmcgee)
- 6070b6f: doc: refine faq (@brianmcgee)
- d9ee97a: doc: refine formatter spec (@brianmcgee)
- 8e840a9: doc: refine installation (@brianmcgee)
- 2f557e3: doc: refine overview (@brianmcgee)
- 577c608: doc: refine quick start content (@brianmcgee)
- f1c80ed: doc: refine usage (@brianmcgee)
- 097b701: doc: remove features on home page (@brianmcgee)
- 7806581: doc: set base url to work in github pages (@brianmcgee)
- 07989c7: doc: some initial experiments with colors (@brianmcgee)
- c815a21: doc: switch to treefmt.com domain (@brianmcgee)
- 92f8d58: doc: update fmt.gif (@brianmcgee)
- 482e497: doc: update github link (@brianmcgee)
- f4700c4: doc: update licence copyright year (@brianmcgee)
- 8323ca3: doc: update rust version link in readme (@brianmcgee)
- 352dfff: doc: update stats in overview (@brianmcgee)
- e3fabb1: doc: update usage with info about walkers. (@brianmcgee)
- 811f883: feat/bust-cache-validators-change (#14) (@brianmcgee)
- cb9564c: feat: add -s -w build flags to reduce binary size (@brianmcgee)
- 4ffe2ca: feat: add CGO dependencies to devshell (@brianmcgee)
- 2b49923: feat: add an example of 'before' (@brianmcgee)
- a79ae95: feat: add cpu profile flag (@brianmcgee)
- ad3e661: feat: add flake compat (@brianmcgee)
- aa75d3d: feat: add initial github workflow (@brianmcgee)
- 4dd4c55: feat: add nix direnv source to .envrc (@brianmcgee)
- ebfd17b: feat: add nix git...
v0.6.1
fixup! Release v0.6.1
v0.6.0
A quality of life release. Lots of small fixes and tweaks around the usage.
- docs: better formatter-spec structure, lots of fixes everywhere
- docs: use mkdocs-numtide (#227)
- feat: clap integration (#214)
- feat: improve the formatter load error (#211)
- feat: more concise stats (#190)
- feat: replace custom log with env_logger (#199)
- feat: update rust to 1.65.0 (#193)
- fix: Don't ignore --config-file when using --stdin (#231)
- fix: change default log level to info (#212)
- fix: default log level should be 'Warn' not 'Off' (#207)
- fix: log formatter error as warn instead of info (#207)
- fix: minor typos (#248)
- fix: stop symlinked tree root being deref'd (#252)
- fix: treefmt --stdin when changes are moved into tempfile (#225)
- flake: expose the list of supported systems (#228)
- flake: make treefmt the default package
- flake: move treefmt.withConfig to a separate repo (#204)
- repo: switch default branch to main
v0.5.0
* docs: fix typos (#183) * docs: formatters-spec: clarify syntax and semantics rule * docs: terraform 1.3.0 accepts a list of files * docs: treefmt.toml: add warning for sh -c * feat: add --formatters option (#168) * feat: add pre-commit contrib script (#166) * feat: add support for `.treefmt.toml` (#172) * feat: hard fail on missing tools (#189) * feat: lazily create the cache directory (#174) * feat: treefmt.withConfig (#169, #181) * fix: ignore .direnv (#175) * nix: move ci dependencies to the devShell (#161) * nix: switch to `flake-parts` (#176)
v0.4.1
Release v0.4.1
v0.4.0
Release v0.4.0
v0.3.0
- formatter: noop on zero args
- treefmt.toml: add shellcheck example
- doc: add inline script example
- Handle the case where no formatter match path for stdin (#138)
- Trade in naersk for a newer version of nixpkgs (#134)
- Add meta.description to play nicely with devshell menu (#132)
- allow config files to be independent from worktree location (#131)
- display round ms
v0.2.6
Release v0.2.6
v0.2.5
Release v0.2.5