Skip to content

Commit f04017f

Browse files
committed
prepare changelog for v0.3.1
And start adding links for the major changes, so any interested users can read more into each topic. We also make the release links use the "v" prefix for consistency.
1 parent 41c1118 commit f04017f

File tree

1 file changed

+23
-11
lines changed

1 file changed

+23
-11
lines changed

Diff for: CHANGELOG.md

+23-11
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
# Changelog
22

3-
## [0.3.0] - 2022-02-22
3+
## [v0.3.1] - 2022-03-21
4+
5+
This bugfix release resolves a number of issues:
6+
7+
* Avoid "too many open files" error regression introduced by [v0.3.0] - [#208]
8+
* Use the `go.mod` relative to each Go file when deriving flag defaults - [#211]
9+
* Remove unintentional debug prints when directly formatting files
10+
11+
## [v0.3.0] - 2022-02-22
412

513
This is gofumpt's third major release, based on Go 1.18's gofmt.
614
The jump from Go 1.17's gofmt should bring a noticeable speed-up,
@@ -20,7 +28,7 @@ The following changes are included as well:
2028
grouped with standard library imports
2129
* `format.Options` gains a `ModulePath` field per the last bullet point
2230

23-
## [0.2.1] - 2021-12-12
31+
## [v0.2.1] - 2021-12-12
2432

2533
This bugfix release resolves a number of issues:
2634

@@ -29,13 +37,13 @@ This bugfix release resolves a number of issues:
2937
* Don't group interface members of different kinds
3038
* Account for leading comments in composite literals
3139

32-
## [0.2.0] - 2021-11-10
40+
## [v0.2.0] - 2021-11-10
3341

3442
This is gofumpt's second major release, based on Go 1.17's gofmt.
3543
The jump from Go 1.15's gofmt should bring a mild speed-up,
3644
as walking directories with `filepath.WalkDir` uses fewer syscalls.
3745

38-
gofumports is now removed, after being deprecated in [0.1.0].
46+
gofumports is now removed, after being deprecated in [v0.1.0].
3947
Its main purpose was IDE integration; it is now recommended to use gopls,
4048
which in turn implements goimports and supports gofumpt natively.
4149
IDEs which don't integrate with gopls (such as GoLand) implement goimports too,
@@ -60,15 +68,15 @@ Finally, the following changes are made to the gofumpt tool:
6068
* The `format` Go API now also applies the `gofmt -s` simplification
6169
* Add support for `//gofumpt:diagnose` comments
6270

63-
## [0.1.1] - 2021-03-11
71+
## [v0.1.1] - 2021-03-11
6472

6573
This bugfix release backports fixes for a few issues:
6674

6775
* Keep leading empty lines in func bodies if they help readability
6876
* Avoid breaking comment alignment on empty field lists
6977
* Add support for `//go-sumtype:` directives
7078

71-
## [0.1.0] - 2021-01-05
79+
## [v0.1.0] - 2021-01-05
7280

7381
This is gofumpt's first release, based on Go 1.15.x. It solidifies the features
7482
which have worked well for over a year.
@@ -89,8 +97,12 @@ those building programs with gofumpt.
8997
Finally, this release adds the `-version` flag, to print the tool's own version.
9098
The flag will work for "master" builds too.
9199

92-
[0.3.0]: https://github.com/mvdan/gofumpt/releases/tag/v0.3.0
93-
[0.2.1]: https://github.com/mvdan/gofumpt/releases/tag/v0.2.1
94-
[0.2.0]: https://github.com/mvdan/gofumpt/releases/tag/v0.2.0
95-
[0.1.1]: https://github.com/mvdan/gofumpt/releases/tag/v0.1.1
96-
[0.1.0]: https://github.com/mvdan/gofumpt/releases/tag/v0.1.0
100+
[v0.3.1]: https://github.com/mvdan/gofumpt/releases/tag/v0.3.1
101+
[#208]: https://github.com/mvdan/gofumpt/issues/208
102+
[#211]: https://github.com/mvdan/gofumpt/pull/211
103+
104+
[v0.3.0]: https://github.com/mvdan/gofumpt/releases/tag/v0.3.0
105+
[v0.2.1]: https://github.com/mvdan/gofumpt/releases/tag/v0.2.1
106+
[v0.2.0]: https://github.com/mvdan/gofumpt/releases/tag/v0.2.0
107+
[v0.1.1]: https://github.com/mvdan/gofumpt/releases/tag/v0.1.1
108+
[v0.1.0]: https://github.com/mvdan/gofumpt/releases/tag/v0.1.0

0 commit comments

Comments
 (0)