All Versions
123
Latest Version
Avg Release Cycle
13 days
Latest Release
24 days ago

Changelog History
Page 1

  • v0.28.1 Changes

    September 24, 2021

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

    ๐Ÿ›  Fixes

    • ๐Ÿ— Skipped launch configuration adjustment to address build errors when debugging using externally launched delve DAP servers. (Issue 1793)
  • v0.28.0 Changes

    September 20, 2021

    This version requires VS Code 1.59 or newer.

    ๐Ÿ ๐ŸŽ‰๐Ÿงช The extension implements the Testing API of VS Code. You can navigate and run/profile tests using the test explorer UI! Windows support and further work for better profiling and debugging support through the test explorer is underway. Please give it a try and provide feedback.

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

    ๐Ÿ”„ Changes

    • Require VS Code engine 1.59+.
    • โœ… Implement the Testing API (Issue 1579). <!-- CL 330809 --> โœ… The test provider discovers all Go tests and benchmarks including stretchr test suits (Issue 1641) <!-- CL 343489 --> and sub-tests (Issue 1641). <!-- CL 343433 --> You can adjust behavior with the go.testExplorer.* settings.
    • โœ… Offer basic profiling support through the testing API. (Issue 1685) <!-- CL 344149 -->
    • Debugging
      • Allow to connect to a Delve DAP server running on a different host using host and port launch properties. (Issue 1729) <!-- CL 346269 -->
      • Disabled check for active debug session (Issue 1710). <!-- CL 349596 --> This will allow to run multiple debug sessions simultaneously.
      • Disabled the go version check by supplying the --check-go-version=false delve flag (Issue 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.
      • Fixed a legacy debug adapter's bug that broke remote debugging when breakpoints were set in irrelevant files. (Issue 1762) <!-- CL 348972 -->
      • Added the new FAQs section.
    • โœ‚ Removed tools version check hack that triggerred unnecessary warnings about go and tools version mismatch issues (Issue 1698). <!-- CL 349752 -->
    • Export an API with which other extensions can query the location of go tools. (Issue 233) <!-- CL 336509 -->
    • ๐Ÿ›  Fixed regexps for test function names (CL 344130).
    • Track the language server's restart history and include it in the automated gopls crash report (CL 344130).
    • Code Health
      • Use esbuild instead of webpack (Issue 1705). <!-- CL 343791 -->
      • Removed the temporary security workaround in favor of VS Code's Workspace Trust concept. <!-- CL 347690 -->
      • Updated the gopls settings documentation to reflect gopls/v0.7.2 settings.

    Thanks

    โœ… 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!

  • v0.27.2 Changes

    September 01, 2021

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

    โœจ Enhancement

    • ๐Ÿ‘Œ Supports replay and core debug launch modes. (PR 1268)
    • ๐Ÿ‘ gopls now watches changes in go.work files to support Go Proposal 45713.

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fixed issues around building binaries for debugging when symlinks or case-insensitive file systems are involved. (Issues 1680, 1677, 1713)
    • Clarified the dlvLoadConfig setting is no longer necessary with the new debug adapter (dlv-dap). ([CL 344370)(https://go-review.googlesource.com/c/vscode-go/+/344370))
    • ๐Ÿ”’ Increased the timeout limit from 5sec to 30sec. If dlv-dap still fails to start, please check firewall/security settings do not prevent installation or execution of the dlv-dap (or dlv-dap.exe) binary. (Issue 1693)
    • โšก๏ธ Go: Install/Update Tools command picks the dlv-dap from the main branch.

    Thanks

    Thanks for your contributions, Suzy Mueller, Luis Gabriel Gomez, Polina Sokolova, Julie Qiu, and Hana Kim!

  • v0.27.1 Changes

    August 12, 2021

    A list of all issues and changes 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!

  • v0.27.0 Changes

    August 09, 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.

    โœจ 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!

  • v0.26.0 Changes

    June 17, 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",
        },
    

    ๐Ÿ”ง 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!

  • v0.25.1 Changes

    May 24, 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!

  • v0.25.0 Changes

    May 12, 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)
    • 0๏ธโƒฃ 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, @rstambler, @polinasok, @rfindley, and @suzmue!

  • v0.24.2 Changes

    April 19, 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)
  • v0.24.1 Changes

    April 15, 2021

    โœจ Enhancements

    • ๐Ÿ”ง Cleaned up launch configuration snippets for easier debug setup
    • ๐Ÿ”ง To use dlv-dap by default for all launch configurations (including codelenses), set the debugAdapter field in the go.delveConfig setting (Issue 1293)
    • ๐Ÿ›  The list of debugging features only available with dlv-dap is now available here
    • โšก๏ธ Updated extension settings to match gopls v0.6.10

    ๐Ÿ›  Fixes

    • โœ… Tightened the test function detection regex for codelenses (Issue 1417)
    • ๐Ÿ‘‰ Show error message when dlv-dap fails to launch (Issue 1413)
    • Corrected install instructions for dlv-dap in popup (Issue 1395)