github google/yamlfmt v0.2.0

latest releases: v0.13.0, v0.12.1, v0.12.0...
2 years ago

The big features of this release are:

  • Multi-document file support
    • Files with multiple documents separated by --- are now supported and fully formatted
  • include_document_start option added
    • The default formatting behaviour doesn't include the --- at the start of the document, this flag will ensure it's added
  • stdin operation mode
    • With the -in flag, the tool will read from stdin allowing for piping data through | in the CLI
  • Diff readability improved
    • The diff readability is improved, still not as good as it will be eventually but this is a fine bandaid fix

One bug was fixed:

  • Multiple paths in exclude no longer causes every single file to be found

Changelog

  • 79d0e08 basic: Support formatting multi-document files (#19)
  • 80328a4 basic: add include_document_start (#20)
  • fcac9d5 command: add support for formatting from stdin (#18)
  • 28b179f diff: improve diff readability (#17)
  • 90fa1be engine: fix exclude path bug (#21)

Don't miss a new yamlfmt release

NewReleases is sending notifications on new releases.