v0.39.0 - 12 Jun, 2023
We are in the process of removing legacy language features that were replaced by gopls
since early 2021. The versions released after September 2023 will no longer offer features like code completion, navigation, documentation, formatting, and refactoring if the language server is disabled. In this release, we are showing deprecation notification messages if you are using the legacy language features. (Issue 2799)
A list of all issues and changes can be found in the v0.39.0 milestone and commit history.
Changes
-
Added the
go.showWelcome
setting that controls whether to show the Welcome page. (PR 2704) -
Report when
go.toolsManagement.go
setting is invalid and ignored. (Issue 2753) -
Removed
go.languageServerExperimentalFeatures
setting which was deprecated in v0.21.0. (Issue 1109) -
Deprecated settings that affect only legacy language features and tools. They will be removed in the release after September 2023. (Issue 2799)
-
"Go: Update/Install Tools"
will install the latest version ofgolangci-lint
instead of a vetted, pinned version. The extension chose to pin the versions of third-party go tools it installs in order to manage version skew and reduce security risks. However,golangci-lint
is frequently released and its community is active enough to handle compatibility/security issues. We decided to install the latest version by default. (Issue 2763, 2485) -
Debug: show error when the process picker is hidden (CL 499601). To learn more about the process picker in debug, see Launch.json "processId" documentation.
-
Debug:
args
attribute now accepts astring
typed value. The argument string is parsed into word arguments with rules similar tobash
except that there is no shell expansion. This change allows to use vscode variables like${input:args}
. (Issue 2621) -
The extension no longer caches PATH environment variable, which helps interoperate with extensions that modify
PATH
. (Issue 2617) -
Updated LSP to v3.17.3 and VS Code language client library to v8.1.0. This includes fixes for request ordering issues around full document sync and bugs around shutdown.
-
Replaced the extension user survey link to https://go.dev/s/ide-hats-survey. (CL 497536)
-
Updated settings to sync with gopls@v0.12.
-
Third-party go tools dependencies: use gofumpt@v0.5.0 and revive@v1.3.2 and install staticcheck@v0.3.3 when building with go1.18 or older.
Delopment process updates
- Updated
@vscode/vsce
version to address the xml2js prototype pollution vulnerability report
Documentation
- Debugging documentation includes tips for debugging with
-trimpath
. (Issue 2609) - Added advanced semantic syntax highlighting options. (Issue 2682)
Thanks
- Thank you for your contribution, @fflewddur, @ZekeLu, @cuining, @weikanglim, @niklaskorz, @xmmak, @jamalc, @suzmue, @hyangah!