Update module mvdan.cc/gofumpt to v0.11.0 #726

Merged
limiting-factor merged 1 commit from renovate/mvdan.cc-gofumpt-0.x into main 2026-07-28 09:18:14 +00:00
Member

This PR contains the following updates:

Package Change Age Confidence
mvdan.cc/gofumpt v0.10.0v0.11.0 age confidence

Release Notes

mvdan/gofumpt (mvdan.cc/gofumpt)

v0.11.0

Compare Source

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.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM (* 0-3 * * *)
  • Automerge
    • Between 12:00 AM and 03:59 AM (* 0-3 * * *)

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

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

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


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

This PR has been generated by Mend Renovate.

This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [mvdan.cc/gofumpt](https://github.com/mvdan/gofumpt) | `v0.10.0` → `v0.11.0` | ![age](https://developer.mend.io/api/mc/badges/age/go/mvdan.cc%2fgofumpt/v0.11.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/go/mvdan.cc%2fgofumpt/v0.10.0/v0.11.0?slim=true) | --- ### Release Notes <details> <summary>mvdan/gofumpt (mvdan.cc/gofumpt)</summary> ### [`v0.11.0`](https://github.com/mvdan/gofumpt/blob/HEAD/CHANGELOG.md#v0110---2026-07-27) [Compare Source](https://github.com/mvdan/gofumpt/compare/v0.10.0...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 [#&#8203;74](https://github.com/mvdan/gofumpt/issues/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 [#&#8203;230](https://github.com/mvdan/gofumpt/issues/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 [#&#8203;355](https://github.com/mvdan/gofumpt/issues/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 [#&#8203;356](https://github.com/mvdan/gofumpt/issues/356). </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - Between 12:00 AM and 03:59 AM (`* 0-3 * * *`) - Automerge - Between 12:00 AM and 03:59 AM (`* 0-3 * * *`) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yODEuMSIsInVwZGF0ZWRJblZlciI6IjQzLjI4MS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Update module mvdan.cc/gofumpt to v0.11.0
All checks were successful
/ compliance (pull_request) Successful in 14m48s
a6306ff3d6
limiting-factor deleted branch renovate/mvdan.cc-gofumpt-0.x 2026-07-28 09:18:14 +00:00
Sign in to join this conversation.
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
f3/gof3!726
No description provided.