Skip to content

Commit 5abc3f7

Browse files
docs: Update documentation and assets (golangci#4006)
Co-authored-by: Fernandez Ludovic <[email protected]>
1 parent a9378d9 commit 5abc3f7

File tree

4 files changed

+18
-43
lines changed

4 files changed

+18
-43
lines changed

CHANGELOG.md

Lines changed: 12 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
1-
Follow the news and releases on our [twitter](https://twitter.com/golangci) and our [blog](https://medium.com/golangci).
1+
Follow the news and releases on [Mastodon](https://fosstodon.org/@golangcilint) and on [Twitter](https://twitter.com/golangci).
2+
23
There is the most valuable changes log:
34

5+
### v1.54.1
6+
7+
1. updated linters:
8+
* `go-critic`: from 0.8.2 to 0.9.0
9+
2. misc.
10+
* plugin: temporarily hide warning about using plugins using the old API
11+
412
### v1.54.0
513

614
1. updated linters:
@@ -31,44 +39,11 @@ There is the most valuable changes log:
3139
3. Documentation
3240
* Add linter descriptions.
3341

34-
#### Important
35-
36-
`ruleguard` (a "rule" inside `gocritic`) is disabled, only with go1.21, due to a bug of `ruleguard`
37-
38-
The Go version should be 1.21 inside `go.mod` or be defined inside the `run` section:
39-
40-
<details><summary>go.mod</summary>
41-
42-
```go
43-
module your/module/name
44-
45-
go 1.21
46-
47-
// ...
48-
49-
```
50-
51-
</details>
52-
53-
<details><summary>.golangci.yml</summary>
54-
55-
```yml
56-
run:
57-
go: '1.21'
58-
```
59-
60-
</details>
61-
62-
<details><summary>CLI flags</summary>
63-
64-
```bash
65-
--go=1.21
66-
```
67-
68-
</details>
42+
**Important**
6943

44+
`ruleguard` (a "rule" inside `gocritic`) was disabled in this release (v1.54.0) and was enabled again in the next release (v1.54.1).
7045

71-
You can follow this topic by subscribing to the [issue #3933](https://github.com/golangci/golangci-lint/issues/3933).
46+
`exhaustruct` has breaking changes with regular expressions, more details [here](https://github.com/GaijinEntertainment/go-exhaustruct/releases/tag/v3.0.0).
7247

7348
### v1.53.3
7449

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ The Core Team has the following responsibilities:
641641
<td align="center"><a href="https://github.com/takaokanbe?utm_source=golangci-lint-contributors"><img src="https://avatars.githubusercontent.com/u/62293842?u=5bb99a32d4d6db3e6fc584776d4e64b3a58f6a43&v=4" width="100px;" alt=""/><br /><sub><b>takaokanbe</b></sub></a></td>
642642
<td align="center"><a href="https://github.com/seanschneeweiss?utm_source=golangci-lint-contributors"><img src="https://avatars.githubusercontent.com/u/6184685?u=f9a0f1e38457a5d2bd0a2e707676dc0fcea1d054&v=4" width="100px;" alt=""/><br /><sub><b>Sean Schneeweiss</b></sub></a></td>
643643
<td align="center"><a href="https://github.com/pkprzekwas?utm_source=golangci-lint-contributors"><img src="https://avatars.githubusercontent.com/u/9121459?u=56fad5cbf6e8bead6088d0099122f9739b714bde&v=4" width="100px;" alt=""/><br /><sub><b>pprzekwas</b></sub></a></td>
644-
<td align="center"><a href="https://github.com/madflow?utm_source=golangci-lint-contributors"><img src="https://avatars.githubusercontent.com/u/183248?v=4" width="100px;" alt=""/><br /><sub><b>@madflow</b></sub></a></td>
644+
<td align="center"><a href="https://github.com/madflow?utm_source=golangci-lint-contributors"><img src="https://avatars.githubusercontent.com/u/183248?v=4" width="100px;" alt=""/><br /><sub><b>madflow</b></sub></a></td>
645645
<td align="center"><a href="https://t.me/armantarkhanian?utm_source=golangci-lint-contributors"><img src="https://avatars.githubusercontent.com/u/72862404?u=74bfc1f008f3a10d8a44b889dfcd7cfb1000e4fa&v=4" width="100px;" alt=""/><br /><sub><b>Arman Tarkhanian</b></sub></a></td>
646646
<td align="center"><a href="https://github.com/adlerjohn?utm_source=golangci-lint-contributors"><img src="https://avatars.githubusercontent.com/u/3290375?u=c0b3688f4e6dbed1eef0652efadca3ed286021bf&v=4" width="100px;" alt=""/><br /><sub><b>John Adler</b></sub></a></td>
647647
</tr>

assets/github-action-config.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"MinorVersionToConfig": {
33
"latest": {
4-
"TargetVersion": "v1.54.0",
5-
"AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.54.0/golangci-lint-1.54.0-linux-amd64.tar.gz"
4+
"TargetVersion": "v1.54.1",
5+
"AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.54.1/golangci-lint-1.54.1-linux-amd64.tar.gz"
66
},
77
"v1.10": {
88
"Error": "golangci-lint version 'v1.10' isn't supported: we support only v1.14.0 and later versions"
@@ -186,8 +186,8 @@
186186
"AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.53.3/golangci-lint-1.53.3-linux-amd64.tar.gz"
187187
},
188188
"v1.54": {
189-
"TargetVersion": "v1.54.0",
190-
"AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.54.0/golangci-lint-1.54.0-linux-amd64.tar.gz"
189+
"TargetVersion": "v1.54.1",
190+
"AssetURL": "https://github.com/golangci/golangci-lint/releases/download/v1.54.1/golangci-lint-1.54.1-linux-amd64.tar.gz"
191191
},
192192
"v1.6": {
193193
"Error": "golangci-lint version 'v1.6' isn't supported: we support only v1.14.0 and later versions"

docs/template_data.state

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
This file stores hash of website templates to trigger Netlify rebuild when something changes, e.g. new linter is added.
2-
f6953a1ec4b7ec950c7647d8963d75b81a1472cfd3cca4580f031a692e13680b
2+
3dd55e7301e3b3c9fab930bcc28a44db056ccefa15befc5a360e764d1aad1d48

0 commit comments

Comments
 (0)