Skip to content

Commit 91a891c

Browse files
committed
website: add 2025.1 release notes
1 parent f6cedc0 commit 91a891c

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

website/content/changes/2025.1.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
title: Staticcheck 2025.1 release notes
3+
linkTitle: "2025.1 (v0.6.0)"
4+
weight: -10
5+
---
6+
7+
## Added Go 1.24 support
8+
9+
This release adds support for Go 1.24.
10+
11+
## Checks
12+
13+
### Changed checks
14+
15+
The following checks have been improved:
16+
17+
- {{< check "U1000" >}} treats all fields in a struct as used if the struct has
18+
a field of type `structs.HostLayout`.
19+
- {{< check "S1009" >}} now emits a clearer message.
20+
- {{< check "S1008" >}} no longer recommends simplifying branches that contain
21+
comments ({{< issue "704" >}}, {{< issue "1488" >}}).
22+
- {{< check "S1009" >}} now flags another redundant nil check ({{< issue "1605" >}}).
23+
- {{< check "QF1002" >}} now emits a valid automatic fix for switches that use
24+
initialization statements ({{< issue "1613" >}}).

0 commit comments

Comments
 (0)