Skip to content

Commit 0c15e58

Browse files
committed
[release] prepare v0.40.1 release
7a5c1bb CHANGELOG.md: address suzmue's comment and apply style fixes f17266e CHANGELOG.md: change log for v0.40.1 c37e0fe package-lock.json: run npm audit fix 35ca87e src/goExplorer: add GOTOOLCHAIN in the go env var explorer 077c236 go.mod: update dependencies to silence vuln reports 3888cc4 src/goTest: fix display pprof result page when using ssh ec9e90d src/goToolsInformation: set min go version for golangci-lint 34f54ac package.json: update vscode test electron dependency 3900894 go.mod: go mod tidy -go=1.18 d6fb202 src/goTest: fix bugs in subtest handling fae8cb9 src/goMain: stop trying to diagnose when gopls is not running 308c6c0 src/language/goLanguageServer: fix parameter hint setting query 322014f src/utils/pathUtils: adjust snap go path 4316a96 src/language/goLanguageServer: improve suggestGoplsIssueReport d833323 package.json: remove 'workspaceContains' from activation events 07bea22 docs/contributing.md: remove unnecessary quote 455b799 test/integration: delete legacy DA's path mapping tests ffde5a1 test/runTest: suppress vscode download log 95a552b package.json: update @vscode/test-electron to 2.3.6 7f843ca src/welcome: delete unused variables c6bfee8 .github/workflows: upgrade to v4 github actions e864a1e package.json: start the v0.41.0-dev cycle 8190ad6 CHANGELOG.md: fix delve version used in v0.40.0 release ed92a0c CHANGELOG.md: update planned release date f76ac35 tools: add max version for delve Change-Id: I26e97fabb61ebd80954fe78c204066ffd092f9b5
2 parents e854395 + 7a5c1bb commit 0c15e58

37 files changed

+563
-2137
lines changed

.github/workflows/release-nightly.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ jobs:
1818

1919
steps:
2020
- name: Clone repository
21-
uses: actions/checkout@v3
21+
uses: actions/checkout@v4
2222

2323
- name: Setup Node
24-
uses: actions/setup-node@v3
24+
uses: actions/setup-node@v4
2525
with:
2626
node-version: '18'
2727
cache: 'npm'
2828

2929
- name: Setup Go
30-
uses: actions/setup-go@v3
30+
uses: actions/setup-go@v4
3131
with:
3232
go-version: '1.21'
3333
check-latest: true

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ jobs:
3838

3939
steps:
4040
- name: Clone repository
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@v4
4242

4343
- name: Setup Node
44-
uses: actions/setup-node@v3
44+
uses: actions/setup-node@v4
4545
with:
4646
node-version: '18'
4747
cache: 'npm'

.github/workflows/test-long-all.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ jobs:
2121

2222
steps:
2323
- name: Clone repository
24-
uses: actions/checkout@v3
24+
uses: actions/checkout@v4
2525

2626
- name: Setup Node
27-
uses: actions/setup-node@v3
27+
uses: actions/setup-node@v4
2828
with:
2929
node-version: '18'
3030
cache: 'npm'
3131

3232
- name: Setup Go
33-
uses: actions/setup-go@v3
33+
uses: actions/setup-go@v4
3434
with:
3535
go-version: ${{ matrix.go }}
3636
check-latest: true

.github/workflows/test-long.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@ jobs:
2020

2121
steps:
2222
- name: Clone repository
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424

2525
- name: Setup Node
26-
uses: actions/setup-node@v3
26+
uses: actions/setup-node@v4
2727
with:
2828
node-version: '18'
2929
cache: 'npm'
3030

3131
- name: Setup Go
32-
uses: actions/setup-go@v3
32+
uses: actions/setup-go@v4
3333
with:
3434
go-version: ${{ matrix.go }}
3535
check-latest: true

.github/workflows/test-smoke.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ jobs:
1919

2020
steps:
2121
- name: Clone repository
22-
uses: actions/checkout@v3
22+
uses: actions/checkout@v4
2323

2424
- name: Setup Node
25-
uses: actions/setup-node@v3
25+
uses: actions/setup-node@v4
2626
with:
2727
node-version: '18'
2828
cache: 'npm'
2929

