vscode-go v0.27.0 Release Notes

Release Date: 2021-08-09 // over 2 years ago
  • ๐Ÿ“š ๐Ÿ“ฃ Delve's native DAP implementation (dlv-dap) ๐Ÿ“š is enabled by default for local debugging. We updated the Documentation for Debugging to show the new features available with dlv-dap. This change does not apply to remote debugging yet. For remote debugging, keep following the instruction in the ๐Ÿ“š legacy debug adapter documentation.

    A list of all issues and changes can be found in the v0.27.0 milestone and commit history.

    โœจ Enhancements

    • ๐Ÿ“„ The new go.terminal.activateEnvironment ๐Ÿ‘ allows to prevent the extension from changing integrated terminal's environment variables. (Issue 1558, 1098) <!-- CL 336409 -->
    • ๐Ÿ”ง The Go: Locate Configured Go Tools ๐Ÿ— command prints the build information of detected tools. <!-- CL 337989 -->
    • 0๏ธโƒฃ Use dlv-dap as the default debug adapter for local debugging. The new debug adapter offers ๐Ÿ›  many new features and improvements.
    • โž• Added Gitpod to a recognized Cloud-based IDE, for which the extension will minimize the number of toast or notification messages. (Issue 1616)
    • โœ… The Go: Subtest At Cursor command prompts for subtest name if there is no subtest at cursor (Issue 1602). <!-- CL 333309 -->

    ๐Ÿ›  Fixes

    • Debugging
      • Setting the logOutput property without showLog: true does not break debugging any more. <!-- CL 335029 -->
      • Fixed a bug in the legacy debug adapter that caused jumping at each step after upgrading to VS Code 1.58+. (Issue 1617, 1647) <!-- CL 338194 -->
      • Fixed a bug that broke Attach mode debugging using the legacy debug adapter if cwd is not set. (Issue 1608) <!-- CL 334111 -->
      • Made the dlv-dap mode ignore the port property. It was initially suggested as a temporary alternative to the remote debugging, but we decided to revisit the functionality for better remote debugging support. Use the debugServer property if you want to connect to a manually launched dlv dap server.

    Code Health

    • ๐Ÿ“Œ The version of dlv-dap is pinned to v1.7.1-0.20210804080032-f95340ae1bf9 and dlv-dap is marked as a required tool.
    • โšก๏ธ Updated the hard-coded default gopls version string to v0.7.1.
    • โž• Added tools/relnotes, a script to help generate CHANGELOG.md. <!-- CL 256579 -->
    • โž• Added go1.17 RC to CI. (Issue 1640) <!-- CL 336310 -->
    • โœ… Enabled tests that were skipped in dlv-dap mode since dlv-dap reached feature parity. <!-- CL 332109 -->
    • ๐Ÿ‘‰ Use StackOverflow as the channel for Q&A.

    Thanks

    Thank you for your contribution, Ahmed W, Hana, Michael Currin, Polina Sokolova, Rebecca Stambler, Suzy Mueller, and Sven Efftinge!