Skip to content

Release 0.33.0

Compare
Choose a tag to compare
@github-actions github-actions released this 02 May 16:55

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 of staticcheck 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 when gopls (v0.8.2+) is used.

  • Activation: the extension defers commands and feature provider registrations until it runs go version and go env, and starts gopls. 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.

goexplorer.1.mov

(Demo: Using the Go Explorer view UI to quickly change GOOS setup)

  • Go: Run Vulncheck (Experimental) command: it runs the govulncheck command embedded in gopls, which identifies known vulnerabilities by call graph traversal and module dependency analysis. (Issue 2096)

Thanks

@jamalc, @polinasok, @dlipovetsky, @vladdoster, @suzmue, @hyangah