Skip to content

Commit 1e7781b

Browse files
committed
chore: prepare release
1 parent d2b7957 commit 1e7781b

File tree

3 files changed

+4834
-1
lines changed

3 files changed

+4834
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
- name: Create release
7070
uses: goreleaser/goreleaser-action@v6
7171
with:
72-
version: v2.8.1
72+
version: latest
7373
args: release --clean --timeout=90m
7474
env:
7575
AUR_KEY: ${{ secrets.AUR_KEY }}

CHANGELOG.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,49 @@ If you value it, consider supporting us, we appreciate it! ❤️
77
[![Open Collective backers and sponsors](https://img.shields.io/badge/OpenCollective-Donate-blue?logo=opencollective&style=for-the-badge)](https://opencollective.com/golangci-lint)
88
[![GitHub Sponsors](https://img.shields.io/badge/GitHub-Donate-blue?logo=github&style=for-the-badge)](https://github.com/sponsors/golangci)
99

10+
### v2.2.0
11+
12+
1. New linters
13+
* Add `arangolint` linter https://github.com/Crocmagnon/arangolint
14+
* Add `embeddedstructfieldcheck` linter https://github.com/manuelarte/embeddedstructfieldcheck
15+
* Add `noinlineerr` linter https://github.com/AlwxSin/noinlineerr
16+
* Add `swaggo` formatter https://github.com/golangci/swaggoswag
17+
2. Linters new features or changes
18+
* `errcheck`: add `verbose` option
19+
* `funcorder`: from 0.2.1 to 0.5.0 (new option `alphabetical`)
20+
* `gomoddirectives`: from 0.6.1 to 0.7.0 (new option `ignore-forbidden`)
21+
* `iface`: from 1.3.1 to 1.4.0 (new option `unexported`)
22+
* `noctx`: from 0.1.0 to 0.3.3 (new report messages, and new rules related to `database/sql`)
23+
* `noctx`: from 0.3.3 to 0.3.4 (new SQL functions detection)
24+
* `revive`: from 1.9.0 to 1.10.0 (new rules: `time-date`, `unnecessary-format`, `use-fmt-print`)
25+
* `usestdlibvars`: from 1.28.0 to 1.29.0 (new option `time-date-month`)
26+
* `wsl`: deprecation
27+
* `wsl_v5`: from 4.7.0 to 5.0.0 (major version with new configuration)
28+
3. Linters bug fixes
29+
* `dupword`: from 0.1.3 to 0.1.6
30+
* `exptostd`: from 0.4.3 to 0.4.4
31+
* `forbidigo`: from 1.6.0 to 2.1.0
32+
* `gci`: consistently format the code
33+
* `go-spancheck`: from 0.6.4 to 0.6.5
34+
* `goconst`: from 1.8.1 to 1.8.2
35+
* `gosec`: from 2.22.3 to 2.22.4
36+
* `gosec`: from 2.22.4 to 2.22.5
37+
* `makezero`: from 1.2.0 to 2.0.1
38+
* `misspell`: from 0.6.0 to 0.7.0
39+
* `usetesting`: from 0.4.3 to 0.5.0
40+
4. Misc.
41+
* exclusions: fix `path-expect`
42+
* formatters: write the input to `stdout` when using `stdin` and there are no changes
43+
* migration: improve the error message when trying to migrate a migrated config
44+
* `typecheck`: deduplicate errors
45+
* `typecheck`: stops the analysis after the first error
46+
* Deprecate `print-resources-usage` flag
47+
* Unique version per custom build
48+
5. Documentation
49+
* Improves typecheck FAQ
50+
* Adds plugin systems recommendations
51+
* Add description for `linters.default` sets
52+
1053
### v2.1.6
1154

1255
1. Linters bug fixes

0 commit comments

Comments
 (0)