Skip to content

build(deps): bump mvdan.cc/gofumpt from 0.4.0 to 0.9.2 in /gopls#382

Open
dependabot[bot] wants to merge 1 commit intogoplusfrom
dependabot/go_modules/gopls/mvdan.cc/gofumpt-0.9.2
Open

build(deps): bump mvdan.cc/gofumpt from 0.4.0 to 0.9.2 in /gopls#382
dependabot[bot] wants to merge 1 commit intogoplusfrom
dependabot/go_modules/gopls/mvdan.cc/gofumpt-0.9.2

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Feb 9, 2026

Bumps mvdan.cc/gofumpt from 0.4.0 to 0.9.2.

Release notes

Sourced from mvdan.cc/gofumpt's releases.

v0.9.2

This release moves the "clothe naked returns" rule under gofumpt -extra, following the discussion in mvdan/gofumpt#285.

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

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

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

Note that this release no longer includes a sha256sums.txt asset; GitHub now provide digests natively.

v0.9.1

This is a bugfix release to address a regression in detecting comment directives with special characters such as //golangcitest:config_path.

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

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

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

v0.9.0

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

A new rule is introduced to "clothe" naked returns for the sake of clarity. While there is nothing wrong with naming results in function signatures, using lone return statements can be confusing to the reader.

Go 1.25's ignore directives in go.mod files are now obeyed; any directories within the module matching any of the patterns are now omitted when walking directories, such as with gofumpt -w ..

Module information is now loaded via Go's x/mod/modfile package rather than executing go mod edit -json, which is way faster. This should result in moderate speed-ups when formatting many directories.

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

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

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

v0.8.0

This release is based on Go 1.24's gofmt, and requires Go 1.23 or later.

The following changes are included:

  • Fail with -d if formatting any file resulted in a diff - #114
  • Do not panic when a go.mod file is missing a go directive - #317

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

CGO_ENABLED=0 go build -trimpath -ldflags="-w -s -X=main.version=v0.8.0"

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

v0.7.0

... (truncated)

Changelog

Sourced from mvdan.cc/gofumpt's changelog.

Changelog

[v0.9.1] - 2025-09-07

This is a bugfix release to address a regression in detecting comment directives with special characters such as //golangcitest:config_path.

[v0.9.0] - 2025-09-02

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

A new rule is introduced to "clothe" naked returns for the sake of clarity. While there is nothing wrong with naming results in function signatures, using lone return statements can be confusing to the reader.

Go 1.25's ignore directives in go.mod files are now obeyed; any directories within the module matching any of the patterns are now omitted when walking directories, such as with gofumpt -w ..

Module information is now loaded via Go's x/mod/modfile package rather than executing go mod edit -json, which is way faster. This should result in moderate speed-ups when formatting many directories.

[v0.8.0] - 2025-04-13

This release is based on Go 1.24's gofmt, and requires Go 1.23 or later.

The following changes are included:

  • Fail with -d if formatting any file resulted in a diff - #114
  • Do not panic when a go.mod file is missing a go directive - #317

[v0.7.0] - 2024-08-16

This release is based on Go 1.23.0's gofmt, and requires Go 1.22 or later.

The following changes are included:

  • Group internal/... imported packages as standard library - #307

[v0.6.0] - 2024-01-28

This release is based on Go 1.21's gofmt, and requires Go 1.20 or later.

The following changes are included:

  • Support go version strings from newer go.mod files - #280
  • Consider simple error checks even if they use the = operator - #271
  • Ignore //line directives to avoid panics - #288

... (truncated)

Commits

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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Feb 9, 2026
Bumps [mvdan.cc/gofumpt](https://github.com/mvdan/gofumpt) from 0.4.0 to 0.9.2.
- [Release notes](https://github.com/mvdan/gofumpt/releases)
- [Changelog](https://github.com/mvdan/gofumpt/blob/master/CHANGELOG.md)
- [Commits](mvdan/gofumpt@v0.4.0...v0.9.2)

---
updated-dependencies:
- dependency-name: mvdan.cc/gofumpt
  dependency-version: 0.9.2
  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/gopls/mvdan.cc/gofumpt-0.9.2 branch from 05b3cb9 to 3323040 Compare February 10, 2026 03:52
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