Skip to content

Commit 72798d3

Browse files
committed
chore: prepare release
1 parent 26668d6 commit 72798d3

File tree

3 files changed

+5303
-2
lines changed

3 files changed

+5303
-2
lines changed

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,28 @@ If you value it, consider supporting us, we appreciate it!
88

99
<!-- START --->
1010

11+
### v2.9.0
12+
13+
_Released on 2026-02-10_
14+
15+
1. Enhancements
16+
* 🎉 go1.26 support
17+
2. Linters new features or changes
18+
* `arangolint`: from 0.3.1 to 0.4.0 (new rule: detect potential query injections)
19+
* `ginkgolinter`: from 0.21.2 to 0.22.0 (support for wrappers)
20+
* `golines`: from 0.14.0 to 0.15.0
21+
* `misspell`: from 0.7.0 to 0.8.0
22+
* `unqueryvet`: from 1.4.0 to 1.5.3 (new options: `check-n1`, `check-sql-injection`, `check-tx-leaks`, `allow`, `custom-rules`)
23+
* `wsl`: from 5.3.0 to 5.6.0 (new rule: `after-block`)
24+
3. Linters bug fixes
25+
* `modernize`: from 0.41.0 to 0.42.0
26+
* `prealloc`: from 1.0.1 to 1.0.2
27+
* `protogetter`: from 0.3.18 to 0.3.20
28+
4. Misc.
29+
* Log information about files when configuration verification
30+
* Emit an error when no linters enabled
31+
* Do not collect VCS information when loading code
32+
1133
### v2.8.0
1234

1335
_Released on 2026-01-07_
@@ -19,6 +41,7 @@ _Released on 2026-01-07_
1941
* `gosec`: from daccba6b93d7 to 2.22.11 (new rule: `G116`)
2042
* `modernize`: from 0.39.0 to 0.40.0 (new analyzers: `stringscut`, `unsafefuncs`)
2143
* `prealloc`: from 1.0.0 to 1.0.1 (message changes)
44+
* `revive`: from v1.13.0 to v1.14.0 (new rules: `epoch-naming`, `use-slices-sort`)
2245
* `unqueryvet`: from 1.3.0 to 1.4.0 (new options: `check-aliased-wildcard`, `check-string-concat`, `check-format-strings`, `check-string-builder`, `check-subqueries`, `ignored-functions`, `sql-builders`)
2346
2. Linters bug fixes
2447
* `go-critic`: from 0.14.2 to 0.14.3

jsonschema/golangci.jsonschema.json

Lines changed: 57 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,7 @@
615615
"enforce-repeated-arg-type-style",
616616
"enforce-slice-style",
617617
"enforce-switch-style",
618+
"epoch-naming",
618619
"error-naming",
619620
"error-return",
620621
"error-strings",
@@ -679,6 +680,7 @@
679680
"use-any",
680681
"use-errors-new",
681682
"use-fmt-print",
683+
"use-slices-sort",
682684
"use-waitgroup-go",
683685
"useless-break",
684686
"useless-fallthrough",
@@ -715,7 +717,6 @@
715717
"modernize-analyzers": {
716718
"enum": [
717719
"any",
718-
"bloop",
719720
"fmtappendf",
720721
"forvar",
721722
"mapsloop",
@@ -760,7 +761,8 @@
760761
"assign-expr",
761762
"err",
762763
"leading-whitespace",
763-
"trailing-whitespace"
764+
"trailing-whitespace",
765+
"after-block"
764766
]
765767
},
766768
"relative-path-modes": {
@@ -4108,13 +4110,32 @@
41084110
"type": "boolean",
41094111
"default": true
41104112
},
4113+
"check-n1": {
4114+
"type": "boolean",
4115+
"default": false
4116+
},
4117+
"check-sql-injection": {
4118+
"type": "boolean",
4119+
"default": false
4120+
},
4121+
"check-tx-leaks": {
4122+
"type": "boolean",
4123+
"default": false
4124+
},
41114125
"allowed-patterns": {
41124126
"description": "Regex patterns for acceptable SELECT * usage.",
41134127
"type": "array",
41144128
"items": {
41154129
"type": "string"
41164130
}
41174131
},
4132+
"allow": {
4133+
"description": "Allow is a list of SQL patterns to allow (whitelist).",
4134+
"type": "array",
4135+
"items": {
4136+
"type": "string"
4137+
}
4138+
},
41184139
"ignored-functions": {
41194140
"description": "Functions to ignore.",
41204141
"type": "array",
@@ -4159,6 +4180,36 @@
41594180
"default": true
41604181
}
41614182
}
4183+
},
4184+
"custom-rules": {
4185+
"type": "array",
4186+
"items": {
4187+
"type": "object",
4188+
"additionalProperties": false,
4189+
"properties": {
4190+
"id": {
4191+
"type": "string"
4192+
},
4193+
"pattern": {
4194+
"type": "string"
4195+
},
4196+
"patterns": {
4197+
"type": "array",
4198+
"items": {
4199+
"type": "string"
4200+
}
4201+
},
4202+
"when": {
4203+
"type": "string"
4204+
},
4205+
"message": {
4206+
"type": "string"
4207+
},
4208+
"action": {
4209+
"type": "string"
4210+
}
4211+
}
4212+
}
41624213
}
41634214
}
41644215
},
@@ -4569,6 +4620,10 @@
45694620
"description": "Option to pass to \"go list -mod={option}\".\nSee \"go help modules\" for more information.",
45704621
"enum": ["mod", "readonly", "vendor"]
45714622
},
4623+
"enable-build-vcs": {
4624+
"type": "boolean",
4625+
"default": false
4626+
},
45724627
"allow-parallel-runners": {
45734628
"description": "Allow multiple parallel golangci-lint instances running. If disabled, golangci-lint acquires file lock on start.",
45744629
"type": "boolean",

0 commit comments

Comments
 (0)