Skip to content

Commit 44f68d8

Browse files
committed
[release] prepare v0.27.0 release
90fee6f CHANGELOG.md: v0.27.0 49e8caf release: adjust to create CHANGELOG.md early 930647a Revert "build: build dlv-dap@89ed5a0b" 76a9457 package.json: update gopls, dlv-dap versions d1d61bc src/goInstallTools: pin dlv-dap version @ 89ed5a0 80c1009 build: build dlv-dap@89ed5a0b 2a9fb96 src/welcome: mention that dlv-dap is the default debug adapter a6066b7 docs: move dlv-dap to debugging, debugging to debugging-legacy ed64853 src/goToolsInformation: update dlv-dap latest version e66ec8d src/goDebugConfiguration: enable dlv-dap for local debugging 7502135 dlv-dap.md: use normal quotes 6658964 docs/dlv-dap.md: update remote debugging section f2477e0 src/debugAdapter: send continued event on step requests 2e0c640 src/goMain: let go.locate.tools print tools versions b9b3b47 README.md: encourage stackoverflow for Q&A e6b8fe7 src/goInstallTools.ts: correct spacing in error message on Go not found 80c1b5c tools/relnotes: make some changes to generate release notes for gopls 2e8e703 src/goDebugConfiguration: dlv-dap doesn't expect 'wd' 15aaa8c src/goDebugFactory,src/goDebug: only add --log-output flag if --log is set 93a6e13 package.json: add go.terminal.activateEnvironment setting 29634d6 .github/workflows: add go1.17 rc1 in the long tests b10aae5 src/config.ts: add Gitpod to the known cloud-based IDEs 805b29c src/goTest.ts: prompt for subtest name if there is no subtest at cursor 800dd70 tools: include script to help generate CHANGELOG dee3427 docs: add minimum VS Code engine to troubleshooting guide 58226c9 src/goDebugConfiguration: always set cwd in attach mode & legacy adapter 72e205b docs/dlv-dap.md: update dlv-dap documentation 48418d4 test/integration/goDebug: enable set breakpoints while running tests c3516da test/integration/goDebug: enable tests for delve flags 9b2405c test/integration/goDebug: enable tests skipped in dlv-dap mode d0699a0 docs/dlv-dap: fix typos and errors in formatting 39d70a6 docs/dlv-dap: add features and images a5d232d tools/generate: make debug property order deterministic 289a9ef docs/contributing.md: update docs to reflect npm version requirements c6c97b9 tools/generate: generate debug configuration table b2119e2 package.json: change version to v0.27.0-dev 689bf6f CHANGELOG.md: v0.26.0 change log & mention dlv-dap in README.md dac1500 package.json: update debug configuration 7280045 tools/generate: simplify Properties parsing 2debbe8 .vscode/launch.json: Launch tools/generate 27bbf42 src/goToolsInformation: update dlv-dap@688f94a Change-Id: I1771cc86d8c9e435e66b13da99931833536f1ae2
2 parents 1034512 + 90fee6f commit 44f68d8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+2386
-747
lines changed

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ assignees: ''
88
---
99

