Skip to content

Commit 667a240

Browse files
committed
add a changelog file, prepping for v0.1.1
The v0.1.0 notes are copied from the GitHub release.
1 parent c538871 commit 667a240

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

Diff for: CHANGELOG.md

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Changelog
2+
3+
## [0.1.1] - 2021-03-11
4+
5+
This bugfix release backports fixes for a few issues:
6+
7+
* Keep leading empty lines in func bodies if they help readability
8+
9+
* Avoid breaking comment alignment on empty field lists
10+
11+
* Add support for `//go-sumtype:` directives
12+
13+
## [0.1.0] - 2021-01-05
14+
15+
This is gofumpt's first release, based on Go 1.15.x. It solidifies the features
16+
which have worked well for over a year.
17+
18+
This release will be the last to include `gofumports`, the fork of `goimports`
19+
which applies `gofumpt`'s rules on top of updating the Go import lines. Users
20+
who were relying on `goimports` in their editors or IDEs to apply both `gofumpt`
21+
and `goimports` in a single step should switch to gopls, the official Go
22+
language server. It is supported by many popular editors such as VS Code and
23+
Vim, and already bundles gofumpt support. Instructions are available [in the
24+
README](https://github.com/mvdan/gofumpt).
25+
26+
`gofumports` also added maintenance work and potential confusion to end users.
27+
In the future, there will only be one way to use `gofumpt` from the command
28+
line. We also have a [Go API](https://pkg.go.dev/mvdan.cc/gofumpt/format) for
29+
those building programs with gofumpt.
30+
31+
Finally, this release adds the `-version` flag, to print the tool's own version.
32+
The flag will work for "master" builds too.
33+
34+
[0.1.1]: https://github.com/mvdan/gofumpt/releases/tag/v0.1.1
35+
[0.1.0]: https://github.com/mvdan/gofumpt/releases/tag/v0.1.0

0 commit comments

Comments
 (0)