Release 0.30.0
v0.30.0 - 16 Dec, 2021
π£ Remote attach debugging is now available via Delve's native DAP implementation with Delve v1.7.3 or newer. We plan to enable this as the default in early 2022 to enhance remote debugging with the same debugging features that are already in use for local debugging.
We recommend switching your remote attach configurations in launch.json
to use "debugAdapter":"dlv-dap"
now to verify that this works for you. Please file a new issue if you encounter any problems.
Full list of all issues and changes can be found in the v0.30.0 milestone and commit history.
Changes
-
Debugging
dlv-dap
is pinned at@2f136727
.- Remote debugging support using
dlv-dap
is available.
Please follow the instruction to enable remote debugging usingdlv-dap
. (Issue 1861) - Launch configuration:
showRegisters
(Issue 1527). This was added togo.delveConfig
, too.hideSystemGoroutines
(Issue 1797). This was added togo.delveConfig
, too. We plan to hide system goroutines by default in the next release, and it is already enabled in Nightly. Feedback is welcome!backend
accepts"rr"
. Along with"mode": "replay"
support that has been available since v0.27.2, this concludes the work for the rewind feature support. (Issue 110). The feature requires Mozilla'srr
.
- Runtime frames are no longer deemphasized. (Issue 1916)
- Logpoints support is available. (Issue 123)
- DEBUG CONSOLE accepts the new
dlv
command that allows users to dynamically inspect/adjust debug configuration. Please rundlv help
from DEBUG CONSOLE to see the list of supported options. - Bug fixes:
- Correctly infer
mode
forattach
requests. (Issue 1929) - Stop debugging when delve remote connection ends in
legacy
remote debugging. (CL 366936) - Allow users to debug with older versions of
dlv-dap
. (Issue 1814)
- Correctly infer
-
Enabled Go template file processing. (Issue 609) By default, files with
.tmpl
and.gotmpl
extension are treated as Go template files. -
Include
Fuzz*
functions in Testing UI and adds test codelens. (Issue 1794) -
gofumports
is pinned atv0.1.1
. We plan to remove it from the recognized formatter tool list sincegofumports
is officially deprecated early next year. -
Disabled separate linting if gopls's 'staticcheck' is enabled. (Issue 1867)
-
Updated the in-editor user survey URL. (CL 360775)
-
Limited Go file search scope for extension activation (Issue 1894)
-
Code Health
- Enabled esModuleInterop. (CL 349170)
- Bumped TS target to ES2017. (Issue 1712)
- Updated json-schema to 0.4.0
Thanks
Thank you for your contribution, @polinasok, @suzmue, @firelizzard18, @hashedhyphen, @fengwei2002, @devuo, @fflewddur, @hyangah