All Versions
136
Latest Version
Avg Release Cycle
25 days
Latest Release
534 days ago

Changelog History
Page 6

  • v0.17.0 Changes

    September 18, 2020

    ๐Ÿ‘ Go code debugging and code coverage support is getting better.

    ๐Ÿš€ The extension will help you stay updated with the new Go releases.

    ๐Ÿ†• New Features

    • ๐Ÿ“š Delve's call feature is now accessible. To use this feature, explicitly specify the call command. E.g. call myAwesomeFunc(). It is an experimental feature in Delve. Please see the current limitations. (Issue 100)
    • The extension checks the go official download site and notifies users of newly available Go versions. When a newer version is available,
      โšก๏ธ Go Update Available status bar item will appear. This feature is available only if go.useGoProxyToCheckForToolUpdates
      is set true. (Issue 483)
    • 0๏ธโƒฃ The new go.coverMode setting allows to use different coverage modes (atomic, count, set (default)). go.coverShowCounts,
      ๐Ÿ‘ go.coverageDecorator.{coveredBorderColor, uncoveredBorderColor} were newly added. We are still investigating better ways to visualize the count coverage data; feedback and contribution is welcome! (Issue 256,
      594)

    โœจ Enhancement

    • ๐Ÿ”ง Expands '~' in the cwd attribute of the launch configuration. (Issue 116)
    • 0๏ธโƒฃ Debug config's showGlobalVariables is disabled by default, and this change improves speed. You can still inspect the global
      ๐Ÿ”ง variables by registering them in the WATCH section, or by configuring showGlobalVariables in launch.json. (Issue 138)
    • gofumpt, gofumports is added to recognized formatters list. (Issue 587)
    • ๐Ÿ”ง Automatically restarts the language server if go.toolsEnvVars configuration is changed. (CL 254370)
    • Reports go env failures. (Issue 555)

    ๐Ÿ›  Fixes

    • ๐Ÿ›  Fixed to use absolute file paths in error messages appearing in the DEBUG OUTPUT. This allows VS Code to locate the correct files.
      (Issue 456)
    • ๐Ÿ›  Fixed handling of absolute file paths in coverage profile, on windows. (Issue 553)
    • ๐Ÿ”„ Changed to pass GOROOT when invoking the gopkgs tool so gopkgs continues to work with different go versions without being recompiled. (CL 254137)
    • ๐Ÿ›  Fixed to provide explicit directory for running go list and go version. (Issue 610,
      CL 253600, 253602)
    • ๐Ÿ›  Fixed to trigger extension activation when commands for diagnostics, such as Go: Locate Configured Go Tools are invoked. (Issue 457)
    • ๐Ÿ›  Fixed to prepend GOROOT/bin to integrated terminal's PATH environment variable when go.goroot is set on OS X. (Issue 544)
    • ๐Ÿ›  Fixed to correctly apply environment variables setting read from envFile in the launch configuration. We reworked how the environment variables configuration is processed during this cycle. Now the extension processes the envFile attribute instead of asking the debug adapter process to read the specified envFile. (Issue 452)
    • 0๏ธโƒฃ Disabled go.installDependenciesWhenBuilding by default. When this is enabled, the extension runs go commands with -i, which is no longer recommended with recent versions of Go. (Issue 568)
    • ๐Ÿ›  Fixed a bug where we are not sending back 'configuration done' response. (Issue eclipse-theia/theia#8455, CL 254959)

    ๐Ÿ“š Documentation

    Code Health

    • โœ‚ Removed the obsolete string-type coverageDecorator support. (Issue 519)
    • โœ… When gopls integration tests fail, tests print the observed gopls traces to help debugging.

    Experimental Features

    • โœ… We plan to delegate computation of various run test CodeLenses to gopls. This experimental feature can be enabled with the following setting:

      "go.useLanguageServer": true, "gopls": { "codelens": { "test": true } }

    Thanks

    Thank you for your contribution, @suzmue, @pjweinbgo, @ekulabuhov, @stamblerre, @tpbg, @FiloSottile, @findleyr, @quoctruong, @polinasok, @hyangah!

  • v0.16.2 Changes

    September 02, 2020

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed the compile error message parsing bug that prevented correct file name expansion in test output. (Issue 522).
    • ๐Ÿ›  Fixed the regression that caused to run tests in the local directory mode and
      ๐Ÿ“ฆ result in more verbose output than the package list mode. (Issue 528).
    • ๐Ÿ›  Fixed "go.alternateTools" settings to accept any tool names without
      โš  settings.json diagnostics warning. (Issue 526)
  • v0.16.2-rc.1

    September 01, 2020
  • v0.16.1 Changes

    August 05, 2020

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed the bug that made test output verbose by default (Issue 471).
    • ๐Ÿ›  Fixed the extension host crash bug due to a process-wide uncaught exception handler accidentally installed along with the inlined debug adapter. This crash bug also caused connection drops when used with the VS Code Remote extension (Issue 467, 469).
    • ๐Ÿ‘ Readded the predefined variable resolution support for go.goroot and go.toolsEnvVars (Issue 464, 413).
  • v0.16.0 Changes

    August 03, 2020

    v0.16.0 - 3rd Aug, 2020

    This version requires VS Code 1.46+.

    โšก๏ธ Older versions of VS Code will not receive updates any more.

    ๐Ÿ†• New Features

    • ๐Ÿ‘‰ Users can select/install a different version of Go with Go: Choose Go Environment command.
      0๏ธโƒฃ When clicking the Go status bar that displays the currently active Go version, users will be prompted with the list of Go versions installed locally or available for download. This feature was built based on the golang.org/dl tools. The selected Go version applies to the workspace, takes precedence over the system default or the "go.goroot" and "go.alternateTools" settings, and persists across sessions. You can clear the choice by selecting the Clear Selection item.
      (Issue 253)
    • ๐Ÿ When the Go version changes, the extension prepends $GOROOT/bin to the PATH or Path environment variable which then applies the change to the integrated terminal windows.
    • ๐Ÿš€ This version includes an experimental version of the new Debug Adapter that uses Delve's native DAP implementation. It currently supports launch type requests in debug or test mode. This is still in the early stages and requires dlv built from its unreleased, master branch. Subscribe to golang/vscode-go#23 for updates.

    โœจ Enhancement

    • Bundles the extension using webpack, which reduced the extension size (4.7MB -> 1MB) and the extension loading overhead (3.4K files -> 3 files) (Issue 53).
    • ๐Ÿ Go: Apply Cover Profile applies code coverage for multiple packages (CL 238697). We fixed bugs in processing coverage profiles on Windows.
    • Suggests the official Go download page when no go tool is found.
    • Utilizes the GOMODCACHE environment variable, introduced in Go 1.15.
    • Prevents multiple debug sessions from launching (Issue 109).
    • โœ… Streams test output when tests run with the -v option.
      This feature requires 1.14 or newer versions of Go (Issue 316).
    • ๐Ÿ‘ Sets additionalProperties to false for the settings that don't expect more properties. This allows VS Code to handle these settings better in its new settings GUI (Issue 284).
    • ๐Ÿ”ง Go: Locate Configured Go Tools includes go env results (Issue 195).
    • 0๏ธโƒฃ Avoids prompting users to switch the default format tool in modules mode if users enable the language server.

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed the PATH environment variable adjustment when users use a wrapper as an alternate tool for go (CL 239697).
    • ๐Ÿ›  Fixed a bug in test output processing, which prevented VS code from linking test log messages with locations in the source file.
    • ๐Ÿ›  Fixed a gocode-gomod installation bug when GOPATH includes multiple directories (Issue 368).
    • Avoids attempting to kill already terminated processes (Issue 334).
    • ๐Ÿ›  Fixed godef to locate standard packages correctly by passing the GOROOT environment variable.
    • ๐Ÿ›  Fixed a golangci-lint integration bug that prevented displaying the lint results correctly when linters like nolintlint are enabled (Issue 411).
    • ๐Ÿ›  Fixed lost test function name arguments when running Go: Test Previous (Issue 269).

    Code Health

    • โœ… Many enhancements to improve test reliability and test coverage were made during this dev cycle.
    • ๐Ÿ‘€ TryBot is enabled, and the test results are posted to Gerrit CL. Currently, only the internal team members can see the details of the test results, but we will continue working to make them public.
    • ๐Ÿ Windows tests are now fixed and enabled in GitHub Action-based CI.
    • ๐Ÿ”จ Refactored code shared by the extension and the debug adapters to prevent accidental debug adapter breakages.
    • โšก๏ธ Updated json-rpc2 and lodash to address vulnerability reports from npm audit.

    Thanks

    Thank you for your contribution, fujimoto kyosuke, OneOfOne, Aditya Thakral, Oleg Butuzov, Rebecca Stambler, Peter Weinberger, Brayden Cloud, Eli Bendersky, Robert Findley, Hana Kim!