Skip to content

Commit 5bbfaf9

Browse files
committed
[release] prepare v0.41.2 release
f5d6cad extension/src/goStatus: fix quick pick for gopls trace open 53bf019 src/language: adjust panic trace capture logic b4b68a7 README.md: use the new telemetry official doc link 361c801 extension/src/goTelemetry: increase telemetry prompt rate to 1% 0b3fabc extension/src/goMain: skip vscgo installation on windows 9480a16 extension: start v0.42.0 dev cycle beaf5fc extension/test/gopls: allow more time for testify tests 484a195 extension/src/goTools: add golangci-lint and gofumpt version mapping 1d634bf .github/workflows: use 1.22, drop 1.18 6dd3745 docs/tools.md: fix vscgo package doc link baab7be extension/tools/release: add test for rc 7bfbcaf src/goTest: fix multifile suite test fails to debug Change-Id: I966aaac48ecb67b22824bd7b3600bf90d983a039
2 parents 2ba3f68 + f5d6cad commit 5bbfaf9

29 files changed

+459
-103
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
matrix:
1818
os: [ubuntu-latest, windows-latest, macos-latest]
1919
version: ['stable', 'insiders']
20-
go: ['1.18', '1.19', '1.20', '1.21']
20+
go: ['1.19', '1.20', '1.21', '1.22']
2121

2222
steps:
2323
- name: Clone repository

.github/workflows/test-long.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
matrix:
1717
os: [ubuntu-latest, windows-latest] # TODO: reenable macos-latest
1818
version: ['stable']
19-
go: ['1.18', '1.19', '1.20', '1.21']
19+
go: ['1.19', '1.20', '1.21', '1.22']
2020

2121
steps:
2222
- name: Clone repository

.github/workflows/test-smoke.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Setup Go
3232
uses: actions/setup-go@v4
3333
with:
34-
go-version: '1.21'
34+
go-version: '1.22'
3535
check-latest: true
3636
cache: true
3737

.github/workflows/wiki.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Setup Go
3636
uses: actions/setup-go@v4
3737
with:
38-
go-version: '1.21'
38+
go-version: '1.22'
3939
check-latest: true
4040
cache: true
4141
cache-dependency-path: '**/go.sum'

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ nightly build of this extension. Learn how to install it in by reading the
133133

134134
## Telemetry
135135

136-
VS Code Go extension relies on the [Go Telemetry](https://telemetry.go.dev) to
136+
VS Code Go extension relies on the [Go Telemetry](https://go.dev/doc/telemetry) to
137137
learn insights about the performance and stability of the extension and the
138138
language server (`gopls`).
139139
**Go Telemetry data uploading is disabled by default** and can be enabled
@@ -171,9 +171,8 @@ of reliability. For example:
171171
These are just a few ways that telemetry can improve gopls. The [telemetry blog
172172
post series](https://research.swtch.com/telemetry-uses) contains many more.
173173

174-
Go telemetry is designed to be transparent and privacy-preserving. If you have
175-
concerns about enabling telemetry, you can learn more at
176-
[https://telemetry.go.dev/privacy](https://telemetry.go.dev/privacy).
174+
Go telemetry is designed to be transparent and privacy-preserving. Learn more at
175+
[https://go.dev/doc/telemetry](https://go.dev/doc/telemetry).
177176

178177
## Contributing
179178

extension/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## v0.41.2 - 14 Mar, 2024
2+
3+
This release is a point release to increase the prompt rate of Go telemetry
4+
opt-in. Learn more at https://go.dev/doc/telemetry.
5+
For a detailed list of changes, refer to the complete
6+
[commit history](https://github.com/golang/vscode-go/compare/v0.41.1...v0.41.2).
7+
18
## v0.41.1 - 22 Feb, 2024
29

310
This release is a point release to skip `vscgo` installation on Windows

extension/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "go",
33
"displayName": "Go",
4-
"version": "0.41.1",
4+
"version": "0.41.2",
55
"publisher": "golang",
66
"description": "Rich Go language support for Visual Studio Code",
77
"author": {

extension/src/goStatus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export const expandGoStatusBar: CommandFactory = (ctx, goCtx) => async () => {
106106
case 'Choose Go Environment':
107107
vscode.commands.executeCommand('go.environment.choose');
108108
break;
109-
case `${languageServerIcon}Open 'gopls' trace`:
109+
case `${languageServerIcon} Open 'gopls' trace`:
110110
if (serverOutputChannel) {
111111
serverOutputChannel.show();
112112
}

extension/src/goTelemetry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export class TelemetryService {
162162
async promptForTelemetry(
163163
isPreviewExtension: boolean,
164164
isVSCodeTelemetryEnabled: boolean = vscode.env.isTelemetryEnabled,
165-
samplingInterval = 1 /* prompt N out of 1000. 1 = 0.1% */
165+
samplingInterval = 10 /* prompt N out of 1000. 10 = 1% */
166166
) {
167167
if (!this.active) return;
168168

0 commit comments

Comments
 (0)