|
| 1 | +## v0.16.0 - 3rd Aug, 2020 |
| 2 | + |
| 3 | +This version requires VS Code 1.46+. |
| 4 | + |
| 5 | +Older versions of VS Code will not receive updates any more. |
| 6 | + |
| 7 | +### New Features |
| 8 | + |
| 9 | +- Users can select/install a different version of Go with `Go: Choose Go Environment` command. |
| 10 | +When clicking the `Go` status bar that displays the currently active Go version, users will be |
| 11 | +prompted with the list of Go versions installed locally or available for download. |
| 12 | +This feature was built based on the [`golang.org/dl`](https://pkg.go.dev/golang.org/dl?tab=overview) |
| 13 | +tools. |
| 14 | +The selected Go version applies to the workspace, takes precedence over the |
| 15 | +system default or the `"go.goroot"` and `"go.alternateTools"` settings, and persists |
| 16 | +across sessions. You can clear the choice by selecting the `Clear Selection` item. |
| 17 | +([Issue 253](https://github.com/golang/vscode-go/issues/253)) |
| 18 | +- When the Go version changes, the extension prepends `$GOROOT/bin` to the `PATH` or `Path` |
| 19 | +environment variable which then applies the change to the integrated terminal windows. |
| 20 | +- This version includes an experimental version of the new Debug Adapter that uses Delve's |
| 21 | +native DAP implementation. It currently supports `launch` type requests in `debug` or `test` |
| 22 | +mode. This is still in the early stages and requires |
| 23 | +[`dlv`](https://github.com/go-delve/delve) built from its unreleased, master |
| 24 | +branch. Subscribe to |
| 25 | +[golang/vscode-go#23](https://github.com/golang/vscode-go/issues/23) for updates. |
| 26 | + |
| 27 | +### Enhancement |
| 28 | + |
| 29 | +- Bundles the extension using webpack, which reduced the extension size |
| 30 | +(4.7MB -> 1MB) and the extension loading overhead (3.4K files -> 3 files) |
| 31 | +([Issue 53](https://github.com/golang/vscode-go/issues/53)). |
| 32 | +- `Go: Apply Cover Profile` applies code coverage for multiple packages |
| 33 | +([CL 238697](https://go-review.googlesource.com/c/vscode-go/+/238697)). |
| 34 | +We fixed bugs in processing coverage profiles on Windows. |
| 35 | +- Suggests the official Go download page when no `go` tool is found. |
| 36 | +- Utilizes the `GOMODCACHE` environment variable, introduced in |
| 37 | +[Go 1.15](https://tip.golang.org/doc/go1.15#go-command). |
| 38 | +- Prevents multiple debug sessions from launching |
| 39 | +([Issue 109](https://github.com/golang/vscode-go/issues/109)). |
| 40 | +- Streams test output when tests run with the `-v` option. |
| 41 | +This feature requires 1.14 or newer versions of Go |
| 42 | +([Issue 316](https://github.com/golang/vscode-go/issues/316)). |
| 43 | +- Sets `additionalProperties` to `false` for the settings that don't expect |
| 44 | +more properties. This allows VS Code to handle these settings better in |
| 45 | +its new settings GUI ([Issue 284](https://github.com/golang/vscode-go/pull/284)). |
| 46 | +- `Go: Locate Configured Go Tools` includes `go env` results |
| 47 | +([Issue 195](https://github.com/golang/vscode-go/issues/195)). |
| 48 | +- Avoids prompting users to switch the default format tool in modules mode |
| 49 | +if users enable the language server. |
| 50 | + |
| 51 | +### Fixed |
| 52 | + |
| 53 | +- Fixed the `PATH` environment variable adjustment when users use a wrapper as an alternate |
| 54 | +tool for `go` ([CL 239697](https://go-review.googlesource.com/c/vscode-go/+/239697)). |
| 55 | +- Fixed a bug in test output processing, which prevented VS code from linking test log messages with locations in the source file. |
| 56 | +- Fixed a `gocode-gomod` installation bug when `GOPATH` includes multiple directories |
| 57 | +([Issue 368](https://github.com/golang/vscode-go/issues/368)). |
| 58 | +- Avoids attempting to kill already terminated processes ([Issue 334](https://github.com/golang/vscode-go/issues/334)). |
| 59 | +- Fixed `godef` to locate standard packages correctly by passing the `GOROOT` environment variable. |
| 60 | +- Fixed a `golangci-lint` integration bug that prevented displaying the lint results correctly when |
| 61 | +linters like `nolintlint` are enabled ([Issue 411](https://github.com/golang/vscode-go/issues/411)). |
| 62 | +- Fixed lost test function name arguments when running `Go: Test Previous` |
| 63 | +([Issue 269](https://github.com/golang/vscode-go/issues/269)). |
| 64 | + |
| 65 | +### Code Health |
| 66 | + |
| 67 | +- Many enhancements to improve test reliability and test coverage were made during this dev cycle. |
| 68 | +- TryBot is enabled, and the test results are posted to Gerrit CL. Currently, only the internal team members |
| 69 | +can see the details of the test results, but we will continue working to make them public. |
| 70 | +- Windows tests are now fixed and enabled in GitHub Action-based CI. |
| 71 | +- Refactored code shared by the extension and the debug adapters to prevent accidental debug adapter breakages. |
| 72 | +- Updated `json-rpc2` and `lodash` to address vulnerability reports from `npm audit`. |
| 73 | + |
| 74 | +### Thanks |
| 75 | + |
| 76 | +Thank you for your contribution, fujimoto kyosuke, OneOfOne, Aditya Thakral, Oleg Butuzov, Rebecca Stambler, Peter Weinberger, Brayden Cloud, Eli Bendersky, Robert Findley, Hana Kim! |
| 77 | + |
| 78 | + |
1 | 79 | ## v0.15.2 - 21st July, 2020
|
2 | 80 |
|
3 | 81 | ### Fixed
|
|
0 commit comments