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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃尡 Bump golang.org/x/tools from 0.4.0 to 0.5.0 #3149

Merged
merged 1 commit into from
Jan 14, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 9, 2023

Bumps golang.org/x/tools from 0.4.0 to 0.5.0.

Release notes

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

gopls/v0.5.0

A full list of issues closed can be found in the gopls/v0.5.0 milestone.

Memory usage

  • Rewrite of caching model, resulting in significant memory usage improvements (@鈥媓eschik).

New features

  • Extract to function: Support for extracting code blocks that contain return statements (@鈥媕oshbaum).
  • Workspace symbols: Support for fzf-style search syntax (@鈥媐indleyr). The following syntax is supported:
    • ' for exact matching
    • ^ for prefix matching
    • $ for suffix matching

Note: This feature does not yet work in VS Code. See golang/vscode-go#647 and microsoft/vscode#106788.

  • An experimental new code lens to view GC optimization details (@鈥媝jweinb). Once the code lens is enabled, you will see a Toggle gc details annotation at the top of your file. Clicking it will show optimization diagnostics produced by the Go compiler, and clicking it once again will hide these diagnostics. Enable the code lens by adding the following to your settings:
    "codelens": {
    	"gc_details": true
    }
  • go mod tidy and go mod vendor code lenses for go.mod files (@鈥媎andua98).
  • Support for filling in matching in-scope variables instead of just empty values in fillstruct and fillreturns (@鈥媕oshbaum).
  • Autocompletion within import statements (@鈥媎andua98).
  • Autocompletion within package declarations (@鈥媎andua98).

Improvements

  • Improvements to workspace symbols ranking and fuzzy matching (@鈥媐indleyr, @鈥媘yitcv).
  • Better completion suggestions in type switch case clauses and for calls to append, function literals, and unnamed types (@鈥媘uirdm).

Thank you

Thank you to everyone who contributed to this release!

@鈥媓eschik @鈥媐indleyr @鈥媝jweinb @鈥媕oshbaum @鈥媘cjcloud @鈥媎andua98 @鈥媘uirdm @鈥媗eitzler @鈥媘yitcv @鈥媘atloob @鈥媡ennashi @鈥媋inar-g @鈥媓asheddan

... (truncated)

Commits
  • 7db99dd go.mod: update golang.org/x dependencies
  • 1e0dff2 gopls/internal/regtest: avoid race in TestSwitchFromGOPATHToModuleMode
  • 0441b43 gopls/internal/lsp/cache: use specific mutexes for module data
  • 33071fb internal/robustio: move robustio
  • b01e7a4 gopls/internal/regtest/watch: don't run TestSwitchFromGOPATHToModuleMode
  • e417ea3 gopls: remove dead analysis code
  • 1a08d01 gopls/internal/lsp: update replace directives in go.mod for package renaming
  • eac36cb gopls/internal/regtest: port experimental workspace tests to go.work
  • 224a61b gopls/internal/lsp/source: delete Snapshot.WriteEnv method
  • 81e741e gopls/internal/lsp/safetoken: funnel more calls through this package
  • 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 ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Jan 9, 2023
@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jan 9, 2023
@k8s-ci-robot
Copy link
Contributor

Hi @dependabot[bot]. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jan 9, 2023
@camilamacedo86 camilamacedo86 changed the title Bump golang.org/x/tools from 0.4.0 to 0.5.0 馃尡 Bump golang.org/x/tools from 0.4.0 to 0.5.0 Jan 10, 2023
@camilamacedo86
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 10, 2023
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: camilamacedo86, dependabot[bot]

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 10, 2023
@camilamacedo86
Copy link
Member

/test pull-kubebuilder-e2e-k8s-1-26-0

Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](golang/tools@v0.4.0...v0.5.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.5.0 branch from 7b72ff9 to 298f7a7 Compare January 14, 2023 11:17
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 14, 2023
@camilamacedo86
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 14, 2023
@k8s-ci-robot k8s-ci-robot merged commit 9f8c026 into master Jan 14, 2023
@dependabot dependabot bot deleted the dependabot/go_modules/golang.org/x/tools-0.5.0 branch January 14, 2023 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. 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

2 participants