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 golang.org/x/tools from 0.4.0 to 0.5.0 #23610

Merged
merged 1 commit into from Feb 8, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 7, 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 (@​heschik).

New features

  • Extract to function: Support for extracting code blocks that contain return statements (@​joshbaum).
  • Workspace symbols: Support for fzf-style search syntax (@​findleyr). 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 (@​pjweinb). 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 (@​dandua98).
  • Support for filling in matching in-scope variables instead of just empty values in fillstruct and fillreturns (@​joshbaum).
  • Autocompletion within import statements (@​dandua98).
  • Autocompletion within package declarations (@​dandua98).

Improvements

  • Improvements to workspace symbols ranking and fuzzy matching (@​findleyr, @​myitcv).
  • Better completion suggestions in type switch case clauses and for calls to append, function literals, and unnamed types (@​muirdm).

Thank you

Thank you to everyone who contributed to this release!

@​heschik @​findleyr @​pjweinb @​joshbaum @​mcjcloud @​dandua98 @​muirdm @​leitzler @​myitcv @​matloob @​tennashi @​ainar-g @​hasheddan

... (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

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)

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 requested a review from a team as a code owner February 7, 2023 14:02
@dependabot dependabot bot requested a review from rolinh February 7, 2023 14:02
@dependabot dependabot bot added kind/enhancement This would improve or streamline existing functionality. release-note/misc This PR makes changes that have no direct user impact. labels Feb 7, 2023
@github-actions github-actions bot added the kind/community-contribution This was a contribution made by a community member. label Feb 7, 2023
@pchaigno
Copy link
Member

pchaigno commented Feb 8, 2023

Not covered in end-to-end tests as far as I can see. Merging.

@pchaigno pchaigno merged commit d70af66 into master Feb 8, 2023
@pchaigno pchaigno deleted the dependabot/go_modules/golang.org/x/tools-0.5.0 branch February 8, 2023 17:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/community-contribution This was a contribution made by a community member. kind/enhancement This would improve or streamline existing functionality. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants