Skip to content

Commit d66e68e

Browse files
committed
CHANGELOG.md: for v0.28.0
And, remove workspace trust toggle command. Updates #1776 Change-Id: I9c0a41b8b1019d5dab2ce6e80f1990b2e1fea5d9 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/350141 Trust: Hyang-Ah Hana Kim <[email protected]> Run-TryBot: Hyang-Ah Hana Kim <[email protected]> TryBot-Result: kokoro <[email protected]> Reviewed-by: Ethan Reesor <[email protected]> Reviewed-by: Suzy Mueller <[email protected]>
1 parent 3bde93e commit d66e68e

File tree

3 files changed

+34
-14
lines changed

3 files changed

+34
-14
lines changed

CHANGELOG.md

Lines changed: 34 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,37 @@
1-
📣 Delve's native DAP implementation ([`dlv-dap`](https://github.com/go-delve/delve/blob/master/Documentation/usage/dlv_dap.md))
2-
is enabled by default for local debugging. We updated the [Documentation for Debugging](https://github.com/golang/vscode-go/blob/master/docs/debugging.md)
3-
to show the new features available with dlv-dap. This change does not apply to remote debugging yet.
4-
For remote debugging, keep following the instruction in the
5-
[legacy debug adapter documentation](https://github.com/golang/vscode-go/blob/master/docs/debugging-legacy.md).
1+
## v0.28.0 - 16 Sep, 2021
2+
3+
This version requires VS Code 1.59 or newer.
4+
5+
🎉🧪 The extension implements [the Testing API of VS Code](https://code.visualstudio.com/api/extension-guides/testing). You can navigate and run/profile tests using the test explorer UI! Further work for better profiling and debugging support through the test explorer is underway. Please give it a try and provide feedback.
6+
7+
A list of all issues and changes can be found in the [v0.28.0 milestone](https://github.com/golang/vscode-go/milestone/34) and [commit history](https://github.com/golang/vscode-go/compare/v0.27.2...v0.28.0).
8+
9+
### Changes
10+
11+
- Require VS Code engine 1.59+.
12+
- Implement the Testing API [Issue 1579](github.com/golang/vscode-go/issues/1579)). <!-- CL 330809 -->
13+
The test provider discovers all Go tests and benchmarks including `stretchr` test suits ([Issue 1641](github.com/golang/vscode-go/issues/1641)) <!-- CL 343489 --> and sub-tests ([Issue 47800](github.com/golang/go/issues/47800), [1641](github.com/golang/vscode-go/issues/1641)) <!-- CL 343433 -->.
14+
- Offer basic profiling support through the testing API. ([Issue 1685](github.com/golang/vscode-go/issues/1685)) <!-- CL 344149 -->
15+
- Debugging
16+
- Allow to connect to a Delve DAP server running on a different host using `host` and `port` launch properties. ([Issue 1729](github.com/golang/vscode-go/issues/1729)) <!-- CL 346269 -->
17+
- Disabled check for active debug session ([Issue 1710](github.com/golang/vscode-go/issues/1710)). <!-- CL 349596 --> This will allow to run multiple debug sessions simultaneously.
18+
- Disabled the go version check by supplying the `--check-go-version=false` delve flag ([Issue 1716](github.com/golang/vscode-go/issues/1716)). <!-- CL 347562 --> This is to allow users of older versions of Go to debug using Delve DAP which requires Delve 1.6.1 or newer. If you need to use Delve 1.6.0 or older, please use [the legacy debug adapter](https://github.com/golang/vscode-go/blob/master/docs/debugging-legacy.md).
19+
- Fixed a legacy debug adapter's bug that broke remote debugging when breakpoints were set in irrelevant files. ([Issue 1762](github.com/golang/vscode-go/issues/1762)) <!-- CL 348972 -->
20+
- Added [the new FAQs section](https://github.com/golang/vscode-go/blob/master/docs/debugging.md#faqs).
21+
- Removed tools version check hack that triggerred unnecessary warnings about go and tools version mismatch issues ([Issue 1698](github.com/golang/vscode-go/issues/1698)). <!-- CL 349752 -->
22+
- Export an API with which other extensions can query the location of go tools. ([Issue 233](github.com/golang/vscode-go/issues/233)) <!-- CL 336509 -->
23+
- Fixed regexps for test function names ([CL 344130](https://go-review.googlesource.com/c/vscode-go/+/344130)).
24+
- Track the language server's restart history and include it in the automated gopls crash report ([CL 344130](https://go-review.googlesource.com/c/vscode-go/+/344130)).
25+
- Code Health
26+
- Use `esbuild` instead of `webpack` ([Issue 1705](github.com/golang/vscode-go/issues/1705)). <!-- CL 343791 -->
27+
- Removed the temporary security workaround in favor of [VS Code's Workspace Trust concept](https://code.visualstudio.com/docs/editor/workspace-trust). <!-- CL 347690 -->
28+
- Updated the gopls settings documentation to reflect gopls/v0.7.2 settings.
29+
- docs: change blog.golang.org to go.dev/blog <!-- CL 348269 -->
30+
- package.json: update gopls settings (v0.7.2) <!-- CL 348909 -->
31+
32+
### Thanks
33+
34+
Thank you for your contribution, Nicolas Lepage, 180909, Polina Sokolova, Rebecca Stambler, and Suzy Mueller! Special thanks to Ethan Reesor for the Test Explorer work!
635

736
## v0.27.2 - 1st Sep, 2021
837

docs/commands.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,3 @@ Reset keys in workspace state to undefined.
238238
### `Go: Reset Global State`
239239

240240
Reset keys in global state to undefined.
241-
242-
### `Go: Toggle Workspace Trust Flag`
243-
244-
Toggle the workspace trust flag. Workspace settings that determine tool locations are disabled by default in untrusted workspaces.

package.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -461,11 +461,6 @@
461461
"command": "go.global.resetState",
462462
"title": "Go: Reset Global State",
463463
"description": "Reset keys in global state to undefined."
464-
},
465-
{
466-
"command": "go.workspace.isTrusted.toggle",
467-
"title": "Go: Toggle Workspace Trust Flag",
468-
"description": "Toggle the workspace trust flag. Workspace settings that determine tool locations are disabled by default in untrusted workspaces."
469464
}
470465
],
471466
"breakpoints": [

0 commit comments

Comments
 (0)