Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

⬆️ Bump golang.org/x/tools from 0.10.0 to 0.11.0 in /src #3760

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 6, 2023

Bumps golang.org/x/tools from 0.10.0 to 0.11.0.

Release notes

Sourced from golang.org/x/tools's releases.

gopls/v0.11.0

This is a small release containing new integrations of vulnerability analysis.

Vulnerability analysis for go.mod files can be enabled by configuring the "vulncheck" setting to "Imports". For more information on vulnerability management, see the Vulnerability Management for Go blog post.

Support changes

This release removes support for the "experimentalUseInvalidMetadata" setting, as described in the v0.10.0 release. Other settings slated for deprecation in that release remain temporarily supported, but will be removed in v0.12.0.

New Features

Analyzing dependencies for vulnerabilities

This release offers two different options for detecting vulnerabilities in dependencies. Both are backed by the Go vulnerability database (https://vuln.go.dev) and complement each other.

  • Imports-based scanning, enabled by the "vulncheck": "Imports" setting, reports vulnerabilities by scanning the set of packages imported in the workspace. This is fast, but may report more false positives.
  • Integration of the golang.org/x/vuln/cmd/govulncheck command-line tool performs a more precise analysis based on-call graph reachability, with fewer false positives. Because it is slower to compute, it must be manually triggered by using "Run govulncheck to verify" code actions or the "codelenses.run_govulncheck" code lens on go.mod files.
vulncheck.mp4

Additional checks for the loopclosure analyzer

The loopclosure analyzer, which reports problematic references from a nested function to a variable of an enclosing loop, has been improved to catch more cases. In particular, it now reports when subtests run in parallel with the loop, a mistake that often results in all but the final test case being skipped.

image

Configuration changes

  • The "vulncheck" setting controls vulnerability analysis based on the Go vulnerability database. If set to "Imports", gopls will compute diagnostics related to vulnerabilities in dependencies, and will present them in go.mod files.
  • The "codelenses.run_govulncheck" setting controls the presence of code lenses that run the govulncheck command, which takes longer but produces more accurate vulnerability reporting based on call-graph reachability.

Bug fixes

This version of gopls includes fixes to several bugs, notably:

A full list of all issues fixed can be found in the gopls/v0.11.0 milestone. To report a new problem, please file a new issue at https://go.dev/issues/new.

Thank you to our contributors

@​Arsen6331, @​SN9NV, @​adonovan, @​bcmills, @​dle8, @​findleyr, @​hyangah, @​pjweinbgo, @​suzmue

gopls/v0.10.1

This release contains a fix for golang/go#56505: a new crash during method completion on variables of type *error.

... (truncated)

Commits
  • 675bf3c go.mod: update golang.org/x dependencies
  • ad52c1c go/ssa/interp: support conversions to slices of named bytes
  • 14ec3c0 gopls/doc/contributing.md: document error handling strategies
  • c495364 go/packages/gopackages: document -mode flag
  • 87ad891 gopls/internal/lsp/source/typerefs: move test into _test.go
  • 27fd94e internal/fastwalk: doc formatting fixes (including godoc links)
  • d362be0 gopls/internal/lsp/filecache: reduce GC frequency
  • 969078b Revert "go/analysis: add Sizes that matches gc size computations"
  • 5aa6acb go/analysis: add Sizes that matches gc size computations
  • 5a89a3b go/vcs: delete
  • Additional commits viewable 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 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 added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jul 6, 2023
@aviator-app
Copy link
Contributor

aviator-app bot commented Jul 6, 2023

Current Aviator status

Aviator will automatically update this comment as the status of the PR changes.
Comment /aviator refresh to force Aviator to re-examine your PR (or learn about other /aviator commands).

This PR was merged using Aviator.


See the real-time status of this PR on the Aviator webapp.

@dependabot dependabot bot requested a review from a team July 6, 2023 05:57
@dependabot dependabot bot temporarily deployed to Testing July 6, 2023 05:57 Inactive
@dependabot dependabot bot temporarily deployed to Testing July 6, 2023 05:57 Inactive
@dependabot dependabot bot temporarily deployed to Testing July 6, 2023 05:57 Inactive
@dependabot dependabot bot temporarily deployed to Testing July 6, 2023 06:04 Inactive
@dependabot dependabot bot temporarily deployed to Testing July 6, 2023 06:04 Inactive
@dependabot dependabot bot temporarily deployed to Testing July 6, 2023 06:04 Inactive
@dependabot dependabot bot temporarily deployed to Testing July 6, 2023 06:04 Inactive
@aviator-app aviator-app bot added the blocked Upstream item prevents completion label Jul 6, 2023
@aviator-app
Copy link
Contributor

aviator-app bot commented Jul 6, 2023

This pull request failed to merge: merge conflict detected, please resolve manually and requeue. Remove the blocked label to re-queue.

Additional debug info: Failed to merge changes from the base branch into this PR. You will probably need to merge the latest changes from the base branch into the PR branch and manually resolve conflicts).

@ryanfkeepers
Copy link
Contributor

@dependabot rebase

Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](golang/tools@v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  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/src/golang.org/x/tools-0.11.0 branch from 6fe9df6 to 4f0b6da Compare July 6, 2023 16:51
@dependabot dependabot bot temporarily deployed to Testing July 6, 2023 16:51 Inactive
@dependabot dependabot bot temporarily deployed to Testing July 6, 2023 16:51 Inactive
@dependabot dependabot bot temporarily deployed to Testing July 6, 2023 16:52 Inactive
@ryanfkeepers ryanfkeepers removed the blocked Upstream item prevents completion label Jul 6, 2023
@dependabot dependabot bot temporarily deployed to Testing July 6, 2023 16:58 Inactive
@dependabot dependabot bot temporarily deployed to Testing July 6, 2023 16:58 Inactive
@dependabot dependabot bot temporarily deployed to Testing July 6, 2023 16:58 Inactive
@aviator-app aviator-app bot temporarily deployed to Testing July 6, 2023 17:15 Inactive
@aviator-app aviator-app bot temporarily deployed to Testing July 6, 2023 17:15 Inactive
@aviator-app aviator-app bot temporarily deployed to Testing July 6, 2023 17:15 Inactive
@aviator-app aviator-app bot temporarily deployed to Testing July 6, 2023 17:16 Inactive
@aviator-app aviator-app bot temporarily deployed to Testing July 6, 2023 17:16 Inactive
@aviator-app aviator-app bot temporarily deployed to Testing July 6, 2023 17:16 Inactive
@aviator-app aviator-app bot temporarily deployed to Testing July 6, 2023 17:16 Inactive
@sonarcloud
Copy link

sonarcloud bot commented Jul 6, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@aviator-app aviator-app bot merged commit 597a51c into main Jul 6, 2023
@aviator-app aviator-app bot deleted the dependabot/go_modules/src/golang.org/x/tools-0.11.0 branch July 6, 2023 17:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code mergequeue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants