Skip to content

gopls/v0.12.3

Compare
Choose a tag to compare
@findleyr findleyr released this 22 Jun 15:49
· 1114 commits to master since this release

This release fixes a couple rare but significant performance regressions introduced in the v0.12.0 release.

Bug fixes

  • Poor analysis performance on certain repositories (golang/go#60621): the first time a repository is analyzed, the new analysis driver loads data for open packages and all their dependencies. In v0.12.0, the naive recursion caused certain operations related to type information to be executed once per edge, not node, in the import graph. In some repositories with unusually large type information (e.g. hashicorp/terraform-provider-aws), this exhausted all memory. We have rewritten the recursion to process package types at most once per node.
  • Missing fields and methods in autocompletion results (golang/go#53992): due to a change in v0.12.0, it became more likely that autocompletion would exhaust its time budget before all fields or methods had been collected. This release guarantees that autocompletion includes these critical completion items.

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