Skip to content

Commit 0cd19c8

Browse files
committed
extension/CHANGELOG.md: draft release note for v0.41.0
For #3167 Change-Id: Ibc51c09440f5164fe2132d7575103096b4f6912a Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/562178 TryBot-Result: kokoro <[email protected]> Reviewed-by: Suzy Mueller <[email protected]> Commit-Queue: Hyang-Ah Hana Kim <[email protected]>
1 parent 6bb2321 commit 0cd19c8

File tree

1 file changed

+82
-0
lines changed

1 file changed

+82
-0
lines changed

extension/CHANGELOG.md

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,85 @@
1+
## v0.41.0 - 14 Feb, 2024
2+
3+
This release introduces significant updates to the extension's UI.
4+
We also want to share the news that the [gopls v0.15 release](https://go.dev/s/gopls-v0.15)
5+
enhances the multi-module workspace experience and improves build tag handling.
6+
7+
For a detailed list of changes, refer to the complete [commit
8+
history](https://github.com/golang/vscode-go/compare/v0.40.3...v0.41.0).
9+
10+
### Changes
11+
12+
#### Gopls v0.15.0 and Workspace Configuration
13+
* The gopls v0.15 introduces a [significant change](https://go.dev/s/gopls-v0.15)
14+
in its internal workspace data model. Known as ["zero configuration"
15+
gopls](https://github.com/golang/go/issues/57979), `gopls` can automatically
16+
determines workspace configurations such as Go module boundaries and necessary
17+
GOOS/GOARCH build tags for open Go files. This eliminates the need for users
18+
to align the VS Code workspace root folders with the Go module root folder.
19+
* For more details and additional feature updates, refer to the [gopls v0.15.0
20+
release notes](https://go.dev/s/gopls-v0.15). The extension's
21+
settings have been updated to align with gopls v0.15.0 settings.
22+
23+
#### UI Updates
24+
* A new [language status
25+
bar](https://github.com/golang/vscode-go/wiki/ui#using-the-language-status-bar)
26+
is added, visible when working on Go-related files. The [Go status
27+
bar](https://github.com/golang/vscode-go/wiki/ui#using-the-go-status-bar),
28+
which displays the selected Go version and the gopls status, is now located at
29+
the bottom right of the window and is visible only when Go files are open.
30+
* The "Go" and "Go Debug" output channels are now primarily used for logging
31+
extension activities such as dependency tool installation, invocation, and
32+
debug logging. Use the `"Developer: Set Log Level..."` command to adjust the
33+
logging level. The `go.logging.level` setting is deprecated in favor of this
34+
new logging mechanism.
35+
* The `"Go: Locate Configured Go Tools"` command now opens an untitled file and
36+
dumps the tools information there, instead of printing it in the "Go" output
37+
channel. This change allows users to inspect and edit the output easily before
38+
sharing it in their issue report.
39+
40+
#### Debugging
41+
* [Remote
42+
debugging](https://github.com/golang/vscode-go/wiki/debugging#remote-debugging)
43+
now defaults to using delve DAP. The legacy debug adapter will be removed in
44+
the next release cycle.
45+
* [Delve
46+
1.22.0](https://github.com/go-delve/delve/blob/master/CHANGELOG.md#1220-2023-12-29)
47+
introduces new options to [display 'pprof'
48+
labels](https://github.com/go-delve/delve/issues/3493) and [use concise symbol
49+
and stack presentation](https://github.com/go-delve/delve/issues/3516). Update
50+
delve to the latest version using the `"Go: Install/Update Tools"` command.
51+
52+
#### Tools
53+
* For new users, the extension will automatically install important tools
54+
(`gopls` and an optionally selected extra lint tool such as `staticcheck` or
55+
`golangci-lint`) if they are missing, using `go install` commands. Any
56+
installation failures will be surfaced in the [language status
57+
bar](https://github.com/golang/vscode-go/wiki/ui#using-the-go-status-bar) and
58+
the "Go" output channel.
59+
* The extension does not require `dlv` installation until the debug feature is
60+
invoked.
61+
* The extension now installs
62+
[`vscgo`](https://pkg.go.dev/github.com/golang/vscode-go/cmd/vscgo), an
63+
optional tool used to [update the Go telemetry
64+
counters](https://github.com/golang/vscode-go/issues/3121). This tool is
65+
installed in the extension's directory.
66+
67+
#### Telemetry
68+
* The Go telemetry now measures activation latency. ([CL
69+
549244](https://go-review.git.corp.google.com/c/vscode-go/+/549244))
70+
71+
### Fixes
72+
* The extension now recognizes idx as a Web IDE. ([CL
73+
559895](https://go-review.googlesource.com/c/vscode-go/+/559895))
74+
* The deprecated `web-request` has been replaced with `node-fetch@v2`. ([Issue
75+
2995](https://github.com/golang/vscode-go/issues/2995))
76+
77+
### Development Process Updates
78+
* The repository layout has been updated with the extension code moved to the
79+
`extension/` directory. See [Issue
80+
3122](https://github.com/golang/vscode-go/issues/3122) for more details.
81+
* The extension release workflow has been moved to Google Cloud Build.
82+
183
## v0.40.3 - 22 Jan, 2024
284

385
This is a point release to update the upcoming developer survey information

0 commit comments

Comments
 (0)