vscode-go v0.28.1 Release Notes

Release Date: 2021-09-24 // 26 days ago
  • 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)

Previous changes from v0.28.0

  • 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!