Sourced from golang.org/x/tools's releases.
gopls/v0.14.2
This release contains just one change: an upgrade of x/telemetry
golang/go#63832
Previously, when the telemetry mode was "off" (the default), counter data would not be uploaded, but would be written to the
os.UserConfigDir()/go/telemetry/local
directory of the local file system. We heard from a few users that, as a matter of policy within their organization, they need a way to prevent even this local data from being written. With this release, runninggotelemetry off
will stop gopls from writing this local counter data. Note that theos.UserConfigDir()/go/telemetry/mode
file must be written to record the "off" state.The new default telemetry mode is "local", which behaves the same way as "off" did before. In "local" mode, counter data is written to the local file system, but not uploaded. Local data can be inspected with the
gotelemetry view
command.See golang/go#63832 for more details. Thanks again for helping us support transparent telemetry in gopls. As described in the v0.14.0 release notes, we are confident that this data will help us produce a better, faster, more reliable product. In fact this is already happening.
gopls/v0.14.1
This release contains just two changes:
- A workaround for a regression affecting some users of
GOPACKAGESDRIVER
: golang/go#63751, for example those using gopls with an older version of Bazel. When thego/packages
driver is missing compiler or architecture information, gopls now assumes a default value rather than failing to load package information.- A fix for a minor bug in the new "remove unused parameter" refactoring: golang/go#63755. Notably, this bug was discovered via an automated report from someone who had opted in to Go telemetry.
a9ef4cf
go.mod: update golang.org/x dependenciesd9b9452
gopls/internal/lsp/cache: move quick-fix bundling logic to the cache
pkg1733061
go/analysis/passes/testinggoroutine: report by enclosing regionsb19be0f
gopls/internal/cmd/help_test.go: documentdaa4aa5
gopls/internal/lsp/source: stubmethods: fix out-of-bounds indexa586d0d
go/types/internal/play: show more types.Scope detail53ad329
gopls/internal/lsp/source: move edit logic into the protocol
package3c677e3
gopls/internal/lsp/cache: move SuggestedFixFromCommand into cacheab6af7d
gopls/internal/lsp/source: extract InDir to a new pathutil packagee7d61d9
gopls/internal/lsp/cache: simplify named error values