All Versions
58
Latest Version
Avg Release Cycle
6 days
Latest Release
88 days ago

Changelog History
Page 1

  • v0.5.5

    December 04, 2020

    gopls/v0.5.5

    ๐Ÿš€ This is a patch release to fix two bugs in gopls/v0.5.4.

    ๐Ÿ›  Fixes

    ๐Ÿ“ฆ Excessive reloading of packages outside of GOPATH or a module

    ๐Ÿ‘€ See golang/go#42813.

    ๐Ÿ’… File corruption with CRLF line endings and //-style comments

    ๐Ÿ›  golang/go#42646 was supposed to have been fixed in gopls/v0.5.4, but it was not. golang/go#42923 was reported and fixed.


    ๐Ÿ›  A full list of all issues fixed can be found in the gopls/v0.5.5 milestone. To report a new problem, please file a new issue at https://golang.org/issues/new.

  • v0.5.5-pre.1

    December 04, 2020
  • v0.5.4

    November 30, 2020

    ๐Ÿ”‹ Features

    Opening a project that contains a module in a subdirectory

    Previously, gopls required that you open your editor exactly at or below the module root (the directory containing the go.mod). Now, you can open a directory that contains exactly one module in a subdirectory, and gopls will work as expected. For details on multi-module workspaces, see below.

    ๐Ÿ‘Œ Improved error message reports

    ๐Ÿš‘ Previously, critical error messages were reported as message pop-up that would re-trigger as you type. Many users would find this annoying. We have changed the approach to show error messages as progress reports, which should be less intrusive and appear more like status bars.

    ๐Ÿ‘Œ Improved memory usage for workspaces with multiple folders

    ๐Ÿ“ฆ We are now using a coarser cache key for package type information. If you use the gopls daemon, this may reduce your total memory usage.

    Experimental

    ๐Ÿ‘ Multi-module workspace support

    ๐Ÿ‘€ The proposal described in golang/go#32394 is still in development and off by default. See our progress by tracking the multi-module workspace milestone and project.

    ๐Ÿ‘ Enable multi-module workspace support by adding the following to your settings:

    "gopls": {"experimentalWorkspaceModule": true,}
    

    With this setting, you will be able to open a directory that contains multiple modules or a directory that contains nested modules.

    Give this a try if you're interested in this new feature, but please note that it is still very experimental. Please file issues if you encounter bugs.

    ๐Ÿ›  Fixes

    ๐Ÿ’… File corruption with CRLF line endings and /**/-style comments

    ๐Ÿ Previously, when you organized the imports in a file with CRLF line endings and multi-line comments, the formatter might output incorrect content for the file, rendering it invalid Go code. This issue has popped up a number of times, but we believe it has finally been fixed for good. If you are using Windows with CRLF line ending, please report any regressions. For full details, see golang/go#42646.


    ๐Ÿ›  A full list of all issues fixed can be found in the gopls/v0.5.4 milestone. To report a new problem, please file a new issue at https://golang.org/issues/new.

    Thank you to our contributors!

    @findleyr @heschik @pjweinb @leitzler @yangwenmai @matloob @golopot @muirdm

  • v0.5.4-pre.1

    November 23, 2020
  • v0.5.3

    November 12, 2020

    gopls/v0.5.3

    ๐Ÿ”‹ Features

    โšก๏ธ Automatic updates to go.sum

    โšก๏ธ Previously, go.mod-related quick fixes would not make corresponding changes to your go.sum file. Now, when you add or remove dependencies from your module, your go.sum will be updated accordingly.

    โœ‚ Removed support for go mod tidy on save

    ๐Ÿšš We have removed the support for running go mod tidy on save for go.mod files. It proved to be too slow and expensive to be worth it.

    Experimental

    ๐Ÿ‘ Multi-module workspace support

    ๐Ÿ‘€ The proposal described in golang/go#32394 is still in development and off by default. See our progress by tracking the multi-module workspace milestone and project.

    ๐Ÿ‘ Enable multi-module workspace support by adding the following to your settings:

    "gopls": {"experimentalWorkspaceModule": true,}
    

    With this setting, you will be able to open a directory that contains multiple modules. Most features will work across modules, but some, such as goimports, will not work as expected.

    Give this a try if you're interested in this new feature, but please note that it is still very experimental.

    ๐Ÿ›  Fixes

    ๐Ÿ›  A list of all issues fixed can be found in the gopls/v0.5.3 milestone.

    Thank you to our contributors!

    @heschik @findleyr @pjweinb

  • v0.5.3-pre.2

    November 10, 2020
  • v0.5.3-pre.1

    November 09, 2020
  • v0.5.2

    October 28, 2020

    gopls/v0.5.2

    ๐Ÿ”‹ Features

    ๐Ÿš€ No new features have been added in this release.

    Experimental

    ๐Ÿ‘ We have added support for a new allExperiments setting. By enabling this flag, you will enable all experimental features that we intend to roll out slowly. You can still disable individual settings (full list of settings). In-progress features, such as multi-module workspaces (below), will remain disabled until they are ready for users.

    ๐Ÿ‘Œ Improved CPU utilization: experimentalDiagnosticsDelay

    ๐Ÿ“ฆ experimentalDiagnosticsDelay controls the amount of time that gopls waits after the most recent file modification before computing deep diagnostics. Simple diagnostics (parsing and type-checking) are always run immediately on recently modified packages.

    ๐Ÿ“œ Enable it by setting it to a duration string, for example "200ms". With allExperiments, this is set to "200ms".

    ๐Ÿ‘Œ Improved memory usage for workspaces with multiple folders: experimentalPackageCacheKey

    ๐Ÿ“ฆ experimentalPackageCacheKey controls whether to use a coarser cache key for package type information. If you use the gopls daemon, this may reduce your total memory usage.

    Enable it by setting it to true. With allExperiments, this is set to true.

    ๐Ÿ‘ Multi-module workspace support

    ๐Ÿ‘€ The proposal described in golang/go#32394 is still in development and off by default. See our progress by tracking the multi-module workspace milestone and project.

    ๐Ÿ‘ Enable multi-module workspace support by adding the following to your settings:

    "gopls": {"experimentalWorkspaceModule": true,}
    

    With this setting, you will be able to open a directory that contains multiple modules. Most features will work across modules, but some, such as goimports, will not work as expected.

    Give this a try if you're interested in this new feature, but please note that it is still very experimental.

    ๐Ÿ‘Œ Support for semantic tokens

    ๐Ÿš€ This is a new, unreleased LSP feature that provides additional syntax highlighting. In advance of this new LSP version, we have added preliminary support for this feature. Enable it by setting:

    "gopls": {"semanticTokens": true,}
    

    It will not be enabled with allExperiments.

    ๐Ÿ›  Fixes

    ๐Ÿ›  A list of all issues fixed can be found in the gopls/v0.5.2 milestone.

    For editor clients

    ๐Ÿ›  All command names have been given gopls. prefixes, to avoid conflicting with commands registered by other language servers.
    This should not have affected any clients.

    Thank you to our contributors!

    @heschik @findleyr @dandua98 @pjweinb @leitzler @kortschak @bcmills @hyangah @jadekler

  • v0.5.2-pre.2

    October 28, 2020
  • v0.5.2-pre.1

    October 21, 2020