Skip to content

Chore(deps): bump honnef.co/go/tools from 0.6.1 to 0.7.0#3286

Merged
mergify[bot] merged 1 commit intomainfrom
dependabot/go_modules/honnef.co/go/tools-0.7.0
Feb 18, 2026
Merged

Chore(deps): bump honnef.co/go/tools from 0.6.1 to 0.7.0#3286
mergify[bot] merged 1 commit intomainfrom
dependabot/go_modules/honnef.co/go/tools-0.7.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 16, 2026

Bumps honnef.co/go/tools from 0.6.1 to 0.7.0.

Release notes

Sourced from honnef.co/go/tools's releases.

Staticcheck 2026.1 (v0.7.0)

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).

Staticcheck 2025.1.1 (v0.6.1)

This is a re-release of 2025.1 but with prebuilt binaries that have been built with Go 1.24.1.

Staticcheck 2025.1 (v0.6.0)

Added Go 1.24 support

This release adds support for Go 1.24.

Checks

Changed checks

The following checks have been improved:

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

... (truncated)

Commits
  • ff63afa Version 2026.1 (v0.7.0)
  • b4a35ea Ignore deprecated uses of GOROOT in our code
  • ad522a4 config: add simd/archsimd to default dot_import_whitelist
  • 9bb55d1 website: go mod tidy
  • 4d7b7cb website: add 2026.1 release notes
  • 5b2cf0a go/ir, go/buildid: update UPSTREAM
  • 4e2a09a SA5008: update for latest version of encoding/json/v2
  • 8be920f Update to Go 1.25 and run 'go fix'
  • 952cd74 knowledge: update deprecations for Go 1.26
  • 0ca3b12 go/ir: support new(expr)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot requested a review from a team as a code owner February 16, 2026 18:14
Copy link
Contributor

@mergify mergify bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically approving dependabot

Copy link
Contributor

@mergify mergify bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically approving dependabot

@teresaromero
Copy link
Contributor

@dependabot rebase

Bumps [honnef.co/go/tools](https://github.com/dominikh/go-tools) from 0.6.1 to 0.7.0.
- [Release notes](https://github.com/dominikh/go-tools/releases)
- [Commits](dominikh/go-tools@v0.6.1...v0.7.0)

---
updated-dependencies:
- dependency-name: honnef.co/go/tools
  dependency-version: 0.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/honnef.co/go/tools-0.7.0 branch from 22e48f3 to 0610f0f Compare February 18, 2026 11:51
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

@mergify mergify bot added the queued label Feb 18, 2026
mergify bot added a commit that referenced this pull request Feb 18, 2026
@mergify
Copy link
Contributor

mergify bot commented Feb 18, 2026

Merge Queue Status

Rule: default


This pull request spent 1 hour 11 minutes 26 seconds in the queue, including 35 minutes 55 seconds running CI.

Required conditions to merge

mergify bot added a commit that referenced this pull request Feb 18, 2026
@mergify mergify bot merged commit ef74f40 into main Feb 18, 2026
5 checks passed
@mergify mergify bot deleted the dependabot/go_modules/honnef.co/go/tools-0.7.0 branch February 18, 2026 13:47
@mergify mergify bot removed the queued label Feb 18, 2026
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.

2 participants