Bump golang.org/x/tools from 0.3.0 to 0.5.0 #66

Merged
dependabot[bot] merged 1 commits from dependabot/go_modules/golang.org/x/tools-0.5.0 into v3 2023-01-31 06:57:41 +03:00
dependabot[bot] commented 2023-01-05 18:11:49 +03:00 (Migrated from github.com)

Bumps golang.org/x/tools from 0.3.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

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)
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.3.0 to 0.5.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/golang/tools/releases">golang.org/x/tools's releases</a>.</em></p> <blockquote> <h2>gopls/v0.5.0</h2> <p>A full list of issues closed can be found in the <a href="https://github.com/golang/go/milestone/138?closed=1">gopls/v0.5.0 milestone</a>.</p> <h2>Memory usage</h2> <ul> <li>Rewrite of caching model, resulting in significant memory usage improvements (<a href="https://github.com/heschik"><code>@​heschik</code></a>).</li> </ul> <h2>New features</h2> <ul> <li>Extract to function: Support for extracting code blocks that contain return statements (<a href="https://github.com/joshbaum"><code>@​joshbaum</code></a>).</li> <li>Workspace symbols: Support for <a href="https://github.com/junegunn/fzf#search-syntax">fzf-style search syntax</a> (<a href="https://github.com/findleyr"><code>@​findleyr</code></a>). The following syntax is supported: <ul> <li><code>'</code> for exact matching</li> <li><code>^</code> for prefix matching</li> <li><code>$</code> for suffix matching</li> </ul> </li> </ul> <p><strong>Note</strong>: This feature does not yet work in VS Code. See <a href="https://github-redirect.dependabot.com/golang/vscode-go/issues/647">golang/vscode-go#647</a> and <a href="https://github-redirect.dependabot.com/microsoft/vscode/issues/106788">microsoft/vscode#106788</a>.</p> <ul> <li>An experimental new code lens to view GC optimization details (<a href="https://github.com/pjweinb"><code>@​pjweinb</code></a>). Once the code lens is enabled, you will see a <code>Toggle gc details</code> 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: <pre lang="json5"><code>&quot;codelens&quot;: { &quot;gc_details&quot;: true } </code></pre> </li> <li><code>go mod tidy</code> and <code>go mod vendor</code> code lenses for <code>go.mod</code> files (<a href="https://github.com/dandua98"><code>@​dandua98</code></a>).</li> <li>Support for filling in matching in-scope variables instead of just empty values in fillstruct and fillreturns (<a href="https://github.com/joshbaum"><code>@​joshbaum</code></a>).</li> <li>Autocompletion within import statements (<a href="https://github.com/dandua98"><code>@​dandua98</code></a>).</li> <li>Autocompletion within package declarations (<a href="https://github.com/dandua98"><code>@​dandua98</code></a>).</li> </ul> <h2>Improvements</h2> <ul> <li>Improvements to workspace symbols ranking and fuzzy matching (<a href="https://github.com/findleyr"><code>@​findleyr</code></a>, <a href="https://github.com/myitcv"><code>@​myitcv</code></a>).</li> <li>Better completion suggestions in type switch case clauses and for calls to <code>append</code>, function literals, and unnamed types (<a href="https://github.com/muirdm"><code>@​muirdm</code></a>).</li> </ul> <h2>Thank you</h2> <p>Thank you to everyone who contributed to this release!</p> <p><a href="https://github.com/heschik"><code>@​heschik</code></a> <a href="https://github.com/findleyr"><code>@​findleyr</code></a> <a href="https://github.com/pjweinb"><code>@​pjweinb</code></a> <a href="https://github.com/joshbaum"><code>@​joshbaum</code></a> <a href="https://github.com/mcjcloud"><code>@​mcjcloud</code></a> <a href="https://github.com/dandua98"><code>@​dandua98</code></a> <a href="https://github.com/muirdm"><code>@​muirdm</code></a> <a href="https://github.com/leitzler"><code>@​leitzler</code></a> <a href="https://github.com/myitcv"><code>@​myitcv</code></a> <a href="https://github.com/matloob"><code>@​matloob</code></a> <a href="https://github.com/tennashi"><code>@​tennashi</code></a> <a href="https://github.com/ainar-g"><code>@​ainar-g</code></a> <a href="https://github.com/hasheddan"><code>@​hasheddan</code></a></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/golang/tools/commit/7db99dd12661adab9ce92e9b9633b6ef90867fad"><code>7db99dd</code></a> go.mod: update golang.org/x dependencies</li> <li><a href="https://github.com/golang/tools/commit/1e0dff28f4f920fb7a7f132f775bd68e3b1e1fff"><code>1e0dff2</code></a> gopls/internal/regtest: avoid race in TestSwitchFromGOPATHToModuleMode</li> <li><a href="https://github.com/golang/tools/commit/0441b432cade7ecb5b47248667d73be87f8bc1a1"><code>0441b43</code></a> gopls/internal/lsp/cache: use specific mutexes for module data</li> <li><a href="https://github.com/golang/tools/commit/33071fbe1aab4e4858458465acd0e80f0d750e62"><code>33071fb</code></a> internal/robustio: move robustio</li> <li><a href="https://github.com/golang/tools/commit/b01e7a4e75d3f07db097384f829839c6628a46c8"><code>b01e7a4</code></a> gopls/internal/regtest/watch: don't run TestSwitchFromGOPATHToModuleMode</li> <li><a href="https://github.com/golang/tools/commit/e417ea36bae18ab4aced13c6db31aa330d9f006a"><code>e417ea3</code></a> gopls: remove dead analysis code</li> <li><a href="https://github.com/golang/tools/commit/1a08d01ac985cfa2b25f7217b4e885be47495870"><code>1a08d01</code></a> gopls/internal/lsp: update replace directives in go.mod for package renaming</li> <li><a href="https://github.com/golang/tools/commit/eac36cb2aca798243ecfedcf127620caf808f702"><code>eac36cb</code></a> gopls/internal/regtest: port experimental workspace tests to go.work</li> <li><a href="https://github.com/golang/tools/commit/224a61b354deb9afa3260a4abc12b59818b1a551"><code>224a61b</code></a> gopls/internal/lsp/source: delete Snapshot.WriteEnv method</li> <li><a href="https://github.com/golang/tools/commit/81e741e32fac43eebb64438e6440cbf3dad7bbb5"><code>81e741e</code></a> gopls/internal/lsp/safetoken: funnel more calls through this package</li> <li>Additional commits viewable in <a href="https://github.com/golang/tools/compare/v0.3.0...v0.5.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/tools&package-manager=go_modules&previous-version=0.3.0&new-version=0.5.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details>
github-actions[bot] (Migrated from github.com) reviewed 2023-01-05 18:12:06 +03:00
github-actions[bot] (Migrated from github.com) reviewed 2023-01-30 22:31:11 +03:00
github-actions[bot] (Migrated from github.com) approved these changes 2023-01-31 06:50:29 +03:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: unistack-org/protoc-gen-go-micro#66
No description provided.