Skip to content

fix(deps): update module mvdan.cc/gofumpt to v0.9.2#35

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

fix(deps): update module mvdan.cc/gofumpt to v0.9.2#35
elastic-renovate-prod[bot] wants to merge 1 commit intomainfrom
renovate/mvdan.cc-gofumpt-0.x

Conversation

@elastic-renovate-prod
Copy link
Copy Markdown

This PR contains the following updates:

Package Type Update Change
mvdan.cc/gofumpt require minor v0.8.0 -> v0.9.2

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


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 https://github.com/mvdan/gofumpt/issues/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.


Configuration

📅 Schedule: Branch creation - "on tuesday" (UTC), 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 has been generated by Renovate Bot.

@elastic-renovate-prod
Copy link
Copy Markdown
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):

  • 9 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.24.0 -> 1.24.0
golang.org/x/tools v0.35.0 -> v0.38.0
golang.org/x/crypto v0.40.0 -> v0.43.0
golang.org/x/mod v0.26.0 -> v0.29.0
golang.org/x/net v0.42.0 -> v0.46.0
golang.org/x/sync v0.16.0 -> v0.17.0
golang.org/x/sys v0.34.0 -> v0.37.0
golang.org/x/telemetry v0.0.0-20250710130107-8d8967aff50b -> v0.0.0-20251008203120-078029d740a8
golang.org/x/term v0.33.0 -> v0.36.0
golang.org/x/text v0.27.0 -> v0.30.0

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