Skip to content

Bump mvdan.cc/gofumpt from 0.11.0 to 0.12.0 in /.tools - #54

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/dot-tools/mvdan.cc/gofumpt-0.12.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/dot-tools/mvdan.cc/gofumpt-0.12.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 18, 2026

Copy link
Copy Markdown
Contributor

Bumps mvdan.cc/gofumpt from 0.11.0 to 0.12.0.

Release notes

Sourced from mvdan.cc/gofumpt's releases.

v0.12.0

This release is based on Go 1.27's gofmt, and requires Go 1.26 or later.

A standard library import carrying a doc or inline comment is no longer moved into the top import group, as the comment stayed behind and ended up detached at the bottom of the group. See #289.

Moving a standard library import up no longer leaves an empty line where it used to be, which split the remaining imports into extra groups. See #225.

A copyright header or package doc no longer makes gofumpt treat a single-line first declaration as multi-line, adding an empty line after it.

An assignment whose right-hand side is separated by a comment is now left alone, as merging the lines produced output which gofmt would change back.

Consider becoming a sponsor if you benefit from the work that went into this release!

Binaries built on go version go1.27.1 linux/amd64 with:

CGO_ENABLED=0 go build -trimpath -ldflags="-w -s"

Changelog

Sourced from mvdan.cc/gofumpt's changelog.

[v0.12.0] - 2026-09-07

This release is based on Go 1.27's gofmt, and requires Go 1.26 or later.

A standard library import carrying a doc or inline comment is no longer moved into the top import group, as the comment stayed behind and ended up detached at the bottom of the group. See #289.

Moving a standard library import up no longer leaves an empty line where it used to be, which split the remaining imports into extra groups. See #225.

A copyright header or package doc no longer makes gofumpt treat a single-line first declaration as multi-line, adding an empty line after it.

An assignment whose right-hand side is separated by a comment is now left alone, as merging the lines produced output which gofmt would change back.

Commits
  • 3e07e7e CHANGELOG: add entry for v0.12.0
  • e0311de update deps
  • 6249406 fix three out-of-date comments
  • b7fd50a add AGENTS.md documenting the project for coding agents
  • 05e0adf format: don't merge assignment lines across a comment
  • 360940c testdata: add regression test for assignment newlines with comments
  • 409d850 format: don't let header comments make the first decl multi-line
  • 6ea8a37 testdata: add regression test for header comments before the first decl
  • b31bdf4 format: don't leave an empty line where a moved std import was
  • ce9a249 format: don't move std imports carrying comments
  • Additional commits viewable 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 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 [mvdan.cc/gofumpt](https://github.com/mvdan/gofumpt) from 0.11.0 to 0.12.0.
- [Release notes](https://github.com/mvdan/gofumpt/releases)
- [Changelog](https://github.com/mvdan/gofumpt/blob/master/CHANGELOG.md)
- [Commits](mvdan/gofumpt@v0.11.0...v0.12.0)

---
updated-dependencies:
- dependency-name: mvdan.cc/gofumpt
  dependency-version: 0.12.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 Sep 18, 2026
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.

0 participants