gopls/v0.12.3
版本发布时间: 2023-06-22 23:49:49
golang/tools最新发布版本:gopls/v0.16.2(2024-09-06 01:01:04)
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.