Changelog History
Page 4
-
v0.21.1 Changes
January 21, 2021A list of all issues and changes can be found in the v0.21.1 milestone.
๐ Fixes
- ๐ Fixed the
Cannot get property 'get' of undefined
error. (Issue 1104) - โช Restored the
"go.languageServerExperimentalFeatures"
setting for users who depend on this to run custom vet analyzers. (Issue 1110)
- ๐ Fixed the
-
v0.21.0 Changes
January 20, 2021A list of all issues and changes can be found in the v0.21.0 milestone.
โจ Enhancements
- The new
dlvFlags
debug attribute is available for conveniently supply extra flags todlv
. (Issue 978) - Stop using workspace/folder-level settings from untrusted repositories that can be used to run arbitrary binaries. (Issue 1024)
- ๐ The extension now deduplicates diagnostics from both the language server and the linter. (Issue 142)
- Disabled
gotype-live
automatically when the language server is enabled. (Issue 1021) - โ Removed the
"go.languageServerExperimentalFeatures"
setting. (CL 280601). ThedocumentLink
feature is replaced withgopls
'sui.navigation.importShortcut
setting. Thediagnostics
feature replacement is still under discussion. Please provide feedback in Issue 50.
Code Health
- ๐ท Experimental features that were available only in the nightly extension are enabled in the master branch, and in presubmit & CI tests running on the master branch. ### Thanks
Thank you for your contribution, @hyangah, @suzmue, @pjweinbgo, @stamblerre!
- The new
-
v0.20.2 Changes
January 08, 2021โจ Enhancement
- โก๏ธ Updated
"gopls"
settings to match gopls v0.6.2. (CL 279728)
- โก๏ธ Updated
-
v0.20.1 Changes
December 29, 2020๐ Fixes
- ๐ Fixed a bug that caused incorrect fallback to a common
go
installation path whengo
couldn't be found from the regular PATH (Issue 1065)
- ๐ Fixed a bug that caused incorrect fallback to a common
-
v0.20.0 Changes
A list of all issues and changes can be found in the v0.20.0 milestone.
โจ Enhancements
- Debugging
- The new
substitutePath
config property allows users to translate their symlinked directories to the actual paths, and the local paths to the remote paths. See Launch Configurations and Remote Debugging for details. - Quick pick menu for creating
launch.json
was added. (Issue 131) - Report that
next
is automatically cancelled by delve if interrupted, for example, because breakpoint is set. See Issue 787 for details. (CL 261078)
- The new
- The new
tyf
snippet fortype name func()
was added. (Issue 1002) - Include the
gopls
settings section definition based ongopls
v0.6.0. (Issue 197, CL 278355) - ๐
go.buildFlags
andgo.buildTags
are propagated togopls
unless"gopls": {"buildFlags": ..}
is set. (Issue 155) - โก๏ธ The new
go.toolsManagement.checkForUpdates
setting allows users to completely disable version checks. โก๏ธ This deprecatesgo.useGoProxyToCheckForToolUpdates
. (Issue 963)
๐ Fixes
- โ Added a workaround for the VSCode
PATH
setup issue. Whengo
isn't found fromPATH
, the extension will check/usr/local/bin
too (Issue 971). - ๐ Fixed language client crashes or duplicate language features on the guest side of a VS Live Share session. The initial fix added in v0.19.0 for VS Live Share wasn't sufficient. (Issue 605, 1024)
- Stop requiring to install legacy tools when the language server is used. (Issue 51)
- โก๏ธ Update
gopls
if the existing version in the system is older than the minimum required version when the extension enablesgopls
automatically. (Issue 938) - ๐ Show language server start progress and allow only one outstanding language server restart request. (Issue 1011)
- ๐ Fixed a gocode-gomod installation bug that caused to ignore
GOBIN
setting. (CL 275877) - Marked settings that are not applicable when using the language server. (Issue 155)
Code Health
- ๐ Deprecated unused settings such as
go.overwriteGoplsMiddleware
and marked deprecated settings. - ๐ Improved stability of debug functionality tests on windows.
- ๐ Improve the automated gopls issue template message. It includes the extension name and version.
- Prompt users to file an issue for feedback when they choose to opt out of gopls.
- ๐ฆ CI test workflow now runs
vsce package
to detect packaging errors early.
Thanks
Thank you for your contribution, @hyangah, @suzmue, and @programmer04!
- Debugging
-
v0.19.1 Changes
December 09, 2020A list of all issues and changes can be found in the v0.19.1 milestone.
๐ Fixes
- ๐ Fixed
Run without Debugging
for Windows. This was a regression found in v0.19.0 (Issue 918). <!-- CL 276214 --> - ๐ Fixed snippets that used the reserved keyword ('var') as variable names (Issue 969).<!-- CL 276213 -->
- ๐ Fixed a file path expansion bug in subtest failure messages (Issue 956). <!-- CL 276212 -->
- ๐ Fixed unhandled promise rejection error in debug adapter (Issue 982). <!-- CL 274932 -->
โจ Enhancements
- ๐ง Disabled the experimental
godlvdap
debug configuration from the stable version. It is still available in Go Nightly (Issue 960). - Enabled user survey (Issue 910). <!-- CL 276216 -->
Thanks
Thank you for your contribution, @suzmue, @RomanKornev, @hyangah!
- ๐ Fixed
-
v0.19.0 Changes
November 25, 2020A list of all issues and changes can be found in the v0.19.0 milestone.
Community
- Go Nightly users are encouraged to discuss issues and share feedback in the #vscode-go-nightly slack channel as well as the newly created Go Nightly mailing list (Issue 817) <!-- CL 266419 -->
- All experiments have been turned on for Go nightly (Issue 818) <!-- CL 264317 --> <!-- CL 267678 -->
โจ Enhancements
- โ Added a snippet for TestMain (Issue 629) <!-- CL 254497 -->
- โ Added
lispcase
,pascalcase
andkeep
as transform variants for go.addTags (Issue 906, 936) <!-- CL 271357 --> - โ Added support for
gomodifytags
's --template flag (Issue 826) <!-- CL 264299 --> - Language Server
- Upgraded to the latest vscode-languageclient pre-release (Issue 42148) <!-- CL 266497 -->
- Debugging
- package.json: activate extension onDebugInitialConfigurations (Issue 131) <!-- CL 267899 -->
๐ Fixes
- ๐ Fixed test streaming output handling to correctly add -json flag (Issue 471) <!-- CL 268839 -->
- ๐ Fixed bug that unnecessarily buffered test output (Issue 917) <!-- CL 269917 -->
- ๐ Fixed a bug that occurred when choosing a new Go environment using the file picker (Issue 868, 864) <!-- CL 267898 -->
- โ Hide running test StatusBarItem after cancelling tests <!-- CL 268838 -->
- Tool Installation
- ๐ Filter out unsupported document types to improve VS Code Live Share experience (Issue 605) <!-- CL 269157 -->
- ๐ Fixed language server survey computation error <!-- CL 270039 -->
- Debugging
- No longer shows a warning about editing Go files if there is no Go Debug Session running. <!-- CL 269137 -->
- Now removes user set '--gcflags' before passing the program to the debugger, since the debugger adds its own flags before building resulting in an error (Issue 117) <!-- CL 265580 -->
- Fixed bug where the working directory passed in by the user is ignored (Issue 918) <!-- CL 270437 -->
Code Health
- Debugging
- ๐ Improved the extension contributor experience by renaming the test fixtures folder to avoid errors being shown for these files <!-- CL 264324 -->
- โ Language Server Tests
- ๐ท Adjusted home directory used in gerrit CI since recent changes in kokoro were restricting access (Issue 833) <!-- CL 264877 -->
- โก๏ธ Updated Github workflows actions/setup-go to v2 <!-- CL 268997 -->
- โ Restructured the goTest code to be more readable and easier to test <!-- CL 268837 --> <!-- CL 268839 -->
- ๐ Continued to improve the gopls settings documentation generator (Issue 197) <!-- CL 265742 -->
Thanks
Thank you for your contribution, @pofl, @hyangah, @perrito666, @pjweinbgo, @quoctruong, @stamblerre, @skaldesh, and @suzmue!
-
v0.19.0-rc.4 Changes
November 25, 2020๐ How to install pre-release:
- Download the .vsix file from this 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, open the Command Palette and run the "Extensions: Install from VSIX..." command.
- If prompted, reload VS Code.
๐ Release note: https://github.com/golang/vscode-go/blob/v0.19.0-rc.4/CHANGELOG.md#v0190---25-nov-2020
Milestone: https://github.com/golang/vscode-go/issues?q=is%3Aissue+milestone%3Av0.19.0+is%3Aclosed
-
v0.19.0-rc.3 Changes
November 24, 2020๐ How to install pre-release:
- Download the .vsix file from this 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, open the Command Palette and run the "Extensions: Install from VSIX..." command.
- If prompted, reload VS Code.
๐ Release note: https://github.com/golang/vscode-go/blob/v0.19.0-rc.3/CHANGELOG.md#v0190---19-nov-2020
Milestone: https://github.com/golang/vscode-go/issues?q=is%3Aissue+milestone%3Av0.19.0+is%3Aclosed
-
v0.19.0-rc.2
November 23, 2020