Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build(deps): Bump golang.org/x/tools from 0.2.0 to 0.3.0 (runfinch#52)
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.2.0 to 0.3.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.3.0</h2> <h4>Note: <code>gopls</code> now loads your entire workspace, where “workspace” is directory you opened in your editor.</h4> <h4>In module mode, you must open your module root (directory containing the <code>go.mod</code> file) or a subdirectory.</h4> <h4>In <code>GOPATH</code> mode, you must open your <code>GOPATH/src</code> or a directory within it. If you have a large <code>GOPATH</code> and you open your <code>GOPATH</code> as your workspace root, <code>gopls</code> may be very slow to load. Please see <a href="https://github-redirect.dependabot.com/golang/tools/issues/36899">#36899</a> for further information.</h4> <ul> <li>Autocompletion from unimported packages is on by default. You will get completions for something like <code>fmt.Printf</code> even if <code>“fmt”</code> isn’t imported yet. (<a href="https://github.com/heschik"><code>@heschik</code></a>)</li> <li>Workspace-scoped references, rename, and go to implementation. These features use your workspace root as the search scope, so behavior will vary based on the directory you open in your editor. This may result in unexpected behavior. (<a href="https://github.com/muirdm"><code>@muirdm</code></a>, <a href="https://github.com/matloob"><code>@matloob</code></a>)</li> <li>Workspace-wide diagnostics. You will now see errors in your entire workspace, rather than just in your currently open files. Analysis errors will only be shown for packages with currently open files.</li> <li>Watch file changes on disk. This allows users to switch branches without reloading their editors. Also, changing configurations no longer requires an editor reload.</li> <li>GOPATH vendoring is fully supported. Previously, some features would ignore vendor directories, causing errors if packages weren't in GOPATH. (<a href="https://github.com/heschik"><code>@heschik</code></a>)</li> <li>New autocompletion suggestions for type conversions. Improved completions for literal candidates and variadic functions. Better rankings, including rankings for builtin functions and keywords. (<a href="https://github.com/muirdm"><code>@muirdm</code></a>)</li> <li>Highlighting improvements: Highlighting now applies not only to variables, but also to fields, methods, types, and imports. Additional highlighting helps visualize control flow in loops and functions. Highlighting of single character variables has better support. (<a href="https://github.com/ridersofrohan"><code>@ridersofrohan</code></a>)</li> <li>Documentation on hover includes links to <a href="https://pkg.go.dev">pkg.go.dev</a> for exported symbols. (<a href="https://github.com/Southclaws"><code>@Southclaws</code></a>)</li> <li>Improved support for cgo dependencies. All features now work for packages that have cgo dependencies. Authoring cgo packages is still not supported, but improvements are scheduled for Go 1.15 (see <a href="https://github-redirect.dependabot.com/golang/tools/issues/35721">#35721</a>). (<a href="https://github.com/heschik"><code>@heschik</code></a>)</li> <li>Deep completions are now on by default. This feature of completion will search the fields and methods of all available candidates to see if there are any more candidates with the expected type. As an example, say you have imported the <code>context</code> package and are calling a function that takes a <code>context.Context</code> as a parameter. In the case that you don’t have a variable of that type in scope, deep completions will suggest <code>context.Background()</code> and <code>context.TODO()</code>. (<a href="https://github.com/muirdm"><code>@muirdm</code></a>)</li> </ul> <p>Opt-in:</p> <ul> <li>staticcheck analyses remain opt-in and can be enabled by setting <code>"staticcheck": true</code> in your <code>gopls</code> settings.</li> <li>Go 1.14 will support running the go command without modifying the user’s <code>go.mod</code> file. This new feature is used in <code>gopls</code> to show diagnostics and suggest edits in a user’s <code>go.mod</code> file rather than change the file without the user noticing. Currently, <code>gopls</code> will suggest removing unused dependencies and warn the user if there is a parse error in the <code>go.mod</code> file. Enable this behavior by using the go1.14 beta and setting <code>"tempModfile": true</code> in your <code>gopls</code> settings. (<a href="https://github.com/ridersofrohan"><code>@ridersofrohan</code></a>)</li> </ul> <h2>gopls/v0.2.2</h2> <ul> <li>Fix concurrent map read and write when a file is created (<a href="https://go-review.googlesource.com/c/tools/+/210199">CL 210199</a>).</li> <li>Fix issue that caused errors to show up when a new file was created (<a href="https://go-review.googlesource.com/c/tools/+/209978">CL 209978</a>).</li> </ul> <h2>gopls/v0.2.1</h2> <ul> <li>Fix for parse errors showing up as errors on the whole package (<a href="https://go-review.googlesource.com/c/tools/+/206597">CL 206597</a>).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/golang/tools/commit/502c634771c4ba335286d55fc24eeded1704f592"><code>502c634</code></a> go.mod: update golang.org/x dependencies</li> <li><a href="https://github.com/golang/tools/commit/bd04e329aedbea5310658e5d1afbfba4ce700178"><code>bd04e32</code></a> internal/jsonrpc2_v2: eliminate a potential Accept/Dial race in TestIdleTimeout</li> <li><a href="https://github.com/golang/tools/commit/d41a43b94f2f49adda95493f62c78f57ba91eeec"><code>d41a43b</code></a> internal/jsonrpc2_v2: fix a potential deadlock when (*Conn).Close is invoked ...</li> <li><a href="https://github.com/golang/tools/commit/30574650371be0d7cb887e380ab16905d86cc7cc"><code>3057465</code></a> gopls/doc: Add plugin for Lapce to gopls documentation</li> <li><a href="https://github.com/golang/tools/commit/ba92ae171104b8973327d11e03aa9f82de79b886"><code>ba92ae1</code></a> internal/persistent: avoid incorrect map validation due to multiple keys</li> <li><a href="https://github.com/golang/tools/commit/9474ca31d0dfcd484dd82608705ea967a1b9a71d"><code>9474ca3</code></a> gopls/doc: clarify <code>go work use</code></li> <li><a href="https://github.com/golang/tools/commit/003fde144ea55295b5c7e9bccc8c09c08ce976ed"><code>003fde1</code></a> internal/gcimporter: use nondeprecated go/packages mode bits</li> <li><a href="https://github.com/golang/tools/commit/50506576b8a6cec06115896c3f09e76d47eb86b0"><code>5050657</code></a> gopls/fake: add semantic token modifiers to fake editor</li> <li><a href="https://github.com/golang/tools/commit/88a354830446314a68862f0687ce60950a69c9f9"><code>88a3548</code></a> gopls/coverage: repair coverage.go</li> <li><a href="https://github.com/golang/tools/commit/8e0240af74102670439ba4ddc10d2be2d18b2ef7"><code>8e0240a</code></a> internal/regtest/workspace: permanently skip TestDeleteModule_Interdependent</li> <li>Additional commits viewable in <a href="https://github.com/golang/tools/compare/v0.2.0...v0.3.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.2.0&new-version=0.3.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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information