Releases: golang/vscode-go
Release 0.38.0
v0.38.0 - 28 Feb, 2023
This release adds default go
tasks to help build and test your Go projects.
A list of all issues and changes can be found in the v0.38.0 milestone and commit history.
Changes
- Added default go task provider (Issue 194)
- Updated pinned golangci-lint version to fix memory leak issue with Go 1.20 (Issue 2654)
- gopls releases will now have a staged rollout in VS Code (CL 468497)
- Added extension keywords to make this extension easier to find in the VS Code Extension Marketplace (Issue 2657)
- Deleted the broken references codelens code (Issue 2519)
- Added support to handle missing variables in legacy debug adapter gracefully (Issue 2397)
Development process updates
- Upgraded esbuild to support s390x (Issue 2668)
- Use --profile-temp for testing with clean env (Issue 2458)
Thanks
Thank you for your contribution, @ankon, @hyangah, @jamalc, and @suzmue!
Release 0.38.0-rc.3
.github/workflows: fix release.yml to use npx vsce for packaging Updates golang/vscode-go#2676 Change-Id: Idba55e5976bf85e587a4cef04773c15114446087 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/470975 Run-TryBot: Hyang-Ah Hana Kim <[email protected]> TryBot-Result: kokoro <[email protected]> Reviewed-by: Suzy Mueller <[email protected]> (cherry picked from commit dde5592e3d5a3825cc9a68b7d7268c672d4c319a) Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/471036 Run-TryBot: Suzy Mueller <[email protected]> Reviewed-by: Jamal Carvalho <[email protected]>
Release 0.37.1
v0.37.1 - 17 Jan, 2023
Fixes
- Fixed spurious file creation bugs on branch switches. (Issue 2570)
Changes
- Added promotion for the annual Go developer survey (2023 Winter).
Thanks
Thank you for your contribution, @suzmue!
Release 0.37.1-rc.2
[release] src/goDeveloperSurvey: drop extra " from message Change-Id: I3badc68ee7b9c983ee70a836173accc794d4c913 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/462475 TryBot-Result: kokoro <[email protected]> Run-TryBot: Hyang-Ah Hana Kim <[email protected]> Reviewed-by: Robert Findley <[email protected]>
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!