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

feat(deps): bump golang.org/x/tools from 0.7.0 to 0.8.0 #3918

Merged
merged 1 commit into from
Apr 7, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 7, 2023

Bumps golang.org/x/tools from 0.7.0 to 0.8.0.

Release notes

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

gopls/v0.8.0

Go version support

Support for Go 1.18

Version 0.8.0 of gopls supports features added to Go 1.18, specifically:

  • Support for multi-module workspaces using go.work files.
  • Diagnostics for Fuzz tests.
  • Improved support for generics.

To use these features, gopls must be installed using Go 1.18. See go.dev/dl for the latest status of Go 1.18 -- as of writing Go 1.18 is not yet released, but Go 1.18 RC1 may be used.

Dropped support for Go 1.12

Version 0.8.0 of gopls no longer supports building at Go 1.12. See golang/go#50827 for more details.

New Features

go.work integration

Gopls now supports multi-module workspaces using go.work files. To use this feature, create a go.work file that includes the modules you want to work on, and then open your editor to the directory containing go.work. For more information, see the go.work reference, or the gopls documentation for multi-module workspaces.

Diagnostics for Fuzz tests

When writing Fuzz tests, gopls provides diagnostics for invalid arguments to Fuzz. image

Improved support for generics

Honor the language version configured in go.mod

gopls now provides diagnostics for language features based on the go directive in the applicable go.mod file for a package.

For some errors related to incompatible language versions, gopls offers a quick-fix to update the go.mod Go version. (note that if the go.mod file is open, it may need to be saved in order for language version changes to take effect) gomodedit

Improved completion with type parameters

Gopls autocompletion is improved in several contexts when using generic types.

genericvarcompl

New code action to add missing method stubs

Gopls now provides a code action to implement missing methods.

implementiface

Improved performance and accuracy for workspace symbol requests

... (truncated)

Commits
  • 5ef3193 gopls/internal/lsp/source/typerefs: reexpress tests wrt ExternalRefs
  • c5f768a go.mod: update golang.org/x dependencies
  • 7c33a56 gopls/internal/lsp/source: show both the original declaration and the value o...
  • 4d205d8 gopls/doc: add instructions for using go.work with the Go distribution
  • d5076cc gopls/internal/lsp/cache: don't trace a region for MetadataForFile
  • f796361 gopls/internal/lsp: add tracing instrumentation for all Server methods
  • e104501 gopls/internal/astutil: TestPurgeFuncBodies requires source code for std
  • 6520870 gopls/internal/lsp/source/typerefs: allow for duplicate decls
  • 902fdca gopls/internal/lsp/source/typerefs: purge func bodies before parsing
  • 58c9a63 go/packages/internal/nodecount: count ast.Node frequency
  • 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 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 the dependencies Pull requests that update a dependency file label Apr 7, 2023
@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Apr 7, 2023
@cloudflare-pages
Copy link

cloudflare-pages bot commented Apr 7, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0a263cb
Status: ✅  Deploy successful!
Preview URL: https://fb352948.goreleaser.pages.dev
Branch Preview URL: https://dependabot-go-modules-golang-8zn9.goreleaser.pages.dev

View logs

@codecov
Copy link

codecov bot commented Apr 7, 2023

Codecov Report

Merging #3918 (b985380) into main (cc584c8) will not change coverage.
The diff coverage is n/a.

❗ Current head b985380 differs from pull request most recent head 42c19fb. Consider uploading reports for the commit 42c19fb to get more accurate results

@@           Coverage Diff           @@
##             main    #3918   +/-   ##
=======================================
  Coverage   83.86%   83.86%           
=======================================
  Files         123      123           
  Lines       10713    10713           
=======================================
  Hits         8984     8984           
  Misses       1389     1389           
  Partials      340      340           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@dependabot dependabot bot force-pushed the dependabot/go_modules/golang.org/x/tools-0.8.0 branch from b985380 to 0a263cb Compare April 7, 2023 14:50
@pull-request-size pull-request-size bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Apr 7, 2023
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](golang/tools@v0.7.0...v0.8.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/golang.org/x/tools-0.8.0 branch from 0a263cb to 42c19fb Compare April 7, 2023 14:51
@caarlos0 caarlos0 merged commit 30f543c into main Apr 7, 2023
9 of 10 checks passed
@caarlos0 caarlos0 deleted the dependabot/go_modules/golang.org/x/tools-0.8.0 branch April 7, 2023 14:52
@github-actions github-actions bot added this to the v1.17.0 milestone Apr 7, 2023
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 size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant