Skip to content

Commit 5bed412

Browse files
committed
[release] prepare v0.38.0 release
e046798 CHANGELOG: update CHANGELOG for v0.38.0 release ab0569c .github/workflows: update to go 1.20 from 1.20rc1 54c1493 tools/installtools: remove temporary version pinning for staticcheck 98ffe1c package.json: upgrade esbuild d28a29c go.mod: update dependencies a0f2369 src/goTaskProvider: add default go task provider 599cc74 src/goToolsInformation: update version golangci-lint and gopls d5633a7 src/debugAdapter: handle missing variables gracefully d31a6c5 src/language/goLanguageServer: support staged auto-update of gopls 7c6518b .vscode/launch.json: use --profile-temp for testing with clean env af5e63f test/gopls: reenable gopls tests 032fd59 package.json: add gopls and golang to extension keywords 203717d src/goReferencesCodelens: delete references codelens code 196bd79 src/goDeveloperSurvey: fix lint 32a643f CHANGELOG.md: prepare for v0.37.1 a736c61 docs/debugging.md: docs clarity edits fda7f61 src/goDeveloperSurvey: prepare for 2023 Winter developer survey 8937a53 build/release-nightly: initial commit for release wf in GCB 4bd9718 package.json: include vsce to dev dependency 72095e9 docs/debbugging.md: Reformatting prep for docs edits 2535317 package.json: use @vscode/debugadapter-testsupport 28ed01d package-lock.json: update json5 to v2.2.3 ff1e8cf package.json: remove @vscode/codicons dependency 0adac37 package.json: remove unnecessary ts-loader dependency 560c8f4 test/integration: fix Go Test Runner / parseOutput test on windows 5ec591d .github/workflows: replace xvfb-action with xvfb-run b7e2421 src/util: avoid picking a module root as an inferred gopath ec447c2 src/goTools: require go1.18 for staticcheck v0.4.0+ 7bc7c52 .github/workflows: drop go1.16, use go1.20rc1 5f9ba9a tools/installtools: install old dlv for go1.16 and 1.17 ae17d4a test/integration/install: set GOMODCACHE before go clean 233f0a2 docs/features.md: add link to inlayHints settings from features.md 399c4c5 src/goTest: do not open text document on didCreateFile 97d9b81 src/goTest: adjust file matching to handle interleaved stdout/stderr 63eef86 package.json: support running tests on darwin-arm64 fa55370 package.json: open for v0.38.0 dev Change-Id: I01858f4ca64ba42c38ba08b63c0877220a0ff82b
2 parents 86e9469 + e046798 commit 5bed412

37 files changed

+3914
-956
lines changed

.github/workflows/release-nightly.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Setup Go
3030
uses: actions/setup-go@v3
3131
with:
32-
go-version: '1.19'
32+
go-version: '1.20'
3333
check-latest: true
3434
cache: true
3535

@@ -55,9 +55,7 @@ jobs:
5555
run: npm run unit-test
5656

5757
- name: Run tests
58-
uses: GabrielBB/xvfb-action@86d97bde4a65fe9b290c0b3fb92c2c4ed0e5302d
59-
with:
60-
run: npm run test
58+
run: xvfb-run -a npm run test
6159
env:
6260
CODE_VERSION: 'insiders'
6361
VSCODEGO_BEFORE_RELEASE_TESTS: true

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

Lines changed: 10 additions & 5 deletions
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.16', '1.17', '1.18', '1.19']
20+
go: ['1.17', '1.18', '1.19', '1.20']
2121

2222
steps:
2323
- name: Clone repository
@@ -53,10 +53,15 @@ jobs:
5353
- name: Run unit tests
5454
run: npm run unit-test
5555

56-
- name: Run tests
57-
uses: GabrielBB/xvfb-action@86d97bde4a65fe9b290c0b3fb92c2c4ed0e5302d
58-
with:
59-
run: npm run test
56+
- name: Run tests (Linux)
57+
run: xvfb-run -a npm run test
58+
if: ${{ matrix.os == 'ubuntu-latest' }}
59+
env:
60+
CODE_VERSION: ${{ matrix.version }}
61+
VSCODEGO_BEFORE_RELEASE_TESTS: true
62+
- name: Run tests (Windows/Mac)
63+
run: npm run test
64+
if: ${{ matrix.os != 'ubuntu-latest' }}
6065
env:
6166
CODE_VERSION: ${{ matrix.version }}
6267
VSCODEGO_BEFORE_RELEASE_TESTS: true

.github/workflows/test-long.yml

Lines changed: 9 additions & 6 deletions
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.16', '1.17', '1.18', '1.19']
19+
go: ['1.17', '1.18', '1.19', '1.20']
2020

2121
steps:
2222
- name: Clone repository
@@ -41,7 +41,6 @@ jobs:
4141
- name: Compile
4242
run: npm run vscode:prepublish
4343

44-
# TODO: use `go install` when we all move to 1.16+ (see build/all.bash)
4544
- name: Install Go tools (Modules mode)
4645
run: |
4746
go version
@@ -53,10 +52,14 @@ jobs:
5352
- name: Run unit tests
5453
run: npm run unit-test
5554

