Skip to content

Commit 27dd39f

Browse files
committed
doc: update changelog
1 parent fdfedb4 commit 27dd39f

File tree

2 files changed

+81
-6
lines changed

2 files changed

+81
-6
lines changed

CHANGELOG.md

Lines changed: 64 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,65 @@ Follow the news and releases on [Mastodon](https://fosstodon.org/@golangcilint)
22

33
There is the most valuable changes log:
44

5+
### v1.58.0
6+
7+
1. New linters
8+
* `fatcontext`: https://github.com/Crocmagnon/fatcontext
9+
* `canonicalheader`: https://github.com/lasiar/canonicalheader
10+
2. Updated linters
11+
* `copyloopvar`: from 1.0.10 to 1.1.0 (`ignore-alias` is replaced by `check-alias` with the opposite behavior)
12+
* `decorder`: from 0.4.1 to 0.4.2
13+
* `errname`: from 0.1.12 to 0.1.13
14+
* `errorlint`: from 1.4.8 to 1.5.1 (new options `allowed-errors` and `allowed-errors-wildcard`)
15+
* `execinquery`: deprecate linter ⚠️
16+
* `gci`: from 0.12.3 to 0.13.4 (new section `localModule`)
17+
* `gocritic`: from 0.11.2 to 0.11.3
18+
* `spancheck`: from 0.5.3 to 0.6.1
19+
* `goerr113` is replaced by `err113` ⚠️
20+
* `gomnd` is replaced by `mnd` ⚠️
21+
* `gomodguard`: from 1.3.1 to 1.3.2
22+
* `grouper`: from 1.1.1 to 1.1.2
23+
* `intrange`: from 0.1.1 to 0.1.2
24+
* `mirror`: from 1.1.0 to 1.2.0
25+
* `misspell`: from 0.4.1 to 0.5.1
26+
* `musttag`: from 0.9.0 to 0.12.1
27+
* `nilnil`: from 0.1.7 to 0.1.8
28+
* `nonamedreturns`: from 1.0.4 to 1.0.5
29+
* `promlinter`: from 0.2.0 to 0.3.0
30+
* `sloglint`: from 0.5.0 to 0.6.0
31+
* `unparam`: bump to HEAD (063aff900ca150b80930c8de76f11d7e6488222f)
32+
* `whitespace`: from 0.1.0 to 0.1.1
33+
3. Enhancements
34+
* Speed up "fast" linters when only "fast" linters are run: between 40% and 80% faster at first run (i.e. without cache)
35+
4. Fixes
36+
* Use version with module plugins
37+
* Skip `go.mod` report inside autogenerated processor
38+
* Keep only `typecheck` issues when needed
39+
* Don't hide `typecheck` errors inside diff processor
40+
5. Misc.
41+
* ⚠️ log an error when using previously deprecated linters ([Linter Deprecation Cycle](https://golangci-lint.run/product/roadmap/#linter-deprecation-cycle))
42+
* [`deadcode`](https://github.com/remyoudompheng/go-misc/tree/master/deadcode): deprecated since v1.49.0 (2022-08-23).
43+
* [`exhaustivestruct`](https://github.com/mbilski/exhaustivestruct): deprecated since v1.46.0 (2022-05-08).
44+
* [`golint`](https://github.com/golang/lint): deprecated since v1.41.0 (2021-06-15).
45+
* [`ifshort`](https://github.com/esimonov/ifshort): deprecated since v1.48.0 (2022-08-04).
46+
* [`interfacer`](https://github.com/mvdan/interfacer): deprecated since v1.38.0 (2021-03-03).
47+
* [`maligned`](https://github.com/mdempsky/maligned): deprecated since v1.38.0 (2021-03-03).
48+
* [`nosnakecase`](https://github.com/sivchari/nosnakecase): deprecated since v1.48.0 (2022-08-04).
49+
* [`scopelint`](https://github.com/kyoh86/scopelint): deprecated since v1.39.0 (2021-03-25).
50+
* [`structcheck`](https://github.com/opennota/check): deprecated since v1.49.0 (2022-08-23).
51+
* [`varcheck`](https://github.com/opennota/check): deprecated since v1.49.0 (2022-08-23).
52+
* ⚠️ Deprecate usage of linter alternative names
53+
* Remove help display on errors with `config verify` command
54+
* Add `pre-commit` hook to run `config verify`
55+
* Improve `github-action` output
56+
6. Documentation
57+
* docs: remove deprecated Atom from Editor Integrations
58+
59+
GitHub Action (v5.1.0) for golangci-lint:
60+
- supports for `pull`, `pull_request_target`, and `merge_group` events with the option `only-new-issues`.
61+
- ️️⚠️ `skip-pkg-cache` and `skip-build-cache` have been removed because the cache related to Go itself is already handled by `actions/setup-go`.
62+
- with golangci-lint v1.58, the file information (path and position) will be displayed on the log.
63+
564
### v1.57.2
665

766
1. Updated linters
@@ -12,16 +71,16 @@ There is the most valuable changes log:
1271
* `gomoddirectives`: from 0.2.3 to 0.2.4
1372
* `intrange`: from 0.1.0 to 0.1.1
1473
2. Misc.
15-
* fix: display warnings on deprecated linter options
16-
* fix: missing `colored-tab` output format
17-
* fix: TeamCity `inspectionType` service message
74+
* Display warnings on deprecated linter options
75+
* Fix missing `colored-tab` output format
76+
* Fix TeamCity `inspectionType` service message
1877
3. Documentation
1978
* Remove invalid example about mixing files and directory
2079
* Improve linters page
2180

2281
### v1.57.1
2382

24-
1. Fixes:
83+
1. Fixes
2584
* Ignore issues with invalid position (e.g. `contextcheck`).
2685

2786
### v1.57.0
@@ -57,7 +116,7 @@ There is the most valuable changes log:
57116
* 🎉 Allow running only a specific linter without modifying the file configuration (`--enable-only`)
58117
* Allow custom sort order for the reports (`output.sort-order`)
59118
* Automatically adjust the maximum concurrency to the container CPU quota if `run.concurrency=0`
60-
* Add `verify` command to check the configuration against the JSON Schema
119+
* Add `config verify` command to check the configuration against the JSON Schema
61120
* Option to strictly follow Go generated file convention (`issues.exclude-generated-strict`)
62121
* Syntax to not override `severity` from linters (`@linter`)
63122
* Use severities from `gosec`

docs/src/docs/welcome/install.mdx

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ docker run -t --rm -v $(pwd):/app -w /app golangci/golangci-lint:{.LatestVersion
7373

7474
### macOS
7575

76+
#### Brew
77+
7678
Note: brew can use a non-expected version of Go to build the binary,
7779
so we recommend either using our binaries or be sure of the version of Go used to build.
7880

@@ -92,6 +94,8 @@ brew tap golangci/tap
9294
brew install golangci/tap/golangci-lint
9395
```
9496

97+
#### Macports
98+
9599
It can also be installed through [macports](https://www.macports.org/)
96100
The macports installation mode is community driven, and not officially maintained by golangci team.
97101

@@ -101,12 +105,24 @@ sudo port install golangci-lint
101105

102106
### Windows
103107

104-
You can install a binary on Windows using [chocolatey](https://community.chocolatey.org/packages/golangci-lint):
108+
#### Chocolatey
109+
110+
You can install a binary on Windows using [chocolatey](https://community.chocolatey.org/packages/golangci-lint).
105111

106112
```sh
107113
choco install golangci-lint
108114
```
109115

116+
#### Scoop
117+
118+
You can install a binary on Windows using [scoop](https://scoop.sh).
119+
120+
```sh
121+
scoop install main/golangci-lint
122+
```
123+
124+
The scoop package is not officially maintained by golangci team.
125+
110126
### Install from Source
111127

112128
Note: such `go install`/`go get` installation aren't guaranteed to work. We recommend using binary installation.

0 commit comments

Comments
 (0)