Path to this page:
Subject: CVS commit: pkgsrc/devel/gopls
From: Thomas Klausner
Date: 2024-03-03 12:39:22
Message id: 20240303113922.DF5A4FA27@cvs.NetBSD.org
Log Message:
gopls: update to 0.15.1.
0.15.1
This release fixes golang/go#65952, a crash in document highlighting when the \
cursor is in a return value for a function that has no results, such as the \
following example:
func f() { // <-- no results
return 0| // <-- cursor at '|'
}
Thanks very much to @patrickpichler who both reported and fixed this bug!
We're hopeful that once Go 1.23 is released, the opt-in automated crash \
reporting added in gopls v0.15.0 will increase the likelihood that these types \
of crashes are caught before they are released.
0.15.0
This release introduces "zero config" gopls workspaces, which is a set \
of heuristics allowing gopls to Do The Right Thing when you open a Go file. We \
believe this addresses two of the largest pain points we hear about from our \
users: difficulty configuring multi-module repositories, and working on multiple \
GOOS/GOARCH combinations. However, this is a large change to the way gopls \
models your workspace, and the dynamic loading/unloading of builds may be \
surprising in some cases. Your feedback on this new feature is greatly \
appreciated. See below for more details.
New Features
Simpler workspace configuration and improved build tag support
Preview refactoring edits
Analysis & diagnostics
Automated crash reporting (off by default)
Housekeeping
and Bug Fixes.
Files: