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

chore(deps): bump golang.org/x/tools from 0.6.0 to 0.7.0 #926

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 1, 2023

Bumps golang.org/x/tools from 0.6.0 to 0.7.0.

Release notes

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

gopls/v0.7.0

Features

Postfix completions

Postfix completions are a new style of completions that can save you time by inserting more complex pieces of commonly-written code. All of the results end with !. This feature was added experimentally in gopls/v0.6.10 and is now enabled by default.

See this example:

ezgif-3-a82b2077ff38

New commands: List known packages and add import

These commands can be used to manually list available packages to import and then add an import to your file. They are currently not used by any known clients, but they will be made available through the Command Palette in VS Code in the next VS Code Go release.

Improvements

Memory usage

Improved trimming of the ASTs of dependency packages results in reduced memory usage, especially for projects with many dependencies. This may result in some hard-to-diagnose bugs that we're not yet aware of, so please report any surprising behavior via https://golang.org/issues/new.

Fixes

A full list of all issues fixed can be found in the gopls/v0.7.0 milestone. To report a new problem, please file a new issue at https://golang.org/issues/new.

Thank you to our contributors!

@​muirdm @​marwan-at-work @​dominikh @​leitzler @​OneOfOne @​zyctree @​ShoshinNikita @​KarthikNayak @​suzmue @​bcmills

gopls/v0.6.11

This release contains mainly bug fixes. A full list of all issues fixed can be found in the gopls/v0.6.11 milestone. To report a new problem, please file a new issue at https://golang.org/issues/new.

Thank you to our contributors!

@​ShoshinNikita @​sakateka @​muirdm Will Langford @​empire @​justplesh @​suzmue

gopls/v0.6.10

Features

t.Fatal snippet

If you trigger completion in a test function, on the line after a call to a function that returns an error, you will be offered a completion snippet for:

if err != nil {
    t.Fatal(err)
}
</tr></table> 

... (truncated)

Commits
  • 031fc75 gopls/internal/regtest/bench: don't run the iwl test with -short
  • f477bf4 gopls/internal/lsp/source/completion: avoid Snapshot.CachedPackages
  • b72edd1 gopls/internal/lsp/filecache: GOPLS_CACHE -> GOPLSCACHE
  • d566927 gopls/internal/lsp/regtest: add @​suggestedfix marker
  • fdb0da6 gopls/internal/regtest/bench: add a benchmark for diagnosing a change
  • 6eb432f gopls/internal/regtest/bench: add benchmarks in a wider variety of repos
  • c91d0b8 gopls/internal/lsp/source: guard against concurrent writes in xrefs
  • c0742f5 go.mod: update golang.org/x dependencies
  • 21d2256 gopls/internal/lsp/cache: make type-checking incremental
  • ae05609 internal/lsp/cache: add an LRU parse cache
  • 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 dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Apr 1, 2023
@dependabot dependabot bot requested a review from EtienneM April 1, 2023 00:57
@github-actions github-actions bot enabled auto-merge April 1, 2023 00:57
Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/golang/tools/releases)
- [Commits](golang/tools@v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/tools
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/golang.org/x/tools-0.7.0 branch from 0a8229f to fd2de3a Compare April 1, 2023 01:12
@github-actions github-actions bot merged commit 6b1cbbb into master Apr 1, 2023
@github-actions github-actions bot deleted the dependabot/go_modules/golang.org/x/tools-0.7.0 branch April 1, 2023 01:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants