Skip to content

fix(deps): update module github.com/google/yamlfmt to v0.13.0

Soos requested to merge renovate/github.com-google-yamlfmt-0.x into main

This MR contains the following updates:

Package Type Update Change
github.com/google/yamlfmt require minor v0.12.1 -> v0.13.0

Release Notes

google/yamlfmt (github.com/google/yamlfmt)

v0.13.0

Compare Source

The Airplane Release

This release doesn't have anything to do with airplanes, but I did the last few MRs and cut the release while I was on a plane so that's what came to mind. 😄

Features

Print Config

With the new -print_conf flag, you can have yamlfmt print out all configuration values it is using (whether they are default or overridden by a config file). This in combination with -debug config should make figuring out yamlfmt config problems much simpler going forward!

Trim Trailing Whitespace

Using the formatter option trim_trailing_whitespace, you can now tell yamlfmt to trim any trailing whitespace from lines. This is helpful in general, but it is specifically useful if you are affected by #​86. With trailing whitespace being trimmed, this buggy output shouldn't get tripped. Not a perfect solution, but hopefully should help.

EOF Newline

Using the formatter option eof_newline, yamlfmt will forcibly add a newline to the end of the file if it's not there already. This is for particular scenarios when retain_line_breaks is not turned on, but the newline at the end of files is still required.

Contributors

  • @​kachick contributed the -print_conf feature and was very receptive to feedback on their MR. They also contributed a fix to CI, and automatic versioning in the yamlfmt binary to avoid future bugs like what happened with v0.12.1. Thank you!
  • @​corneliusroemer contributed a documentation typo fix. Thank you!

Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Merge request reports