github google/yamlfmt v0.17.2

2 months ago

Bug Fixes

Alias nodes no longer come with an extra whitespace

In an attempt to fix a behaviour in yaml.v3's default encoding behaviour that would produce invalid YAML what an alias was used as a key (see #242) I introduced a regression where my fix was too wide of a net and produced an additional whitespace in scenarios where it wasn't necessary (see #250). To the extent of my testing this appears to be fixed now, however if that is not the case please feel free to re-open #250 with the example case that isn't covered or open a new issue.

Contributors

Thank you @octo for the bug fix in #260!

Don't miss a new yamlfmt release

NewReleases is sending notifications on new releases.