Skip to content

chore(deps): update module mvdan.cc/gofumpt to v0.10.0#136

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

chore(deps): update module mvdan.cc/gofumpt to v0.10.0#136
renovate[bot] wants to merge 1 commit intomainfrom
renovate/mvdan.cc-gofumpt-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 4, 2026

This PR contains the following updates:

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

Release Notes

mvdan/gofumpt (mvdan.cc/gofumpt)

v0.10.0

Compare Source

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

A new rule is introduced to drop unnecessary parentheses around expressions
where the inner expression is unambiguous on its own, such as f((3)).
Parentheses are kept where they are useful, such as on binary expressions. See #​44.

A new rule is introduced to require multi-line function calls to match
the opening and closing parenthesis in terms of the use of newlines. See #​74.

The -extra flag now accepts a comma-separated list of rule names to enable
individual extra rules, rather than enabling all of them at once. See #​339.

The following changes are included as well:

  • Avoid crashing on go.mod files without a module directive - #​350
  • Avoid failing when an ignored directory cannot be read - #​351
  • Avoid prefixing more kinds of commented-out Go code with spaces - #​230
  • Avoid prefixing a shebang comment with a space - #​237
  • Narrow the newlines on assignments rule to ignore complex cases - #​354
  • Fix three bugs which caused a second gofumpt run to make changes - #​132, #​345

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants