Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): Bump honnef.co/go/tools from 0.4.6 to 0.4.7 in /tools #154

Merged
merged 1 commit into from
May 14, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 23, 2024

Bumps honnef.co/go/tools from 0.4.6 to 0.4.7.

Release notes

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

Staticcheck 2023.1.7 (v0.4.7)

This release fixes some minor issues in Staticcheck’s intermediate representation. Furthermore, it improves the way QF1003 generates suggested fixes, working around constraints in the language server protocol.

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.

Staticcheck 2023.1.6 (v0.4.6)

This release fixes the following bugs:

Staticcheck 2023.1.5 (v0.4.5)

This release fixes the following bug:

  • A crash involving methods named _

Staticcheck 2023.1.4 (v0.4.4)

This release adds support for Go 1.21 and fixes the following bugs:

  • Three crashes when encountering unnecessarily parenthesized statements (#1393, #1400)
  • Unnecessarily high memory usage when analyzing composite literals such as []int{1<<31: 1} (#1393)
  • A false positive in S1011 when appending to a dynamic left-hand side (#1399)
  • A crash involving generics (#1410)
  • A false positive in SA9001 involving control flow statements (#488)
  • A false positive in ST1003, complaining about the names of fuzz functions (#1420)

Staticcheck 2023.1.3 (v0.4.3)

This release fixes the following bugs:

  • A crash when embedding type aliases of unnamed types (issue 1361)
  • A false positive in U1000, claiming that type aliases are unused (issue 1365)
  • A bug in the binary formatter that prevented correct merging behavior for some checks (issue 1372)

Staticcheck 2023.1.2 (v0.4.2)

This release fixes a bug that prevented the binary formatter from working (issue 1370).

Staticcheck 2023.1.1 (v0.4.1)

This release fixes a crash, a false positive in U1000 (issue 1360) and improves the way deprecated API is flagged (issue 1318).

When targeting a Go version that is older than the version that deprecated an API, SA1019 will no longer flag the use even if there is already an alternative available in the targeted Go version.

For example, math/rand.Seed has been deprecated in Go 1.20, but an alternative has existed since Go 1.0. In the past, we would flag uses of Seed 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 Seed before Go 1.20, the alternative is to use a separate instance of math/rand.Rand, whereas in Go 1.20, a possible alternative is to simply drop the call to Seed.

Staticcheck 2023.1 (v0.4.0)

Staticcheck 2023.1 adds support for Go 1.20, brings minor improvements to various checks, and replaces U1000 with a new implementation.

The following checks have been improved:

  • The wording of S1001 has been made clearer for cases involving arrays. Furthermore, it no longer suggests using copy when the function has been shadowed.
  • S1011 now recognizes index-based loops (issue 881).

... (truncated)

Commits
  • a093f7c Version 2023.1.7 (v0.4.7)
  • f4d3418 website: add 2023.1.7 release notes
  • 917c595 quickfix: backport "QF1003: reorder edits to respect LSP spec"
  • b1b6abb go/ir: emit field and index lvals on demand
  • 3e57c5d go/ir: fix miscompilation of <= statements
  • d965e98 go/ir: emit Low expression before High in *ast.Slice
  • 102ab03 go/ir: don't emit split stores before phi nodes
  • See full diff in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Feb 23, 2024
Copy link

codecov bot commented Feb 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.75%. Comparing base (733c573) to head (993a5ed).
Report is 1 commits behind head on main.

❗ Current head 993a5ed differs from pull request most recent head ed5c3c5. Consider uploading reports for the commit ed5c3c5 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #154      +/-   ##
==========================================
- Coverage   87.76%   87.75%   -0.02%     
==========================================
  Files          39       39              
  Lines        3187     3184       -3     
==========================================
- Hits         2797     2794       -3     
  Misses        329      329              
  Partials       61       61              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dependabot dependabot bot force-pushed the dependabot/go_modules/tools/honnef.co/go/tools-0.4.7 branch from e0fe41b to 993a5ed Compare March 6, 2024 17:19
@JacobOaks
Copy link
Contributor

@dependabot rebase

Bumps [honnef.co/go/tools](https://github.com/dominikh/go-tools) from 0.4.6 to 0.4.7.
- [Release notes](https://github.com/dominikh/go-tools/releases)
- [Commits](dominikh/go-tools@v0.4.6...v0.4.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/go_modules/tools/honnef.co/go/tools-0.4.7 branch from 993a5ed to ed5c3c5 Compare April 29, 2024 20:30
@r-hang r-hang merged commit b2ff7dd into main May 14, 2024
2 of 3 checks passed
@r-hang r-hang deleted the dependabot/go_modules/tools/honnef.co/go/tools-0.4.7 branch May 14, 2024 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Development

Successfully merging this pull request may close these issues.

2 participants