Skip to content

chore(deps): update dependency dominikh/go-tools to v2026#3446

Open
renovate[bot] wants to merge 1 commit intomainfrom
mend/dominikh-go-tools-2026.x
Open

chore(deps): update dependency dominikh/go-tools to v2026#3446
renovate[bot] wants to merge 1 commit intomainfrom
mend/dominikh-go-tools-2026.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 13, 2026

This PR contains the following updates:

Package Update Change OpenSSF
dominikh/go-tools major 2025.1.12026.1 OpenSSF Scorecard

Release Notes

dominikh/go-tools (dominikh/go-tools)

v2026.1: Staticcheck 2026.1 (v0.7.0)

Compare Source

Improved Go 1.25 and Go 1.26 support

This release updates Staticcheck’s database of deprecated standard library APIs to cover the Go 1.25 and Go 1.26 releases, as well as to add some crypto/elliptic deprecations from Go 1.21 that were missing. Furthermore, it adds support for new(expr), which was added in Go 1.26.

Other changes

  • Version mismatch checks have been relaxed and no longer care about mismatches in the patch level. For example, Staticcheck built with Go 1.26.0 will be able to check code using Go 1.26.1.
  • Staticcheck no longer opens staticcheck.conf files that aren’t regular files (or symlinks to regular files). See this gomodfs issue for the motivation behind this change.
  • Staticcheck now exits with a non-zero status code if it encountered an invalid configuration file.

Checks

Changed checks

The following checks have been improved:

  • SA1026 no longer panics when checking code that tries to marshal named functions (issue 1660).
  • SA4000 no longer flags var _ = T{} == T{}, a pattern used to ensure that type T is comparable (issue 1670).
  • SA4000 now correctly skips structs containing floats.
  • SA4000 now skips functions from the math/rand/v2 package.
  • SA4003 now skips over generated files.
  • SA4030 now also checks uses of math/rand/v2.
  • SA5008 has been updated with better support for encoding/json/v2.
  • SA5010 no longer tries to reason about generics, to avoid false positives.
  • ST1019 no longer flags duplicate imports of unsafe, mainly to play nice with cgo.
  • ST1003 and QF1002 now emit more concise positions, benefitting users of gopls (issue 1647).
  • ST1019 now allows importing the same package twice, once using a blank import (issue 1688).
  • QF1008 no longer offers to delete all embedded fields from a selector expression. Even when two fields are individually superfluous, removing both might change the semantics of the code (issue 1682).
  • QF1012 now detects more uses of bytes.Buffer (issue 1097).
  • A bug in the intermediate representation was fixed, affecting the behavior of various checks (issue 1654).

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants