Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Apr 16, 2025

This PR contains the following updates:

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

Release Notes

mvdan/gofumpt (mvdan.cc/gofumpt)

v0.9.2

Compare Source

This release moves the "clothe naked returns" rule under gofumpt -extra, following the discussion in #​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

Compare Source

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

v0.9.0

Compare Source

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

Compare Source

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

Configuration

📅 Schedule: 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.

@renovate
Copy link
Contributor Author

renovate bot commented Apr 16, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go get -t ./...
go: module mvdan.cc/gofumpt@v0.9.2 requires go >= 1.24.0; switching to go1.24.11
go: downloading go1.24.11 (linux/amd64)
go: download go1.24.11: golang.org/toolchain@v0.0.1-go1.24.11.linux-amd64: verifying module: checksum database disabled by GOSUMDB=off

@renovate renovate bot changed the title Update module mvdan.cc/gofumpt to v0.8.0 Update module mvdan.cc/gofumpt to v0.8.0 - autoclosed Aug 1, 2025
@renovate renovate bot closed this Aug 1, 2025
@renovate renovate bot deleted the renovate/mvdan.cc-gofumpt-0.x branch August 1, 2025 10:43
@renovate renovate bot changed the title Update module mvdan.cc/gofumpt to v0.8.0 - autoclosed Update module mvdan.cc/gofumpt to v0.8.0 Aug 5, 2025
@renovate renovate bot reopened this Aug 5, 2025
@renovate renovate bot force-pushed the renovate/mvdan.cc-gofumpt-0.x branch from 38618f9 to 553084a Compare September 19, 2025 16:11
@renovate renovate bot changed the title Update module mvdan.cc/gofumpt to v0.8.0 Update module mvdan.cc/gofumpt to v0.9.1 Sep 19, 2025
@renovate renovate bot force-pushed the renovate/mvdan.cc-gofumpt-0.x branch from 553084a to 9a6d849 Compare October 23, 2025 07:58
@renovate renovate bot changed the title Update module mvdan.cc/gofumpt to v0.9.1 Update module mvdan.cc/gofumpt to v0.9.2 Oct 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant