Skip to content

Commit

Permalink
build(deps): Bump golang.org/x/tools from 0.2.0 to 0.3.0 (runfinch#52)
Browse files Browse the repository at this point in the history
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>&quot;staticcheck&quot;: 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>&quot;tempModfile&quot;: 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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] committed Nov 25, 2022
1 parent fa108fd commit 27c8f24
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ require (
github.com/stretchr/testify v1.8.1
github.com/xorcare/pointer v1.2.2
golang.org/x/crypto v0.3.0
golang.org/x/tools v0.2.0
golang.org/x/tools v0.3.0
gopkg.in/yaml.v3 v3.0.1
k8s.io/apimachinery v0.25.4
)
Expand Down Expand Up @@ -48,7 +48,7 @@ require (
github.com/src-d/gcfg v1.4.0 // indirect
github.com/xanzy/ssh-agent v0.2.1 // indirect
go.opencensus.io v0.23.0 // indirect
golang.org/x/mod v0.6.0 // indirect
golang.org/x/mod v0.7.0 // indirect
golang.org/x/net v0.2.0 // indirect
golang.org/x/sys v0.2.0 // indirect
golang.org/x/text v0.4.0 // indirect
Expand Down
7 changes: 5 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,9 @@ golang.org/x/mod v0.4.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.4.1/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.4.2/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/mod v0.6.0 h1:b9gGHsz9/HhJ3HF5DHQytPpuwocVTChQJK3AvoLRD5I=
golang.org/x/mod v0.6.0/go.mod h1:4mET923SAdbXp2ki8ey+zGs1SLqsuM2Y0uvdZR/fUNI=
golang.org/x/mod v0.7.0 h1:LapD9S96VoQRhi/GrNTqeBJFrUjs5UHCAtTlgwA5oZA=
golang.org/x/mod v0.7.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
Expand Down Expand Up @@ -478,6 +479,7 @@ golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJ
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220601150217-0de741cfad7f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o=
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190221075227-b4e8571b14e0/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
Expand Down Expand Up @@ -620,8 +622,9 @@ golang.org/x/tools v0.1.3/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
golang.org/x/tools v0.1.4/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk=
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
golang.org/x/tools v0.2.0 h1:G6AHpWxTMGY1KyEYoAQ5WTtIekUUvDNjan3ugu60JvE=
golang.org/x/tools v0.2.0/go.mod h1:y4OqIKeOV/fWJetJ8bXPU1sEVniLMIyDAZWeHdV+NTA=
golang.org/x/tools v0.3.0 h1:SrNbZl6ECOS1qFzgTdQfWXZM9XBkiA6tkFrH9YSTPHM=
golang.org/x/tools v0.3.0/go.mod h1:/rWhSS2+zyEVwoJf8YAX6L2f0ntZ7Kn/mGgAWcipA5k=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
Expand Down

0 comments on commit 27c8f24

Please sign in to comment.