Skip to content

Update module mvdan.cc/gofumpt to v0.12.0 - #103

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/mvdan.cc-gofumpt-0.x
Open

Update module mvdan.cc/gofumpt to v0.12.0#103
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/mvdan.cc-gofumpt-0.x

Conversation

@renovate

@renovate renovate Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

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

Release Notes

mvdan/gofumpt (mvdan.cc/gofumpt)

v0.12.0

Compare Source

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.

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
    • "on tuesday"
  • Automerge
    • At any time (no schedule defined)

🚦 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 was generated by Mend Renovate. View the repository job log.

@renovate

renovate Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: internal/tools/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 2 additional dependencies were updated

Details:

Package Change
github.com/rogpeppe/go-internal v1.14.1 -> v1.16.0
golang.org/x/mod v0.39.0 -> v0.40.0

@renovate renovate Bot changed the title Update module mvdan.cc/gofumpt to v0.11.0 Update module mvdan.cc/gofumpt to v0.11.0 - autoclosed Jul 31, 2026
@renovate renovate Bot closed this Jul 31, 2026
@renovate
renovate Bot deleted the renovate/mvdan.cc-gofumpt-0.x branch July 31, 2026 19:51
@renovate renovate Bot changed the title Update module mvdan.cc/gofumpt to v0.11.0 - autoclosed Update module mvdan.cc/gofumpt to v0.11.0 Aug 4, 2026
@renovate renovate Bot reopened this Aug 4, 2026
@renovate
renovate Bot force-pushed the renovate/mvdan.cc-gofumpt-0.x branch 2 times, most recently from dc0b138 to 7d98a3b Compare August 4, 2026 00:57
@renovate
renovate Bot force-pushed the renovate/mvdan.cc-gofumpt-0.x branch 3 times, most recently from b86528b to 795759a Compare August 18, 2026 14:59
@renovate
renovate Bot force-pushed the renovate/mvdan.cc-gofumpt-0.x branch from 795759a to b6a1fdc Compare August 26, 2026 09:46
@renovate
renovate Bot force-pushed the renovate/mvdan.cc-gofumpt-0.x branch 2 times, most recently from e821ce6 to f0b185d Compare September 7, 2026 19:46
@renovate renovate Bot changed the title Update module mvdan.cc/gofumpt to v0.11.0 Update module mvdan.cc/gofumpt to v0.12.0 Sep 8, 2026
@renovate
renovate Bot force-pushed the renovate/mvdan.cc-gofumpt-0.x branch from f0b185d to bfaa687 Compare September 8, 2026 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants