Changelog History
Page 1
-
v0.36.0 Changes
November 07, 2022A list of all issues and changes can be found in the v0.36.0 milestone and commit history.
๐ Changes
- ๐ From this release, the extension will download specific versions of 3rd party tools installed with the "Go: Install/Update Tools" command. This is to enhance stability and security. The "Go: Install/Upate Tools" command will present the versions the extension will install. To install a different version of a tool, use
go install
command from the terminal instead. (Issue 1850) - ๐ The default gopls version was updated to v0.10.1 and the settings were updated accordingly. See the release note of gopls v0.10.0 to learn about notable changes and new features.
- Typing
vars
will now offer a completion snippet that expands it to avar (...)
block containing multiple variables. (PR 2481) - ๐ The setting to enable the "references" codelens,
go.enableCodeLens.references
, is now hidden. The feature remained broken for a while, so we plan to remove it in a future release. Please see Issue 2509 for details. - โ When debugging tests, the extension will open the "Debug Console". (Issue 2409)
๐ Fixes
- ๐ Fixed Issue 2525 that prevented triggering of parameter hints after method autocompletion. Users can enable/disable this parameter hints popup with the
"editor.parameterHints.enabled"
setting. - ๐ Fixed test profie feature (CL 440530).
- โ Removed dev dependency affected by CVE-2022-3517.
Thanks
Thank you for your contribution, @suzmue, @fatoboist, @cuishuang, @jamalc, @karthikraobr, @pjweinbgo, @firelizzard18, @hyangah!
- ๐ From this release, the extension will download specific versions of 3rd party tools installed with the "Go: Install/Update Tools" command. This is to enhance stability and security. The "Go: Install/Upate Tools" command will present the versions the extension will install. To install a different version of a tool, use
-
v0.35.2 Changes
August 15, 2022A list of all issues and changes can be found in the v0.35.2 milestone and commit history.
๐ Changes
๐ This release includes a new go.goroot command, fixes to the
Generate Tests
commands, and improvements for windows users.Thanks
Thank you for your contribution, @OrBin, @Ras96, @hyangah, @jamalcarvalho, and @suzmue!
-
v0.35.1 Changes
July 19, 2022A list of all issues and changes can be found in the v0.35.1 milestone and commit history.
๐ Bug Fix
- Disabled experimental gopls features (e.g. semantic highlighting).
-
v0.35.0 Changes
July 18, 2022A 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).
- โ 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.
-
v0.34.1 Changes
June 30, 2022A 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!
-
v0.34.0 Changes
June 22, 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!
-
v0.33.1 Changes
May 24, 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.
- ๐ Updated settings to be in sync with
-
v0.33.0 Changes
May 01, 2022๐ ๐ฃ [Remote attach debugging](docs/debugging.md#connecting-to-headless-delve-with-target-specified-at-server-start-up) 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](docs/nightly.md) 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](docs/ui.md#go-explorer-view): it displays environment variables and information about tools used by the extension. (Issue 2049)
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
-
v0.32.0 Changes
March 08, 2022๐ This version includes features to enhance Go 1.18 support. It works best when paired with the latest Go Language Server (
gopls
v0.8.0+) and Delve (dlv
v1.8.0+).โก๏ธ Go 1.18 introduces substantial changes to the language spec, so many tools need rebuilding with Go 1.18 or newer. The extension now suggests updates of tools if it finds they were built with old versions of
go
which are inadequate for the version used for the project. If you opted in for auto-update, tools will be auto-updated.โก๏ธ In order to use Go 1.18, please follow the instruction to configure your Visual Studio Code to locate the right go binary, and run the Go tools using the "Go: Install/Update Tools" command.
A list of all issues and changes can be found in the v0.32.0 milestone and commit history.
๐ Changes
๐ Starting with Go 1.18, the
go
command provides native support for multi-module workspaces, viago.work
files. The new "Open 'go.work'" option in the Go status bar's quickpick menu allows users to access the correspondinggo.work
file.๐ฆ The extension no longer depends on
gopkgs
. Its use for "Go: Browse Packages" and "Go: Add Import" commands had been replaced withgo list
or commands ingopls
. (Issue 258)๐ The extension uses
gopls
instead ofgo-outline
ifgopls
v0.8.0 or newer is used. We plan to complete the replacement work in the next release. (Issue 1020)โก๏ธ The new
"go.toolsManagement.go"
setting allows users to specify the Go command for tools installation/updates separate from the Go command used for the project.โก๏ธ The latest
gopls
requires go 1.13+ for installation, so the extension no longer asks forgopls
updates when an older versions ofgo
is used. (Issue 2030) Notegopls
compiled with go 1.13 or newer can still process projects that use go 1.12. If you want to updategopls
while working with an older version of Go, utilize the new"go.toolsManagement.go"
setting.โฌ๏ธ Reduced the verbosity of "Go: Locate Configured Go Tools" output.
Code Health
- โก๏ธ Updated to [email protected] (CVE-2021-23566).
- โ Deflaked debug tests.
- ๐ Changed to check
go.dev/dl
instead ofgolang.org/dl
for Go release. - ๐ Improved documentation for the default formatting behavior and template support.
Thanks
@jamalc @suzmue @pavlelee @dekimsey @hyangah
-
v0.31.1 Changes
February 08, 2022A list of all issues and changes can be found in the v0.31.1 milestone and commit history.
๐ Fixes
- ๐ Fixed the profile functionality broken by VSCode 1.63 (Issue 2048)
- โ Include fuzz tests in test explorer UI (Issue 2023)