1010
For asking questions, see:
11-
- [GitHub Discussions (Q&A)](https://github.com/golang/vscode-go/discussions/categories/q-a)
11+
- [Stack Overflow](https://stackoverflow.com/questions/tagged/go+visual-studio-code)
12+
- [GitHub Discussions (Help)](https://github.com/golang/vscode-go/discussions/categories/help)
1213
- [`#vscode` channel in Gophers Slack](https://invite.slack.golangbridge.org/messages/vscode)
1314

1415
Before filing an issue, please review our troubleshooting guides

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: Question
4-
url: https://invite.slack.golangbridge.org/
5-
about: Ask and answer questions on the `#vscode` channel in Gophers Slacks.
4+
url: https://stackoverflow.com/questions/tagged/go+visual-studio-code
5+
about: Ask and answer questions on Stack Overflow.

.github/SUPPORT.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
For asking questions, visit:
22

3-
* `#vscode` channel in [Gophers Slack](https://gophers.slack.com) for general questions.
4-
* `#vscode-dev` channel in [Gophers Slack](https://gophers.slack.com) for extension development-related questions.
5-
6-
Use the [invite app](https://invite.slack.golangbridge.org/) for access.
3+
* [Stack Overflow](https://stackoverflow.com/questions/tagged/go+visual-studio-code)
4+
* [Gophers Slack](https://gophers.slack.com) - Use the [invite app](https://invite.slack.golangbridge.org/) for access.
5+
* `#vscode` channel for general questions
6+
* `#vscode-dev` channel for extension development-related questions

.github/release_plan.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@
44
- [ ] Create a milestone with the issues that are fixed by this release
55
- [ ] Update `master` for the release
66
- [ ] Update hardcoded latest version for `dlv-dap` and `gopls`
7+
- [ ] Update [`CHANGELOG.md`](https://github.com/golang/vscode-go/blob/master/CHANGELOG.md)
8+
- [ ] Make sure the "Thanks" section is up-to-date
9+
- [ ] Check the Markdown rendering to make sure everything looks good
710
- [ ] Update `release` for the release
811
- [ ] Create a branch against `release` for a pull request
912
- [ ] Merge changes from `master` to prepare for the release
1013
- [ ] Change the version in [`package.json`](https://github.com/golang/vscode-go/blob/master/package.json) from a `-dev` suffix
1114
- [ ] Run `npm install` to make sure [`package-lock.json`](https://github.com/golang/vscode-go/blob/master/package.json) is up-to-date
1215
- [ ] Update the license file (`$ tools/license.sh; mv LICENSE.prod LICENSE`)
13-
- [ ] Update [`CHANGELOG.md`](https://github.com/golang/vscode-go/blob/master/CHANGELOG.md)
14-
- [ ] Make sure the "Thanks" section is up-to-date
15-
- [ ] Check the Markdown rendering to make sure everything looks good
1616
- [ ] Check the [Long Tests status](https://github.com/golang/vscode-go/actions?query=workflow%3A%22Long+Tests%22) is green. Otherwise, fix the tests, send cls for review, submit them, and repeat.
1717
- [ ] Perform manual [smoke tests]( https://github.com/golang/vscode-go/blob/master/docs/smoke-test.md)
1818
- [ ] Create new version tag for X.XX.X-rc.1 at gerrit’s vscode-go [repo management page](https://go-review.googlesource.com/admin/repos/vscode-go,tags)
1919
- [ ] Go to the release page https://github.com/golang/vscode-go/releases and check if the new release candidate is up. If necessary, you can manually edit the comment by clicking the “Edit” button. Don’t mutate uploaded vsix.
2020
- [ ] Ask editor team and contributors to this release to test the release candidate
2121

2222
# Release Candidate >1 (if necessary)
23-
- ] Fix any bugs on `master` and cherry pick changes to `release
23+
- [ ] Fix any bugs on `master` and cherry pick changes to `release
2424
- [ ] Create new version tag for X.XX.X-rc.1 at gerrit’s vscode-go [repo management page](https://go-review.googlesource.com/admin/repos/vscode-go,tags)
2525
- [ ] Go to the release page https://github.com/golang/vscode-go/releases and check if the new release candidate is up. If necessary, you can manually edit the comment by clicking the “Edit” button. Don’t mutate uploaded vsix.
2626
- [ ] Ask editor team and contributors to this release to test the release candidate
@@ -36,4 +36,3 @@
3636
- [ ] Bump the version number to the next monthly ("X.XX.X-dev") release in the `master` branch
3737
- [ ] `package.json`
3838
- [ ] `package-lock.json`
39-
- [ ] Cherry pick CHANGELOG.md back to master

.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.15', '1.16']
20+
go: ['1.15', '1.16', '1.17.0-rc1']
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.15', '1.16']
19+
go: ['1.15', '1.16', '1.17.0-rc1']
2020

2121
steps:
2222
- name: Clone repository

.vscode/launch.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
{
22
"version": "0.2.0",
33
"configurations": [
4+
{
5+
"name": "Launch tools/generate",
6+
"type": "go",
7+
"request": "launch",
8+
"mode": "debug",
9+
"program": "${workspaceFolder}/tools/generate.go",
10+
"cwd": "${workspaceFolder}"
11+
},
412
{
513
"name": "Launch Extension",
614
"type": "extensionHost",

CHANGELOG.md

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,42 @@
1-
## V0.26.0 - 17 Jun, 2021
1+
## v0.27.0 - 8 Aug, 2021
2+
3+
📣 Delve's native DAP implementation ([`dlv-dap`](https://github.com/go-delve/delve/blob/master/Documentation/usage/dlv_dap.md))
4+
is enabled by default for local debugging. We updated the [Documentation for Debugging](https://github.com/golang/vscode-go/blob/master/docs/debugging.md)
5+
to show the new features available with dlv-dap. This change does not apply to remote debugging yet.
6+
For remote debugging, keep following the instruction in the
7+
[legacy debug adapter documentation](https://github.com/golang/vscode-go/blob/master/docs/debugging-legacy.md).
8+
9+
A list of all issues and changes can be found in the [v0.27.0 milestone](https://github.com/golang/vscode-go/milestone/33?closed=1) and [commit history](A list of all issues and changes can be found in the [v0.26.0 milestone](https://github.com/golang/vscode-go/milestone/30?closed=1) and [commit history](https://github.com/golang/vscode-go/compare/v0.27.0...v0.26.0).
10+
11+
### Enhancements
12+
- The new [`go.terminal.activateEnvironment`](https://github.com/golang/vscode-go/blob/master/docs/settings.md#goterminalactivateenvironment)
13+
allows to prevent the extension from changing integrated terminal's environment variables. ([Issue 1558](https://github.com/golang/vscode-go/issues/1558), [1098](https://github.com/golang/vscode-go/issues/1098)) <!-- CL 336409 -->
14+
- The [`Go: Locate Configured Go Tools`](https://github.com/golang/vscode-go/blob/master/docs/commands.md#go-locate-configured-go-tools)
15+
command prints the build information of detected tools. <!-- CL 337989 -->
16+
- Use `dlv-dap` as the default debug adapter for local debugging. The new debug adapter offers
17+
[many new features and improvements](https://github.com/golang/vscode-go/issues?q=is%3Aissue+is%3Aclosed+label%3AFixedInDlvDAPOnly).
18+
- Added Gitpod to a recognized Cloud-based IDE, for which the extension will minimize the number of toast or notification messages. ([Issue 1616](https://github.com/golang/vscode-go/issues/1616))
19+
- The [`Go: Subtest At Cursor`](https://github.com/golang/vscode-go/blob/master/docs/commands.md#go-subtest-at-cursor) command prompts for subtest name if there is no subtest at cursor ([Issue 1602](https://github.com/golang/vscode-go/issues/1602)). <!-- CL 333309 -->
20+
21+
### Fixes
22+
- Debugging
23+
- Setting the `logOutput` property without `showLog: true` does not break debugging any more. <!-- CL 335029 -->
24+
- Fixed a bug in the legacy debug adapter that caused jumping at each step after upgrading to VS Code 1.58+. ([Issue 1617](https://github.com/golang/vscode-go/issues/1617), [1647](https://github.com/golang/vscode-go/issues/1647)) <!-- CL 338194 -->
25+
- Fixed a bug that broke Attach mode debugging using the legacy debug adapter if `cwd` is not set. ([Issue 1608](https://github.com/golang/vscode-go/issues/1608)) <!-- CL 334111 -->
26+
27+
### Code Health
28+
- The version of `dlv-dap` is pinned to [v1.7.1-0.20210804080032-f95340ae1bf9](https://github.com/go-delve/delve/tree/f95340ae1bf9fed8740d5fd39f5758d41770d967) and `dlv-dap` is marked as a required tool.
29+
- Updated the hard-coded default gopls version string to v0.7.1.
30+
- Added `tools/relnotes`, a script to help generate CHANGELOG.md. <!-- CL 256579 -->
31+
- Added go1.17 RC to CI. ([Issue 1640](https://github.com/golang/vscode-go/issues/1640)) <!-- CL 336310 -->
32+
- Enabled tests that were skipped in dlv-dap mode since dlv-dap reached feature parity. <!-- CL 332109 -->
33+
- Use StackOverflow as the channel for Q&A.
34+
35+
### Thanks
36+
37+
Thank you for your contribution, Ahmed W, Hana, Michael Currin, Polina Sokolova, Rebecca Stambler, Suzy Mueller, and Sven Efftinge!
38+
39+
## v0.26.0 - 17 Jun, 2021
240

341
📣 [`Delve`'s native DAP implementation](https://github.com/golang/vscode-go/blob/master/docs/dlv-dap.md) is now available for use. In order to use this new debug adapter (`dlv-dap`) when debugging Go programs, add the following settings in your `settings.json`:
442

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
provides rich language support for the
99
[Go programming language](https://golang.org/).
1010

11-
> 📣 Debugging using [`Delve`'s native DAP implementation](https://github.com/golang/vscode-go/blob/master/docs/dlv-dap.md) is now available for use.<br>
12-
> Please test it by following [the instruction to enable this new feature](https://github.com/golang/vscode-go/blob/master/docs/dlv-dap.md#getting-started) and share your feedback!
11+
12+
> 📣 Debugging using [`Delve`'s native DAP implementation](https://github.com/golang/vscode-go/blob/master/docs/debugging.md) is enabled by default in v0.27.0.<br>
1313
1414
## Quick Start
1515

@@ -130,8 +130,7 @@ troubleshooting](docs/troubleshooting.md), and another specifically for
130130
If the troubleshooting guides did not resolve the issue, please reach out to us
131131
by [filing an issue](https://github.com/golang/vscode-go/issues/new/choose),
132132
[starting a GitHub discussion](https://github.com/golang/vscode-go/discussions),
133-
or by asking a question in the [Gophers Slack]. We hang out in the `#vscode`
134-
channel!
133+
or by asking a question on [Stack Overflow].
135134

136135
Also, you can take a look at [learn.go.dev](https://learn.go.dev) and
137136
[golang.org/help](https://golang.org/help) for more general guidance on using
@@ -161,7 +160,7 @@ conduct-related issue, please mail [email protected].
161160

162161
[MIT](LICENSE)
163162

164-
[Gophers Slack]: https://gophers.slack.com/
163+
[Stack Overflow]: https://stackoverflow.com/questions/tagged/go+visual-studio-code
165164
[`gopls`]: https://golang.org/s/gopls
166165
[`go`]: https://golang.org/cmd/go
167166
[Managing extensions in VS Code]: https://code.visualstudio.com/docs/editor/extension-gallery

docs/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Please note that extra configuration is required to build and run the [Debug Ada
3434

3535
### Setup
3636

37-
1) Install [node](https://nodejs.org/en/).
37+
1) Install [node](https://nodejs.org/en/). Note: make sure that you are using `npm v7` or higher. The file format for `package-lock.json` (changed significantly)[https://docs.npmjs.com/cli/v7/configuring-npm/package-lock-json#file-format] in `npm v7`.
3838
2) Clone the repository, run `npm install`, and open VS Code:
3939

4040
```bash

0 commit comments

Comments
 (0)