Skip to content

v0.1.0

Compare
Choose a tag to compare
@mvdan mvdan released this 05 Jan 14:52
· 143 commits to master since this release

This is gofumpt's first release, based on Go 1.15.x. It solidifies the features which have worked well for over a year.

This release will be the last to include gofumports, the fork of goimports which applies gofumpt's rules on top of updating the Go import lines. Users who were relying on goimports in their editors or IDEs to apply both gofumpt and goimports in a single step should switch to gopls, the official Go language server. It is supported by many popular editors such as VS Code and Vim, and already bundles gofumpt support. Instructions are available in the README.

gofumports also added maintenance work and potential confusion to end users. In the future, there will only be one way to use gofumpt from the command line. We also have a Go API for those building programs with gofumpt.

Finally, this release adds the -version flag, to print the tool's own version. The flag will work for "master" builds too.

Binaries built on go version go1.15.6 linux/amd64 via a shell script.

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