Release 0.33.0
v0.33.0 - 1 May 2022
π£ Remote attach debugging is now available via Delve's native DAP implementation with Delve v1.7.3 or newer. It is now the default with the Go Nightly and will become the default for the stable releases in mid 2022.
Changes
-
staticcheck
: if go 1.16.x or older is used in installing tools, the extension chooses[email protected]
. In order to use the latest version ofstaticcheck
while working on projects that require older versions of go, you can utilize the"go.toolsManagement.go"
setting to specify a newer version of go for tool installation. (Issue 2162) -
go-outline
:go-outline
is no longer required whengopls
(v0.8.2+) is used. -
Activation: the extension defers commands and feature provider registrations until it runs
go version
andgo env
, and startsgopls
. This change prevent the extension prematually export its features, but may result in a slight increase in extension activation time if those commands run slow. -
Survey: we show the Gopls opt-out survey prompt only when users change the setting to disable
gopls
. -
Test Explorer: fixed a bug in
go.mod
file parsing (Issue 2171) -
Debugging: we removed the informational popup at the start of remote attach session with
dlv-dap
. (Issue 2018)
Experimental features
This version includes two highly experimental features. They are still
in early stage and we are looking forward to hearing more user feedback.
- Go Explorer view: it displays environment variables and information about tools used by the extension. (Issue 2049)
goexplorer.1.mov
(Demo: Using the Go Explorer view UI to quickly change GOOS
setup)
Go: Run Vulncheck (Experimental)
command: it runs thegovulncheck
command embedded ingopls
, which identifies known vulnerabilities by call graph traversal and module dependency analysis. (Issue 2096)
Thanks
@jamalc, @polinasok, @dlipovetsky, @vladdoster, @suzmue, @hyangah