Releases: golang/vscode-go
Release 0.37.1-rc.1
[release] prepare v0.37.1 Updates golang/vscode-go#2614 Change-Id: I8c24ec7d0666c072fc91379520d8d0240bf7d13f Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/462379 Reviewed-by: Robert Findley <[email protected]> Run-TryBot: Hyang-Ah Hana Kim <[email protected]> TryBot-Result: kokoro <[email protected]>
Release 0.37.0
v0.37.0 - 19 Dec, 2022
This release includes new static analysis features that report known vulnerabilities in your dependencies. These vulncheck analysis tools are backed by Go's vulnerability database and the Go language server's integration of govulncheck
.
Read Go's support for vulnerability management to learn about the Go team's approach to helping Go developers secure their open-source dependencies.
vulncheck.mp4
Changes
- The new "Go: Toggle Vulncheck" command enables/disables imports-based vulnerability analysis. This requires gopls v0.11.0 or newer.
- Test and debug test code lenses are added to some subtests if the test names can be determined. (Issue 2536)
- Gopls settings was updated to match [email protected].
"go.formatTool"
setting accepts a special value"custom"
, which causes the extension to use the custom formatter configured with the setting"go.alternateTools": { "customFormatter": <your custom tool name> }
. (Issue 2503)- The experimental "Go: Run Vulncheck (exp)" command was removed.
- The extension no longer bypasses Delve's Go version check by default. Users must install the delve version compatible with their Go version, or explicitly configure their launch configuration to pass the
--check-go-version=false
flag using thedlvFlags
attribute. (Go Delve Issue 3058)
Fixes
- The editor survey prompt logic was adjusted for uniform sampling. (Issue 2545)
- Fixed the crash bug when handling coverage profiles involving go
//line
-directive. (Issue 2453) - Updated dependencies to address CVE-2022-37603 and CVE-2022-24999.
Thanks
Thank you for your contribution, @devuo, @pjweinbgo, @aarzilli, @tklauser, @hyangah, @suzmue, @jamalc!
Release 0.37.0-rc.1
-
Milestone: https://github.com/golang/vscode-go/issues?q=milestone%3Av0.37.0
-
Commits: v0.36.0...v0.37.0-rc.1
-
Change Log: https://github.com/golang/vscode-go/blob/master/CHANGELOG.md#v0370---19-dec-2022
-
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.36.0
v0.36.0 - 7 Nov, 2022
A 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!
Release 0.36.0-rc.1
-
Milestone: https://github.com/golang/vscode-go/issues?q=milestone%3Av0.36.0
-
Commits: v0.35.2...v0.36.0-rc.1
-
Change Log: https://github.com/golang/vscode-go/blob/master/CHANGELOG.md#v0360---4-nov-2022
-
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.35.2
v0.35.2 - 16 Aug, 2022
A 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!
Release 0.35.2-rc.1
-
Milestone: https://github.com/golang/vscode-go/issues?q=milestone%3Av0.35.2
-
Commits: https://github.com/golang/vscode-go/compare/<previous_version>...v0.35.2-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.35.1
v0.35.1 - 19 July, 2022
A 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).
Release 0.35.1-rc.1
CHANGELOG.md: add v0.35.1 description Change-Id: I9f36b4f75cebea46a8a9ff36c6ecff5967d1424b Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/418195 TryBot-Result: kokoro <[email protected]> Run-TryBot: Hyang-Ah Hana Kim <[email protected]> Reviewed-by: Jamal Carvalho <[email protected]>
Release 0.35.0
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).
- 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.