* gopls: update go.mod for v0.21.0-pre.2 * gopls/doc/release/v0.21.0.md: update relnotes for RC2 * gopls/internal/golang: add util function NarrowestDeclaringPackage * gopls/internal/golang: add skeleton for move type codeaction * gopls/internal/golang: fix panic in definition * gopls/internal/cache: fix %q verb use with wrong type * gopls/internal/protocol/generate: move injections to tables.go * gopls/internal/protocol: add form field in type CodeAction * gopls/internal/metadata: document when Module can be nil * gopls/internal/cache: make unimported completions deterministic * gopls/completion: avoid nil dereference * gopls/internal/template: fix printf mistake in test * gopls/doc/release/v0.21.0.md: tweaks * gopls/internal/test/integration: add codeAction/resolve in fake editor * gopls/internal/test/integration: deduplicate CodeActionByKind util func * gopls/internal/util/fingerprint: : remove self-referential alias in TestMatches * gopls/internal/golang: remove self-referential alias in TestUnify * gopls/internal/mcp: add counter for go_rename_symbol mcp tool * gopls/internal/debug: add /package debug view * gopls: update go.mod for v0.21.0-pre.1 * all: update codereview.cfg for gopls-release-branch.0.21 * gopls/doc/release/v0.21.0.md: prepare * gopls/internal/settings: add renameMovesSubpackages setting * gopls/internal/golang: allow package move into empty directories * gopls/internal/golang: package move: handle mixed build configs * go/analysis/passes/inline: add lazy-fix mode for gopls * gopls/doc: document Rename feature * gopls/internal/golang: implement package move * gopls/internal/test/marker: avoid BasicLit in fill_struct.txt OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/gopls?expand=0&rev=52
1682 lines
98 KiB
Plaintext
1682 lines
98 KiB
Plaintext
-------------------------------------------------------------------
|
|
Wed Dec 17 20:36:09 UTC 2025 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
|
|
|
- Update to version 0.21.0:
|
|
* gopls: update go.mod for v0.21.0-pre.2
|
|
* gopls/doc/release/v0.21.0.md: update relnotes for RC2
|
|
* gopls/internal/golang: add util function NarrowestDeclaringPackage
|
|
* gopls/internal/golang: add skeleton for move type codeaction
|
|
* gopls/internal/golang: fix panic in definition
|
|
* gopls/internal/cache: fix %q verb use with wrong type
|
|
* gopls/internal/protocol/generate: move injections to tables.go
|
|
* gopls/internal/protocol: add form field in type CodeAction
|
|
* gopls/internal/metadata: document when Module can be nil
|
|
* gopls/internal/cache: make unimported completions deterministic
|
|
* gopls/completion: avoid nil dereference
|
|
* gopls/internal/template: fix printf mistake in test
|
|
* gopls/doc/release/v0.21.0.md: tweaks
|
|
* gopls/internal/test/integration: add codeAction/resolve in fake editor
|
|
* gopls/internal/test/integration: deduplicate CodeActionByKind util func
|
|
* gopls/internal/util/fingerprint: : remove self-referential alias in TestMatches
|
|
* gopls/internal/golang: remove self-referential alias in TestUnify
|
|
* gopls/internal/mcp: add counter for go_rename_symbol mcp tool
|
|
* gopls/internal/debug: add /package debug view
|
|
* gopls: update go.mod for v0.21.0-pre.1
|
|
* all: update codereview.cfg for gopls-release-branch.0.21
|
|
* gopls/doc/release/v0.21.0.md: prepare
|
|
* gopls/internal/settings: add renameMovesSubpackages setting
|
|
* gopls/internal/golang: allow package move into empty directories
|
|
* gopls/internal/golang: package move: handle mixed build configs
|
|
* go/analysis/passes/inline: add lazy-fix mode for gopls
|
|
* gopls/doc: document Rename feature
|
|
* gopls/internal/golang: implement package move
|
|
* gopls/internal/test/marker: avoid BasicLit in fill_struct.txt
|
|
* gopls/internal/filewatcher: retry directory reading upon failure
|
|
* gopls/internal/settings: correct git issue for fieldalignment warning
|
|
* gopls/internal/server: don't pop up errors when resolving code actions
|
|
* gopls/internal/golang: fix crash in canExtractVariable
|
|
* gopls/internal/mcp: add go_rename_symbol MCP tool
|
|
* gopls/internal/filewatcher: synthesize events after watching a dir
|
|
* gopls/internal/golang: Extract variable: simplify using Cursor
|
|
* gopls/internal/test/marker: another test case for golang/go#76144
|
|
* internal/server: add instrumentation to track gopls command usage
|
|
* gopls/internal/filewatcher: read and process event in separate goroutine
|
|
* gopls/internal/golang: Extract function: simplify using Cursor
|
|
* gopls/internal/analysis/modernize: add strings.Cut modernizer
|
|
* gopls/internal/mcp: fix NPE in file diagnostics
|
|
* gopls/internal: drop import name internalastutil
|
|
* gopls: replace snapshot.FindFile by ReadFile
|
|
* gopls/internal/golang: support hover over selected expression
|
|
* gopls/internal/golang: Hover: show field info for embedded fields too
|
|
* gopls/internal/golang: change hover handling from position to range
|
|
* gopls/internal/golang: Hover: use Cursor throughout
|
|
* gopls/internal/settings: introduce ModeVulncheckPrompt as default value for VulncheckMode setting
|
|
* gopls/internal/golang: add navigation to doc links in hovers
|
|
* gopls/internal/golang: CallHierarchy: only funcs
|
|
* gopls/internal/golang: typeDefinition: allow any expression
|
|
* gopls/internal/analysis/yield: handle booleans better
|
|
* gopls/go.mod: update staticcheck to 8273271
|
|
* gopls/internalanalysis: DeleteStmt deletes comments
|
|
* gopls/internal/analysis/yield: improve diagnostic
|
|
* gopls/internal/test/integration/workspace: fix broken test
|
|
* gopls/internal/golang: fix panic in inlineOneVariable
|
|
* gopls/internal/analysis/unusedfunc: use refactor.Delete* operators
|
|
* gopls/internal/golang: add condition for enabling package move
|
|
* gopls/internal/server: produce DocumentChange list in golang.Rename
|
|
* gopls/internal/test/integration/completion: make test more go1.26-robust
|
|
* gopls/internal: prompt with full package path in preparerename
|
|
* gopls/internal/analysis/modernize: pass to use go1.26 new(x)
|
|
* gopls/unimported: prefer packages in go.mod
|
|
* gopls/internal/golang: add package rename counter
|
|
* gopls/internal/server: fix typo in RunGovulncheck
|
|
* gopls: update to use the mcp go-sdk@v0.8.0
|
|
* gopls: add doc link for quick fix implement method
|
|
* gopls/internal/protocol: upgrades LSP to latest
|
|
* gopls: update MCP SDK dependency to v0.7.0
|
|
* gopls/internal/analysis/modernize: reflect.TypeOf(x) -> TypeFor[T]()
|
|
* gopls/test/quickfix_test: verify that issue 70755 is fixed
|
|
* gopls/internal/cmd: skip TestMCPVulncheckCommand when fsnotify not supported
|
|
* gopls/internal/protocol: add range to TextDocumentPositionParams
|
|
* gopls/internal/analysis/embeddirective: call AddImport directly
|
|
* gopls/internal/doc/generate: convert Analyzer.Doc to Markdown
|
|
* gopls/internal/analysis/modernize: slicescontains: improve widening check
|
|
* gopls: update MCP SDK to v0.6.0
|
|
* gopls: fix extracted function shouldReturn boolean return value position
|
|
* gopls/internal/util/cursorutil: add FirstEnclosing
|
|
* gopls/internal/analysis/modernize: stringscutprefix: handle CutSuffix too
|
|
* gopls/internal/folding_range: display closing parentheses
|
|
* gopls/internal/analysis/modernize/cmd/modernize: improve godoc
|
|
* gopls/internal/golang/completion: don't offer internal std packages
|
|
* gopls: use correct doc link
|
|
* gopls/internal/progress: use t.Context in tests
|
|
* gopls: convert some users of astutil to Cursors
|
|
* gopls/internal/cache: set goVersion when there is no module version
|
|
* gopls: update Go MCP SDK to v0.5.0
|
|
* gopls/internal/analysis/modernize: use better qualifier for rangeint
|
|
* gopls: render package documentation when hovering over imported package name identifiers
|
|
* gopls/internal/golang: do not offer "inline variable" on an lvalue reference
|
|
* gopls/internal/settings: shadow.severity = hint
|
|
* gopls/internal/test: update the minimum go command of TestImportAlias
|
|
* gopls/internal/test/integration/completion: make test go1.26-robust
|
|
* gopls/internal/server: add telemetry for Zed, Helix clientInfo
|
|
* gopls/internal/test/integration/completion: skip TestFuzzFunc pre-go1.25
|
|
* gopls/internal/analysis/modernize: add test of no gopls imports
|
|
* gopls/internal/mcp: use official go mcp sdk
|
|
* gopls/internal/analysis/modernize: fix bad edit in var ( ... ) decl
|
|
* gopls/completion: unimported completions with explicit package names
|
|
* internal/astutil: move declarations from gopls/internal/util/astutil
|
|
* internal/analysisinternal/generated: move from gopls/internal/analysis
|
|
* internal/moreiters: move from gopls/internal/util/moreiters
|
|
* gopls/internal/analysis/modernize/rangeint: fix defer bug
|
|
* gopls/internal/golang: OutgoingCalls: fix crash on error.Error
|
|
* gopls/internal/analysis/recursiveiter: fix typo
|
|
* gopls/internal/analysis/modernize: stringsbuilder: fix s=x bug
|
|
* gopls/internal: modernize -stringbuilder -fix
|
|
* gopls/internal/analysis/modernize: string+=string => strings.Builder
|
|
* gopls: modernize
|
|
* gopls: update to go1.25
|
|
* gopls/internal/analysis/modernize: split up
|
|
* gopls/internal/golang: InlayHint: allow space before // ignore error
|
|
* gopls/internal/analysis/generated: amortize ast.IsGenerated
|
|
* gopls: support jump to definition for field links in comments
|
|
* gopls/internal/analysis: fix waitgroup modernizer formatting
|
|
* gopls/internal/folding_range: allow more folding ranges
|
|
* gopls/internal/analysis/modernize: invalid code produced by fmtappendf modernizer
|
|
* gopls/internal/mcp: fix panic in symbolReferencesHandler on nil types.Object
|
|
* gopls/internal/filewatcher: replace handleEvent with convertEvent
|
|
* gopls/doc: fix broken url
|
|
* gopls/internal/test/integration/completion: skip a_test.go
|
|
* gopls/internal/golang/completion: don't make unnecessary conversions for generic functions
|
|
* gopls/internal/settings: add ui.newGoFileHeader option
|
|
* gopls/internal/analysis/modernize: fix doc typos
|
|
* gopls/doc/features: add "MCP" to index.
|
|
* gopls/internal/golang/hover: show alias real type decl for types only
|
|
* gopls/internal/analysis/modernize/forvar: provide fix for second loop var
|
|
* gopls/internal/server: add counters for add and remove struct tags
|
|
* gopls/internal/filewatcher: fix race condition on watcher shutdown
|
|
* gopls/internal/server: add windsurf and cursor as language client
|
|
* gopls/internal/golang: show document after test generation
|
|
* gopls/internal/filewatcher: move dir with broken symlink to avoid flakiness
|
|
* gopls/internal/golang: ignoredError inlay hint: skip io.WriteString
|
|
* gopls/internal/cache: add removeIntermediateTestVariants parameter
|
|
* gopls/doc: yet more tweaks
|
|
* gopls/internal/analysis/unusedfunc: skip std
|
|
* gopls/internal/template: use protocol.Mapper and simplify
|
|
* gopls/internal/template: unexport Parse et al
|
|
* gopls/internal/test/integration/template: add test for golang/go#74635
|
|
* gopls/internal/golang: CodeAction(gopls.doc.features): update URL
|
|
* gopls/internal/protocol: remove obsolete recoverHandlerPanic
|
|
* gopls/doc/release/v0.21.0.md: restore (deleted in CL 691115)
|
|
* gopls/doc/release: fix (oddly) broken link
|
|
* gopls: improve SignatureHelp triggering
|
|
* gopls/doc: yet more doc tweaks
|
|
* gopls/internal/filewatcher: retry watch registration upon failure
|
|
* gopls/go.mod: update dependencies following the v0.20.0 release
|
|
* gopls/doc/release/v0.20.0.md: final tweaks
|
|
* gopls/internal/debug: KillTraceViewers: kill process group on UNIX
|
|
* gopls/internal/golang: fix extract on anonymous structs
|
|
* gopls/internal/test/marker: fix reachable panic("unreachable")
|
|
* gopls/internal/test/integration/web: kill "go tool trace" processes
|
|
* gopls/internal/golang: allow rename in doc comments
|
|
* gopls/internal/filewatcher: add stress test for file watcher
|
|
* gopls/doc/features: fix two stray backticks
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Jul 28 19:08:55 UTC 2025 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
|
|
|
- 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
|
|
* gopls/doc: add default.tmpl for x/website
|
|
* gopls/internal/mcp: add a symbol search tool
|
|
* gopls/internal/mcp: add a tool for workspace diagnostics
|
|
* gopls/internal/golang: allow rename of embedded fields at declaration
|
|
* gopls/internal/filewatcher: introduce filewatcher using fsnotify
|
|
* gopls/internal/mcp: skip standard lib package summary in context tool
|
|
* gopls/internal/mcp: use fenced code blocks for context
|
|
* gopls/internal/mcp: add a variant of the references tool
|
|
* gopls/doc: use YAML title blocks in .md files
|
|
* gopls: fix SignatureHelp activeParameter not being passed
|
|
* gopls/doc: fix broken links
|
|
* gopls/internal/mcp: add several tools and organize them by file
|
|
* gopls/internal/test/marker: close the JSON-RPC connection when tests exit
|
|
* gopls/doc: rationalize
|
|
* gopls/internal/golang: Definition: fix crash wrt unsafe.Pointer
|
|
* gopls/internal/debug: display metadata graph
|
|
* gopls/internal/cmd: rename conn to cli
|
|
* gopls/internal/cmd: cleanup: unify connection, cmdClient
|
|
* gopls/internal/golang: cleanups while investigating golang/go#74434
|
|
* gopls/internal/analysis/modernize: fix a typo in doc.go
|
|
* gopls/internal/golang: recover failed inlineAllCalls
|
|
* gopls/internal/util/immutable: Map.Range -> Map.All, with iter.Seq2
|
|
* gopls/internal/mcp: add references mcp tool
|
|
* gopls/internal/golang: reproduce various edge cases of issue 69616
|
|
* gopls/internal/mcp: attach text edits to diagnostics if exist
|
|
* gopls/internal/golang: add web-based "split package" tool
|
|
* gopls/internal/protocol: Mapper: reject start > end
|
|
* gopls/internal/cmd: implement counters for mcp server
|
|
* gopls/internal/golang: InlayHint: reveal ignored errors
|
|
* gopls/internal/server: remove tempDir field
|
|
* gopls/internal/cmd: fix directory cleanup issue in flaky test
|
|
* gopls/internal/golang: Hover: fix crash on alias to built-in Named
|
|
* gopls/internal/golang: fix crash in refactor.inline.variable
|
|
* gopls/internal/golang: implementation: fix nil panic
|
|
* gopls/internal/mcp: unbreak build
|
|
* gopls/internal/mcp: add diagnostics tool
|
|
* gopls/internal/settings: revert to old goimports index
|
|
* gopls/internal/analysis/unusedfunc: support var, type, func
|
|
* gopls/internal/cmd: fix mcp http test
|
|
* gopls/internal/cmd: fix mcp stdio test
|
|
* gopls/go.mod: update dependencies following the v0.19.0 release
|
|
* gopls/doc/release: add contributor shout-out
|
|
* gopls/internal/cmd: headless mcp server command
|
|
* gopls/internal: eliminate two unused declarations
|
|
* gopls/internal/golang: add counters for refactoring ops
|
|
* gopls/internal/test/integration: fix race
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Jun 19 16:52:01 UTC 2025 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
|
|
|
- Update to version 0.19.1:
|
|
* gopls: update go.mod for v0.19.1-pre.1
|
|
* gopls/internal/settings: revert to old goimports index
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Jun 17 04:38:35 UTC 2025 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
|
|
|
- Update to version 0.19.0:
|
|
* gopls: update go.mod for v0.19.0-pre.3
|
|
* gopls/internal/cache: add missing error check
|
|
* gopls/doc: add two missing items to doc index
|
|
* Revert "gopls/internal/util/moreslices: add Reversed iterator"
|
|
* gopls/internal/util/moreslices: add Reversed iterator
|
|
* gopls/internal/golang: add missing ,ok check
|
|
* gopls/internal/golang: add missing err check
|
|
* gopls/internal/golang/completion: return error if file is not new
|
|
* gopls/internal/mcp: remove cache.Cache from the mcp server
|
|
* gopls/internal/debug: extend timeout when running under CI builders
|
|
* gopls/internal/protocol: refine DocumentURI Clean method and its usages
|
|
* gopls/internal/golang: fix extract bug with anon functions
|
|
* gopls: update go.mod for v0.19.0-pre.2
|
|
* gopls/doc/release: tweak v0.19
|
|
* gopls/internal/protocol: add DocumentURI.Base accessor
|
|
* gopls/internal/server: improve "editing generated file" warning
|
|
* gopls/internal/server: Organize Imports of generated files
|
|
* gopls/internal/golang: Format generated files
|
|
* gopls: update go.mod for v0.19.0-pre.1
|
|
* gopls: use new gomodcache index
|
|
* gopls/internal/golang: eliminate dot import: skip keyed fields
|
|
* all: update codereview.cfg for gopls-release-branch.0.19
|
|
* gopls/internal/debug: integrate flight recorder
|
|
* gopls/internal/telemetry/cmd/stacks: delete
|
|
* gopls/internal/mcp: add top level symbols from current package
|
|
* gopls/internal/golang: add type inlayhint for variable decl
|
|
* gopls/internal/test/marker: organize mcp tool context test
|
|
* gopls/internal/mcp: add exported type spec and value spec to context
|
|
* gopls/internal/analysis/modernize: disable appendclipped
|
|
* gopls/internal/analysis/modernize: appendclipped: preserve result type
|
|
* gopls/internal/analysis/modernize: add TODOs for nilness problem
|
|
* gopls/internal/mcp: add context mcp tool
|
|
* gopls/internal/protocol: make some optional integer fields indirect
|
|
* gopls/internal/protocol: PublishDiagnosticsParams.version omitempty
|
|
* gopls/internal/protocol: add Mapper.{Pos,Node]Text helpers
|
|
* gopls/internal/settings: add maprange analyzer
|
|
* gopls/internal: handle errors, or document that we ignore them
|
|
* gopls/internal/analysis/modernize: minmax: put comments at proper positions
|
|
* gopls/internal/golang: fix crash in definition of invalid "continue label"
|
|
* gopls/internal/telemetry/cmd/stacks: collect from go.dev frontend
|
|
* gopls/internal/analysis/modernize: fix bug in minmax analyzer that incorrectly handles nested if-else-if structures
|
|
* gopls: update to staticcheck@master
|
|
* gopls/.../completion: unimported completion snippets
|
|
* gopls/internal/test/integration: simplify GoToDefinition
|
|
* gopls/internal/analysis/recursiveiter: set Diagnostic.End
|
|
* gopls/internal/test/integration/completion: relax expectations
|
|
* gopls/internal/analysis/recursiveiter: report inefficient recursion
|
|
* gopls/internal/mcp: add location info to mcp tool input arg
|
|
* gopls: update to github.com/dominikh/go-tools@v0.6.1
|
|
* gopls/internal/debug: display Session.View.Folder.Options
|
|
* gopls/internal/golang: modify extract behavior for error handling returns
|
|
* gopls/internal/golang: implement "inline local variable" code action
|
|
* gopls/internal/analysis/modernize: bloop: document deoptimization
|
|
* gopls/internal/test/marker: add mcp tools action marker
|
|
* gopls/internal/analysis/modernize/slicesdelete: convert index type if needed
|
|
* gopls/internal/analysis/modernize: disable slicesdelete pass
|
|
* gopls/internal/test/marker: add a folding ranges test case
|
|
* gopls/internal/cache/parsego: use PreorderStack
|
|
* gopls/internal/golang: AddTest: fix types.Package.Path nil panic
|
|
* gopls/internal/protocol: make FoldingRange fields optional
|
|
* gopls/internal/lsprpc: start mcp server by passing -mcp-listen
|
|
* gopls/internal/completion: apply modernizers
|
|
* gopls/internal/analysis/modernize: add checks to prevent invalid fixes from slicesContains
|
|
* gopls/internal/analysis/modernize: don't offer a fix when initialization statement is not empty
|
|
* gopls/internal/golang: Hover: show allocator size class
|
|
* gopls/internal/golang: make "Show assembly" work in tests
|
|
* gopls/internal/golang/completion: new code for unimported completions
|
|
* gopls/internal/server/completion: get correct surrounding for second lhs
|
|
* gopls/internal/golang/completion: tostring, tobytes postfix snippets
|
|
* gopls/internal/server: add modify tags code action docs
|
|
* gopls/internal/golang/completion: offer return with whitespace
|
|
* gopls: run modernize -fix in gopls
|
|
* gopls/internal/cache: fix bug in toGobDiagnostic(Related)
|
|
* gopls/internal/server: add modify_tags command handler
|
|
* gopls/internal/golang/completion: show typeparam for preceding funcs in chain
|
|
* gopls/internal/server: support links and hovers for replace directive
|
|
* gopls/internal/golang: pkgdoc: don't discard NewT for unexported t
|
|
* gopls/internal/golang: add test for (unfixed) issue 65098
|
|
* gopls/internal/golang/completion: modernize
|
|
* gopls/internal/golang: Rename imports: be defensive
|
|
* gopls/internal/test/integration/web: move misc/webserver_test.go
|
|
* gopls/internal/golang: CodeAction: don't fail because of 1 producer
|
|
* gopls/internal/settings: enable most staticcheck analyzers
|
|
* gopls/internal/golang: add embedded struct info to hover
|
|
* gopls/internal/golang: Rename all receivers only at declaration
|
|
* gopls: update x/telemetry
|
|
* gopls/internal/golang: fix build
|
|
* gopls/internal/golang: Rename all receiver variables
|
|
* gopls: improve warning against using go get -tool with gopls
|
|
* gopls: warn against using go get -tool with gopls
|
|
* gopls/internal/golang: fix broken build due to semantic merge conflict
|
|
* gopls/internal/cache: more test cases for syntax repairing
|
|
* gopls/internal/cache: handle VS Code Insiders in watchSubdirs
|
|
* gopls/internal/golang: CallHierarchy: show only *types.Func callees
|
|
* gopls/internal/golang: fix extract with free control statements
|
|
* gopls/doc: fix config for vim-lsp
|
|
* gopls: hide todo inside readme.md
|
|
* gopls/internal/cache/parsego: new test case for fixed syntax
|
|
* gopls/internal/golang: implementation: report iface/iface relations
|
|
* gopls/internal/server: TypeHierarchy support
|
|
* gopls/internal/analysis/modernize: prevent conversion of variadic functions to slices.ContainsFunc
|
|
* gopls/internal/golang: yet more refinement of golang/go#70553
|
|
* gopls/internal/golang: completion: better default keyword completion in switch stmt
|
|
* gopls/internal/golang: Rename: fix crash in ill-typed redeclaration
|
|
* gopls/internal/server: workspace: skip adding already added file
|
|
* gopls/internal/golang: implement dynamicFuncCallType with typeutil.ClassifyCall
|
|
* gopls/internal/server: fix event labels after the big rename
|
|
* gopls/internal/golang: CodeAction: place gopls doc as the last action
|
|
* internal/gofix: move from gopls/internal/analysis/gofix
|
|
* gopls/internal/analysis/modernize: add docs for missing modernize passes
|
|
* gopls/internal/analysis/modernize: waitgroup: use index.Calls
|
|
* gopls/internal/analysis/modernize: check nil before calling maybeNaN
|
|
* gopls: require go1.24.2
|
|
* gopls/internal/lsprpc: fix call function with wrong err
|
|
* gopls: automatically insert package clause for new go files
|
|
* gopls/internal/analysis/modernize: add modernizer for WaitGroup.Go
|
|
* gopls: fix indent issue and track a TODO
|
|
* gopls/internal/cmd: suppress TestImplementation on go1.23
|
|
* gopls/internal/analysis/modernize: preserves comments in mapsloop
|
|
* gopls/internal/analysis/modernize: use types.RelativeTo to respect current package
|
|
* gopls/completion: use high score for package name main when current package is main
|
|
* gopls/internal/analysis/maprange: use typeindex
|
|
* gopls/internal/analysis/modernize: rangeint: fix yet another bug
|
|
* gopls/internal/analysis/modernize: use typeindex throughout
|
|
* gopls/internal/analysis/modernize: rangeint: respect side effects
|
|
* gopls/internal/golang: test initial bindings to unify
|
|
* gopls/internal/golang: test unify result bindings
|
|
* gopls/internal/golang: unify tracks type params
|
|
* gopls/internal/analysis/modernize: fix slicedelete triggers on slice identifiers with side effects
|
|
* gopls/internal/fuzzy: apply modernizers to the fuzzy matcher
|
|
* gopls/internal/analysis/modernize: permit int/uint type variants in rangeint
|
|
* gopls/modernize: remove unused functions
|
|
* gopls/internal/golang/completion: ensure expectedCompositeLiteralType arg is not nil
|
|
* gopls/internal/golang/completion: avoid crash in addFieldItems
|
|
* gopls/internal/cache: improve build constraint trimming
|
|
* gopls/internal/util/persistent: add concurrency test
|
|
* gopls/internal/analysis/modernize: modernizer to suggest using strings.CutPrefix
|
|
* gopls/internal/analysis/modernize: disable minmax on floating point
|
|
* gopls/internal/golang: fix crash in source.test code action
|
|
* gopls/internal/test/integration: skip x_tools-gotip-openbsd-amd64 (7.6)
|
|
* gopls/internal/test/integration/misc: test "annotations" setting
|
|
* gopls/internal/analysis/modernize: preserves comments in minmax
|
|
* gopls/internal/golang: use slices.Reverse in pathEnclosingObjNode
|
|
* gopls/internal/cache/testfuncs: handle recursive subtests
|
|
* gopls/internal/analysis/modernize: rangeint: avoid offering wrong fix
|
|
* gopls/internal/util/fingerprint/fingerprint: unify type params
|
|
* gopls/internal/test/integration/misc: fix TestAssembly for CL 639515
|
|
* gopls/internal/modernize: remove assignment in ranges
|
|
* gopls/internal/cache: filter **/foo match any depth
|
|
* gopls/internal/analysis/modernize: document workflow
|
|
* gopls/internal/util/fingerprint: split from cache/methodsets
|
|
* gopls/internal/golang: Implementations for func types
|
|
* gopls/doc/generate: add status in codelenses and inlayhints
|
|
* gopls: move gopls/doc/generate package
|
|
* gopls/internal/analysis/modernize: strings.Fields -> FieldsSeq
|
|
* gopls/internal/cache: reproduce and fix crash on if cond overflow
|
|
* gopls/internal/util/asm: better assembly parsing
|
|
* gopls/internal/cache/parsego: fix OOB crash in fixInitStmt
|
|
* gopls/internal/analysis/gofix: allow literal array lengths
|
|
* gopls/internal/analysis/gofix: add vet analyzer
|
|
* gopls/internal/analysis/gofix: generic aliases
|
|
* gopls/internal/analysis/modernize: rangeint: non-integer untyped constants
|
|
* gopls/internal/analysis/modernize: don't import slices within slices
|
|
* gopls/internal/analysis/modernize: append -> bytes.Clone
|
|
* gopls/internal/golang: add package symbols comment
|
|
* gopls/internal/analysis/gofix: register "alias" fact type
|
|
* gopls/internal/settings: correct SemanticTokenTypes source
|
|
* gopls/internal/test/integration/misc: only test asm on {arm,amd}64
|
|
* gopls/internal/test/integration/misc: fix "want" assembly
|
|
* gopls/internal/analysis/modernize: fix bug in rangeint
|
|
* gopls/internal/golang: Assembly: support package level var and init
|
|
* gopls/internal/golang: Assembly: update "Compiling" message
|
|
* gopls/internal: test fixes for some imports bugs
|
|
* gopls/internal/golang: fix crash when hovering over implicit
|
|
* gopls/internal/test: avoid panic in TestDoubleParamReturnCompletion
|
|
* gopls/internal/test/marker: skip on the freebsd race builder
|
|
* gopls: add a -severity flag for gopls check
|
|
* gopls/internal/settings: fix misleading error messages
|
|
* gopls/internal/golang: add missing json tags for hoverResult
|
|
* gopls/internal/analysis/gofix: use 1.24 iterators
|
|
* gopls/internal/analysis/gofix: inline most aliases
|
|
* gopls/internal/hover: show alias rhs type declaration on hover
|
|
* gopls/internal/test: fix failures when running tests with GOTOOLCHAIN
|
|
* gopls: temporarily reinstate the "Structured" hover kind
|
|
* gopls/internal/test/integration: better expectation failures
|
|
* gopls/internal: use go1.24-isms
|
|
* gopls/go.mod: update to go1.24
|
|
* gopls/internal/analysis/modernize: fix minmax bug
|
|
* gopls/doc: adjust nvim-lspconfig link target
|
|
* gopls/go.mod: update dependencies following the v0.18.0 release
|
|
* gopls/doc/features: tweak markdown
|
|
* gopls/internal/goasm: support Definition in Go *.s assembly
|
|
* gopls/internal/analysis/modernize: fix rangeint bug
|
|
* gopls/internal/golang: Add "Eliminate dot import" code action.
|
|
* gopls/internal/analysis/modernize: disable unsound maps.Clone fix
|
|
* gopls/internal/golang: make singleFileFixer like fixer
|
|
* gopls/internal/golang: use pgf.Cursor in CodeAction fix
|
|
* gopls: address various staticcheck findings
|
|
* gopls: fix diagnostics integration test
|
|
* gopls/internal/cache/parsego: add File.Cursor, and use it
|
|
* gopls/internal/analysis/modernize: sortslice: fix crash
|
|
* gopls/internal/analysis/simplifyrange: more precise fix
|
|
* gopls: fix a few bugs related to the new modcache imports source
|
|
* gopls/internal/analysis/unusedvariable: refine bug.Report golang/go#71812
|
|
* gopls/internal/analysis: simplify type-error analyzers with Cursor
|
|
* gopls/internal/analysis/modernize: handle parens
|
|
* gopls/internal/analysis/gofix: one function per kind
|
|
* gopls/internal/protocol: Avoid omitempty for integer fields
|
|
* gopls/internal/analysis/gofix: one function per pass
|
|
* gopls: tweak release notes
|
|
* gopls/internal/analysis/modernize: fix bug in minmax
|
|
- Packaging improvements:
|
|
* Update to BuildRequires: golang(API) >= 1.24 matching go.mod
|
|
|
|
-------------------------------------------------------------------
|
|
Thu May 8 21:58:42 UTC 2025 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
|
|
|
- Packaging improvements:
|
|
* 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.
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Feb 24 20:05:48 UTC 2025 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
|
|
|
- Update to version 0.18.1:
|
|
* gopls: update go.mod for v0.18.1-pre.2
|
|
* gopls/internal/settings: fix misleading error messages
|
|
* gopls/internal/golang: add missing json tags for hoverResult
|
|
* gopls: update go.mod for v0.18.1-pre.1
|
|
* gopls: temporarily reinstate the "Structured" hover kind
|
|
* gopls/internal/analysis/modernize: fix minmax bug
|
|
* gopls/internal/analysis/modernize: fix bug in minmax
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Feb 20 18:08:32 UTC 2025 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
|
|
|
- Update to version 0.18.0:
|
|
* gopls: update go.mod for v0.18.0-pre.6
|
|
* gopls/internal/analysis/modernize: fix rangeint bug
|
|
* gopls/internal/analysis/modernize: disable unsound maps.Clone fix
|
|
* gopls: update go.mod for v0.18.0-pre.5
|
|
* gopls: tweak release notes
|
|
* gopls: update go.mod for v0.18.0-pre.4
|
|
* gopls: fix a few bugs related to the new modcache imports source
|
|
* gopls/internal/analysis/modernize: sortslice: fix crash
|
|
* gopls: update go.mod for v0.18.0-pre.3
|
|
* gopls/internal/analysis/modernize: improve rangeint transformation
|
|
* gopls/internal/golang: avoid PackageSymbols errors with missing packages
|
|
* gopls/internal/analysis/gofix: rename local
|
|
* gopls/internal/analysis/gofix: check package visibility
|
|
* gopls: update go.mod for v0.18.0-pre.2
|
|
* gopls/internal/telemetry/cmd/stacks: remove leading \b match
|
|
* gopls: record telemetry counters for settings that are used
|
|
* gopls/internal/golang: folding range: remove FoldingRangeInfo
|
|
* gopls/internal/golang: add comment about SymbolKind
|
|
* gopls/internal/analysis/modernize: appendclipped: unclip
|
|
* gopls/internal/analysis/modernize: strings.Split -> SplitSeq
|
|
* gopls: update go.mod for v0.18.0-pre.1
|
|
* gopls/internal/analysis/modernize: slices.Delete: import slices
|
|
* gopls/internal/analysis/modernize: remove SortStable
|
|
* gopls: update go.mod for v0.18.0-pre.1
|
|
* all: update codereview.cfg for gopls-release-branch.0.18
|
|
* gopls/internal/cache: downgrade bug reports for inconsistent metadata
|
|
* gopls/internal/test/integration: reduce flakes in TestTelemetryPrompt
|
|
* gopls/internal/analysis/modernize: mapsloop: fix two bugs
|
|
* gopls/internal/analysis/modernize/cmd/modernize: create
|
|
* gopls/internal/analysis/gofix: use cursor API
|
|
* gopls/internal/util/moreiters: iterator functions
|
|
* gopls/internal/telemetry/cmd/stacks: tweak IgnoreSymbolContains
|
|
* gopls/doc/release/v0.18.0: describe inline analyzer
|
|
* gopls/internal/analysis/gofix: move and rename
|
|
* gopls/internal/analysis/modernize: for i := 0; i < n; i++ -> range n
|
|
* gopls/internal/cache/testfuncs: fix matching of test names
|
|
* gopls/doc/release: document the new workspaceFiles option
|
|
* gopls/internal/golang: support package symbols
|
|
* gopls/imports: use a module cache index
|
|
* gopls/internal/golang: hide signature help
|
|
* gopls/internal/server: embed style metadata in vulncheck progress
|
|
* gopls: skip unusedparams for generated files
|
|
* gopls/internal/golang: downgrade bug report in ExtractToNewFile
|
|
* gopls/internal/analysis/modernize: fix bug in slicescontains
|
|
* gopls/internal/protocol: delete MappedRange
|
|
* gopls/internal/server: gopls.vulncheck return both vuln report and token
|
|
* gopls/internal/golang: don't apply edits in codeAction/resolve
|
|
* gopls/internal/analysis: use Cursor.Edge in two analyzers
|
|
* gopls/internal/analysis/fillstruct: preserve existing formatting
|
|
* gopls: remove go.sum files from integration tests
|
|
* gopls: report SemanticHighlight for format string directives
|
|
* gopls: add WorkspaceFiles option
|
|
* gopls/internal/cache: add more debugging for golang/go#64235
|
|
* gopls/internal/telemetry/cmd/stacks: add dry run flag
|
|
* gopls/internal/test: update hover test to be tolerant proxy changes
|
|
* gopls/doc/release: add semantic token config change
|
|
* gopls/internal/settings: include deprecation message in api-json
|
|
* gopls/internal/analysis/modernize: slicesdelete
|
|
* gopls/internal/golang/completion: fix crash adding receiver type params
|
|
* gopls/internal/golang/completion: avoid crash in comment completion
|
|
* gopls/internal/analysis/modernize: omitzero
|
|
* gopls/internal/telemetry/cmd/stacks: build compiler from root
|
|
* gopls/internal/golang: improve "toggle compiler opt details"
|
|
* gopls/internal/protocol/command: remove the redundant gopls.test command
|
|
* gopls/internal/highlight: DocumentHighlight for format strings
|
|
* gopls/internal/golang: customize semantic token types and modifiers
|
|
* gopls/internal/telemetry/cmd/stacks: don't forward GOEXPERIMENT from env
|
|
* gopls/internal/telemetry/cmd/stacks: paginate issue search
|
|
* gopls/internal/analysis/modernize: replace loop with slices.Contains
|
|
* gopls/internal/telemetry/cmd/stacks: support cmd/compile
|
|
* gopls/internal/telemetry/cmd/stacks: refactor report processing to support different programs
|
|
* gopls/internal/telemetry/cmd/stacks: add cmd/compile support to readPCLineTable
|
|
* gopls/internal/util/frob: Decode: improve panic on empty
|
|
* gopls: filter out hints for closed files and make modernizers hints
|
|
* gopls/internal/protocol: optimized DocumentURI.Path for MODCACHE
|
|
* gopls/internal/analysis/modernize: fix bug in minmax
|
|
* gopls/internal/analysis/modernize: fix bug in mapsloop
|
|
* gopls: prepare for mod cache index
|
|
* gopls/internal/analysis/modernize: replace WithCancel with t.Cancel
|
|
* gopls/internal/analysis: unusedvariable
|
|
* gopls/internal/settings: document why unusedvariable is off
|
|
* gopls/internal/protocol: modernize to use any
|
|
* gopls/internal/settings: set severity=Info for modernizers
|
|
* gopls/internal/analysis/hostport: report net.Dial("%s:%d") addresses
|
|
* gopls/internal/util/persistent: {Map,Set}: use iter.Seq2
|
|
* gopls: update toolchain to go1.23.4
|
|
* gopls/internal/analysis/unusedfunc: analyzer for unused funcs/methods
|
|
* gopls/internal/golang: make GCDetails a code action, not a code lens
|
|
* gopls/internal/cache: remove overzealous bug.Report
|
|
* gopls/internal/filecache: Get: mitigate failure due to ENOSPC
|
|
* gopls: update telemetry dependency for crashmonitor fix
|
|
* gopls/internal/server: fix nil panic in findMatchingDiagnostics
|
|
* gopls/internal/cache/parsego: fix OOB panic in fixAST
|
|
* gopls/internal/util/moremaps: use Sorted throughout gopls
|
|
* gopls/internal/golang: definition support break, goto and continue statements
|
|
* gopls/internal/analysis/modernize: string formatting
|
|
* gopls/doc/features: add missing `
|
|
* gopls/internal/analysis/modernize: check FileVersions throughout
|
|
* gopls/internal/analysis/modernize: for...{m[k]=v} -> maps.Collect et al
|
|
* gopls/internal/cmd: update codelens.hlp, change -run to -exec
|
|
* gopls/internal/analysis/modernize: b.N -> b.Loop()
|
|
* gopls/internal/golang: check for nil ReceiverNamed
|
|
* gopls/internal/analysis/modernize: simplify append(base, s...)
|
|
* gopls/internal/analysis/modernize: replace interface{} with any
|
|
* gopls/internal/analysis/modernize: sort.Slice -> slices.Sort
|
|
* gopls/internal/analysis/modernize: quick fixes to modernize Go code
|
|
* gopls/internal/golang: hover support return statements
|
|
* gopls/internal/util/astutil: fix tiny doc typo
|
|
* gopls/internal/util/astutil: NodeContains: workaround for ast.File
|
|
* gopls/internal/golang: fix DocLink markup
|
|
* gopls/internal/cache: move symbols to the file cache
|
|
* gopls/internal/cache/testfuncs: fix crash with *error argument
|
|
* gopls/internal/golang/completion: fix crash in instance conversion
|
|
* gopls/internal/codeaction: replace all occurrences of expression (refactor.extract.variable.all)
|
|
* gopls/internal/golang: fix bug browsing assembly for (T).f methods
|
|
* gopls/internal/golang: definition support return statements
|
|
* gopls/internal/settings: drop experimental hoverKind=Structured
|
|
* gopls/go.mod: update dependencies following the v0.17.0 release
|
|
* gopls/internal/golang: Implementations: support generics
|
|
* internal/typesinternal: rollback of Zero{Value,Expr} for gopls
|
|
* gopls/internal/cache: move Snapshot.Symbols to symbols.go
|
|
* gopls/internal/cache/methodsets: support generics
|
|
* gopls/internal/golang: eliminate CollectScopes
|
|
* gopls/doc/release: tweak wording following feedback
|
|
* gopls/doc: update relnotes for v0.17.0
|
|
|
|
-------------------------------------------------------------------
|
|
Fri Jan 31 05:13:20 UTC 2025 - Timothy Brown <stimut@gmail.com>
|
|
|
|
- Update to version 0.17.1:
|
|
* gopls: update go.mod for v0.17.1-pre.1
|
|
* gopls/internal/cache/testfuncs: fix crash with *error argument
|
|
* gopls/internal/golang/completion: fix crash in instance conversion
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Dec 11 15:57:17 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
|
|
|
- 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
|
|
* gopls/internal/golang: preserve copyright and build constraint
|
|
* gopls/internal/test/marker: add defloc, to bind positions by definition
|
|
* gopls/internal/test/marker: document named parameters
|
|
* gopls/internal/golang/extract: preserve comments in extracted block
|
|
* gopls/internal/test/marker: ignore diags in fixedbugs/issue59944.txt
|
|
* gopls/internal/golang: fix gopls hover doc link
|
|
* gopls/doc/contributing.md: update expectations
|
|
* gopls/internal/analysis/undeclaredname: merge into CodeAction
|
|
* gopls/internal/test/marker: generalize codeaction with named args
|
|
* gopls/internal/golang: don't try to inline dynamic calls
|
|
* gopls/internal/cache: refine bug reports for inconsistent dep view
|
|
* gopls/internal/cache: fix handling of cgo standalone files
|
|
* gopls/internal/test: synchronize notifications during commands
|
|
* gopls/internal/cache: failure to extract diagnostic fixes is an error
|
|
* gopls/internal/server: remove spurious Async in legacy RunGoVulncheck
|
|
* gopls/internal/cache: use a named bool type for allowNetwork
|
|
* gopls/internal/protocol: add DocumentURI.DirPath
|
|
* gopls/internal/cache: simplify usage of snapshot.GoCommandInvocation
|
|
* gopls/internal/analysis/yield: analyzer for iterator (yield) mistakes
|
|
* gopls/internal/cache: id command-line-arguments packages using GoFiles
|
|
* gopls/internal/golang: more idiomatic result naming in extract
|
|
* gopls/internal/golang: special handling for input context.Context
|
|
* gopls/internal/golang, go/ssa: remove unnamed input parameter
|
|
* gopls: update go.mod for v0.17.0-pre.2
|
|
* gopls/internal/golang: fix bad slice append in function extraction
|
|
* gopls/codeaction: fix panic when removing unused parameters with syntax errors.
|
|
* gopls/internal/server: don't call window/showDocument if unsupported
|
|
* gopls/internal/golang: add missing imports in foo_test.go
|
|
* gopls/internal/server: revert the gopls.run_govulncheck command
|
|
* gopls/internal/golang: avoid crash in hover on field of non-struct
|
|
* gopls: update go.mod for v0.17.0-pre.1
|
|
* all: update codereview.cfg for gopls-release-branch.0.17
|
|
* gopls/internal/golang: refine crash report golang/go#69362
|
|
* gopls/internal/golang: support add test for receiver w/o constructor
|
|
* gopls/internal/golang: semtok: use type information consistently
|
|
* gopls/internal/protocol: upgrade to latest LSP
|
|
* gopls/internal/golang: strength reduce ComputeImportFixEdits
|
|
* gopls/internal/golang: show package attributes on hover
|
|
* gopls/doc: add missing doc link
|
|
* gopls/internal/cache: guard against malformed paths in port.matches
|
|
* gopls/internal/semtok: change types.Named to types.Basic for iota, true, and false
|
|
* gopls: update x/telemetry to pick up fix for countertest.ReadCounter
|
|
* gopls/internal/server: don't interact with os.UserConfigDir from tests
|
|
* gopls/internal/cache: ensure GO111MODULE is unset in GOPATH tests
|
|
* gopls/internal/golang: run testcases as subtests
|
|
* gopls/internal/golang: add testcase handling for func with error returns
|
|
* gopls/internal/cache: log go env in TestZeroConfigAlgorithm
|
|
* gopls/internal/golang: consolidate imports from both file in qualifier
|
|
* gopls/internal/golang: support generating test for functions
|
|
* gopls/internal/test/integration/workspace: fix TestStdWorkspace
|
|
* gopls/internal/golang: generate test name for selected function/method
|
|
* gopls/internal/golang: use correct imports in HTML pkg doc links
|
|
* gopls/internal/test: fix path to local go in integration tests
|
|
* gopls/internal/golang: add source code action for add test
|
|
* Revert "gopls/internal/analysis: disable ssa/ir analyzers on range-over-func"
|
|
* gopls: update honnef.co/go/tools (staticcheck) to v0.5.1
|
|
* gopls/internal: stubcalledfunction: improve logic of selecting insert position
|
|
* gopls/internal/template: fix completion token boundary conditions
|
|
* gopls/internal/cache: share type checking with analysis
|
|
* gopls/internal/cache/parsego: support lazy object resolution for Files
|
|
* gopls/internal/cache: memoize cache keys
|
|
* gopls/internal/cache: async pull diagnostics and joined analysis
|
|
* gopls/release: remove unused(?) script
|
|
* gopls/internal/cache: avoid reporting bugs when go/packages has errors
|
|
* gopls/internal/settings: remove "allowImplicitNetworkAccess"
|
|
* gopls/internal/cache: refine a bug report related to package metadata
|
|
* gopls/internal/cache: refine bug reports
|
|
* gopls/internal/telemetry/cmd/stacks: print double-claimed stacks
|
|
* gopls/internal/test/marker: rename s/suggestedfix/quickfix/
|
|
* gopls/internal/cache: add tolerance for builtin test variants
|
|
* gopls: allow for asynchronous request handling
|
|
* gopls/internal/telemetry/cmd/stacks: fix bad tmpreaper interaction
|
|
* gopls: remove cruft
|
|
* gopls/internal: CodeAction: quickfix to generate missing method
|
|
* gopls/internal/cache/analysis: lazily resolve the import map
|
|
* gopls/internal/test/integration/bench: add a pull diagnostics benchmark
|
|
* gopls/doc/features: add index of supported Code Actions
|
|
* gopls: add initial support for pull diagnostics
|
|
* gopls/internal/cache: use packageHandles to hold an active package cache
|
|
* gopls/doc/codelenses: fix link typo
|
|
* gopls/internal/golang/stubmethods: rename analysis/stubmethods
|
|
* gopls/internal/analysis/stubmethods: merge into CodeAction
|
|
* gopls/internal/cache: memoize dependent hash on analysisNode
|
|
* gopls/internal/cache: express packageHandle as a state machine
|
|
* gopls/internal/test/marker: update regression test issue68918.txt
|
|
* gopls/internal: fix extract refactor for cases with anonymous functions
|
|
* gopls/internal/server: CodeAction: interpret Only=[] as [QuickFix]
|
|
* gopls/rename: include filename in error message
|
|
* gopls/completion: tweak fuzz handling to make its own MethodSet
|
|
* gopls: update x/telemetry to pick up fix for golang/go#69681
|
|
* gopls/internal/test/integration/bench: add an IWL test that opens files
|
|
* gopls/internal/cache: remove unnecessary active package check
|
|
* gopls/internal/cache: add a few checks for context cancellation
|
|
* gopls/internal/cache: join concurrent package batch operations
|
|
* gopls: disable ast.Object resolution wherever possible
|
|
* gopls/internal/server: allow suppression of showDocument
|
|
* gopls/internal/protocol/command: simplify ApplyFix
|
|
* gopls/internal/golang: CodeAction: split into producers
|
|
* gopls/internal/telemetry/cmd/stacks: show build failure stderr
|
|
* gopls/internal/protocol/command: remove nuisance error handling
|
|
* gopls/internal/cache: add telemetry counter for GOPACKAGESDRIVER
|
|
* gopls/internal/test/integration: skip BenchmarkPackages with -short
|
|
* gopls/internal/cache: build the import map lazily during type checking
|
|
* gopls/internal/telemetry/cmd/stacks: display closed issues white
|
|
* gopls/internal/golang: Definition: jump to assembly
|
|
* gopls/internal/telemetry/cmd/stacks: predicate de-duplication
|
|
* gopls/internal/telemetry/cmd/stacks: fix two bugs
|
|
* gopls: rm GofumptFormat from internal/settings
|
|
* gopls/internal/telemetry/cmd/stacks: generate CodeSearch links
|
|
* gopls/internal/settings: use CodeActionKind hierarchy
|
|
* gopls: bump gofumpt to 0.7.0
|
|
* gopls/internal/lsp/source: put testing.T/B first when extracting
|
|
* gopls/internal/golang: Definitions: support renaming imports in doc links
|
|
* gopls/internal/server: fix build following semantic merge conflict
|
|
* gopls/internal: test discovery
|
|
* gopls/internal/golang: Highlight: work around go/types bug
|
|
* gopls: use Func.Signature everywhere
|
|
* x/tools/gopls: delete code obsoleted by go1.23
|
|
* internal/golang: add a fast path for FormatVarType with gopls at 1.23
|
|
* gopls/internal/settings: add missing deep cloning in Options.Clone
|
|
* gopls/go.mod: update the go directive to 1.23.1
|
|
* gopls: fix non-constant format strings
|
|
* gopls: update x/telemetry dependency
|
|
* gopls/internal/test/marker: simplify completion markers
|
|
* gopls: report semantic tokens of top-level type constructor modifiers
|
|
* gopls/internal/cache: add a note about GOMEMLIMIT and ballasts
|
|
* gopls/internal/cache: add a 100MB ballast to reduce GC CPU
|
|
* gopls/internal/util/lru: make lru.Cache generic
|
|
* gopls: increment the telemetryprompt acceptance counter for each session
|
|
* gopls/internal: implement Packages command
|
|
* gopls/internal: implement Modules command
|
|
* gopls/internal/settings: rename goTest code action to source.test
|
|
* gopls/internal/cache: remove spurious assertions
|
|
* gopls/internal/golang: downgrade assertion in methodsets index
|
|
* gopls: enhance read/write access distinction in document highlighting for symbols
|
|
* gopls/internal/analysis: add skipped analysis simplify on generated code
|
|
* gopls/internal/telemetry/cmd/stacks: use authentication token
|
|
* gopls/doc/features: fix prominent typo
|
|
* gopls/doc: delete commands.md
|
|
* gopls/internal/golang: add "Browse gopls features" code action
|
|
* gopls/internal/cmd: redesign codeaction subcommand
|
|
* gopls/doc/features: more doc tweaks
|
|
* gopls: update x/telemetry dependency
|
|
* gopls/internal/protocol/command: draft Packages/Modules API
|
|
* gopls/completion: prefer rangeable funcs in range statements
|
|
* gopls/internal/analysis/fillswitch: use qualified type names
|
|
* gopls/internal/golang: provide version info for stdlib in pkgdoc
|
|
* gopls/internal/server: add counters to inform v0.17.0
|
|
* gopls/doc: respond to Hana's review of CL 583316
|
|
* gopls/doc: document all of gopls' features
|
|
* gopls/internal/golang: provide version info for stdlib fields
|
|
* gopls/internal/analysis/fillstruct: use package name (not path) in UI
|
|
* gopls/internal/golang: splitlines: s/parameter/arguments/ in CallExpr
|
|
* gopls/internal/golang: splitlines: remove workaround for golang/go#68202
|
|
* gopls/internal/golang: don't panic when findKeyword fails
|
|
* gopls/internal/server: conditionally prompt for telemetry
|
|
* gopls/internal/golang: provide version info for stdlib methods
|
|
* gopls/internal/golang: provide available version info in stdlib hover
|
|
* gopls/internal/golang/completion: fix package clause completion suffix
|
|
* gopls/internal/golang: s/return values/results/
|
|
* gopls/internal/fuzzy: move the fuzzy package to gopls
|
|
* gopls/internal/cache: lift package caching to forEachPackage
|
|
* gopls/matcher: don't give bonus to case insensitive match
|
|
* gopls/completion: don't take address of interfaces for "%p" values
|
|
* gopls/internal: add code action "extract declarations to new file"
|
|
* gopls: skip failing tests on wasm/wasip1
|
|
* gopls/internal/golang: fix hovering from the builtin file
|
|
* gopls/internal/settings: remove fieldalignment analyzer
|
|
* gopls/internal/golang: strip @v1.2.3 suffix from pkgdoc URLs
|
|
* gopls/internal/analysis/simplifyrange: reenable on range-over-func
|
|
* gopls/internal/settings: define InlayHints enum
|
|
* gopls/internal/settings: move CodeActionKind values from protocol
|
|
* gopls/internal/server: fix CSS typo
|
|
* gopls/internal/settings: minor cleanups
|
|
* gopls/doc/generate: treat LinksInHover as an enum
|
|
* gopls/doc/assets: create dummy submodule for image files
|
|
* gopls/doc/release: finalize v0.16.0 release notes
|
|
* gopls/internal/settings: move CodeLensSource from protocol
|
|
* gopls/internal/test/integration/misc: skip asm test unless a{rm,md}64
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Sep 05 17:31:58 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
|
|
|
- Update to version 0.16.2:
|
|
* gopls: update go.mod for v0.16.2-pre.2
|
|
* gopls: update x/telemetry dependency
|
|
* gopls: increment the telemetryprompt acceptance counter for each session
|
|
* gopls: add x/tools replace directive
|
|
* gopls: update go.mod for v0.16.2-pre.1
|
|
* gopls: update x/telemetry dependency
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Jul 02 18:15:14 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
|
|
|
- Update to version 0.16.1:
|
|
* gopls: update go.mod for v0.16.1-pre.1
|
|
* gopls/internal/server: add counters to inform v0.17.0
|
|
* gopls/internal/golang: strip @v1.2.3 suffix from pkgdoc URLs
|
|
* internal/typeparams: fix crash in interface hover with empty type set
|
|
* gopls/internal/golang/completion: fix package clause completion suffix
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Jun 20 18:38:18 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
|
|
|
- Update to version 0.16.0:
|
|
* gopls: update go.mod for v0.16.0-pre.3
|
|
* gopls/internal/settings: move CodeLensSource from protocol
|
|
* gopls: update go.mod for v0.16.0-pre.2
|
|
* gopls/internal/golang: Hover: use internal pkg doc viewer
|
|
* gopls/internal/golang: improve ergonomics of "Browse documentation"
|
|
* gopls/internal/settings: simplify SetOptions
|
|
* gopls/internal/lsp/source: ignore lambdas in call hierarchy
|
|
* gopls/internal/golang: s/View/Browse/ for browser-based features
|
|
* gopls: expand on documentation about version support changes
|
|
* gopls/internal/test/integration/misc: skip ASM assertions on risc64
|
|
* gopls/doc/release: update gopls release notes for language support
|
|
* gopls/doc/emacs.md: use more precise before-save terminology
|
|
* gopls: update go.mod for v0.16.0-pre.1
|
|
* all: update codereview.cfg for gopls-release-branch.0.16
|
|
* gopls: update x/telemetry dependency
|
|
* gopls: update x/telemetry dependency
|
|
* gopls: fix StmtToInsertVarBefore for switch stmts
|
|
* gopls/internal/protocol/command/gen: omit unnecessary MarshalArgs calls
|
|
* gopls/internal/golang: s/Show/View/ for web-based reports
|
|
* gopls/internal/server: return a non-nil slice for empty token result
|
|
* gopls/internal/golang: factor the 3 web reports
|
|
* gopls/internal/golang: Web, an abstraction of server.web
|
|
* gopls/internal/server: simplify FreeSymbols plumbing
|
|
* gopls/internal/cache: stop module cache refresh on view shutdown
|
|
* gopls/internal/test/integration/misc: fix build
|
|
* gopls/internal/golang: add "Show assembly of f" code action
|
|
* gopls/internal/test/integration: style tweaks to CodeAction
|
|
* gopls/internal/protocol/command: use gopls.foo form everywhere
|
|
* gopls/internal/cmd: cleanup progress handling
|
|
* gopls/internal/test: add test case for parameter rename match import
|
|
* gopls/internal/server: fix regression in organize imports code action
|
|
* gopls/internal/cache: fix module resolver cache refreshing
|
|
* gopls/rename: Fix spurious package name conflicts.
|
|
* gopls: warn about Go 1.19 and Go 1.20
|
|
* gopls/internal/filecache: suppress gc in tests
|
|
* gopls/internal/cache: suppress "internal" import check on Bazel
|
|
* gopls/internal/cache: check viewMap before altering views
|
|
* gopls/internal/test/marker: simplify seedCache file
|
|
* gopls/internal/cache: use a better view in viewOfLocked
|
|
* gopls: make tests tolerant of new go/types error format
|
|
* gopls/internal/test/marker: seed the cache before running tests
|
|
* Revert "gopls/internal/settings: enable semantic tokens by default"
|
|
* gopls/internal/golang: OutgoingCalls: fix crash on unsafe.Slice
|
|
* gopls/internal/cache: improve missing import error message
|
|
* gopls/internal/golang: skip TestFreeRefs on js
|
|
* gopls/internal/server: support InsertReplaceEdit completion
|
|
* gopls/internal/golang: unexport more declarations
|
|
* gopls/internal/server: avoid VS Code lightbulb
|
|
* gopls: initial support for godebug directive in go.mod and go.work
|
|
* gopls/doc: split codelenses out of settings
|
|
* gopls/internal/analysis/simplifyrange: suppress on range-over-func
|
|
* gopls/internal/protocol: customize InsertReplaceEdit JSON unmarshal
|
|
* gopls/internal/golang: unexport several functions
|
|
* gopls/internal/test/integration: fix race in TestGCDetails_Toggle
|
|
* gopls/doc: tidy up analyzer documentation
|
|
* gopls/internal/golang: fix bug in freeRefs algorithm
|
|
* gopls/internal/golang: "Show free symbols" code action
|
|
* gopls/internal/golang: remove test debugging aix-ppc64 issue
|
|
* gopls/internal/protocol: separate CodeLens from Command; document
|
|
* gopls: remove dead code
|
|
* gopls: upgrade x/telemetry to pick up CL 586195
|
|
* gopls/internal/test/marker: fix analyzers.txt test that requires cgo
|
|
* gopls/internal/protocol: rename DocumentChange{s,}
|
|
* gopls: support four kinds of DocumentChanges
|
|
* gopls/internal/cache: use 1 not 0 for missing line/col info
|
|
* gopls/internal/cache: support overlays
|
|
* gopls/doc/generate: add link anchors to each setting
|
|
* gopls: further minor generator simplifications
|
|
* gopls: upload from telemetry.Start, rather than upload.Run
|
|
* gopls: upgrade x/telemetry to latest
|
|
* gopls/internal/settings: annotate TestVetSuite with NeedsTool("go")
|
|
* gopls/internal/golang: fix another crash in RenderPackageDoc
|
|
* gopls/internal/golang: RenderPackageDoc: fix param truncation crash
|
|
* gopls/doc/release: add release notes for struct tag hover info
|
|
* gopls/internal/golang: show struct tag when hovering over fields
|
|
* gopls/internal/server: discard non-file scheme workspace folder URIs
|
|
* gopls/internal/cache: fix bug.Report converting Diagnostic positions
|
|
* gopls/internal/test/integration/misc: disable another staticcheck test
|
|
* gopls/internal/settings: add framepointer,sigchanyzer analyzers
|
|
* gopls/internal/test/integration/misc: disable staticcheck test
|
|
* gopls/internal/test: avoid std assumptions in range-over-func test
|
|
* gopls: rationalize code generation
|
|
* gopls/internal/protocol: rationalize edit helpers
|
|
* gopls/internal/golang: simplify "rewrite" code actions
|
|
* gopls/internal/cache: simplify Snapshot Go commands
|
|
* gopls/internal/analysis: disable ssa/ir analyzers on range-over-func
|
|
* gopls/internal/protocol: add links to LSP spec
|
|
* gopls/internal/golang: fix nil panic in InlayHint
|
|
* gopls/internal/golang/completion: fix the isEmptyInterface predicate
|
|
* gopls/internal/cache: use language versions when validating Go version
|
|
* gopls: normalize logging attributes
|
|
* gopls/internal/golang: fix resolution of in-package implementations
|
|
* gopls/internal/cache: add more assertions for golang/go#60890
|
|
* gopls/internal/golang: check the comment range before emiting semantic tokens
|
|
* Revert "gopls/internal/test/integration/misc: reenable staticcheck test"
|
|
* gopls/internal/test/integration/misc: reenable staticcheck test
|
|
* gopls: fix a couple places where temporary files are not removed
|
|
* gopls/internal/settings: deprecate "allowImplicitNetworkAccess"
|
|
* gopls/internal/settings: remove support for "allowModfileModifications"
|
|
* gopls/internal/settings: enable semantic tokens by default
|
|
* gopls/internal/settings: remove experiments
|
|
* gopls/internal/golang: allow "query" CodeActions on generated files
|
|
* gopls/internal/golang: RenderPkgDoc: elide parameters 4+ in index
|
|
* gopls/internal/settings: update stale documentation for "symbolScope"
|
|
* gopls: eliminate the hooks package
|
|
* gopls/internal/server: don't reset views if configuration did not change
|
|
* gopls/internal/cmd: check: print RelatedInformation
|
|
* gopls/doc: relnote for hover & definition over doc links
|
|
* gopls/internal/test/marker: fix {hover/def}/comment tests
|
|
* gopls/internal/cache: fail loudly on command-line-arguments modules
|
|
* gopls/internal/golang: support hover and definition operations over doc links
|
|
* gopls/internal/server: avoid duplicate diagnoses and loads
|
|
* gopls/internal/cache: don't log packages when selectively reloading
|
|
* gopls: reduce noisy error messages
|
|
* gopls/internal/test: skip integration tests on linux-ppc64-power9osu
|
|
* gopls/internal/cache: add debug assertions to refine golang/go#66732
|
|
* gopls/internal/cache: avoid panic when the primary diagnostic is broken
|
|
* gopls/internal/telemetry/cmd/stacks: improve summary
|
|
* gopls/internal/golang: RenderPkgDoc: fix anchors for promoted methods
|
|
* gopls/internal/server: report HTTP panics via telemetry
|
|
* gopls/internal/cache: analysis: repair start/end and refine bug report
|
|
* gopls/internal/golang: RenderPkgDoc: add <title> element
|
|
* gopls/internal/golang: RenderPkgDoc: navigational <select>
|
|
* gopls/internal/test/marker/testdata: skip hover size tests on 32-bit arm
|
|
* gopls/internal/golang: Hover: show wasted % of struct space
|
|
* gopls/internal/test/integration/misc: fix flaky test
|
|
* gopls/internal/analysis/fillreturns: skip test if gotypesalias=1
|
|
* gopls/internal/cache: fix crash in snapshot.Analyze with patch versions
|
|
* gopls/internal/server: filter diagnostics to "best" views
|
|
* gopls/internal/test/integration: add a WriteGoSum run option
|
|
* gopls/internal/golang: RenderPackageDoc: fix doc links
|
|
* gopls/internal/test: temporarily disable staticcheck with gotypesalias=1
|
|
* gopls/internal/golang: RenderPackageDoc: emit anchors for var/const
|
|
* gopls/internal/server: "view package doc" of package under test
|
|
* gopls/internal/golang: view pkg doc: display when "disconnected"
|
|
* gopls/doc/release/v0.16.0.md: augment notes for "view pkg doc"
|
|
* gopls/internal/settings: enable "unusedwrite" analyzer
|
|
* gopls/internal/golang: hover: show size/offset info
|
|
* gopls/internal/golang: work around bug in go/doc
|
|
* gopls/internal/test: option to suppress LSP logs on failure
|
|
* gopls: add explicit Unalias operations
|
|
* gopls: update x/vuln to 1.0.4
|
|
* gopls/internal/server: redo completion counters
|
|
* gopls: use slices package for reverse slice
|
|
* gopls/internal/golang: don't suggest removeparam when there are errors
|
|
* gopls/internal/golang: support removing unused parameters from methods
|
|
* gopls/internal/golang: fix build breakage due to semantic conflict
|
|
* gopls/internal/server: add "View package documentation" code action
|
|
* gopls/internal/test/marker: remove runtime.GOROOT from format.txt case
|
|
* gopls/internal/cache: rename methods on Package
|
|
* gopls: fix test failures due to quoting of names in go/types errors
|
|
* gopls: repair premature commit of 562248
|
|
* gopls: Measure the efficacy of completions
|
|
* gopls/internal/server: update telemetry prompt link
|
|
* gopls/internal/golang: fix crash in package references
|
|
* gopls/internal/server: fix crash in SignatureHelp
|
|
* gopls/internal/analysis/stdversion: suppress before go1.21
|
|
* gopls/internal/analysis/stdversion: set RunDespiteErrors
|
|
* gopls/internal/golang/completion: honor std symbol versions (imported)
|
|
* gopls/internal/server: set -mod=readonly when checking for upgrades
|
|
* gopls/internal/cache: avoid go/types panic on version "go1.2.3"
|
|
* gopls/internal/cache: fix spurious diagnostics in multi-root workspaces
|
|
* gopls/internal/cache: add assertions for telemetry crash
|
|
* gopls/internal/golang/completion: honor std symbol versions (unimported)
|
|
* gopls/internal/server/semantic: highlight the doc links in comments
|
|
* gopls/internal/analysis/stdversion: report refs to too-new std symbols
|
|
* gopls/internal/cache: prune broken edges to command-line-arguments pkgs
|
|
* gopls/protocol: update LSP to latest version
|
|
* gopls/internal/cache: add debug assertions for bug report
|
|
* gopls/doc: address additional comments on workspace.md
|
|
* gopls/internal/analysis: add fill switch cases code action
|
|
* gopls/internal/test: add test for NPE in control flow highlighting
|
|
* gopls: add non nil if check around function result highlight
|
|
* gopls: implement code action to split/group lines
|
|
* gopls: upgrade dependencies following the v0.15.0 release
|
|
* gopls/doc: update workspace documentation for zero-config gopls
|
|
* gopls: rationalize "deref" helpers
|
|
* gopls/internal/test/marker: add a test for initialization cycle errors
|
|
* gopls/internal/cache: don't create Views for vendored modules
|
|
* gopls/internal/cache: fix two bugs related to workspace packages
|
|
* gopls/internal/golang: highlight typeswitch break correctly
|
|
* gopls/internal/settings: default "includeReplaceInWorkspace" to false
|
|
* gopls/internal/test/integration/fake: set LSP client name
|
|
* gopls/internal/golang: enable bug.Report in semantic tokens
|
|
* gopls/internal/golang: add semantic tokens for control labels
|
|
* gopls/internal/golang: SemanticTokens: edits for clarity
|
|
* gopls/internal/cache: remove parsego.* aliases
|
|
* gopls/release: remove obsolete validateHardCodedVersion
|
|
* gopls/internal/server: fix a (mostly) benign race in diagnostics
|
|
* gopls/internal/server: disambiguate diagnostics by OS,ARCH
|
|
* gopls/internal/test/integration: ignore telemetry prompt in assertion
|
|
* gopls/internal/golang: remove a use of panic for flow control
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Apr 15 22:21:28 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
|
|
|
- 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
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Mar 11 20:48:17 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
|
|
|
- Update to version 0.15.2:
|
|
* gopls: update go.mod for v0.15.2-pre.2
|
|
* gopls/internal/server: update telemetry prompt link
|
|
* gopls/internal/golang: fix crash in package references
|
|
* gopls/internal/server: fix crash in SignatureHelp
|
|
* gopls: update go.mod for v0.15.2-pre.1
|
|
* gopls/internal/cache: add assertions for telemetry crash
|
|
* gopls/internal/server: set -mod=readonly when checking for upgrades
|
|
* gopls/internal/cache: avoid go/types panic on version "go1.2.3"
|
|
* gopls/internal/cache: fix spurious diagnostics in multi-root workspaces
|
|
* gopls/internal/cache: prune broken edges to command-line-arguments pkgs
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Feb 28 17:53:41 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
|
|
|
- Update to version 0.15.1:
|
|
* gopls: update go.mod for v0.15.1-pre.1
|
|
* gopls/internal/test: add test for NPE in control flow highlighting
|
|
* gopls: add non nil if check around function result highlight
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Feb 26 21:39:43 UTC 2024 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
|
|
|
- Update to version 0.15.0:
|
|
* gopls: update go.mod for v0.15.0-pre.5
|
|
* gopls/internal/cache: don't create Views for vendored modules
|
|
* gopls/internal/cache: fix two bugs related to workspace packages
|
|
* gopls/internal/settings: default "includeReplaceInWorkspace" to false
|
|
* gopls: update go.mod for v0.15.0-pre.4
|
|
* gopls/internal/server: disambiguate diagnostics by OS,ARCH
|
|
* gopls: update go.mod for v0.15.0-pre.3
|
|
* gopls/internal/test/integration: slightly more ergonomic FolderSettings
|
|
* gopls/internal/server: fix two bugs related to dynamic configuration
|
|
* gopls/internal/golang: close open file
|
|
* gopls: update x/telemetry dependency to fix crash
|
|
* gopls: record that v0.15 will be the last to support go1.18
|
|
* gopls/internal/settings: add a hidden option to disable zero config
|
|
* gopls/internal/golang: add resolve support for inline refactorings
|
|
* gopls/internal/cache: treat local replaces as workspace modules
|
|
* gopls/internal/cache: check views on any on-disk change to go.mod files
|
|
* gopls: update telemetry
|
|
* gopls/internal/cache: fix crash in analysis
|
|
* gopls/internal/utils/immutable: remove unused Map.Keys
|
|
* gopls/semantic: elide zero-length tokens
|
|
* gopls/doc: audit for types.Alias safety
|
|
* gopls: update go.mod for v0.15.0-pre.2
|
|
* gopls/internal/cache: prime goimports cache asynchronously
|
|
* gopls/internal/cache: share goimports state for GOMODCACHE
|
|
* gopls/internal/test/integration/bench: improve completion benchmarks
|
|
* gopls/internal/test/marker: skip on LUCI solaris builders
|
|
* gopls/internal/test/integration: add a test for an inner go.work file
|
|
* gopls/internal/settings: deprecate "allowModfileModifications"
|
|
* gopls/internal/cache: remove findWorkspaceModFile
|
|
* gopls/internal/cache: detect and reinit on workspace vendor changes
|
|
* gopls/internal/golang: add missing check for nil funcBody
|
|
* gopls/internal/golang: move Go semantic tokens out of server
|
|
* gopls: remove unused parameters
|
|
* gopls/internal/cache: add assertions for export data inconsistency
|
|
* gopls/internal/cache: support workspace vendoring
|
|
* gopls/internal/golang: downgrade bug.Reportf for missing builtin
|
|
* gopls/internal/cache: allow command-line-package >1 CompileGoFiles
|
|
* gopls/internal/cache/metadata: assert graph is acyclic
|
|
* gopls/internal/golang: hover: show embedded fields
|
|
* gopls/internal/lsp/source: highlight returns correctly
|
|
* gopls: enable crashmonitor for unexpected crashes
|
|
* gopls: update third party dependencies
|
|
* gopls/internal/test/marker: reject "module testdata"
|
|
* gopls/internal/analysis/undeclaredname: improve fix name
|
|
* gopls/internal/test/marker/testdata: move test to correct location
|
|
* gopls/internal/cache/imports: simplify importsState invalidation
|
|
* gopls/internal/golang: hover: show type's methods after doc comment
|
|
* gopls: update x/telemetry dependency
|
|
* gopls/internal/test/integration/bench: fix broken benchmarks
|
|
* gopls/internal/cache: memoize the view filter func
|
|
* gopls/internal/cache: skip TestZeroConfigAlgorithm on wasm
|
|
* gopls/doc/emacs.md: explain how to organize imports automatically
|
|
* gopls/internal/golang: don't bug.Report repaired ASTs in hover
|
|
* gopls/internal/test: await quiescence in TestInconsistentVendoring
|
|
* gopls/doc: s/source/golang/ in the SVG file
|
|
* gopls: manual tweaks after the lsp/ -> . rename
|
|
* gopls/internal/protocol/command: move from ../lsp
|
|
* gopls/internal/protocol: move out of lsp/
|
|
* gopls/internal/cache: move out of lsp/
|
|
* gopls/internal/golang: move from lsp/source
|
|
* gopls/internal/lsprpc: move out of lsp/
|
|
* gopls: use relative watched file patterns if supported
|
|
* gopls/internal/progress: simplify API
|
|
* gopls/internal/progress: move from lsp/
|
|
* gopls/internal/telemetry/cmd/stacks: include client name in report
|
|
* gopls/internal/lsp/lsprpc: radically reduce API
|
|
* gopls/doc: add Helix editor documentation for gopls
|
|
* gopls/internal/test/integration: add regtest for hover crash
|
|
* gopls/internal/lsp/cache: clean up public API
|
|
* gopls/internal/lsp/cache: don't report a bug for standalone test files
|
|
* gopls/internal/lsp/source: address problems detected by staticcheck
|
|
* gopls/internal/test/marker: re-enable some tests
|
|
* gopls: consolidate analyzers, eliminating "convenience" analyzers
|
|
* gopls/internal/lsp/cache: allow versions of form "go1.2.3"
|
|
* gopls/internal/lsp/cache: fix bug reports from toGobDiagnostics
|
|
* gopls/internal/lsp/source: move Go CodeActions logic from server
|
|
* gopls/internal/lsp/source: show promoted methods in hover
|
|
* gopls/doc/design: rewrite the architecture overview
|
|
* gopls/internal/version: amend the year in a recent copyright header
|
|
* gopls/internal/lsp/source: factor edit conversion utils
|
|
* gopls/internal/server: analyze widest packages for open files
|
|
* gopls: add a main.version variable to override the version at linktime
|
|
* gopls/internal/lsp/source/completion: infer parameter types
|
|
* gopls/internal/lsp/source: fix Fix titles
|
|
* gopls/internal/test/marker: fix test breakage due to semantic conflict
|
|
* gopls/internal/analysis/unusedparams: eliminate false positives
|
|
* gopls/internal/lsp/protocol: fix TestURIFromPath on windows
|
|
* gopls/internal/test/marker: update skip comment for addgowork.txt
|
|
* gopls/internal/server: simplify DiagnoseFiles to avoid a race
|
|
* gopls/internal/test/integration: fix flakiness of TestResolveImportCycle
|
|
* gopls/internal/lsp/protocol: deliver log messages in order
|
|
* gopls/internal/test/marker: skip on solaris-amd64-oraclerel
|
|
* gopls: simplify gopls command configuration
|
|
* gopls/internal/test/marker: regenerate golden data
|
|
* gopls/internal/lsp/source/stub: trim version suffix from module path
|
|
* gopls/internal/lsp/cache: (re-)ensure clean shutdown
|
|
* gopls/internal/lsp/source/completion: support postfix completion (iferr,
|
|
* gopls/internal/lsp/source: add receiver name to stubbed methods
|
|
* gopls/internal/test: skip marker tests on darwin builders if -short
|
|
* gopls: update go.mod for v0.15.0-pre.1
|
|
* all: update codereview.cfg for gopls-release-branch.0.15
|
|
* gopls/internal/lsp/cache: address additional comments from CL 553095
|
|
* gopls/internal/cmd: factor three loops in fix subcommand
|
|
* gopls/internal/lsp/cache: simplify critical errors
|
|
* gopls/internal/lsp/cache: don't scan for modules when defining a view
|
|
* gopls/internal/lsp/cache: remove validBuildConfiguration
|
|
* gopls/stub: support for method generation with same name but different receiver
|
|
* gopls/internal/lsp/source/completion: complete return snippet
|
|
* gopls/internal/lsp/cache: add dynamic build tag support
|
|
* gopls/internal/lsp/source: simplify SuggestedFix plumbing
|
|
* gopls/internal/server: simplify fileOf (née beginFileRequest)
|
|
* gopls/internal/lsp/cache: add support for checking views from tests
|
|
* gopls/internal/lsp/cache: associate env with folders, not views
|
|
* gopls/internal/lsp/cache: finish integrating the zero-config algorithm
|
|
* gopls/internal/lsp/cache: don't preserve sequence IDs in updated views
|
|
* gopls/internal/lsp/cache: switch to new bestViewForURI logic
|
|
* gopls/internal/lsp/cache: add views for unused modules in selectViews
|
|
* gopls/internal/work: fix crash during go.work completion
|
|
* gopls/internal/lsp/cache: add the zero-config algorithm, and a unit test
|
|
* gopls/internal/lsp/cache: simplify view definitions
|
|
* gopls/internal/lsp/cache: reconcile view modes and workspace packages
|
|
* gopls/internal: remove myers diff implementation from gopls
|
|
* gopls/internal: remove old diff
|
|
* gopls/internal/server: print stderr in go mod vendor error message
|
|
* gopls/internal/server: rewrite the server diagnostic tracking
|
|
* gopls/internal/lsp/cache: do not block View.Shutdown on Snapshot work
|
|
* gopls/internal/lsp/cache: allow "" or "null" Diagnostics.Data
|
|
* gopls: remove dead types and fields
|
|
* gopls/internal/lsp/protocol: request.params is optional
|
|
* gopls/internal/lsp/source: rename: update the doc link associated with the object
|
|
* gopls/internal/test: set GOPACKAGESDRIVER=off for new marker tests
|
|
* gopls/internal/test/marker: minor clean up of marker test doc
|
|
* gopls/internal/lsp/source: hovering over broken packages is not an error
|
|
* gopls/internal/analysis/fillstruct: don't panic with invalid fields
|
|
* gopls/internal/util/goversion: warn about EOL for Go 1.18
|
|
* gopls/internal/settings: remove MemoryMode option
|
|
* gopls/protocol: Allow AnnotatedTextEdits
|
|
* gopls/internal/analysis/stubmethods: fix OOB panic in fromValueSpec
|
|
* gopls/internal/lsp/protocol: report panics in RPC goroutines
|
|
* gopls/internal: don't bug.Report when given an invalid position
|
|
* gopls/internal/lsp/source: forgive inliner failures in ill-typed code
|
|
* gopls/internal/lsp/source: improve method hover
|
|
* gopls/internal/server: tidy imports, fix build
|
|
* gopls/internal/lsp/protocol: eliminate NonstandardRequest
|
|
* gopls/internal/analysis: improve analyzer docs
|
|
* gopls/internal/lsp/source: add test for rename spurious shadowing
|
|
* Revert "gopls/internal/server: rewrite the server diagnostic tracking"
|
|
* gopls/doc: add a note updating the original design doc
|
|
* gopls/internal/server: rewrite the server diagnostic tracking
|
|
* gopls/internal/lsp/cache: move gc_details toggle state to the snapshot
|
|
* gopls/internal/cmd: remove gopls.run_vulncheck example
|
|
* gopls/internal/lsp/cache/parsego: clamp positions when fixing statements
|
|
* gopls/internal/lsp/protocol/generate: restore indentation
|
|
* gopls/internal/cmd: add 'execute' command
|
|
* gopls/internal/test/marker: move ExitIfSmallMachine back to TestMain
|
|
* gopls/internal/lsp/source/completion: support more postfix completion for map and slice (len, for, forr)
|
|
* gopls/internal/server: simplify snapshot diagnostics
|
|
* gopls/internal/lsp/server: simplify logic for diagnosing changed files
|
|
* gopls/internal/test: move the tests
|
|
* gopls/internal/lsp: remove lsp path segment
|
|
* gopls/internal/util: more renamings
|
|
* gopls/internal/analysis: rename lsp/analysis -> analysis
|
|
* gopls: move marker tests to internal/test/marker
|
|
* gopls/internal/server: superficial clean up of diagnostics
|
|
* gopls/internal/lsp: delete dead code
|
|
* gopls/protocol/generate: files to generate lsp stubs
|
|
* gopls: update lsp stubs
|
|
* gopls/internal/util: move lru,frob,bug,{ast,types,path}util here
|
|
* gopls/internal/server: rename from lsp
|
|
* gopls/internal/lsp/cache/metadata: rename Metadata to Package
|
|
* gopls/internal/regtest: avoid file segments ending in a period
|
|
* gopls/internal/lsp/cache: move ignoreFilter onto View
|
|
* gopls/internal/lsp: remove analysisMode, and other unused params
|
|
* gopls/internal/lsp: cleanups to view logic
|
|
* gopls: remove unnecessary conversions
|
|
* gopls/internal/lsp/source: fix hover for objects in unsafe
|
|
* gopls/internal/lsp: invert the import between cache and source
|
|
* gopls/internal/lsp/source: eliminate AnalyzerErrorKind
|
|
* gopls/internal/lsp/cache: clean up more references to the source package
|
|
* gopls/internal/lsp/source/typerefs: move to ../cache/typerefs
|
|
* gopls/internal/lsp/source/methodsets: move to ../cache/methodsets
|
|
* gopls/internal/lsp/source/xrefs: move to ../cache/xrefs
|
|
* gopls/internal/lsp/cache: move parsing types / algorithm to parsego
|
|
* gopls/internal/lsp/cache: split metadata related types into a package
|
|
* gopls/internal/lsp/cache: move load diagnostics to packageHandle
|
|
* gopls/internal/telemetry/cmd/stacks: skip gopls@devel
|
|
* gopls/internal/lsp: factor showMessage calls
|
|
* gopls: enable telemetry uploading only with 'serve'
|
|
* gopls/internal/lsp/protocol: reject non-'file' scheme DocumentURIs
|
|
* gopls/internal/lsp/source/extract: don't assume Scope.Pos
|
|
* gopls/internal/lsp/source: move NodeContains into the astutil pkg
|
|
* gopls/internal/lsp/cache: clean up unnecessary type checking indirection
|
|
* gopls/internal/lsp/cache: don't rebuild filters for each modcache dir
|
|
* gopls/internal/lsp/cache: move quick-fix bundling logic to the cache pkg
|
|
* gopls/internal/cmd/help_test.go: document
|
|
* gopls/internal/lsp/source: stubmethods: fix out-of-bounds index
|
|
* gopls/internal/lsp/source: move edit logic into the protocol package
|
|
* gopls/internal/lsp/cache: move SuggestedFixFromCommand into cache
|
|
* gopls/internal/lsp/source: extract InDir to a new pathutil package
|
|
* gopls/internal/lsp/cache: simplify named error values
|
|
* gopls/internal/lsp/cache: use local aliases for all source objects
|
|
* gopls/internal/lsp/cache: avoid problematic use of goCommandInvocation
|
|
* gopls/internal/lsp/cache: remove workspaceMode
|
|
* gopls: remove the "tempModFile" setting
|
|
* gopls/internal/lsp: simplify mod update commands
|
|
* gopls: simplify the Snapshot and View interfaces
|
|
* gopls/internal/lsp/cache: export Snapshot
|
|
* gopls/internal/lsp/source: remove View.Snapshot
|
|
* gopls: remove the "chattyDiagnostics" setting
|
|
* gopls: remove the LiteralCompletions option
|
|
* gopls/internal/lsp/cache: move go.work parsing into the view
|
|
* Revert "gopls/internal/lsp/source: fix rename spurious shadowing error"
|
|
* gopls/internal/lsp: eliminate server code generation
|
|
* gopls/internal/lsp/source: fix rename spurious shadowing error
|
|
* gopls/test: eliminate, by moving tests to more appropriate places
|
|
* gopls: move settings to a settings package
|
|
* gopls: move file-related types to a 'file' package
|
|
* gopls/internal/lsp/source: make source.Analyzer pure configuration
|
|
* gopls/internal/lsp/source: fix panic in definition(error.Error)
|
|
* gopls/internal/lsp: remove redundant conversions
|
|
* gopls/internal/lsp/fake: inline fake.toURI away
|
|
* gopls/internal/lsp/protocol: delete $GOROOT hack in URIFromPath
|
|
* gopls/internal/lsp/protocol: rename URI.Filename -> Path
|
|
* gopls/internal/lsp/protocol: inline .SpanURI() away
|
|
* gopls/internal/lsp/protocol: inline URIFromSpanURI away
|
|
* gopls/internal/lsp/span: inline URI away
|
|
* gopls/internal/span: inline URIFromPath away
|
|
* gopls/internal/telemetry/cmd/stacks: create GH issues from telemetry
|
|
* gopls/internal/cmd: remove "span" import, make Span private
|
|
* gopls/internal/span: identify span.URI and protocol.DocumentURI
|
|
* gopls/internal/lsp: add code action for conversion between raw and interpreted string
|
|
* gopls/internal/lsp/cache: rename workspaceInformation to viewDefinition
|
|
* gopls/internal/lsp/cache: remove unused Session.ModifyFiles
|
|
* gopls/internal/lsp/cache: move upgrades and vulns onto the snapshot
|
|
* gopls/internal/lsp/cache: exclusively use persistent data in snapshot
|
|
* Revert "gopls/internal/lsp/cache: remove baseCtx from the View"
|
|
* all: add versions.InitFileVersions to gopls where needed
|
|
* gopls: remove ineffectual skips
|
|
* gopls/internal/span: delete SameExistingFile
|
|
* gopls/internal/lsp/protocol: include docs for {,Document}URI
|
|
* gopls/internal/cmd: move span.{Span,Point} to cmd
|
|
* gopls: upgrade x/telemetry and account for new mode logic
|
|
* gopls/internal/lsp/cache: avoid span.Parse{,InDir}
|
|
* gopls/internal/goversion: split out of lsp (server) package
|
|
* gopls/internal/lsp: tweak docs
|
|
* gopls/internal/lsp/cmd: move to ../cmd
|
|
* gopls/internal/lsp: move semantic token helpers to protocol pkg
|
|
* gopls/internal/lsp: unexport Server
|
|
* gopls/internal/lsp: restore Server.semanticTokens{Full,Range}
|
|
* gopls/internal/lsp/source: fix panic on T(x) conversion
|
|
* gopls/internal/lsp/regtest: minor clean up of marker.go
|
|
* gopls/internal/lsp: unify semanticTokens{Full,Range}
|
|
* gopls/internal/regtest/marker: port remaining marker tests
|
|
* gopls/internal/regtest/marker: port the selectionrange markers
|
|
* gopls/internal/regtest/marker: clean up some random packages
|
|
* gopls/internal/lsp/tests: remove AddImport support
|
|
* gopls/internal/regtest/marker: port the semantic tokens tests
|
|
* gopls/internal/regtest/marker: port the inlay hint tests
|
|
* gopls/internal/regtest/marker: port remaining rename tests
|
|
* gopls/internal/regtest/marker: trim redundant header from golden diffs
|
|
* gopls/internal/regtest/marker: use diffs for rename tests
|
|
* gopls/internal/regtest/marker: porting remaining suggestedfix tests
|
|
* gopls/internal/lsp/cmd: add codelens subcommand
|
|
* gopls/internal/regtest/marker: use line-based myers diff implementation
|
|
* gopls/internal/regtest/marker: port the stub tests
|
|
* gopls/internal/regtest/marker: port the invertifcondition tests
|
|
* gopls/internal/lsp/mod: clarify inlayhint comment
|
|
* gopls/internal/regtest/marker: porting extract tests
|
|
* gopls/internal/regtest/marker: use golden diffs for suggested fixes
|
|
* gopls/internal/lsp/source: fix signatureHelp with pointer receivers
|
|
* gopls/internal/lsp/cache: remove baseCtx from the View
|
|
* gopls/internal/lsp/cache: remove forceReloadMetadata from clone
|
|
* gopls/internal/lsp/cache: pass workspace information into createView
|
|
* gopls/internal/lsp/cache: isolate getWorkspaceInformation from Session
|
|
* gopls/internal/lsp/source: enable nilness Analyzer in gopls
|
|
* gopls: remove dead code
|
|
* gopls/internal/lsp/cache: allow duplicate analyzer names
|
|
* gopls/internal/regtest/marker: port half of the suggestedfix markers
|
|
* gopls/internal/lsp/cache: move 'contains' from snapshot to view
|
|
* gopls/internal/lsp/cache: make options immutable on the View
|
|
* gopls/internal/regtest/marker: port remaining rank and snippet tests
|
|
* gopls/internal/regtest/marker: port remaining completion tests
|
|
* gopls/internal/regtest/marker: port rank and func_rank tests
|
|
* gopls/internal/regtest/marker: port builtin/keyword completion tests
|
|
* gopls/internal/regtest/marker: port five arbitrary completion tests
|
|
* gopls/internal/regtest/marker: port all prepare markers
|
|
* gopls/internal/lsp: add OnSave diagnostics
|
|
* gopls/internal/lsp/cmd: add GOPACKAGESDRIVER to stat
|
|
* gopls/internal/regtest/marker: port the links marker
|
|
* gopls/internal/regtest/marker: port case sensitive completion tests
|
|
* gopls/internal/regtest/marker: port all deep and fuzzy completion tests
|
|
* gopls/internal/regtest/marker: port statements completion tests
|
|
* gopls/internal/regtest/marker: port remaining @signature markers
|
|
* gopls/internal/lsp: fix code action panic on params of external funcs
|
|
* gopls/internal/lsp/source: remove unused parameters (cleanup)
|
|
* gopls/internal/lsp: add semantic highlighting for go: directives
|
|
- 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
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Nov 16 19:45:10 UTC 2023 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
|
|
|
- Update to version 0.14.2:
|
|
* gopls: update go.mod for v0.14.2-pre.1
|
|
* gopls: upgrade x/telemetry and account for new mode logic
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Oct 30 16:56:27 UTC 2023 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
|
|
|
- Update to version 0.14.1:
|
|
* gopls: update go.mod for v0.14.1-pre.1
|
|
* gopls/internal/lsp: fix code action panic on params of external funcs
|
|
* go/packages: don't fail if GOPACKAGESDRIVER leaves Compiler/GOARCH=""
|
|
|
|
-------------------------------------------------------------------
|
|
Wed Oct 25 15:03:53 UTC 2023 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
|
|
|
- Update to version 0.14.0:
|
|
* gopls: update go.mod for v0.14.0-pre.5
|
|
* gopls/internal/lsp/source: find linkname directives without parsing
|
|
* gopls/internal/lsp: fix signature crash on error.Error
|
|
* gopls: update go.mod for v0.14.0-pre.4
|
|
* gopls/internal/lsp/source: abort change signature on overlapping calls
|
|
* gopls/internal/lsp: add code actions to remove unused parameters
|
|
* gopls: deprecate "tempModfile" and "expandWorkspaceToModule" settings
|
|
* gopls: update go.mod for v0.14.0-pre.3
|
|
* gopls: upgrade x/telemetry dependency
|
|
* gopls: allow all drive letters in cache/filemap_test.go
|
|
* gopls/internal/lsp: use the correct options for semantic tokens legend
|
|
* gopls: update go.mod for v0.14.0-pre.2
|
|
* gopls/internal/lsp: go to definition from embed directive
|
|
* gopls: update x/telemetry dependency
|
|
* gopls/internal/lsp: simplify the telemetry prompt
|
|
* gopls/internal/lsp/fake: don't set a completion budget for tests
|
|
* gopls/internal/lsp: hover over embed directives
|
|
* gopls/internal/lsp/cache: remove snapshot.typeCheckMu
|
|
* gopls/internal/regtest/source/completion: reuse functionCallSnippet in unimported completion
|
|
* gopls/internal/lsp: use matcher score in ranking unimported candidates
|
|
* gopls/internal/lsp/source: don't complete to golang.org/toolchain
|
|
* gopls/internal/lsp/source: Add ui.complete.completeFunctionCalls toggle
|
|
* gopls: set a context deadline after minimal completion results
|
|
* gopls: update go.mod for v0.14.0-pre.1
|
|
* all: update codereview.cfg for gopls-release-branch.0.14
|
|
* gopls: upgrade x/telemetry to latest
|
|
* gopls/internal/lsp/source/completion: fixes for completion budget
|
|
* gopls/internal/lsp/source/completion: start timing before type checking
|
|
* gopls/internal/lsp: use linkifyShowMessage in telemetryOnMessage
|
|
* gopls/internal/regtest/bench: add additional completion benchmarks
|
|
* gopls/internal/lsp: update telemetry prompt and add a follow-up message
|
|
* gopls/internal/lsp/command: add maybePromptForTelemetry
|
|
* gopls/internal/lsp/source: add linkifyShowMessage (internal option)
|
|
* gopls/internal/lsp/cmd: undocument gopls vulncheck
|
|
* gopls/internal/lsp: update prompting logic for local/off mode
|
|
* gopls: instrument telemetry for latency of important operations
|
|
* all: register the appends analyzer in a few places and update gopls/go.mod
|
|
* gopls: update golang.org/x/telemetry dependency
|
|
* gopls/internal/lsp: minor cleanup to prompt logic
|
|
* gopls/internal/lsp: add an idle prompt asking users to enable telemetry
|
|
* gopls/internal/vulncheck/scan: buffer govulncheck STDERR output
|
|
* gopls/internal/regtest/marker: rename to clarify marker types
|
|
* gopls/internal/lsp/tests: eliminate several old marker types
|
|
* gopls: update x/telemetry to the latest
|
|
* gopls/internal: move builtin completion test to a regtest
|
|
* gopls/internal/regtest: support full features of old completion markers
|
|
* gopls/internal/lsp/source: inliner: don't spam log
|
|
* gopls/lsp/command: add gopls.add_telemetry_counters
|
|
* gopls: improve usage instructions for neovim
|
|
* gopls/internal/regtest: port the codelens marker tests
|
|
* gopls/internal/lsp/source: recover from inliner panics
|
|
* gopls: update to use the new golang.org/x/vuln API
|
|
* gopls/internal/lsp/regtest: parallelize marker tests
|
|
* gopls/internal/lsp/regtest: port the highlight marker
|
|
* gopls/internal/lsp: track didChangeConfiguration diagnostics for tests
|
|
* gopls/internal/lsp: move options into the snapshot
|
|
* gopls/internal/lsp/cache: move Option management to the Server
|
|
* gopls/internal/regtest/marker: support folding ranges
|
|
* gopls/internal/lsp/tests: eliminate the go1.18 summary file
|
|
* gopls/internal/lsp/tests: simplify options
|
|
* gopls/internal/lsp/cache: move working dir to workspaceInformation
|
|
* gopls/internal/lsp/cache: simplify file change propagation
|
|
* gopls/internal/lsp/cache: only evaluate fileMap.dirs when necessary
|
|
* gopls/internal/lsp/cache: consolidate logic for updating maps in clone
|
|
* gopls: update staticcheck (v0.4.5)
|
|
* gopls/internal/lsp/cache: simplify tracking of snapshot directories
|
|
* gopls/internal/lsp/cache: use persistent.Set in a couple places
|
|
* gopls: add and enable the slog analyzer
|
|
* gopls: tidy for 1.17+
|
|
* gopls/internal/lsp/cmd: don't use x/exp/slices
|
|
* gopls/internal/telemetry: don't schedule the next upload
|
|
* gopls: remove dead code
|
|
* gopls/internal/lsp/cache: delete unused mustEncode
|
|
* gopls/internal/lsp/cmd: consolidate editing flags
|
|
* gopls: more 1.18 cleanup; use strings.Cut and os functions
|
|
* gopls/internal: move Options and FileKind from View to Snapshot
|
|
* gopls: update uses of deprecated ioutil APIs
|
|
* gopls/internal/lsp/analysis/unusedparams: document the blank identifier
|
|
* gopls/internal/lsp/frob: add defensive header
|
|
* gopls/internal/lsp/source: implement refactor.inline code action
|
|
* gopls/internal/telemetry: log timestamp when test fails
|
|
* gopls/internal/lsp/frob: fix build breakage
|
|
* gopls/internal/lsp/frob: make API generic
|
|
* gopls: update x/telemetry dependency
|
|
* gopls/internal/lsp/debug: remove hard-coded version
|
|
* gopls/doc: update tests that fail on Kokoro to run at Go 1.21+
|
|
* gopls/internal/telemetry: write counter unconditionally and run upload
|
|
* gopls/internal/lsp/mod: remove TestModfileRemainsUnchanged
|
|
* gopls/internal/regtest/codelens: avoid a race in TestUpgradeCodelens
|
|
* gopls/doc: include stderr output from 'go list' in pkgDir errors
|
|
* gopls/internal/lsp: add testing support for the new zero builtin
|
|
* gopls/internal/lsp/source completion: don't suggest untyped conversions
|
|
* gopls/internal/lsp/source: fix implementations query on error type
|
|
* gopls/internal/lsp/source: add a test for local types stubbing
|
|
* gopls: stubbed methods shouldn't qualify the current package
|
|
* gopls/internal/lsp/source: fix renaming instantiated fields
|
|
* gopls/internal/lsp: switch default diff to "new"
|
|
* gopls/telemetry: accept vscode-insiders as a known editor
|
|
* gopls/internal/lsp/source/completion: add ifnotnil postfix snippet
|
|
* gopls/internal/lsp/cache: avoid dependency on StdSizes
|
|
* gopls: fix raciness related to TestOrphanedFiles
|
|
* gopls/internal/lsp: avoid duplicate type checking following invalidation
|
|
* gopls/internal/regtest/bench: skip oracle didSave test
|
|
* gopls/telemetry: test that telemetry counters are written
|
|
* gopls/internal/regtest/bench: enable oracle benchmarks with -short
|
|
* go/types/objectpath: remove use of linkname for gopls back doors
|
|
* gopls/internal/protocol: remove // line comments from tsprotocol.go
|
|
* gopls/internal/regtest/bench: add an oracle completion benchmark
|
|
* gopls/internal/telemetry: record Go version used in each view
|
|
* gopls/internal/lsp/source: enable new defers analyzer
|
|
* gopls/internal/bug: add gopls/bug telemetry counter
|
|
* gopls: add gopls/client telemetry counters
|
|
|
|
-------------------------------------------------------------------
|
|
Tue Sep 12 13:55:41 UTC 2023 - Lubos Kocman <lubos.kocman@suse.com>
|
|
|
|
- License correction based on legaldb review
|
|
Add Apache-2.0 and MIT for vendor/gopkg.in/yaml.v3
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Aug 17 20:11:29 UTC 2023 - jkowalczyk@suse.com
|
|
|
|
- Update to version 0.13.2:
|
|
* gopls: update go.mod for v0.13.2-pre.1
|
|
* [gopls-release-branch.0.13] refactor/satisfy: (re)allow composite lits of pointer type
|
|
|
|
-------------------------------------------------------------------
|
|
Sat Aug 12 13:48:30 UTC 2023 - jkowalczyk@suse.com
|
|
|
|
- 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
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Jul 31 14:45:07 UTC 2023 - jkowalczyk@suse.com
|
|
|
|
- Update to version 0.13.0:
|
|
* gopls: update go.mod for v0.13.0-pre.3
|
|
* gopls/internal/lsp/source: Add SuggestedFix for embeddirective Analyzer
|
|
* gopls/internal/lsp/cache: keep analysis progress reports on one line
|
|
* gopls: update go.mod and go.sum for v0.13.0-pre.2
|
|
* gopls/internal/lsp/cache: fast-path for type-checking active packages
|
|
* gopls/internal/lsp/cache: fix use of time.NewTimer instead of NewTicker
|
|
* gopls: fix tests that depend on log sequencing
|
|
* gopls: update go.mod and go.sum for v0.13.0
|
|
* gopls/internal/lsp/debug: update debug version for v0.13.0
|
|
* all: update codereview.cfg for gopls-release-branch.0.13
|
|
* gopls/internal/lsp/cache: use correct metadata in resolveImportGraph
|
|
* gopls/internal/lsp/cache: fix incorrect check for active package
|
|
* gopls/internal/lsp/source: highlight deprecated symbols
|
|
* gopls/internal/lsp: don't recompute diagnostics during code actions
|
|
* gopls/internal/lsp/cache: memoize active packages after every operation
|
|
* gopls/internal/regtest/bench: add benchmarks for codeactions
|
|
* gopls/internal/lsp/cache: fix boundary cond in parseCache age eviction
|
|
* gopls/internal/lsp/cache: purge Analysis.Results earlier
|
|
* gopls/internal/lsp/cache: limit parallelism
|
|
* gopls/internal/lsp/cache: move purgeFuncBodies into the parse cache
|
|
* gopls/internal/lsp/cache: used time-based eviction in parseCache
|
|
* gopls/internal/lsp/frob: document another restriction
|
|
* go/types/objectpath: avoid sorting methods for gopls
|
|
* gopls/internal/lsp/cache: UX improvements for analysis
|
|
* gopls/internal/lsp/cache: better panic if metadata invariant is broken
|
|
* gopls/internal/lsp/cache: frob: a fast encoder with gob-like powers
|
|
* gopls/internal/lsp: don't awaitLoaded inside resolveImportGraph
|
|
* gopls/internal/lsp: fix a latent bug in orphaned file reloading
|
|
* gopls/internal/lsp/source/typerefs: optimize getPackageHandles
|
|
* gopls/internal/lsp: only diagnose one package per file
|
|
* gopls/protocol/generate: upgrade generating LSP stubs
|
|
* gopls/internal/lsp/debug: display Analysis.Run times
|
|
* gopls/internal: update LSP support
|
|
* gopls/internal/lsp/source: fix spurious "unexpected var object" error
|
|
* gopls/internal/regtest/bench: add a test simulating typing
|
|
* gopls/internal/regtest/bench: add an 'oracle' benchmark repo
|
|
* gopls/internal/regtest/bench: clean up profile flags
|
|
* gopls/internal/regtest/workspace: fix TestQuickFix_AddGoWork for go1.21
|
|
* gopls: commands to start/stop profiling, and a new benchmark metric
|
|
* gopls/internal/lsp/source: put context first in extracted functions
|
|
* gopls/internal/lsp/source/completion: avoid duplicates from variants
|
|
* gopls/internal/lsp: make gopls.start_debugging open browser
|
|
* gopls/internal/lsp/filecache: increase idle GC period to 6 hours
|
|
* gopls/internal/lsp/source/completion: honor usePlaceholders
|
|
* gopls/internal/lsp/source/completion: placeholders for type params
|
|
* gopls/internal/regtest/marker: skip addgowork.txt
|
|
* gopls/internal/lsp/source/xrefs: include refs to methods of generics
|
|
* gopls/internal/lsp/source: ignore objectpath error in rename
|
|
* gopls: remove dead code
|
|
* gopls/internal/lsp/cache: plumb analysis URLs to client
|
|
* gopls/doc/contributing.md: document error handling strategies
|
|
* gopls/internal/lsp/source/typerefs: move test into _test.go
|
|
* gopls/internal/lsp/filecache: reduce GC frequency
|
|
* gopls/internal/lsp/cmd: list bug reports in 'gopls bug'
|
|
* gopls/internal/lsp/cache: don't panic when import fails during analysis
|
|
* gopls/internal/lsp/cache: don't record edges to invalid packages
|
|
* gopls/internal/lsp/cache: remove ITVs from shared import graph
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Jun 26 14:35:38 UTC 2023 - jkowalczyk@suse.com
|
|
|
|
- Update to version 0.12.4:
|
|
* gopls/internal/lsp/cache: don't panic when import fails during analysis
|
|
* gopls: update go.mod for v0.12.4
|
|
* gopls/internal/lsp/cache: don't record edges to invalid packages
|
|
|
|
-------------------------------------------------------------------
|
|
Thu Jun 22 19:36:57 UTC 2023 - jkowalczyk@suse.com
|
|
|
|
- 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
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Jun 5 16:43:33 UTC 2023 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
|
|
|
- Refactor tarball unpacked sources layout with gopls/ as subdir.
|
|
This allows us to include the LICENSE file at the upstream
|
|
monorepo repository root. The changes required for the subdir
|
|
layout are perhaps excessive for including just one metadata
|
|
file, but serves as a good exercise for packaging other utilities
|
|
under Go x/tools monorepo.
|
|
* Upstream uses monorepo x/tools/ with gopls/ and others in subdirs
|
|
* Upstream monorepo shared tools/LICENSE file in repository root dir
|
|
* Move param subdir gopls usage from tar_scm to go_modules
|
|
* tar_scm param include gopls and LICENSE
|
|
* tar_scm param drop extraneous param exclude .git
|
|
* Creates gopls-0.12.2.tar.gz unpacked layout gopls-0.12.2/gopls/go.mod
|
|
* New layout requires moving LICENSE and vendor/ to subdir in %prep
|
|
* New layout requires change to subdir in %build
|
|
* New layout requires use path to subdir in %check, %install, %files
|
|
|
|
-------------------------------------------------------------------
|
|
Mon Jun 5 04:54:12 UTC 2023 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
|
|
|
- Initial package version 0.12.2:
|
|
* Upstream uses monorepo x/tools/ with gopls/ and others in subdirs
|
|
* service tar_scm use params subdir and filename both set to gopls
|
|
* service go_modules_scm do not use any params
|
|
* Creates gopls-0.12.2.tar.gz unpacked layout gopls-0.12.2/go.mod
|
|
* Upstream monorepo shared tools/LICENSE file is one level above
|
|
where we package
|