Skip to content

Commit

Permalink
write changelog for v0.4.0
Browse files Browse the repository at this point in the history
Note that we're starting to recommend a particular Go version for
building gofumpt, as that is the go/printer version we've tested the
most with, and a consistent version will also bring consistent behavior.

See #244.
  • Loading branch information
mvdan committed Sep 27, 2022
1 parent 535f6e6 commit 6da4e62
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## [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 to `go/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:
Expand Down Expand Up @@ -97,6 +111,10 @@ 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.

[v0.4.0]: https://github.com/mvdan/gofumpt/releases/tag/v0.4.0
[#212]: https://github.com/mvdan/gofumpt/issues/212
[#217]: https://github.com/mvdan/gofumpt/issues/217

[v0.3.1]: https://github.com/mvdan/gofumpt/releases/tag/v0.3.1
[#208]: https://github.com/mvdan/gofumpt/issues/208
[#211]: https://github.com/mvdan/gofumpt/pull/211
Expand Down

0 comments on commit 6da4e62

Please sign in to comment.