Skip to content

Commit

Permalink
build(deps): Bump honnef.co/go/tools from 0.4.6 to 0.4.7 in /tools (#154
Browse files Browse the repository at this point in the history
)

Bumps [honnef.co/go/tools](https://github.com/dominikh/go-tools) from
0.4.6 to 0.4.7.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/dominikh/go-tools/releases">honnef.co/go/tools's
releases</a>.</em></p>
<blockquote>
<h2>Staticcheck 2023.1.7 (v0.4.7)</h2>
<p>This release fixes some minor issues in Staticcheck’s intermediate
representation. Furthermore, it improves the way <a
href="https://staticcheck.io/docs/checks/#QF1003">QF1003</a> generates
suggested fixes, working around constraints in the language server
protocol.</p>
<p>The released binaries for this version have been built with Go 1.22
and should no longer panic when checking code targeting Go 1.22.</p>
<h2>Staticcheck 2023.1.6 (v0.4.6)</h2>
<p>This release fixes the following bugs:</p>
<ul>
<li>A crash when using the upcoming Go 1.22 (<a
href="https://staticcheck.io/issues/1442">issue 1442</a>)</li>
<li>A false positive in <a
href="https://staticcheck.io/docs/checks/#SA9005">SA9005</a> when
embedding basic types (<a
href="https://staticcheck.io/issues/1443">issue 1443</a>)</li>
</ul>
<h2>Staticcheck 2023.1.5 (v0.4.5)</h2>
<p>This release fixes the following bug:</p>
<ul>
<li>A crash involving methods named <code>_</code></li>
</ul>
<h2>Staticcheck 2023.1.4 (v0.4.4)</h2>
<p>This release adds support for <strong>Go 1.21</strong> and fixes the
following bugs:</p>
<ul>
<li>Three crashes when encountering unnecessarily parenthesized
statements (<a
href="https://redirect.github.com/dominikh/go-tools/issues/1393">#1393</a>,
<a
href="https://redirect.github.com/dominikh/go-tools/issues/1400">#1400</a>)</li>
<li>Unnecessarily high memory usage when analyzing composite literals
such as <code>[]int{1&lt;&lt;31: 1}</code> (<a
href="https://redirect.github.com/dominikh/go-tools/issues/1393">#1393</a>)</li>
<li>A false positive in <a
href="https://staticcheck.dev/docs/checks/#S1011">S1011</a> when
appending to a dynamic left-hand side (<a
href="https://redirect.github.com/dominikh/go-tools/issues/1399">#1399</a>)</li>
<li>A crash involving generics (<a
href="https://redirect.github.com/dominikh/go-tools/issues/1410">#1410</a>)</li>
<li>A false positive in <a
href="https://staticcheck.dev/docs/checks/#SA9001">SA9001</a> involving
control flow statements (<a
href="https://redirect.github.com/dominikh/go-tools/issues/488">#488</a>)</li>
<li>A false positive in <a
href="https://staticcheck.dev/docs/checks/#ST1003">ST1003</a>,
complaining about the names of fuzz functions (<a
href="https://redirect.github.com/dominikh/go-tools/issues/1420">#1420</a>)</li>
</ul>
<h2>Staticcheck 2023.1.3 (v0.4.3)</h2>
<p>This release fixes the following bugs:</p>
<ul>
<li>A crash when embedding type aliases of unnamed types (<a
href="https://staticcheck.io/issues/1361">issue 1361</a>)</li>
<li>A false positive in U1000, claiming that type aliases are unused (<a
href="https://staticcheck.io/issues/1365">issue 1365</a>)</li>
<li>A bug in the binary formatter that prevented correct merging
behavior for some checks (<a
href="https://staticcheck.io/issues/1372">issue 1372</a>)</li>
</ul>
<h2>Staticcheck 2023.1.2 (v0.4.2)</h2>
<p>This release fixes a bug that prevented the <code>binary</code>
formatter from working (<a
href="https://staticcheck.io/issues/1370">issue 1370</a>).</p>
<h2>Staticcheck 2023.1.1 (v0.4.1)</h2>
<p>This release fixes a crash, a false positive in U1000 (<a
href="https://staticcheck.io/issues/1360">issue 1360</a>) and improves
the way deprecated API is flagged (<a
href="https://staticcheck.io/issues/1318">issue 1318</a>).</p>
<p>When targeting a Go version that is older than the version that
deprecated an API, <a
href="https://staticcheck.io/docs/checks/#SA1019">SA1019</a> will no
longer flag the use even if there is already an alternative available in
the targeted Go version.</p>
<p>For example, <code>math/rand.Seed</code> has been deprecated in Go
1.20, but an alternative has existed since Go 1.0. In the past, we would
flag uses of <code>Seed</code> even if targeting e.g. Go 1.19, to
encourage better forwards compatibility. This can lead to unnecessary
churn, however, because the correct change may depend on the Go version
in use. For example, for <code>Seed</code> before Go 1.20, the
alternative is to use a separate instance of
<code>math/rand.Rand</code>, whereas in Go 1.20, a possible alternative
is to simply drop the call to <code>Seed</code>.</p>
<h2>Staticcheck 2023.1 (v0.4.0)</h2>
<p>Staticcheck 2023.1 adds support for Go 1.20, brings minor
improvements to various checks, and replaces U1000 with a new
implementation.</p>
<p>The following checks have been improved:</p>
<ul>
<li>The wording of <a
href="https://staticcheck.io/docs/checks/#S1001">S1001</a> has been made
clearer for cases involving arrays. Furthermore, it no longer suggests
using copy when the function has been shadowed.</li>
<li><a href="https://staticcheck.io/docs/checks/#S1011">S1011</a> now
recognizes index-based loops (<a
href="https://staticcheck.io/issues/881">issue 881</a>).</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/dominikh/go-tools/commit/a093f7c2d3d45d5104fb3414ae939a98be37be02"><code>a093f7c</code></a>
Version 2023.1.7 (v0.4.7)</li>
<li><a
href="https://github.com/dominikh/go-tools/commit/f4d3418968bf41f7003674ed22dbb2d2dffd3389"><code>f4d3418</code></a>
website: add 2023.1.7 release notes</li>
<li><a
href="https://github.com/dominikh/go-tools/commit/917c595b36be86070d4efcd033a43ac7d1cab7eb"><code>917c595</code></a>
quickfix: backport &quot;QF1003: reorder edits to respect LSP
spec&quot;</li>
<li><a
href="https://github.com/dominikh/go-tools/commit/b1b6abbe834e8757df7f7a267bb462e2eac59998"><code>b1b6abb</code></a>
go/ir: emit field and index lvals on demand</li>
<li><a
href="https://github.com/dominikh/go-tools/commit/3e57c5dca34d85b15b722c0495fbf2c997b2f559"><code>3e57c5d</code></a>
go/ir: fix miscompilation of &lt;<!-- raw HTML omitted -->=
statements</li>
<li><a
href="https://github.com/dominikh/go-tools/commit/d965e98a28ee8e5aa3d84ecf28bd724a2e643ea3"><code>d965e98</code></a>
go/ir: emit Low expression before High in *ast.Slice</li>
<li><a
href="https://github.com/dominikh/go-tools/commit/102ab038d41e58c1001fc007b7a7b65f83a6de2e"><code>102ab03</code></a>
go/ir: don't emit split stores before phi nodes</li>
<li>See full diff in <a
href="https://github.com/dominikh/go-tools/compare/v0.4.6...v0.4.7">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=honnef.co/go/tools&package-manager=go_modules&previous-version=0.4.6&new-version=0.4.7)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@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)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored May 14, 2024
1 parent 42557cd commit b2ff7dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tools/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.22
require (
github.com/stretchr/testify v1.9.0
golang.org/x/lint v0.0.0-20210508222113-6edffad5e616
honnef.co/go/tools v0.4.6
honnef.co/go/tools v0.4.7
)

require (
Expand Down
4 changes: 2 additions & 2 deletions tools/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
honnef.co/go/tools v0.4.6 h1:oFEHCKeID7to/3autwsWfnuv69j3NsfcXbvJKuIcep8=
honnef.co/go/tools v0.4.6/go.mod h1:+rnGS1THNh8zMwnd2oVOTL9QF6vmfyG6ZXBULae2uc0=
honnef.co/go/tools v0.4.7 h1:9MDAWxMoSnB6QoSqiVr7P5mtkT9pOc1kSxchzPCnqJs=
honnef.co/go/tools v0.4.7/go.mod h1:+rnGS1THNh8zMwnd2oVOTL9QF6vmfyG6ZXBULae2uc0=

0 comments on commit b2ff7dd

Please sign in to comment.