Releases: go-critic/go-critic
Releases · go-critic/go-critic
v0.13.0
What's Changed
- make: bump golangci-lint v1.64.5 by @cristaloleg in #1456
- dev: enable copyloopvar and usetesting linters by @alexandear in #1459
- checkers/testdata: remove files needed for Go 1.18 by @alexandear in #1458
- deps: bump github.com/google/go-cmp from 0.6.0 to 0.7.0 by @dependabot in #1461
- deps: bump github.com/quasilyte/go-ruleguard from 0.4.2 to 0.4.4 by @dependabot in #1462
- checkers: update goStdlib and goBuiltins maps by @alexandear in #1442
- checkers/dupArg: add more patterns by @alingse in #1466
- checkers: fix commentedOutCode false positive by @alexandear in #1445
- checkers/rules/rules.go:dynamicFmtString: advice doc string Fixes #1381 by @Afterous in #1438
- checkers/sqlQuery: properly process type aliases by @cristaloleg in #1467
- deps: bump golang.org/x/tools from 0.30.0 to 0.31.0 by @dependabot in #1465
Full Changelog: v0.12.0...v0.13.0
v0.12.0
What's Changed
- checkers/hugeParam: fix: ast.FuncDecl.Type.Results could be nil when checking for String() by @Afterous in #1434
- deps: bump x/tools to 0.30.0 to support Go 1.24 by @alexandear in #1454
New Contributors
Full Changelog: v0.11.5...v0.12.0
v0.11.5
What's Changed
- deps: bump golang.org/x/tools from 0.21.0 to 0.22.0 by @dependabot in #1420
- deps: bump golang.org/x/tools from 0.22.0 to 0.23.0 by @dependabot in #1424
- docs: fix links to Go wiki by @alexandear in #1426
- checkers: remove outdated build constraint by @alexandear in #1425
- dev: enable back golangci-lint by @alexandear in #1427
- chore: fix CI by @ldez in #1431
- checkers: add rangeAppendAll by @alingse in #1423
New Contributors
Full Changelog: v0.11.4...v0.11.5
v0.11.4
What's Changed
- deps: bump github.com/cristalhq/acmd from 0.11.2 to 0.12.0 by @dependabot in #1415
- deps: bump golang.org/x/tools from 0.19.0 to 0.21.0 by @dependabot in #1417
- checkers/analyzer: remove concurrency from
go/analysis
analyzer by @zakcutner in #1416
New Contributors
- @zakcutner made their first contribution in #1416
Full Changelog: v0.11.3...v0.11.4
v0.11.3
What's Changed
- deps: bump golang.org/x/tools from 0.18.0 to 0.19.0 by @dependabot in #1409
- utils: add built-in min and max functions by @simonfontana in #1411
New Contributors
- @simonfontana made their first contribution in #1411
Full Changelog: v0.11.2...v0.11.3
v0.11.2
What's Changed
- deps: bump golang.org/x/tools from 0.17.0 to 0.18.0 by @dependabot in #1402
- docs: fix ruleguard parameters description by @alexandear in #1403
- docs: fix escape by @cristaloleg in #1404
- deps: bump github.com/quasilyte/go-ruleguard from 0.4.0 to 0.4.2 by @dependabot in #1407
- checkers/commentFormatting: exclude GoLand and VSCode custom folding regions by @VyrCossont in #1408
New Contributors
- @VyrCossont made their first contribution in #1408
Full Changelog: v0.11.1...v0.11.2
v0.11.1
What's Changed
- framework: drop this package by @cristaloleg in #1391
- deps: bump github.com/go-toolsmith/astequal from 1.1.0 to 1.2.0 by @dependabot in #1395
- deps: bump golang.org/x/tools from 0.16.1 to 0.17.0 by @dependabot in #1396
- ci: drop release drafter by @cristaloleg in #1400
- checkers: removed timeCmpSimplify checker by @quasilyte in #1281
Full Changelog: v0.11.0...v0.11.1
v0.11.0
What's Changed
- deps: bump golang.org/x/tools from 0.16.0 to 0.16.1 by @dependabot in #1390
- checkers/emptyStringTest: add len(s) >= 0 case by @cristaloleg in #1393
- checkers/sloppyLen: make it diagnostic check by @cristaloleg in #1394
Full Changelog: v0.10.0...v0.11.0
v0.10.0
What's Changed
- checkers: fix typos by @alexandear in #1364
- ci: bump actions/checkout from 3 to 4 by @dependabot in #1367
- checker: add badSyncOnceFunc by @cristaloleg in #1366
- build(deps): bump golang.org/x/tools from 0.12.0 to 0.13.0 by @dependabot in #1368
- docs: regenerate docs and add badSyncOnceFunc by @alexandear in #1369
- checkers: fix typo in externalErrorReassign description by @alexandear in #1370
- checkers/commentedOutCode: add minimum length of comment parameter. by @lasiar in #1371
- checkers/hugeParam: ignore method String() string. by @lasiar in #1372
- deps: bump golang.org/x/tools from 0.13.0 to 0.14.0 by @dependabot in #1373
- ci,docs: autogenerate docs (#1016) by @lasiar in #1375
- checkers: drop sloppyTestFuncName by @cristaloleg in #1376
- checkers/unlambda: correct calculation amount args. by @lasiar in #1377
- build(deps): bump github.com/google/go-cmp from 0.5.9 to 0.6.0 by @dependabot in #1378
- ci: update dependabot.yml by @cristaloleg in #1379
- deps: bump golang.org/x/tools from 0.14.0 to 0.15.0 by @dependabot in #1382
- docs: simplify install instructions via go install by @alexandear in #1383
- checkers: fix typos in descriptions, docs, and comments by @alexandear in #1385
- deps: bump github.com/cristalhq/acmd from 0.11.1 to 0.11.2 by @dependabot in #1386
- deps: bump golang.org/x/tools from 0.15.0 to 0.16.0 by @dependabot in #1387
- ci: bump actions/setup-go from 4 to 5 by @dependabot in #1389
New Contributors
Full Changelog: v0.9.0...v0.10.0
v0.9.0
What's Changed
- build(deps): bump golang.org/x/tools from 0.11.0 to 0.11.1 by @dependabot in #1356
- deps: bump golang.org/x/tools from 0.11.1 to 0.12.0 by @dependabot in #1358
- deps: bump ruleguard by @cristaloleg in #1360
- deps: bump ruleguard to 0.4.0 by @cristaloleg in #1363
Full Changelog: v0.8.2...v0.9.0