v0.21.0 - 20th Jan, 2021
📣 Announcement:
The language server,
gopls
, will be enabled by default in the next release. (Issue 1037). Please test and provide us your feedback on the#vscode-dev
Gophers Slack channel.Some workspace or folder-level settings that affect tools location will not be used by default until users explicitly opt in by running
Go: Toggle Workspace Trust Flag
. See Issue 1094 for more information.
A 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!