github golang/vscode-go v0.30.0
Release 0.30.0

latest releases: v0.43.1, v0.42.1, v0.42.1-rc.1...
2 years ago

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 using dlv-dap. (Issue 1861)
    • Launch configuration:
    • 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 run dlv help from DEBUG CONSOLE to see the list of supported options.
    • Bug fixes:
      • Correctly infer mode for attach 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)
  • 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 at v0.1.1. We plan to remove it from the recognized formatter tool list since gofumports 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

Don't miss a new vscode-go release

NewReleases is sending notifications on new releases.