• v0.8.0 aa303ce9ae

    v0.8.0
    release / build-and-publish (push) Successful in 3m29s
    Stable

    lucio released this 2026-08-26 11:06:51 -07:00 | 336 commits to master since this release

    The protocol-compliance release: the server was audited line-by-line
    against the LSP 3.18 specification (the full gap list is TODO.md §9),
    and the three findings that matter most shipped in one round.

    Port commands now actually edit (workspace/applyEdit)

    lucisv.addPort, lucisv.removePort and lucisv.propagatePorts invoked
    as commands did nothing in every stock client: the server returned the
    WorkspaceEdit as the executeCommand result, which the protocol does
    not define and which vscode-languageclient and Neovim both drop. (The
    code-action lightbulb path was never affected — those edits ride inline.)
    The server now pushes the edit as a workspace/applyEdit request with a
    label for the undo stack, answers null, and reads the client's verdict:
    a refusal becomes an error popup naming the command and the editor's own
    reason. A client that never advertised workspace.applyEdit keeps the
    old return-the-edit behavior — for that one it is the only thing that
    could ever work.

    Pull diagnostics (LSP 3.17)

    textDocument/diagnostic and workspace/diagnostic are served, from the
    same parse+lint pass the push model publishes — one computation, two
    deliveries, proven byte-identical in tests. Reports carry a resultId
    and answer unchanged when nothing that feeds them has moved, so a
    client re-pulling on focus changes costs nothing. A client that pulls is
    pushed nothing at all — never both models for one client. Clients that
    don't advertise the capability keep today's push behavior untouched.
    Workspace reports cover the open buffers, which is the only scope this
    server has ever diagnosed.

    Expand selection (textDocument/selectionRange)

    One keystroke grows the selection from the identifier through the
    statement, the enclosing begin/end, the process, the module, out to
    the whole file. Chains are built from what the server already computes —
    token spans, the tolerant parse's item/statement spans, and the
    rainbow's own scope-pair matcher, which keeps expansion working in the
    half-edited files where you actually reach for it. Every step strictly
    contains the last; a sweep over all 860 corpus files (6,880 positions)
    holds the invariant everywhere.

    Downloads