Skip to content

Commit 6da4e62

Browse files
committed
write changelog for v0.4.0
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.
1 parent 535f6e6 commit 6da4e62

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

CHANGELOG.md

+18
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Changelog
22

3+
## [v0.4.0] - 2022-09-27
4+
5+
This release is based on Go 1.19's gofmt, and requires Go 1.18 or later.
6+
We recommend building gofumpt with Go 1.19 for the best formatting results.
7+
8+
The jump from Go 1.18 brings diffing in pure Go, removing the need to exec `diff`,
9+
and a small parsing speed-up thanks to `go/parser.SkipObjectResolution`.
10+
11+
The following formatting fixes are included as well:
12+
13+
* Allow grouping declarations with comments - [#212]
14+
* Properly measure the length of case clauses - [#217]
15+
* Fix a few crashes found by Go's native fuzzing
16+
317
## [v0.3.1] - 2022-03-21
418

519
This bugfix release resolves a number of issues:
@@ -97,6 +111,10 @@ those building programs with gofumpt.
97111
Finally, this release adds the `-version` flag, to print the tool's own version.
98112
The flag will work for "master" builds too.
99113

114+
[v0.4.0]: https://github.com/mvdan/gofumpt/releases/tag/v0.4.0
115+
[#212]: https://github.com/mvdan/gofumpt/issues/212
116+
[#217]: https://github.com/mvdan/gofumpt/issues/217
117+
100118
[v0.3.1]: https://github.com/mvdan/gofumpt/releases/tag/v0.3.1
101119
[#208]: https://github.com/mvdan/gofumpt/issues/208
102120
[#211]: https://github.com/mvdan/gofumpt/pull/211

0 commit comments

Comments
 (0)