|
1 |
| -Follow the news and releases on [Mastodon](https://fosstodon.org/@golangcilint) and on [Twitter](https://twitter.com/golangci). |
| 1 | +Follow the news and releases on [Mastodon](https://fosstodon.org/@golangcilint) and on [Bluesky](https://bsky.app/profile/golangcilint.bsky.social). |
| 2 | + |
| 3 | +`golangci-lint` is a free and open-source project built by volunteers. |
| 4 | + |
| 5 | +If you value it, consider supporting us, we appreciate it! ❤️ |
| 6 | + |
| 7 | +[](https://opencollective.com/golangci-lint) |
| 8 | +[](https://github.com/sponsors/golangci) |
| 9 | + |
| 10 | +### v1.62.0 |
| 11 | + |
| 12 | +1. New linters |
| 13 | + * Add `recvcheck` linter https://github.com/raeperd/recvcheck |
| 14 | + * Add `iface` linter https://github.com/uudashr/iface |
| 15 | +2. Updated linters |
| 16 | + * ⚠️ `execinquery`: deprecation step 2 |
| 17 | + * ⚠️ `gomnd`: deprecation step 2 (replaced by `mnd`) |
| 18 | + * `bidichk`: from 0.2.7 to 0.3.2 (important performance improvement) |
| 19 | + * `canonicalheader`: from 1.1.1 to 1.1.2 |
| 20 | + * `cyclop`: from 1.2.1 to 1.2.3 |
| 21 | + * `dupword`: from 0.1.1 to 0.1.3 |
| 22 | + * `errcheck`: from 1.7.0 to 1.8.0 |
| 23 | + * `errchkjson`: from 0.3.6 to 0.4.0 |
| 24 | + * `errname`: from 0.1.13 to 1.0.0 |
| 25 | + * `ginkgolinter`: from 0.17.0 to 0.18.0 (new option: `force-succeed`) |
| 26 | + * `go-check-sumtype`: from 0.1.4 to 0.2.0 (new option: `default-signifies-exhaustive`) |
| 27 | + * `go-critic`: from 0.11.4 to 0.11.5 |
| 28 | + * `go-printf-func-name`: from 7558a9eaa5af to v0.1.0 |
| 29 | + * `godot`: from 1.4.17 to 1.4.18 |
| 30 | + * `gosec`: from 2.21.2 to 2.21.4 |
| 31 | + * `intrange`: from 0.2.0 to 0.2.1 |
| 32 | + * `loggercheck`: from 0.9.4 to 0.10.1 (`log/slog` support) |
| 33 | + * `musttag`: from 0.12.2 to 0.13.0 |
| 34 | + * `nakedret`: from 2.0.4 to 2.0.5 |
| 35 | + * `nilnil`: from 0.1.9 to 1.0.0 (new option: `detect-opposite`) |
| 36 | + * `noctx`: from 0.0.2 to 0.1.0 |
| 37 | + * `protogetter`: from 0.3.6 to 0.3.8 |
| 38 | + * `revive`: from 1.3.9 to 1.5.0 (new rules: `filename-format`, and `file-length-limit`) |
| 39 | + * `tenv`: from 1.10.0 to 1.12.1 (handle dot import) |
| 40 | + * `testifylint`: from 1.4.3 to 1.5.0 (new checkers: `contains`, `encoded-compare`, `regexp`) |
| 41 | +3. Misc. |
| 42 | + * Type sizing when cross-compiling (32-bit). |
| 43 | + * code-climate: add check_name field |
| 44 | + * Improve Go version detection |
| 45 | + * Fix Go version propagation |
| 46 | +4. Documentation |
| 47 | + * Adds a section about `exclude-dirs-use-default` |
| 48 | + * Improve 'install from sources' section |
| 49 | + * Improve FAQ about Go versions |
| 50 | + * Improve linter/rule/check docs |
| 51 | + * Improve new linter section |
| 52 | + * Improve `forbidigo` pattern examples for built-in functions |
2 | 53 |
|
3 | 54 | ### v1.61.0
|
4 | 55 |
|
|
0 commit comments