github google/yamlfmt v0.6.0

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

First release in a while! I've been very busy this past month and was also sick for a bit. Not a ton going on this release, but there are some folks waiting for the minor fixes and one feature, so I figured no reason to delay the release.

Features

  • Disallow yaml anchors and aliases
    • New basic formatter configuration option disallow_anchors will forcefully reject anchors if you don't want them in your yaml files

Fixes

  • Fixed a bug where emoji_support would eat any \ escape character
  • Fixed misuse of path package when should have been using filepath package for cross-platform compatibility
  • Fixed issue where the tool would try to format a directory if it was picked up the include path

Contributors

  • Thanks @imjasonh for their first contribution, the disallow_anchors feature!
  • Thanks @longkai for the filepath fix and for adding a GitHub Action to automate releases!

Don't miss a new yamlfmt release

NewReleases is sending notifications on new releases.