Skip to content

Releases: golang/vscode-go

Release 0.35.0

18 Jul 16:35
Compare
Choose a tag to compare

v0.35.0 - 18 July, 2022

A list of all issues and changes can be found in the v0.35.0 milestone and commit history.

Features

  • This release adds support for inlay hints (Issue 1631).

inlayhings-new

  • Add logic to support ${workspaceFolderBasename} substitution in extension settings (Issue 2310).
  • Add support for multi-file test suite (Issue 1130).
  • Add support for custom formatters.

Bug Fix

  • Fixed (Issue 2339) that prevented updating delve on arm64 Macs.

Thanks

Thank you for your contribution, @hyangah, @nirhaas, @bentekkie, @jamalc, and @suzmue.

Release 0.35.0-rc.3

14 Jul 19:04
Compare
Choose a tag to compare
Release 0.35.0-rc.3 Pre-release
Pre-release
  • Milestone: https://github.com/golang/vscode-go/issues?q=milestone%3Av0.35.0

  • Commits: v0.34.1...v0.35.0-rc.1

  • How to test prerelease

    • Download the .vsix file from this Releases page.
    • Navigate to the Extensions view in VS Code (Ctrl+Shift+X). Click on the "..." in the top-right corner, select "Install from VSIX", and select the .vsix file you downloaded. Alternatively, you can run code --install-extension Go-latest.vsix or open the Command Palette and run the "Extensions: Install from VSIX..." command.
    • If prompted, reload VS Code.

Release 0.34.1

30 Jun 20:00
Compare
Choose a tag to compare

v0.34.1 - 30 June, 2022

A list of all issues and changes can be found in the v0.34.1 milestone and commit history.

Bug Fix

  • Fixed (Issue 2300) that prevented the extension from complete activation when the language server fails to start.

Thanks

Thank you for your contribution, @jamalc, @hyangh!

Release 0.34.1-rc.2

29 Jun 21:45
Compare
Choose a tag to compare
Release 0.34.1-rc.2 Pre-release
Pre-release
  • Milestone: https://github.com/golang/vscode-go/issues?q=milestone%3Av0.34.1

  • Commits: v0.34.0...v0.34.1-rc.1

  • How to test prerelease

    • Download the .vsix file from this Releases page.
    • Navigate to the Extensions view in VS Code (Ctrl+Shift+X). Click on the "..." in the top-right corner, select "Install from VSIX", and select the .vsix file you downloaded. Alternatively, you can run code --install-extension Go-latest.vsix or open the Command Palette and run the "Extensions: Install from VSIX..." command.
    • If prompted, reload VS Code.

Release 0.34.0

21 Jun 14:26
Compare
Choose a tag to compare

v0.34.0 - 22 June, 2022

This release adds support for LSP 3.17 and requires Visual Studio Code 1.67+.

Features

This release includes improvements to the Go: Run Vulncheck (Experimental) command (Issue 2185, 2186, 2214). Use it to find security issues in your dependencies.

Documentation

Documentation for vscode-go can now be found on the wiki (Issue 2094).

Thanks @thediveo for updating the debugging documentation!

Bug Fixes

TestMain(m *testing.M) is no longer treated as a test (Issue 482, 2039)

Code Health

  • Enabled strict type checking (Issue 57)
  • Updated release notes generation script to improve release process automation
  • Fixed bugs in testing

Thanks

Thank you for your contribution, @hyangah, @jamalc, @polinasok, @suzmue, @thediveo, and @dle8!

Release 0.34.0-rc.2

17 Jun 19:10
Compare
Choose a tag to compare
Release 0.34.0-rc.2 Pre-release
Pre-release
  • Milestone: https://github.com/golang/vscode-go/issues?q=milestone%3Av0.34.0

  • Commits: v0.33.1...v0.34.0-rc.2

  • How to test prerelease

    • Download the .vsix file from this Releases page.
    • Navigate to the Extensions view in VS Code (Ctrl+Shift+X). Click on the "..." in the top-right corner, select "Install from VSIX", and select the .vsix file you downloaded. Alternatively, you can run code --install-extension Go-latest.vsix or open the Command Palette and run the "Extensions: Install from VSIX..." command.
    • If prompted, reload VS Code.

Release 0.34.0-rc.1

10 Jun 17:05
Compare
Choose a tag to compare
Release 0.34.0-rc.1 Pre-release
Pre-release
  • Milestone: https://github.com/golang/vscode-go/issues?q=milestone%3Av0.34.0

  • Commits: v0.33.1...v0.34.0-rc.1

  • How to test prerelease

    • Download the .vsix file from this Releases page.
    • Navigate to the Extensions view in VS Code (Ctrl+Shift+X). Click on the "..." in the top-right corner, select "Install from VSIX", and select the .vsix file you downloaded. Alternatively, you can run code --install-extension Go-latest.vsix or open the Command Palette and run the "Extensions: Install from VSIX..." command.
    • If prompted, reload VS Code.

Release 0.33.1

24 May 18:54
Compare
Choose a tag to compare

v0.33.1 - 24 May, 2022

This is the last release that supports Visual Studio Code 1.66 or older.
We plan to add support for LSP 3.17 in the next release and the change requires Visual Studio Code 1.67+.

Changes

  • Updated settings to be in sync with [email protected]. See the release note to learn new features like the //go:embed analyzer, and improved hover for imported packages.
  • Prepared for 2022 mid-year Go developer survey.

Release 0.33.1-rc.1

24 May 14:01
Compare
Choose a tag to compare
Release 0.33.1-rc.1 Pre-release
Pre-release
  • Milestone: https://github.com/golang/vscode-go/issues?q=milestone%3Av0.33.1

  • Commits: v0.33.0...v0.33.1-rc.1

  • How to test prerelease

    • Download the .vsix file from this Releases page.
    • Navigate to the Extensions view in VS Code (Ctrl+Shift+X). Click on the "..." in the top-right corner, select "Install from VSIX", and select the .vsix file you downloaded. Alternatively, you can run code --install-extension Go-latest.vsix or open the Command Palette and run the "Extensions: Install from VSIX..." command.
    • If prompted, reload VS Code.

Release 0.33.0

02 May 16:55
Compare
Choose a tag to compare

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