Skip to content

Commit

Permalink
website: add 2025.1 release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikh committed Feb 11, 2025
1 parent f6cedc0 commit 91a891c
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions website/content/changes/2025.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: Staticcheck 2025.1 release notes
linkTitle: "2025.1 (v0.6.0)"
weight: -10
---

## Added Go 1.24 support

This release adds support for Go 1.24.

## Checks

### Changed checks

The following checks have been improved:

- {{< check "U1000" >}} treats all fields in a struct as used if the struct has
a field of type `structs.HostLayout`.
- {{< check "S1009" >}} now emits a clearer message.
- {{< check "S1008" >}} no longer recommends simplifying branches that contain
comments ({{< issue "704" >}}, {{< issue "1488" >}}).
- {{< check "S1009" >}} now flags another redundant nil check ({{< issue "1605" >}}).
- {{< check "QF1002" >}} now emits a valid automatic fix for switches that use
initialization statements ({{< issue "1613" >}}).

0 comments on commit 91a891c

Please sign in to comment.