applehealth
applehealth copied to clipboard
Bump mvdan.cc/gofumpt from 0.1.0 to 0.5.0 in /tools
Bumps mvdan.cc/gofumpt from 0.1.0 to 0.5.0.
Release notes
Sourced from mvdan.cc/gofumpt's releases.
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
, andgo/doc/comment
on top ofcmd/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:The following changes are included as well:
- Skip
testdata
dirs by default like we already do forvendor
- #260- Avoid inserting newlines incorrectly in some func signatures - #235
- Avoid joining some comments with the previous line - #256
- Fix
gofumpt -version
for release archives - #253Binaries built on
go version go1.20.3 linux/amd64
with:CGO_ENABLED=0 go build -trimpath -ldflags="-w -s -X=main.version=v0.5.0"
Consider becoming a sponsor if you benefit from the work that went into this release!
#235: mvdan/gofumpt#235 #253: mvdan/gofumpt#253 #256: mvdan/gofumpt#256 #260: mvdan/gofumpt#260
v0.4.0
This release is based on Go 1.19's gofmt, and requires Go 1.18 or later. We recommend building gofumpt with Go 1.19 for the best formatting results.
The jump from Go 1.18 brings diffing in pure Go, removing the need to exec
diff
, and a small parsing speed-up thanks togo/parser.SkipObjectResolution
.The following formatting fixes are included as well:
- Allow grouping declarations with comments - #212
- Properly measure the length of case clauses - #217
- Fix a few crashes found by Go's native fuzzing
Binaries built on
go version go1.19.1 linux/amd64
via a shell script.Consider becoming a sponsor if you benefit from the work that went into this release!
v0.3.1
This bugfix release resolves a number of issues:
... (truncated)
Changelog
Sourced from mvdan.cc/gofumpt's changelog.
[v0.5.0] - 2023-04-09
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
, andgo/doc/comment
on top ofcmd/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:The following changes are included as well:
- Skip
testdata
dirs by default like we already do forvendor
- #260- Avoid inserting newlines incorrectly in some func signatures - #235
- Avoid joining some comments with the previous line - #256
- Fix
gofumpt -version
for release archives - #253[v0.4.0] - 2022-09-27
This release is based on Go 1.19's gofmt, and requires Go 1.18 or later. We recommend building gofumpt with Go 1.19 for the best formatting results.
The jump from Go 1.18 brings diffing in pure Go, removing the need to exec
diff
, and a small parsing speed-up thanks togo/parser.SkipObjectResolution
.The following formatting fixes are included as well:
- Allow grouping declarations with comments - #212
- Properly measure the length of case clauses - #217
- Fix a few crashes found by Go's native fuzzing
[v0.3.1] - 2022-03-21
This bugfix release resolves a number of issues:
... (truncated)
Commits
fd93f1d
add release notes for v0.5.0e2f1a6e
skip over testdata dirs like we do with vendor48add90
add broken test case which reorders and separates imports05ac8b3
fix a case where we joined a comment with the previous line8b01b13
relax rule to insert newlines in func signatures4af70f1
remove obsolete build tags and Go version checksd5451f0
support -ldflags=main.version= again92e2be6
internal/govendor: undo upstream change to use strings.CutPrefix04a7ba7
update deps086496c
update cmd/gofmt source with Go 1.20- Additional commits viewable in compare view
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 merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@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)