Skip to content

Bump mvdan.cc/gofumpt from 0.10.0 to 0.11.0 in /tools - #1245

Merged
ademidoff merged 1 commit into
mainfrom
dependabot/go_modules/tools/mvdan.cc/gofumpt-0.11.0
Aug 7, 2026
Merged

Bump mvdan.cc/gofumpt from 0.10.0 to 0.11.0 in /tools#1245
ademidoff merged 1 commit into
mainfrom
dependabot/go_modules/tools/mvdan.cc/gofumpt-0.11.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 27, 2026

Copy link
Copy Markdown
Contributor

Bumps mvdan.cc/gofumpt from 0.10.0 to 0.11.0.

Release notes

Sourced from mvdan.cc/gofumpt's releases.

v0.11.0

Like v0.10.0, this release is based on Go 1.26's gofmt, and requires Go 1.25 or later.

The multi-line function call rule introduced in v0.10.0 proved controversial, so it is now the extra rule balance_calls, disabled by default. It is also narrowed to only place the closing parenthesis on its own line when the opening parenthesis ends a line. See #74.

Avoid crashing when compiled with tinygo for Wasm, which lacks recover support, by detecting commented-out code without the parser's bailout panic. See #230.

Produce stable output in a single pass when a lone var declaration is adjacent to a single-element var group, which previously required a second run. See #355.

Keep the parentheses around an expression which begins with a composite literal of the form T{...}, such as (s{}.Foo()), as they are required when the expression starts an if, for, or switch clause. See #356.

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

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

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

Changelog

Sourced from mvdan.cc/gofumpt's changelog.

[v0.11.0] - 2026-07-27

Like v0.10.0, this release is based on Go 1.26's gofmt, and requires Go 1.25 or later.

The multi-line function call rule introduced in v0.10.0 proved controversial, so it is now the extra rule balance_calls, disabled by default. It is also narrowed to only place the closing parenthesis on its own line when the opening parenthesis ends a line. See #74.

Avoid crashing when compiled with tinygo for Wasm, which lacks recover support, by detecting commented-out code without the parser's bailout panic. See #230.

Produce stable output in a single pass when a lone var declaration is adjacent to a single-element var group, which previously required a second run. See #355.

Keep the parentheses around an expression which begins with a composite literal of the form T{...}, such as (s{}.Foo()), as they are required when the expression starts an if, for, or switch clause. See #356.

Commits
  • 5dca7d8 CHANGELOG: add entry for v0.11.0
  • 3fc6a0d update deps
  • afd4fd5 format: move the multi-line call parens rule behind -extra
  • 2d7b4e6 format: make var decl merge idempotent for the empty-line separator
  • b1173bf format: add regression test for non-idempotent var decl merge
  • 9c29374 format: keep parens required around composite literal in clause
  • 2443c24 format: add regression test for parens around composite literal in clause
  • cc84354 format: merge adjacent var line and single-element group in one pass
  • c238c0d format: go fix -all
  • b13b3a7 format: avoid parser bailout panic when detecting commented-out code
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jul 27, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner July 27, 2026 22:12
@dependabot
dependabot Bot requested review from JiriCtvrtka and maxkondr July 27, 2026 22:12
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jul 27, 2026
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/tools/mvdan.cc/gofumpt-0.11.0 branch 2 times, most recently from 62e9809 to d48b1eb Compare August 6, 2026 14:12
@ademidoff

Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot
dependabot Bot force-pushed the dependabot/go_modules/tools/mvdan.cc/gofumpt-0.11.0 branch from d48b1eb to ba06533 Compare August 6, 2026 15:43
@ademidoff

Copy link
Copy Markdown
Member

@dependabot rebase

@percona percona deleted a comment from dependabot Bot Aug 7, 2026
@percona percona deleted a comment from dependabot Bot Aug 7, 2026
Bumps [mvdan.cc/gofumpt](https://github.com/mvdan/gofumpt) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/mvdan/gofumpt/releases)
- [Changelog](https://github.com/mvdan/gofumpt/blob/master/CHANGELOG.md)
- [Commits](mvdan/gofumpt@v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: mvdan.cc/gofumpt
  dependency-version: 0.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/tools/mvdan.cc/gofumpt-0.11.0 branch from ba06533 to d7c4c0d Compare August 7, 2026 09:14
@ademidoff
ademidoff merged commit 2ebc12a into main Aug 7, 2026
2 checks passed
@ademidoff
ademidoff deleted the dependabot/go_modules/tools/mvdan.cc/gofumpt-0.11.0 branch August 7, 2026 09:35
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