- Update to version 0.20.0:
* gopls: update go.mod for v0.20.0-pre.2
* gopls/doc/release/v0.20.0.md: final tweaks
* gopls: update go.mod for v0.20.0-pre.1
* all: update codereview.cfg for gopls-release-branch.0.20
* gopls/internal/filewatcher: fix for windows deadlock
* gopls/internal/cmd: disable mcp tests when fsnotify not supported
* gopls/internal/mcp: avoid pointless diagnostics in the edit workflow
* gopls/internal/mcp: document MCP for v0.20.0; some CLI improvements
* gopls/internal/mcp: a couple more small improvements to instructions
* gopls/internal/mcp: more tuning of tools and prompts
* gopls/internal/mcp: include module paths in workspace summaries
* gopls/internal/cmd: wait for startup log in TestMCPCommandHTTP
* gopls/internal/cmd: avoid the use of channels in the sessions API
* gopls/internal/filewatcher: skip test for unsupported OS
* gopls/doc: document Zed editor
* gopls/internal/util/tokeninternal: move from internal/tokeninternal
* gopls/internal/filewatcher: refactor filewatcher to pass in handler func
* gopls/internal/cache/metadata: use pointers for Graph indexes
* gopls/internal/filewatcher: skip file removal event when removing dir
* gopls/internal/util/memoize: move from internal/memoize
* gopls/internal/util/fakenet: move from internal/fakenet
* gopls/internal/mcp: add -logfile and -rpc.trace to the headless server
* gopls/internal/mcp: tune tools for editing
* gopls/doc: more doc tweaks
* gopls/internal/server: omit CompletionItem.documentation when empty
* gopls/internal/settings: use gopls import source
* gopls: update to x/sync@master
* gopls/internal/test/marker: temporarily revert marker test shutdown
* gopls/internal/cmd: fix flaky mcp http test (forwarded request 1296211 from jfkw)
OBS-URL: https://build.opensuse.org/request/show/1296212
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=23
* gopls: update go.mod for v0.20.0-pre.2
* gopls/doc/release/v0.20.0.md: final tweaks
* gopls: update go.mod for v0.20.0-pre.1
* all: update codereview.cfg for gopls-release-branch.0.20
* gopls/internal/filewatcher: fix for windows deadlock
* gopls/internal/cmd: disable mcp tests when fsnotify not supported
* gopls/internal/mcp: avoid pointless diagnostics in the edit workflow
* gopls/internal/mcp: document MCP for v0.20.0; some CLI improvements
* gopls/internal/mcp: a couple more small improvements to instructions
* gopls/internal/mcp: more tuning of tools and prompts
* gopls/internal/mcp: include module paths in workspace summaries
* gopls/internal/cmd: wait for startup log in TestMCPCommandHTTP
* gopls/internal/cmd: avoid the use of channels in the sessions API
* gopls/internal/filewatcher: skip test for unsupported OS
* gopls/doc: document Zed editor
* gopls/internal/util/tokeninternal: move from internal/tokeninternal
* gopls/internal/filewatcher: refactor filewatcher to pass in handler func
* gopls/internal/cache/metadata: use pointers for Graph indexes
* gopls/internal/filewatcher: skip file removal event when removing dir
* gopls/internal/util/memoize: move from internal/memoize
* gopls/internal/util/fakenet: move from internal/fakenet
* gopls/internal/mcp: add -logfile and -rpc.trace to the headless server
* gopls/internal/mcp: tune tools for editing
* gopls/doc: more doc tweaks
* gopls/internal/server: omit CompletionItem.documentation when empty
* gopls/internal/settings: use gopls import source
* gopls: update to x/sync@master
* gopls/internal/test/marker: temporarily revert marker test shutdown
* gopls/internal/cmd: fix flaky mcp http test
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=50
* Update to BuildRequires: golang(API) >= 1.23 matching go.mod
* Add Requires: golang(API) >= 1.23 matching go.mod. This tool
requires a go toolchain for its functionality. Using
Recommends: or Suggests: instead may also make sense here.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=44
- Update to version 0.17.0:
* gopls: update go.mod for v0.17.0-pre.5
* internal/typesinternal: rollback of Zero{Value,Expr} for gopls
* gopls: update go.mod for v0.17.0-pre.4
* gopls/internal/golang: support extract variable at top level
* gopls/internal/golang: ignore effects for change signature refactoring
* gopls/internal/golang: add "Extract constant" counterpart
* gopls/internal/golang/stubmethods: refine crash into bug report
* gopls/internal/golang: don't offer to move variadic parameters
* gopls/internal/test/marker: add reproducers for moveparam bug bash bugs
* gopls/internal/analysis/yield: add comment about dataflow
* gopls/internal/golang: avoid crash in lookupDocLinkSymbol
* gopls/internal/golang/completion: fix crash with extra results
* gopls/internal/settings: enable 'waitgroup' analyzer
* gopls/internal/golang: Disable test generation for generic functions
* gopls/internal/analysis/yield: peephole-optimize phi(false, x)
* gopls/internal/golang: fix folding range for function calls
* gopls/internal/golang/completion: add alias support for literals
* gopls/internal/undeclaredname: add missing colon when appropriate
* gopls/internal/golang: simplify package name collection in add test
* gopls: update go.mod for v0.17.0-pre.3
* gopls/internal/golang: refactor.extract.variable: allow all exprs
* gopls/internal/cache/methodsets: refine crash for missing object path
* gopls/internal/golang: refine crash golang/go#70553
* gopls/internal/golang: change signature via renaming 'func'
* gopls/internal/golang: support parameter movement refactorings
* gopls/doc/features: enable and document source.addTest code action
* gopls/internal/golang: improve test package name selection for new file
* gopls/internal/golang: don't lose ... when split/joining variadics
* gopls/internal/crash: don't crash in xrefs on out of bound nodes (forwarded request 1230664 from jfkw)
OBS-URL: https://build.opensuse.org/request/show/1230665
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=16
- Update to version 0.17.0:
* gopls: update go.mod for v0.17.0-pre.5
* internal/typesinternal: rollback of Zero{Value,Expr} for gopls
* gopls: update go.mod for v0.17.0-pre.4
* gopls/internal/golang: support extract variable at top level
* gopls/internal/golang: ignore effects for change signature refactoring
* gopls/internal/golang: add "Extract constant" counterpart
* gopls/internal/golang/stubmethods: refine crash into bug report
* gopls/internal/golang: don't offer to move variadic parameters
* gopls/internal/test/marker: add reproducers for moveparam bug bash bugs
* gopls/internal/analysis/yield: add comment about dataflow
* gopls/internal/golang: avoid crash in lookupDocLinkSymbol
* gopls/internal/golang/completion: fix crash with extra results
* gopls/internal/settings: enable 'waitgroup' analyzer
* gopls/internal/golang: Disable test generation for generic functions
* gopls/internal/analysis/yield: peephole-optimize phi(false, x)
* gopls/internal/golang: fix folding range for function calls
* gopls/internal/golang/completion: add alias support for literals
* gopls/internal/undeclaredname: add missing colon when appropriate
* gopls/internal/golang: simplify package name collection in add test
* gopls: update go.mod for v0.17.0-pre.3
* gopls/internal/golang: refactor.extract.variable: allow all exprs
* gopls/internal/cache/methodsets: refine crash for missing object path
* gopls/internal/golang: refine crash golang/go#70553
* gopls/internal/golang: change signature via renaming 'func'
* gopls/internal/golang: support parameter movement refactorings
* gopls/doc/features: enable and document source.addTest code action
* gopls/internal/golang: improve test package name selection for new file
* gopls/internal/golang: don't lose ... when split/joining variadics
* gopls/internal/crash: don't crash in xrefs on out of bound nodes
OBS-URL: https://build.opensuse.org/request/show/1230664
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=35
- Update to version 0.15.3:
* gopls: update go.mod for v0.15.3-pre.2
* gopls/internal/server: don't reset views if configuration did not change
* gopls: update go.mod for v0.15.3-pre.1
* gopls/internal/cache: add debug assertions to refine golang/go#66732
* gopls/internal/cache: analysis: repair start/end and refine bug report
* gopls/internal/cache: avoid panic when the primary diagnostic is broken
* internal/check: filter out too-new Go versions for type checking
* gopls/internal/cache: fix crash in snapshot.Analyze with patch versions
* gopls/internal/server: filter diagnostics to "best" views
* internal/imports: fix two "nil pointer in interface" bugs
* all: add replace directive to help stage the v0.15.3 release
* gopls: fix test failures due to quoting of names in go/types errors (forwarded request 1167899 from jfkw)
OBS-URL: https://build.opensuse.org/request/show/1167900
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=12
- Update to version 0.15.3:
* gopls: update go.mod for v0.15.3-pre.2
* gopls/internal/server: don't reset views if configuration did not change
* gopls: update go.mod for v0.15.3-pre.1
* gopls/internal/cache: add debug assertions to refine golang/go#66732
* gopls/internal/cache: analysis: repair start/end and refine bug report
* gopls/internal/cache: avoid panic when the primary diagnostic is broken
* internal/check: filter out too-new Go versions for type checking
* gopls/internal/cache: fix crash in snapshot.Analyze with patch versions
* gopls/internal/server: filter diagnostics to "best" views
* internal/imports: fix two "nil pointer in interface" bugs
* all: add replace directive to help stage the v0.15.3 release
* gopls: fix test failures due to quoting of names in go/types errors
OBS-URL: https://build.opensuse.org/request/show/1167899
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=27
- Update to version 0.15.0:
- Packaging improvements:
* Build PIE with pattern that may become recommended procedure:
%%ifnarch ppc64 GOFLAGS="-buildmode=pie" %%endif go build
A go toolchain buildmode default config would be preferable
but none exist at this time.
* Drop mod=vendor, go1.14+ will detect vendor dir and auto-enable (forwarded request 1151968 from jfkw)
OBS-URL: https://build.opensuse.org/request/show/1151969
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=9
- Update to version 0.13.1:
* gopls: update go.mod for v0.13.1-pre.2
* gopls/internal/hooks: clean language version before passing to gofumpt
* gopls/internal/lsp/analysis: fix stubmethods with variadic parameters
* gopls: update go.mod for v0.13.1-pre.1
* gopls/internal/lsp/source: reinstate equalOrigin for references check
* gopls/internal/lsp/source: fix incorrect 'origin' logic for named types
* gopls/internal/lsp/source: fix renaming of type parameters
* gopls/internal/lsp/source: refresh embeddirective analyzer docs (forwarded request 1103614 from jfkw)
OBS-URL: https://build.opensuse.org/request/show/1103616
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gopls?expand=0&rev=3
- Update to version 0.13.1:
* gopls: update go.mod for v0.13.1-pre.2
* gopls/internal/hooks: clean language version before passing to gofumpt
* gopls/internal/lsp/analysis: fix stubmethods with variadic parameters
* gopls: update go.mod for v0.13.1-pre.1
* gopls/internal/lsp/source: reinstate equalOrigin for references check
* gopls/internal/lsp/source: fix incorrect 'origin' logic for named types
* gopls/internal/lsp/source: fix renaming of type parameters
* gopls/internal/lsp/source: refresh embeddirective analyzer docs
OBS-URL: https://build.opensuse.org/request/show/1103614
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=9
- Update to version 0.12.3:
* gopls: update go.mod for v0.12.3
* gopls/internal/lsp/cache: fix nil panic in analysis toSourceDiagnostic
* gopls/internal/lsp/debug: update hard-coded version for v0.12.3
* gopls/internal/lsp/cache: add debugging assertion for golang/go#60904
* gopls/internal/lsp/cache: guard against "unsafe" by package path, not ID
* gopls/internal/lsp/cache: use types.Unsafe in analysisPackage
* gopls/internal/lsp/work: don't crash when hovering over broken mod dir
* gopls/internal/lsp/cache: reduce importing in analysis
* gopls/internal/regtest: fix goimports on windows when using vendoring
* gopls/internal/lsp/source/completion: ensuring completion completeness
* gopls/internal/regtest/codelens: set GOWORK=off for go mod vendor
* gopls/internal/lsp/cache: two minor simplifications
* gopls/internal/lsp/filecache: reduce lifespan of os.FileInfos
* gopls/internal/lsp: enable min/max builtin completion test
OBS-URL: https://build.opensuse.org/request/show/1094910
OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=4