Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update dependency mvdan/gofumpt to v0.6.0 (#49)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [mvdan/gofumpt](https://togithub.com/mvdan/gofumpt) | minor | `v0.4.0` -> `v0.6.0` | --- ### Release Notes <details> <summary>mvdan/gofumpt (mvdan/gofumpt)</summary> ### [`v0.6.0`](https://togithub.com/mvdan/gofumpt/blob/HEAD/CHANGELOG.md#v060---2024-01-28) [Compare Source](https://togithub.com/mvdan/gofumpt/compare/v0.5.0...v0.6.0) 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](https://togithub.com/mvdan/gofumpt/issues/280)] - Consider simple error checks even if they use the `=` operator - \[[#​271](https://togithub.com/mvdan/gofumpt/issues/271)] - Ignore `//line` directives to avoid panics - \[[#​288](https://togithub.com/mvdan/gofumpt/issues/288)] ### [`v0.5.0`](https://togithub.com/mvdan/gofumpt/blob/HEAD/CHANGELOG.md#v050---2023-04-09) [Compare Source](https://togithub.com/mvdan/gofumpt/compare/v0.4.0...v0.5.0) This release is based on Go 1.20's gofmt, and requires Go 1.19 or later. The biggest change in this release is that we now vendor copies of the packages `go/format`, `go/printer`, and `go/doc/comment` on top of `cmd/gofmt` itself. This allows for each gofumpt release to format code in exactly the same way no matter what Go version is used to build it, as Go versions can change those three packages in ways that alter formatting behavior. This vendoring adds a small amount of duplication when using the `mvdan.cc/gofumpt/format` library, but it's the only way to make gofumpt versions consistent in their behavior and formatting, just like gofmt. The jump to Go 1.20's `go/printer` should also bring a small performance improvement, as we contributed patches to make printing about 25% faster: - https://go.dev/cl/412555 - https://go.dev/cl/412557 - https://go.dev/cl/424924 The following changes are included as well: - Skip `testdata` dirs by default like we already do for `vendor` - \[[#​260](https://togithub.com/mvdan/gofumpt/issues/260)] - Avoid inserting newlines incorrectly in some func signatures - \[[#​235](https://togithub.com/mvdan/gofumpt/issues/235)] - Avoid joining some comments with the previous line - \[[#​256](https://togithub.com/mvdan/gofumpt/issues/256)] - Fix `gofumpt -version` for release archives - \[[#​253](https://togithub.com/mvdan/gofumpt/issues/253)] </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/DelineaXPM/github-workflows). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information