Skip to content

Releases: golang/vscode-go

Release 0.27.1

12 Aug 20:10
Compare
Choose a tag to compare

v0.27.1 - 12 Aug, 2021

✨ See the new features and update in v0.27.0 (Release Note)

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

Enhancement

  • Supports replay and core debug launch modes. (PR 1268)

Fixes

  • Fixed process pickers used in attach mode debugging. (Issue 1679)
  • Fixed the failure of debugging when CGO_CFLAGS is set. (Issue 1678)
  • Fixed the dlv-dap installation issue. (Issue 1682)

Thanks

Thanks for your contributions, Luis Gabriel Gomez, Suzy Mueller, and Hana Kim!

Release 0.27.1-rc.1

12 Aug 16:12
Compare
Choose a tag to compare

Release 0.27.0

09 Aug 19:05
Compare
Choose a tag to compare

v0.27.0 - 9 Aug, 2021

📣 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](A list of all issues and changes can be found in the v0.26.0 milestone and commit history.

Enhancements

Fixes

  • Debugging
    • Setting the logOutput property without showLog: true does not break debugging any more.
    • Fixed a bug in the legacy debug adapter that caused jumping at each step after upgrading to VS Code 1.58+. (Issue 1617, 1647)
    • Fixed a bug that broke Attach mode debugging using the legacy debug adapter if cwd is not set. (Issue 1608)
    • 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.
  • Added go1.17 RC to CI. (Issue 1640)
  • Enabled tests that were skipped in dlv-dap mode since dlv-dap reached feature parity.
  • 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!

Release 0.27.0-rc.3

09 Aug 18:05
Compare
Choose a tag to compare

Release 0.27.0-rc.2

06 Aug 19:58
Compare
Choose a tag to compare

Release 0.27.0-rc.1

05 Aug 14:43
Compare
Choose a tag to compare

Release 0.26.0

17 Jun 19:33
Compare
Choose a tag to compare

V0.26.0 - 17 Jun, 2021

📣 Delve's native DAP implementation 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:

    "go.delveConfig": {
        "debugAdapter": "dlv-dap",
    },

dlvdap-install

Please learn more about the new adapter's features and configuration parameters, and share your feedback and report the issues in our issue tracker.

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

Enhancements

  • dlv-dap is ready for use in local debugging.
  • Added the new "Go: Test Function At Cursor or Test Previous" command. (PR 1509)
  • "Go: Add Imports" command uses gopls instead of gopkg. This requires [email protected] or newer. (Go Issue 43351)

Fixes

  • Fixed "Go: Lint Workspace" that failed no editor is active. (Issue 1520)
  • Fixed gopls crash caused by Untitled files. (Issue 1559)

Thanks

Thanks for your contributions, @mislav, @marwan-at-work, @findleyr, @lggomez, @fflewddur, @suzmue, @hyangah!

Release 0.25.1

25 May 19:52
Compare
Choose a tag to compare

v0.25.1 - 24 May, 2021

A list of all issues and changes can be found in the v0.25.1 milestone.

Fixes

  • Change the default path separator to / when applying substitutePath debug configuration. (Issue 1497)
  • Warn users when go.goroot setting is used. (Issue 1501)

Enhancements

  • Update to latest version of dlv-dap. Some of newest additions to dlv dap include optimized function detection, exception info, pause, function breakpoints while running, evaluate over hover, set variables. Documentation of current features and limitations can be found in the documentation.
  • Adjusted feedback survey prompt probability.

Thanks

Thanks for the contribution, @suzmue, @fflewddur!

Release 0.25.0

12 May 16:27
Compare
Choose a tag to compare

v0.25.0 - 12 May, 2021

A list of all issues and changes can be found in the
v0.25.0 milestone.

If you have a feature requests for this extension, please file it through the github issue tracker.

Enhancements

  • Update to latest version of dlv-dap. Documentation of current features and limitations can be found in the documentation
  • Add debug previous command (Issue 798)
  • Add Go: Initialize go.mod command to run go mod init in the current workspace folder (Issue 1449)
  • Use program in debug configuration to determine mode in auto (Issue 1422)
  • Auto update dlv-dap if autoUpdates enabled (Issue 1404)
  • Set editor.suggest.snippetsPreventQuickSuggestions to false by default to enable code completion and quick suggestions inside a snippet (Issue 839)

Fixes

  • Set the GOROOT to the user specified GOROOT in go.goroot
  • Fixed missing file bug in debug adapter (Issue 1447)
  • Fixed inconsistent workpsaceFolder value bug in debug configuration (Issue 1448)
  • Allow dlv-dap to shut down gracefully and clean up debugged process (Issue 120)

Thanks

Thank you for your contribution, @hyangah, @JadenSimon, @stamblerre, @polinasok, @rfindley, and @suzmue!

Release 0.24.2

20 Apr 18:23
Compare
Choose a tag to compare

v0.24.2 - 19 Apr, 2021

A list of all issues and changes can be found in the
v0.24.2 milestone.

Fixes

  • Fixed regression in the lintOnSave feature. (Issue 1429)
  • Fixed dlv-dap installation to correcly use GOBIN environment variable. (Issue 1430)
  • Fixed duplicate error notifications when missing dlv-dap. (Issue 1426)

Enhancements

  • Updated the minimum required dlv-dap version. The new version includes support for
    substitutePath and shadowed variable annotation.