| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| checksums.txt | 2025-10-22 | 809 Bytes | |
| checksums.txt.pem | 2025-10-22 | 3.2 kB | |
| checksums.txt.sig | 2025-10-22 | 96 Bytes | |
| yamlfmt_0.20.0_Darwin_arm64.tar.gz | 2025-10-22 | 1.7 MB | |
| yamlfmt_0.20.0_Darwin_x86_64.tar.gz | 2025-10-22 | 1.8 MB | |
| yamlfmt_0.20.0_Linux_arm64.tar.gz | 2025-10-22 | 1.7 MB | |
| yamlfmt_0.20.0_Linux_i386.tar.gz | 2025-10-22 | 1.7 MB | |
| yamlfmt_0.20.0_Linux_x86_64.tar.gz | 2025-10-22 | 1.8 MB | |
| yamlfmt_0.20.0_Windows_arm64.tar.gz | 2025-10-22 | 1.7 MB | |
| yamlfmt_0.20.0_Windows_i386.tar.gz | 2025-10-22 | 1.8 MB | |
| yamlfmt_0.20.0_Windows_x86_64.tar.gz | 2025-10-22 | 1.9 MB | |
| README.md | 2025-10-22 | 947 Bytes | |
| v0.20.0 source code.tar.gz | 2025-10-22 | 154.8 kB | |
| v0.20.0 source code.zip | 2025-10-22 | 268.7 kB | |
| Totals: 14 Items | 14.5 MB | 2 | |
Features
-version flag works when using go install
The previous method of version retrieval only worked when downloading the binary through GitHub releases or one of the community-made packages. When using go install, the version would always be dev because the ldflags weren't being used to set the version. It now falls back to debug.BuildInfo so that the version will be displayed properly when installing through this method.
Fixes
Performance Issues when formatting large files
Details in [#283]. Two fixes were submitted:
- Use of
strings.Repeatinstead of manually looping during string construction [#284] - Changing logic to only construct a diff string when the debug code is active [#287]
If you have experienced similar performance issues, these fixes should help.
Contributors
Thanks @artur-beznosyuk-verkada for the performance issue analysis and the strings.Repeat fix.