nginxinc / nginx-go-crossplane

A library for working with NGINX configs in Go
Apache License 2.0
59 stars 15 forks source link

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

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

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[bot] commented 1 year ago

Superseded by #44.