56-
- name: Run tests
57-
uses: GabrielBB/xvfb-action@86d97bde4a65fe9b290c0b3fb92c2c4ed0e5302d
58-
with:
59-
run: npm run test
55+
- name: Run tests (Linux)
56+
run: xvfb-run -a npm run test
57+
if: ${{ matrix.os == 'ubuntu-latest' }}
58+
env:
59+
CODE_VERSION: ${{ matrix.version }}
60+
- name: Run tests (Windows/Mac)
61+
run: npm run test
62+
if: ${{ matrix.os != 'ubuntu-latest' }}
6063
env:
6164
CODE_VERSION: ${{ matrix.version }}
6265

.github/workflows/test-smoke.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Setup Go
3131
uses: actions/setup-go@v3
3232
with:
33-
go-version: '1.19.0'
33+
go-version: '1.20'
3434
check-latest: true
3535
cache: true
3636

@@ -51,10 +51,14 @@ jobs:
5151
- name: Run unit tests
5252
run: npm run unit-test
5353

54-
- name: Run tests
55-
uses: GabrielBB/xvfb-action@86d97bde4a65fe9b290c0b3fb92c2c4ed0e5302d
56-
with:
57-
run: npm run test
54+
- name: Run tests (Linux)
55+
run: xvfb-run -a npm run test
56+
if: ${{ matrix.os == 'ubuntu-latest' }}
57+
env:
58+
CODE_VERSION: ${{ matrix.version }}
59+
- name: Run tests (Windows/Mac)
60+
run: npm run test
61+
if: ${{ matrix.os != 'ubuntu-latest' }}
5862
env:
5963
CODE_VERSION: ${{ matrix.version }}
6064

.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@v3
3737
with:
38-
go-version: '1.19'
38+
go-version: '1.20'
3939
check-latest: true
4040
cache: true
4141
cache-dependency-path: '**/go.sum'

.vscode/launch.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
// the workspace path should be GOPATH
5353
"args": [
5454
"--disable-extensions",
55+
"--profile-temp",
5556
"--extensionDevelopmentPath=${workspaceFolder}",
5657
"--extensionTestsPath=${workspaceFolder}/out/test/integration/index",
5758
"--user-data-dir=${workspaceFolder}/.user-data-dir-test",
@@ -74,6 +75,7 @@
7475
// the workspace path should be GOPATH
7576
"args": [
7677
"--disable-extensions",
78+
"--profile-temp",
7779
"--extensionDevelopmentPath=${workspaceFolder}",
7880
"--extensionTestsPath=${workspaceFolder}/out/test/gopls/index",
7981
"--user-data-dir=${workspaceFolder}/.user-data-dir-test",

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
## v0.38.0 - 23 Feb, 2023
2+
3+
This release adds default `go` tasks to help build and test your Go projects.
4+
5+
A list of all issues and changes can be found in the [v0.38.0 milestone](https://github.com/golang/vscode-go/milestone/50) and [commit history](https://github.com/golang/vscode-go/compare/v0.37.1...v0.38.0).
6+
7+
### Changes
8+
- Added default go task provider ([Issue 194](https://github.com/golang/vscode-go/issues/194)) <!-- CL 467697 -->
9+
- Updated pinned golangci-lint version to fix memory leak issue with Go 1.20 ([Issue 2654](https://github.com/golang/vscode-go/issues/2654))
10+
- gopls releases will now have a staged rollout in VS Code ([CL 468497](http://go.dev/cl/468497)) <!-- CL 468497 -->
11+
- Added extension keywords to make this extension easier to find in the VS Code Extension Marketplace ([Issue 2657](https://github.com/golang/vscode-go/issues/2657)) <!-- CL 467698 -->
12+
- Deleted the broken references codelens code ([Issue 2519](https://github.com/golang/vscode-go/issues/2519)) <!-- CL 464098 -->
13+
- Added support to handle missing variables in legacy debug adapter gracefully ([Issue 2397](https://github.com/golang/vscode-go/issues/2397)) <!-- CL 462289 -->
14+
15+
### Development process updates
16+
- Upgraded esbuild to support s390x ([Issue 2668](https://github.com/golang/vscode-go/issues/2668)) <!-- CL 469915 -->
17+
- Use --profile-temp for testing with clean env ([Issue 2458](https://github.com/golang/vscode-go/issues/2458)) <!-- CL 468496 -->
18+
19+
### Thanks
20+
21+
Thank you for your contribution, @ankon, @hyangah, @jamalc, and @suzmue!
22+
123
## v0.37.1 - 17 Jan, 2023
224

325
### Fixes

build/release-nightly.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
steps:
2+
# TODO: check build/test status
3+
#
4+
# Install dependencies
5+
- name: node
6+
entrypoint: npm
7+
args: ['ci']
8+
# Build .vsix
9+
- name: node
10+
entrypoint: npm
11+
args: ['run', 'package']
12+
artifacts:
13+
objects:
14+
location: 'gs://$PROJECT_ID/nightly/$BUILD_ID'
15+
paths: ['*.vsix']

0 commit comments

Comments
 (0)