Skip to content

Commit

Permalink
[release] prepare v0.40.1 release
Browse files Browse the repository at this point in the history
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
  • Loading branch information
hyangah committed Dec 19, 2023
2 parents e854395 + 7a5c1bb commit 0c15e58
Show file tree
Hide file tree
Showing 37 changed files with 563 additions and 2,137 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ jobs:

steps:
- name: Clone repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'

- name: Setup Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: '1.21'
check-latest: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ jobs:

steps:
- name: Clone repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-long-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,16 @@ jobs:

steps:
- name: Clone repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'

- name: Setup Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
check-latest: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-long.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ jobs:

steps:
- name: Clone repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'

- name: Setup Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
check-latest: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-smoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ jobs:

steps:
- name: Clone repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'npm'

- name: Setup Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: '1.21'
check-latest: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout vscode-go repo code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: vscode-go
- name: Checkout vscode-go.wiki repo code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: ${{github.repository}}.wiki
path: wiki
- name: Setup Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: '1.21'
check-latest: true
Expand Down
54 changes: 48 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,61 @@
## v0.40.1 - 21 Dec, 2023

This is a point release to fix minor bugs. A comprehensive list of bug fixes and
changes can be found in
[the milestone](https://github.com/golang/vscode-go/milestone/60) and
[the commit history](https://github.com/golang/vscode-go/compare/v0.40.0...v0.40.1).

### Changes

* We adjusted the extension activation behavior. The extension will not be
activated until Go files are open or the extension's commands are invoked.
([Issue 3038](https://github.com/golang/vscode-go/issues/3038), and
[2164](https://github.com/golang/vscode-go/issues/2164)).
* The [`GOTOOLCHAIN`](https://go.dev/doc/toolchain) environment variable is
shown from the [Go explorer
view](https://github.com/golang/vscode-go/wiki/ui#go-explorer-view).

### Fixes

* [Pprof result viewer](https://github.com/golang/vscode-go/wiki/features#profiling)
now works with the [remote development setup](https://code.visualstudio.com/docs/remote/remote-overview).
([Issue 3090](https://github.com/golang/vscode-go/issues/3090)).
* Subtests that include regexp metacharacters in their names are now properly
handled. ([Issue 2624](https://github.com/golang/vscode-go/issues/2624),
[3070](https://github.com/golang/vscode-go/issues/3070))
* When the extension detects `go` installed by snap, it will use
`/snap/go/current/bin/go` as the go command path to work around a bug in
snapd. ([Issue 166](https://github.com/golang/vscode-go/issues/166)).
* We enhanced the automated issue reporting feature to be robust in collecting
gopls crash logs and handling transient errors during gopls upgrade.
([Issue 984](https://github.com/golang/vscode-go/issues/984),
[2690](https://github.com/golang/vscode-go/issues/2690)).
* The extension now respects user's `editor.parameterHints.enabled` and shows
parameter hints after completion only if it is enabled.
([Issue 3071](https://github.com/golang/vscode-go/issues/3071))
* Ran `npm audit fix` and that updated `semver` and `word-wrap` dependencies.
([CL 551055](https://go.dev/cl/551055)).

### Thanks

Thank you for your contribution @tekig, @rogeryk, @hyangah!

## v0.40.0 - 15 Nov, 2023

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

```
go run golang.org/x/telemetry/cmd/gotelemetry@latest on
```

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

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

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

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

### Thanks

Expand Down
2 changes: 1 addition & 1 deletion docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ When developing features in `gopls`, you may need to attach a debugger to `gopls
1. Start a gopls in deamon mode:
```
gopls -listen=:37374" -logfile=auto -debug=:0 serve
gopls -listen=:37374 -logfile=auto -debug=:0 serve
```
Or, if you use vscode for gopls development, you can configure `launch.json` of the `x/tools/gopls` project:
Expand Down
33 changes: 32 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,40 @@
module github.com/golang/vscode-go

go 1.16
go 1.18

require (
github.com/google/go-cmp v0.5.9
github.com/stamblerre/work-stats v0.0.0-20221215212512-f2f2cf51e506
golang.org/x/build v0.0.0-20230221151429-f03e733dd241
)

require (
cloud.google.com/go/compute v1.21.0 // indirect
cloud.google.com/go/compute/metadata v0.2.3 // indirect
cloud.google.com/go/iam v1.1.1 // indirect
cloud.google.com/go/secretmanager v1.11.1 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/go-github v17.0.0+incompatible // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/google/s2a-go v0.1.4 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect
github.com/googleapis/gax-go/v2 v2.11.0 // indirect
github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 // indirect
github.com/stamblerre/sheets v0.0.0-20220322044539-54bdb620f700 // indirect
go.opencensus.io v0.24.0 // indirect
go4.org v0.0.0-20180809161055-417644f6feb5 // indirect
golang.org/x/crypto v0.14.0 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/oauth2 v0.10.0 // indirect
golang.org/x/sync v0.3.0 // indirect
golang.org/x/sys v0.13.0 // indirect
golang.org/x/text v0.13.0 // indirect
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac // indirect
google.golang.org/api v0.126.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98 // indirect
google.golang.org/grpc v1.58.3 // indirect
google.golang.org/protobuf v1.31.0 // indirect
)
Loading

0 comments on commit 0c15e58

Please sign in to comment.