Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 23, 2025

Bumps github.com/google/yamlfmt from 0.19.0 to 0.20.0.

Release notes

Sourced from github.com/google/yamlfmt's releases.

v0.20.0

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.Repeat instead 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.

Commits
  • 42486ac engine: don't construct diff string if it isn't requested (#287)
  • 00c0bef internal/multilinediff: change string concatenation to use strings.Repeat ins...
  • 66e8e86 cmd: refactor -version so it works with go install (#286)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/google/yamlfmt](https://github.com/google/yamlfmt) from 0.19.0 to 0.20.0.
- [Release notes](https://github.com/google/yamlfmt/releases)
- [Changelog](https://github.com/google/yamlfmt/blob/main/.goreleaser.yaml)
- [Commits](google/yamlfmt@v0.19.0...v0.20.0)

---
updated-dependencies:
- dependency-name: github.com/google/yamlfmt
  dependency-version: 0.20.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Oct 23, 2025
@jandubois jandubois added this to the v2.0.0 milestone Oct 23, 2025
@jandubois jandubois merged commit 721cd86 into master Oct 23, 2025
37 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/google/yamlfmt-0.20.0 branch October 23, 2025 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants