
Some checks failed
Extra / Vulnerability scanner (push) Failing after 5m6s
CI / golangci-lint (push) Failing after 22m59s
Release a tag / release (push) Failing after 22m29s
CI / tests-on-windows (push) Has been cancelled
CI / tests-on-unix (1.13, ubuntu-latest) (push) Has been cancelled
CI / tests-on-unix (1.14, ubuntu-latest) (push) Has been cancelled
CI / check_generated (push) Has been cancelled
99 lines
3.4 KiB
Markdown
99 lines
3.4 KiB
Markdown
Follow the news and releases on our [twitter](https://twitter.com/golangci) and our [blog](https://medium.com/golangci).
|
|
There is the most valuable changes log:
|
|
|
|
### August 2020
|
|
|
|
1. new `nlreturn` linter: https://github.com/ssgreg/nlreturn
|
|
2. new `gci` linter: https://github.com/daixiang0/gci
|
|
3. support `latest` version of golangci-lint in golangci-lint-action
|
|
4. update `gosec` linter from 2.3.0 to 2.4.0
|
|
5. update `godot` linter from 0.4.2 to 0.4.8
|
|
|
|
### July 2020
|
|
|
|
1. `gofumpt` linter:
|
|
* update linter
|
|
* add `extra-rules` option
|
|
* support auto-fixing
|
|
2. upgrade `exhaustive` linter
|
|
3. upgrade `exportloopref` linter
|
|
4. improve 'no such linter' error message
|
|
5. sorting result.Issues implementation
|
|
6. enhancements in CI:
|
|
* Run `nancy` validation for all dependencies
|
|
* Move dependabot config to `.github` folder
|
|
7. other
|
|
* bump `lodash` from 4.17.15 to 4.17.19 in /tools
|
|
* bump `golangci/golangci-lint-action` from v1.2.2 to v2
|
|
* bump `github.com/valyala/quicktemplate` from 1.5.0 to 1.5.1
|
|
|
|
|
|
### June 2020
|
|
1. Add new linters: `gofumpt`
|
|
|
|
### May 2020
|
|
|
|
1. Add new linters: `nolintlint`, `goerr113`
|
|
2. Updated linters: `godot`, `staticcheck`
|
|
3. Launch a [website](https://golangci-lint.run)
|
|
|
|
### April 2020
|
|
|
|
1. Add new linters: `testpackage`, `nestif`, `godot`, `gomodguard`, `asciicheck`
|
|
2. Add github actions output format
|
|
3. Update linters: `wsl`, `gomodguard`, `gosec`
|
|
4. Support `disabled-tags` setting for `gocritic`
|
|
5. Mitigate OOM and "failed prerequisites"
|
|
6. Self-isolate due to unexpected pandemics
|
|
7. Support case-sensitive excludes
|
|
8. Allow granular re-enabling excludes by ID, e.g. `EXC0002`
|
|
|
|
### September 2019
|
|
|
|
1. Support go1.13
|
|
2. Add new linters: `funlen`, `whitespace` (with auto-fix) and `godox`
|
|
3. Update linters: `gochecknoglobals`, `scopelint`, `gosec`
|
|
4. Provide pre-built binary for ARM and FreeBSD
|
|
5. 2. Fix false-positives in `unused`
|
|
6. Support `--skip-dirs-use-default`
|
|
7. Add support for bash completions
|
|
|
|
### July 2019
|
|
|
|
1. Fix parallel writes race condition
|
|
2. Update bodyclose with fixed panic
|
|
|
|
### June 2019
|
|
|
|
1. Treat Go source files as a plain text by `misspell`: it allows detecting issues in strings, variable names, etc.
|
|
2. Implement richer and more stable auto-fix of `misspell` issues.
|
|
|
|
### May 2019
|
|
|
|
1. Add [bodyclose](https://github.com/timakin/bodyclose) linter.
|
|
2. Support junit-xml output.
|
|
|
|
### April 2019
|
|
|
|
1. Update go-critic, new checkers were added: badCall, dupImports, evalOrder, newDeref
|
|
2. Fix staticcheck panic on packages that do not compile
|
|
3. Make install script work on Windows
|
|
4. Fix compatibility with the latest x/tools version and update golang.org/x/tools
|
|
5. Correct import path of module sourcegraph/go-diff
|
|
6. Fix `max-issues-per-linter` name
|
|
7. Fix linting of preprocessed files (e.g. `*.qtpl.go`, goyacc)
|
|
8. Enable auto-fixing when running via pre-commit
|
|
|
|
### March 2019
|
|
|
|
1. Support the newest `go vet` (with `go/analysis`)
|
|
2. Support configuration of `go vet`: e.g. you can set print functions by `linters-settings.govet.settings.printf.funcs`
|
|
3. Update megacheck (staticcheck) to 2019.1.1
|
|
4. Add [information](https://github.com/golangci/golangci-lint#memory-usage-of-golangci-lint) about controlling space-time trade-off into README
|
|
5. Exclude issues by source code line regexp by `issues.exclude-rules[i].source`
|
|
6. Build and test on go 1.12
|
|
7. Support `--color` option
|
|
8. Update x/tools to fix c++ issues
|
|
9. Include support for log level
|
|
10. Sort linters list in help commands
|