3030
- name: Setup Go
31-
uses: actions/setup-go@v3
31+
uses: actions/setup-go@v4
3232
with:
3333
go-version: '1.21'
3434
check-latest: true

.github/workflows/wiki.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,16 @@ jobs:
2424
steps:
2525
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2626
- name: Checkout vscode-go repo code
27-
uses: actions/checkout@v3
27+
uses: actions/checkout@v4
2828
with:
2929
path: vscode-go
3030
- name: Checkout vscode-go.wiki repo code
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v4
3232
with:
3333
repository: ${{github.repository}}.wiki
3434
path: wiki
3535
- name: Setup Go
36-
uses: actions/setup-go@v3
36+
uses: actions/setup-go@v4
3737
with:
3838
go-version: '1.21'
3939
check-latest: true

CHANGELOG.md

Lines changed: 48 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,61 @@
1+
## v0.40.1 - 21 Dec, 2023
2+
3+
This is a point release to fix minor bugs. A comprehensive list of bug fixes and
4+
changes can be found in
5+
[the milestone](https://github.com/golang/vscode-go/milestone/60) and
6+
[the commit history](https://github.com/golang/vscode-go/compare/v0.40.0...v0.40.1).
7+
8+
### Changes
9+
10+
* We adjusted the extension activation behavior. The extension will not be
11+
activated until Go files are open or the extension's commands are invoked.
12+
([Issue 3038](https://github.com/golang/vscode-go/issues/3038), and
13+
[2164](https://github.com/golang/vscode-go/issues/2164)).
14+
* The [`GOTOOLCHAIN`](https://go.dev/doc/toolchain) environment variable is
15+
shown from the [Go explorer
16+
view](https://github.com/golang/vscode-go/wiki/ui#go-explorer-view).
17+
18+
### Fixes
19+
20+
* [Pprof result viewer](https://github.com/golang/vscode-go/wiki/features#profiling)
21+
now works with the [remote development setup](https://code.visualstudio.com/docs/remote/remote-overview).
22+
([Issue 3090](https://github.com/golang/vscode-go/issues/3090)).
23+
* Subtests that include regexp metacharacters in their names are now properly
24+
handled. ([Issue 2624](https://github.com/golang/vscode-go/issues/2624),
25+
[3070](https://github.com/golang/vscode-go/issues/3070))
26+
* When the extension detects `go` installed by snap, it will use
27+
`/snap/go/current/bin/go` as the go command path to work around a bug in
28+
snapd. ([Issue 166](https://github.com/golang/vscode-go/issues/166)).
29+
* We enhanced the automated issue reporting feature to be robust in collecting
30+
gopls crash logs and handling transient errors during gopls upgrade.
31+
([Issue 984](https://github.com/golang/vscode-go/issues/984),
32+
[2690](https://github.com/golang/vscode-go/issues/2690)).
33+
* The extension now respects user's `editor.parameterHints.enabled` and shows
34+
parameter hints after completion only if it is enabled.
35+
([Issue 3071](https://github.com/golang/vscode-go/issues/3071))
36+
* Ran `npm audit fix` and that updated `semver` and `word-wrap` dependencies.
37+
([CL 551055](https://go.dev/cl/551055)).
38+
39+
### Thanks
40+
41+
Thank you for your contribution @tekig, @rogeryk, @hyangah!
42+
143
## v0.40.0 - 15 Nov, 2023
244

3-
This extension utilizes [Go Telemetry](https://telemetry.go.dev/privacy) to gather insights
45+
This extension uses [Go Telemetry](https://telemetry.go.dev/privacy) to gather insights
446
about the performance and stability of the extension and the language server it employs.
547
By default, Telemetry uploading is disabled, but starting from this version,
6-
a small number of users will be prompted to enable it. Users can enable telemetry uploading
48+
a small number of users will be prompted to enable it. Users can enable uploading of telemetry data
749
by either responding to the prompt or running the following command:
850

951
```
1052
go run golang.org/x/telemetry/cmd/gotelemetry@latest on
1153
```
1254

1355
Once uploading is enabled, the data will be sent to https://telemetry.go.dev
14-
on a weekly basis. You can find more information about this process at
56+
each week. You can find more information about this process at
1557
[https://telemetry.go.dev/privacy](https://telemetry.go.dev) and in the
16-
[gopls v0.14 release notes(https://github.com/golang/tools/releases/tag/gopls%2Fv0.14.0).
58+
[gopls v0.14 release notes](https://github.com/golang/tools/releases/tag/gopls%2Fv0.14.0).
1759

1860
A comprehensive list of changes can be found in the complete
1961
[commit history](https://github.com/golang/vscode-go/compare/v0.40.0...v0.39.1).
@@ -44,7 +86,7 @@ delve. This should help with bugs related to parsing the string of buildFlags, s
4486

4587
* The "Go: Toggle Hide System Goroutines" command was added to make it easier to switch between
4688
showing / hiding the system goroutines in the callstack view. This command is also
47-
available in the callstack context menu. The default setting can also be updated by updating
89+
available in the callstack context menu. The default setting can be updated by updating
4890
"hideSystemGoroutines" in either the launch.json or in the "go.delveConfig" setting.
4991
([Issue 1797](https://github.com/golang/vscode-go/issues/1797#issuecomment-1762145244))
5092

@@ -63,7 +105,7 @@ other environment variables as well. ([Issue 1902](https://github.com/golang/vsc
63105
The README.md provides a list of VS Code and Go version requirements.
64106
* For tools installation managed by the extension, you need go1.18 or a newer version.
65107
([Issue 2898](golang/vscode-go#2898))
66-
* The extension has been tested with gopls v0.14 and delve v0.21.
108+
* The extension has been tested with gopls v0.14 and delve v1.21.
67109

68110
### Thanks
69111

docs/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ When developing features in `gopls`, you may need to attach a debugger to `gopls
125125
126126
1. Start a gopls in deamon mode:
127127
```
128-
gopls -listen=:37374" -logfile=auto -debug=:0 serve
128+
gopls -listen=:37374 -logfile=auto -debug=:0 serve
129129
```
130130
131131
Or, if you use vscode for gopls development, you can configure `launch.json` of the `x/tools/gopls` project:

go.mod

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,40 @@
11
module github.com/golang/vscode-go
22

3-
go 1.16
3+
go 1.18
44

55
require (
66
github.com/google/go-cmp v0.5.9
77
github.com/stamblerre/work-stats v0.0.0-20221215212512-f2f2cf51e506
88
golang.org/x/build v0.0.0-20230221151429-f03e733dd241
99
)
10+
11+
require (
12+
cloud.google.com/go/compute v1.21.0 // indirect
13+
cloud.google.com/go/compute/metadata v0.2.3 // indirect
14+
cloud.google.com/go/iam v1.1.1 // indirect
15+
cloud.google.com/go/secretmanager v1.11.1 // indirect
16+
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
17+
github.com/golang/protobuf v1.5.3 // indirect
18+
github.com/google/go-github v17.0.0+incompatible // indirect
19+
github.com/google/go-querystring v1.1.0 // indirect
20+
github.com/google/s2a-go v0.1.4 // indirect
21+
github.com/google/uuid v1.3.0 // indirect
22+
github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect
23+
github.com/googleapis/gax-go/v2 v2.11.0 // indirect
24+
github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 // indirect
25+
github.com/stamblerre/sheets v0.0.0-20220322044539-54bdb620f700 // indirect
26+
go.opencensus.io v0.24.0 // indirect
27+
go4.org v0.0.0-20180809161055-417644f6feb5 // indirect
28+
golang.org/x/crypto v0.14.0 // indirect
29+
golang.org/x/net v0.17.0 // indirect
30+
golang.org/x/oauth2 v0.10.0 // indirect
31+
golang.org/x/sync v0.3.0 // indirect
32+
golang.org/x/sys v0.13.0 // indirect
33+
golang.org/x/text v0.13.0 // indirect
34+
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect
35+
google.golang.org/api v0.126.0 // indirect
36+
google.golang.org/appengine v1.6.7 // indirect
37+
google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98 // indirect
38+
google.golang.org/grpc v1.58.3 // indirect
39+
google.golang.org/protobuf v1.31.0 // indirect
40+
)

0 commit comments

Comments
 (0)