Skip to content

Commit c533715

Browse files
hyangahgopherbot
authored andcommitted
extension/CHANGELOG.md: prepare for v0.42.0
For #3453 Change-Id: Iefb6aaec8688a527f506825f761dc3159761afb3 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/598217 Commit-Queue: Hyang-Ah Hana Kim <[email protected]> Reviewed-by: Robert Findley <[email protected]> Auto-Submit: Hyang-Ah Hana Kim <[email protected]> kokoro-CI: kokoro <[email protected]>
1 parent 9875794 commit c533715

File tree

1 file changed

+38
-1
lines changed

1 file changed

+38
-1
lines changed

extension/CHANGELOG.md

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,40 @@
1+
## v0.42.0 - 17 Jul, 2024
2+
3+
A comprehensive list of changes can be found in the complete [commit history](https://github.com/golang/vscode-go/compare/v0.42.0...v0.41.4).
4+
5+
### Updates in `gopls`
6+
7+
* Gopls v0.16: The latest gopls version as of this release is [gopls v0.16](https://github.com/golang/tools/releases/tag/gopls%2Fv0.16.0). The extension settings documentation has been updated to align with the latest gopls settings.
8+
* The gopls project provides an index of [all supported features](https://github.com/golang/tools/tree/master/gopls/doc/features). We are working on making this documentation more accessible from the extension. Please stay tuned for updates.
9+
10+
### Updates in telemetry
11+
12+
This extension continues to use [Go toolchain telemetry](https://go.dev/doc/telemetry).
13+
By default, telemetry data is kept only on the local computer, but you can opt in to share it with the Go team with one of the following ways:
14+
15+
- `go run golang.org/x/telemetry/cmd/gotelemetry@latest on` in the terminal, or
16+
- `go telemetry on`, from go1.23, or
17+
- Respond to the prompt when it appears.
18+
19+
Once uploading is enabled, the data will be sent to https://telemetry.go.dev approximately once a week.
20+
21+
### Changes
22+
23+
#### Tools installation
24+
25+
* For tools installation managed by the extension, this version requires go1.19 or newer version. The next minor release (v0.43.0+) will require go1.21 or newer to install tools. If your project requires go1.20 or older to build, you will need to manually install [compatible versions of tools](https://github.com/golang/vscode-go/wiki/tools), or configure the [`"go.toolsManagement.go"` setting](https://github.com/golang/vscode-go/wiki/settings#gotoolsmanagementgo) to use go1.21+ when installing the tools.
26+
27+
* The extension installs its required tools using the `go install` command. Starting go1.21, the `go` command allows tool authors to specify the minimum Go version required to build their tools. If the required go toolchain version is not locally available, the `go` command needs to download it like other dependencies of the tool. To ensure this toolchain switch works correctly, the extension enforces `GOTOOLCHAIN=auto` mode during tools installation. Note that this change does not affect how it builds and tests your own project. For more information about Go's toolchain switch behavior, see the [official documentation](https://go.dev/doc/toolchain).
28+
29+
#### Debugging
30+
31+
* The default launch.json template for "Go: Launch Package" was updated to use `"${workspaceFolder}${1:}"` instead of `"${fileDirname}"` as the default `"program"` attribute value. If the package to debug is located in the subdirectory, adjust the configuration to point to the main package path. The [official VS Code Variables Reference](https://code.visualstudio.com/docs/editor/variables-reference) lists useful substitution rules you can use in adjusting your launch.json setting.
32+
33+
### Thanks
34+
35+
Thanks for your contributions, @yimiaoxiehou!
36+
37+
138
## v0.41.4 - 24 Apr, 2024
239

340
This point release addresses a regression issue (spurious display of the Go welcome page) within cloud-based IDEs.
@@ -466,7 +503,7 @@ We plan to add support for [LSP 3.17](https://microsoft.github.io/language-serve
466503

467504
* Activation: the extension defers commands and feature provider registrations until it runs `go version` and `go env`, and starts `gopls`. [This change](https://go-review.googlesource.com/c/vscode-go/+/398155) prevent the extension prematually export its features, but may result in a slight increase in extension activation time if those commands run slow.
468505

469-
* Survey: we show the Gopls opt-out survey prompt only when users change the setting to disable `gopls`.
506+
* Survey: we show the gopls opt-out survey prompt only when users change the setting to disable `gopls`.
470507

471508
* Test Explorer: fixed a bug in `go.mod` file parsing ([Issue 2171](https://github.com/golang/vscode-go/issues/2171))
472509

0 commit comments

Comments
 (0)