• v0.67.0
    ci / checks (push) Successful in 1m26s
    ci / corpus (push) Successful in 18s
    release / preflight (push) Successful in 4s
    ci / linux (push) Successful in 6m7s
    release / linux (push) Successful in 6m6s
    release / build-and-publish (push) Successful in 6m7s
    Stable

    gitea-actions released this 2026-11-26 23:23:11 -08:00 | 0 commits to master since this release

    Twelve bug-fix rounds, measured against 0.66.2

    0.67.0 is everything since 0.66.2: twelve rounds of correctness, ordering,
    hardening and hygiene fixes, each with its own dev round, QA round and lead
    review, and a before/after performance report on OpenTitan hw
    (docs/performance_take6.md). Each paragraph below names the feature README
    that holds the detail. Three things to know before upgrading:

    • Formatted output changes. Over OpenTitan hw the formatter's output
      differs from 0.66.2 in 413 files in the default style, 576 under
      --style auto and 972 under --style lowrisc; no file gained or lost a
      diff, and verification failures are 0 in every style, as before.
    • One new lint rule is on by default (missing-port-direction, an Error),
      and two rules report differently; see Linter.
    • Saved state is rebuilt once. The persisted index (FACTS_FORMAT 22 → 23)
      of both the language server and lucisv-mcp --index-cache is discarded and
      rebuilt on first start, and the format cache's lines are re-keyed, so the
      first lucisv run after upgrading has no cache hits.

    Formatter and safety net

    • #(…) parameter ports and named parameter overrides are aligned like
      every other list: type, name and = in columns under both infer and
      always alignment (docs/features/format-alignment-overrides-r6). Every
      file Take 6 sampled from the output change above shows it; class parameter
      headers are unchanged.
    • lowrisc sets named connections tight to the widest name: the widest
      name's ( follows it directly (.err_o(…)) and narrower names are padded
      to that column (.tl_i (tl_i)). This is a new connection-align-min knob,
      0 for lowrisc and 1 for every other preset.
    • Selective [format] overrides. begin, else, else-after-label,
      port-lists, list-indent, alignment and connection-align-min in
      lucisv.toml (and the matching lucisv.format.* editor settings) layer
      over any named preset, and over every candidate under style = "auto". The
      CLI, the language server and the MCP format tool all honour them. Every
      effective knob is now part of the format cache key, so toggling one
      re-formats; older cache lines are dropped as stale.
    • Multi-instance declarations (p1 u8 (…), u9 (…);) break symmetrically
      under the one-per-line styles (google, lowrisc, microsoft, nxp)
      instead of the hanging layout; lucisv and ansi output is unchanged
      (docs/features/parser-formatter-r5).
    • Files that used to be left unformatted now format: a comment between a
      generate end and else, an `ifdef (balanced, or a conditional
      else arm) between end and else in procedural and generate if, and
      attributes on ANSI ports ((* keep *) input a).
    • The parser is stricter where it was silently lenient: empty elements in
      concatenations, replications, streaming and assignment patterns
      ({d,, d}, {d,}, '{4{a,, b}}), in case item lists (case a,, b:)
      and a trailing , after a named call argument (f(.a(x),)) are now parse
      errors, so such a file is reported and left as it is. Omitted positional
      arguments (f(a, , b)) are still accepted.

    CLI

    • --style auto is twice as fast: the file is parsed once for all six
      candidate presets and only the winner is verified. OpenTitan hw,
      --check --no-cache: 5 564 → 2 806 ms median, user CPU 49.9 → 21.2 s,
      peak RSS 981 → 699 MiB (docs/features/parser-formatter-r5, Take 6).
    • --output-format json works in format mode (lucisv, --check,
      format): one JSON document with status, exit_code, summary and one
      entry per file, with the error's category, line and column. It refuses
      --diff, --stdout and stdin without --check. Exit codes are unchanged
      (docs/features/cli-path-r5).
    • Stdin honours the project config: - / --stdin-filename applies the
      discovered lucisv.toml alike in format and check, including [lint] select and ignore in check; an empty --stdin-filename "" is refused.
    • Path normalisation (. and ..) is one shared function in lucisv_core
      for filelists, config discovery, includes and the CLI; behaviour is
      unchanged, including Windows drive and UNC roots.

    Linter

    (docs/features/linter-hardening-r7.) 75 rules now (8 error, 24 warning,
    43 style). On OpenTitan hw, lucisv check goes from 1 182 to 1 178
    findings:

    • New: missing-port-direction (Error, on by default, no fix) reports a
      non-ANSI header port that no body declaration gives a direction. It stays
      silent when the body holds a macro item, an `include, a verbatim or an
      error item. It reports 0 on OpenTitan hw.
    • suspicious-semicolon exempts the drain idiom while (<call>);
      (while (fifo.try_get(item));), only when the whole condition is one call:
      −5 findings on OpenTitan. while (busy); and while (!q.try_get(x)); are
      still reported.
    • incomplete-assignment sees a miss in a nested if, and counts a
      fully enumerated case without default as complete only when its selector
      is proven to be that wide: +1 finding on OpenTitan, a real latch
      (rom_ctrl/dv/tb/tb.sv:158).
    • mismatched-labels handles initial lbl : begin … end : lbl, and
      offers an Unsafe fix that renames a wrong footer to the header's name
      (CLI --fix --unsafe-fixes only; the editor and MCP apply Safe fixes only).
    • Rule options in [ … ] lists split on commas outside quotes only, and a
      naming-pattern regex nested more than 64 groups deep is refused by name
      instead of overflowing the stack.
    • Withdrawn during the round, not shipped: an autofix for
      uvm-macro-semicolon (it corrupted code in three QA passes; the rule offers
      no fix, as before) and a nested-loop exemption for instance-shadowing
      (it hid the bug the rule exists for; the 30 OpenTitan hits stay).

    Language server

    • Rename, code-action resolve, executeCommand and willRenameFiles wait
      for a running scan to finish
      instead of running against a partly built
      index (a module declared twice no longer gets an edit or a refusal at
      random); read-only answers from the open buffer still go ahead
      (docs/features/server-ordering-r1).
    • Rename and port edits carry document versions (documentChanges) when
      the client supports them, so an editor can refuse an edit computed against
      text it no longer has. A settings push older
      than the answer to the startup settings pull no longer overwrites it.
    • The index follows open and closed buffers exactly
      (docs/features/index-lifecycle-r2): closing an excluded or unlisted file
      removes it, closing an unsaved in-scope file reverts its record to disk, a
      buffer opened mid-scan is taken in as if opened before, a large open buffer
      keeps its disk record, and a symlinked file is held under one spelling
      whichever alias is open.
    • Colours refresh exactly when they change (docs/features/lsp-viewport-folding-r9):
      a save that changes how another open file colours (a package type renamed,
      a class declared) now refreshes it, and a range answered during a rescan no
      longer buys a refresh when the settled answer is the same.
    • A rescan answers between slices of its discovery walk (512 entries per
      slice; docs/features/server-scaling-r10). On OpenTitan hw a settings
      rescan takes 703 → 642 ms median, a documentSymbol sent 5 ms into it
      waits 133 → 2.8 ms, and the store is no longer re-opened (70 → 0 ms).
      On 40 000 files the rescan is 12 % faster.
    • Refactorings: a rename inside a string with an escaped non-ASCII character
      no longer panics; macro-argument carrying is deterministic; renaming a
      member of a module declared in two files is refused instead of guessed;
      remove port no longer counts another module's .port(…) in the same file
      as a use; extract module keeps CRLF line endings
      (docs/features/refactor-correctness-r1).
    • Semantics (docs/features/semantic-refactor-r8): a DPI export's name is a
      reference; escaped identifiers are in the word census, so a file that only
      writes \my.sig is found (completion does not offer them); an interface's
      named generate blocks are reachable through its ports; an inline nested
      struct member resolves; a rename through bind handles a bare-instance
      target and no longer mistakes a generate-scoped instance for the module's
      own; and the refactoring verifier checks each edit of a move on its own.

    MCP server

    (docs/features/mcp-hardening-r3.)

    • find with refs: true reuses cached file facts: on OpenTitan hw,
      warm, 2.4× faster for a qualified name (1 115 → 474 ms), 2.6× for one
      declaration (1 099 → 415 ms) and 3.8× for a name with 300+ declarations
      (7 800 → 2 032 ms), with byte-identical answers. A qualified unit.name
      query is scoped to that unit.
    • check accepts a directory or a glob under a root (ip/aes/rtl,
      ip/aes/rtl/*.sv); unused waivers are reported for the whole design only.
    • A file whose modification time is in the future settles instead of being
      re-read on every call; initialize no longer announces an empty
      prompts capability.

    Windows

    • UNC workspaces work (docs/features/windows-uri-editors-r11). The
      server reads and writes file://server/share/… URIs in VS Code's form
      (before, they were mangled in both directions), sees through \\?\ paths,
      and returns \-separated paths. This is compile- and link-checked only,
      never executed on Windows
      : every Windows rule was tested as string code on
      macOS.
    • The Windows index cache key changes once: the workspace root's spelling
      changes (c:/proj → c:\proj), so the index is rebuilt on first start
      after upgrading and the old cache directory is left unused.
    • On every platform, a \ in a file name is now written %5C and a URI's
      ?query#fragment is no longer read as part of the path.

    Editors

    • VS Code: the lucisv.format.* override settings above, a toggle for
      missing-port-direction, lucisv.mcp.path pointing at a directory finds
      lucisv-mcp.exe on Windows, a failing module-view action shows a warning,
      and the README's settings table is corrected (scopeDepth default 2, the
      eight lucisv.format.* rows). Neovim README: references are
      workspace-wide and --stdio is accepted. editors/vscode/CHANGELOG.md has
      the editor's view.

    Performance (docs/performance_take6.md)

    Beyond the numbers above, every other CLI and LSP phase shows no measurable
    change; the language server's idle memory after a cold workspace scan fell
    531 → 479 MiB (not attributed). Three regressions were found and bisected;
    none is fixed in 0.67.0:

    • Formatter peak memory with all workers rose by about 90–100 MiB
      (default 568 → 654 MiB median, lowrisc 574 → 674 MiB; with --threads 1
      it fell 291 → 252 MiB). Cause confirmed, from Round 5: the input's syntax
      tree is kept alive while the output is verified. Left as is.
    • didOpen of a file over index.maxFileSize costs about 14 ms more
      (OpenTitan's 1.3 MB pinmux_reg_top.sv: 60–74 → 76–84 ms), from Round 2's
      symlink identity map; about 8 ms of it is confirmed.
    • workspace/symbol costs about 2 ms more (1.4–3.2 → 3.8–6.7 ms, same
      256 results), from Round 2; the cause is a candidate, not confirmed.

    Project hygiene

    • CI and release gates (docs/features/ci-gates-r4): cargo test runs under
      tools/guard.sh on macOS and Linux, author stamps are a gate step, a
      missing cross toolchain fails gates.sh unless --allow-skip-cross, and a
      release checks tag and versions in a fast preflight job and runs the suite
      on Linux before building.
    • Five more pure-move splits and 23 test modules moved out of their files;
      no production file is over 600 lines, and every #[ignore] says why
      (docs/features/hygiene-splits-r12). Documentation and the site sources
      were re-synced (docs/features/docs-sync-r4).
    • Gates on the release tree: tests passed per crate — vlog_parser 527,
      vlog_semantic 453, vlog_refactor 793, vlog_formatter 383,
      vlog_linter 710, lucisv_core 129, lucisv 162, lucisv_server 2263,
      lucisv_mcp 400; doc-tests 1, extension 37; corpus 814 / 6, unchanged.
      OpenTitan hw: 4 039 of 4 046 files format cleanly in every style, 0
      verification failures.
    Downloads
  • v0.66.2
    ci / checks (push) Successful in 1m0s
    ci / corpus (push) Successful in 18s
    ci / linux (push) Successful in 6m4s
    release / build-and-publish (push) Successful in 5m31s
    Stable

    gitea-actions released this 2026-11-24 12:18:07 -08:00 | 15 commits to master since this release

    Every source file names its author

    • No behaviour change. Every tracked file that can carry a comment — 880
      of them: the Rust sources, the extension's JavaScript, the scripts, the
      manifests, the workflows and the documentation — now opens with an author
      line and closes with one. The binaries and the formatter's, linter's and
      language server's output are what 0.66.1 produced.
    • tools/stamp_author.py writes the lines and is idempotent; run it after
      adding files (--check lists what is missing). It leaves alone what a
      comment would break or what is regenerated: test fixtures, cases and
      snapshots, JSON and JSONL, logs, images, lockfiles, the built site under
      docs/site/dist and the LICENSE files.
    • tools/linux_check.sh --help reads its own header one line further down,
      since the author line now sits under the shebang.
    Downloads
  • v0.66.1
    ci / checks (push) Successful in 57s
    ci / corpus (push) Successful in 14s
    ci / linux (push) Successful in 4m56s
    release / build-and-publish (push) Successful in 5m17s
    Stable

    gitea-actions released this 2026-11-19 23:28:50 -08:00 | 16 commits to master since this release

    Sticky scroll pins the module instance

    • A module instantiation folds, so its header lines stay pinned (TODO
      §72, docs/features/instance-folding). textDocument/foldingRange answers
      one range per multi-line instantiation from its module-type line, and one
      more per instance from the line its name is on when that is a later line,
      so both aes_control_fsm #( and ) u_aes_control_fsm ( are pinned while
      the reader is in the connection list. The closing ); line stays visible.
      What is an instantiation comes from vlog_semantic::instantiations::sites;
      where it closes is re-read from the tokens, and a statement whose tokens
      are not exactly that shape folds nothing.
    • Every fold answered before is unchanged and first on a shared start line
      (0.66.0 against this tree on 4 933 files: 75 256 ranges identical once the
      instance folds are removed). OpenTitan hw: 18 200 multi-line
      instantiations, none without its fold. Worst file about 2 ms per request
      (1.1 ms before).
    • Not folded: two-dimensional instance arrays; an instance whose head an
      `ifdef splits.
    Downloads
  • v0.66.0
    ci / checks (push) Successful in 57s
    ci / corpus (push) Successful in 15s
    ci / linux (push) Successful in 4m52s
    release / build-and-publish (push) Successful in 5m18s
    Stable

    gitea-actions released this 2026-11-19 21:07:43 -08:00 | 17 commits to master since this release

    The overnight queue, complete

    0.66.0 closes TODO §71: eight owner-ordered features, each shipped as its own
    0.65.x release with a dev round, a QA round and the full gates. Nothing in
    the engine changed between 0.65.11 and this release; it adds the topology
    and size re-measurement (docs/topo.md, CLAUDE.md) and is the version to
    install. Each line names the release that carries the detail below.

    • Editing and saving no longer re-index the workspace (0.65.6/0.65.7).
      A saved or changed file updates its own records and the files that depend
      on it; only a change that can reach everything (a config, a filelist)
      rescans.
    • Actions on the open file do not wait for the workspace (0.65.11).
      Hover, go-to-definition, highlights, the outline and folding for names the
      file declares answer in milliseconds during a scan or a rescan, and
      completion lists what the file can reach first.
    • Highlighting does not wait for the index (0.65.10). Colours come from
      the buffer at once, as a best guess for cross-file names, and are
      corrected by one refresh when the index settles.
    • `ifdef / `else / `endif branches fold and take part
      in sticky scroll (0.65.4).
    • Formatter styles (0.65.5): auto follows the file's own style, or
      choose lucisv, ansi, google, lowrisc, microsoft or nxp; the presets are one readable
      table in vlog_formatter/src/style.rs.
    • The module view marks where you are (0.65.2): the current file's
      module and its parents, in shades of orange.
    • Find References next to a name (0.65.8): a caret just past a name's
      last letter now finds it — the cause of "no references" that worked on a
      second try — and edits arriving during a rescan are applied in order.
    • Comments are comments (0.65.3): no bracket or code colouring inside
      them, and TODO, FIXME, FIX_ME, TBD and your own words
      (lucisv.commentKeywords.custom) are highlighted.

    Also since 0.65.0: releases are gated by tools/gates.sh, which
    compile-checks Windows and Linux (0.65.1, 0.65.7); CI runs the suite on
    Linux as well as macOS, and lucisv-mcp no longer serves stale contents
    after a same-instant rewrite (0.65.9).

    One test change in this release: 0.65.11's Linux CI run failed on a
    wall-clock test of the large-file path (24.9x measured against a 24x limit
    on a loaded runner; nothing in that path had changed). The test now
    re-measures up to three times before failing — a real quadratic regression
    measures ~64x every time.

    Not yet seen in a running editor by a human — every feature above was
    verified through the server's protocol and the extension's tests, on
    OpenTitan's hw tree. Open follow-ups are listed in TODO §71.

    Downloads
  • v0.65.11
    ci / checks (push) Successful in 58s
    ci / corpus (push) Successful in 15s
    ci / linux (push) Failing after 4m33s
    release / build-and-publish (push) Successful in 5m22s
    Stable

    gitea-actions released this 2026-11-19 20:58:56 -08:00 | 18 commits to master since this release

    Actions on the open file no longer wait for the workspace

    (docs/features/fast-actions; TODO §71.2. Measured on OpenTitan's hw tree
    and on generated 20 000- and 40 000-file trees, with the server driven the
    way VS Code drives it.)

    • Same-file answers come from the file. A hover, a go-to-definition, a
      type definition, highlights, a rename's first check or a signature help on
      a name the file itself declares — and the outline, folding and selection
      ranges — are answered from the open buffer at once, even while the index
      is being built or rebuilt. Anything that might live in another file still
      waits for the index it needs.

      hover on a local name (4 000 / 20 000 / 40 000 files) 0.65.10 now
      during the startup scan 547 / 665 / 831 ms 2.4 / 1.5 / 1.9 ms
      a new file triggers a rescan, request 5 ms later 1.2 / 6.0 / 12.3 s 47 / 167 / 321 ms
      the same, request read together with the event 1.2 / 6.0 / 12.3 s 0.3 / 0.1 / 0.1 ms
      the same, server busy with a previous delete 1.3 / 7.0 / 14.3 s 0.17 / 0.99 / 2.2 s
    • Every early answer is the settled answer. A request goes ahead only
      when its buffer is open, every older message that could change the buffer
      has been applied, its analysis is current, no settings are still on their
      way, and the answer is the buffer's alone. 2.9 million early answers were
      compared with the answer the finished index gives; none differed.

    • Completion keeps what the file can reach near the top. Right after the
      file's own names it now offers the members of the packages the file
      imports, what its class inherits and the macros of the headers it
      includes, so a huge workspace no longer pushes them out of the list; such
      a name shows the icon and detail of the declaration the file actually
      reaches. Completion answers are half the size for VS Code.

    • A new lucisv.largeFile.threshold applies to files already open, the
      editor's first settings answer included — not at each file's next edit.

    • Fixed on the way (present since 0.65.8 and 0.65.10): the editor's
      answer to a settings request could be applied ahead of an older settings
      change or edit; colours answered while a file-watcher event was waiting
      were not refreshed afterwards.

    • What it costs. Until the editor has answered the server's first
      settings request, same-file requests wait (the threshold may change how
      the file is read): with an editor that takes 0.5 s to answer, the first
      outline arrives after 515 ms — it was 1 043 ms on 0.65.10.

    • Still to come. Not yet seen in a running editor by a human.

    Downloads
  • v0.65.10
    release / build-and-publish (push) Successful in 5m38s
    ci / checks (push) Successful in 54s
    ci / corpus (push) Successful in 16s
    ci / linux (push) Successful in 4m44s
    Stable

    gitea-actions released this 2026-11-19 13:17:23 -08:00 | 19 commits to master since this release

    Highlighting no longer waits for the index

    (docs/features/viewport-highlight; TODO §71.3. Measured on OpenTitan's hw
    tree with the server driven the way VS Code drives it.)

    • Colours arrive at once. Building a file's colours takes 0.3–6.5 ms;
      nearly all of the wait before first colour was the server holding every
      request until the index was ready. A colouring request for a buffer whose
      text is current is now answered from that buffer alone, even while a scan
      or a widening of the index holds everything else.

      first colour after opening a file before now
      cold start, whole-workspace scope 660–685 ms 3.5–39 ms
      cold start, folder scope (the default) 38–74 ms 3–32 ms
      a file opened after startup settled, folder scope 611–641 ms 2–32 ms
      a file in a folder not indexed yet, mid-session 375 ms 6 ms
      while a rescan runs 325–791 ms 70–159 ms

      The larger figure in each range is a 545 KB file, whose own parse is most
      of what remains.

    • Imperfect first, then corrected — once. Before the index settles,
      names that resolve through it (a module or package in another file, an
      inherited method) are coloured as local guesses: 96.8 % of tokens already
      match the final answer, and nothing is ever coloured as code inside a
      comment or a string. When the index settles the server sends one
      workspace/semanticTokens/refresh and the editor's next answer is the
      accurate one. This also fixes colours that used to stay wrong until the
      next edit: the first answer was built from a half-finished index and never
      revisited (2 745 tokens in one OpenTitan file).

    • The viewport request costs the viewport. semanticTokens/range built
      the whole file's tokens and filtered them; it now classifies only the
      visible lines (0.3 ms for 60 lines of a 4 000-module buffer, against 98 ms).

    • What it will not do. A buffer with edits the server has not applied
      yet still waits — its existing colours stay on screen. An editor that
      cannot be asked to refresh gets early viewport colours only, and its
      whole-file answer waits as before. Hover, go-to-definition and every other
      request still wait for the index they need; QA compared 978 such answers
      with 0.65.8's and they are identical.

    • Still to come. The file-discovery walk at the start of every scan
      answers nothing while it runs, which is what is left of the wait in
      whole-workspace scope (62–86 ms for a late open) and during rescans. Not
      yet seen in a running editor by a human.

    Downloads
  • v0.65.9
    ci / linux (push) Failing after 34s
    ci / checks (push) Successful in 55s
    ci / corpus (push) Successful in 16s
    release / build-and-publish (push) Successful in 5m22s
    Stable

    gitea-actions released this 2026-11-19 13:10:35 -08:00 | 20 commits to master since this release

    lucisv-mcp no longer serves stale contents; the suite runs on Linux

    (docs/features/linux-test-portability, Round 2; TODO §70.)

    • lucisv-mcp no longer answers from a file's old contents after a
      same-size rewrite that restores its old modification time.
      The server
      decides whether a file changed from its size, mtime, change time and
      inode, and re-reads a file whose mtime is too fresh to trust — but it did
      not apply that caution to the change time. On Linux, where the change time
      moves in 1 ms ticks, a file rewritten at the same size with its mtime put
      back (cp -p, rsync -t, touch -r, a rename-over) inside the same tick
      as the server's read matched in every field, and index-based answers
      (find, hierarchy, check) came from the old text until the file
      changed again. read and outline were never affected. The rule now
      covers every timestamp the stamp trusts, its window is 3 s (2 s was too
      close to FAT's 2-second timestamps), and a wall clock stepped backwards
      since a read distrusts the stamp. Reproduced on purpose on 0.65.8 (every
      run with an identical stat was stale) and gone on this build across
      overlayfs, tmpfs and APFS; ordinary reads cause no extra re-read.
    • What it still cannot see, now written down in
      docs/features/mcp-transport: on Windows there is no change time or
      inode, so a same-size rewrite that restores the old mtime more than 3 s
      after a read goes unseen; and a store through a writable memory map that
      the kernel has not yet reflected in the file's timestamps. A tree whose
      files carry modification times in the future is re-read on every call.
    • The test suite is stable on Linux, and CI runs it there. It was green
      on Linux most of the time and failed about one run in three: two test
      helpers insisted that writing to a child's input succeed (a usage error
      exits before reading), one latency test used a fixed 200 ms budget (it now
      measures against a parse of the same buffer in the same process), and one
      MCP test could hang on macOS under load on a pipe inherited across
      threads. Ten consecutive green runs as root and ten as an unprivileged
      user, then six and six by QA. ci.yml has a linux job (clippy and the
      whole suite on Linux x86-64) beside the macOS one.
    Downloads
  • v0.65.8
    ci / checks (push) Successful in 54s
    ci / corpus (push) Successful in 15s
    release / build-and-publish (push) Successful in 5m28s
    Stable

    gitea-actions released this 2026-11-19 11:53:54 -08:00 | 21 commits to master since this release

    Find References next to a name, edits kept in order, and a startup that could take minutes

    (docs/features/scan-ordering; TODO §71.7. Three bugs, all older than this
    series of releases.)

    • Find All References, Go to Definition, hover, highlight and rename work
      with the cursor just after a name.
      A double-click, a click on the right
      half of a name's last letter, or a click on a row of lucisv's References
      view leaves the cursor there, and the server used to look at the character
      after the name — so VS Code said "No references found" until you clicked
      away and back. Nine requests now resolve the name the cursor touches
      (hover, definition, type definition, references, document highlight,
      prepare-rename, rename, and the call- and type-hierarchy prepares); the
      ones with boundary rules of their own (completion, signature help, linked
      editing, selection range) are unchanged. The References view now opens a
      row with the cursor at the start of the name. Checked on every identifier
      of 350 files: the answer at the end of a name equals the answer at its
      start, and a rename there never touches the neighbouring token.
    • Edits made while the workspace is re-indexing are applied in order.
      The server held requests during a scan but applied notifications at once,
      so a newer edit could overtake an older one still queued — and since the
      editor sends edits as differences, the server's copy of the file then
      differed from the editor's until the file was closed and reopened: wrong
      symbols, wrong diagnostics, wrong references. Edits, opens, closes, saves
      and the other notifications the editor sends are now applied in the order
      sent. QA's independent driver: 9 118 bursts, 87 % of them sent mid-scan,
      no wrong text, no lost or duplicated answer; the same check fails on
      0.65.7 at once.
    • Opening a file while the first index is built no longer makes that index
      take minutes.
      A request followed by a file open in the same batch was
      handed back and re-held at every file of the startup scan: about 300–400 s
      on OpenTitan instead of 2 s. Now a held batch is handed back at most once
      per file actually opened; the same sequence takes 2.6–3.3 s.
    • Known and left for later, all present before: a request held during a
      scan is answered against the newest text, so a position-based request can
      land on a different symbol if an edit moved the text under it (and rename
      edits carry no document version for the client to reject a stale one by);
      deleting a directory is not seen by the server (VS Code reports the folder,
      which the client's source-file filter drops); an excluded file stays in the
      index after it is closed; symlinked files can be held under two spellings;
      renaming a port of a module defined twice gives an edit or a refusal at
      random.
    Downloads
  • v0.65.7
    ci / checks (push) Successful in 54s
    ci / corpus (push) Successful in 15s
    release / build-and-publish (push) Successful in 5m19s
    Stable

    gitea-actions released this 2026-11-19 10:59:06 -08:00 | 22 commits to master since this release

    0.65.6, built for every platform

    0.65.6 was tagged but never published: it passed every gate on the Mac and
    then failed to compile for Windows, so the release stopped before anything
    was built for distribution. This release is 0.65.6 with that fixed; its
    notes are below, unchanged.

    • The Windows build compiles again. One comparison in the language
      server's new "is this file already held under another spelling" check moved
      a directory identity that is a small copyable pair on macOS and Linux but an
      owned path on Windows (lucisv_server/src/state/incremental.rs).
    • The gates now compile for the other platforms. tools/gates.sh has a
      new cross step: cargo check of the three shipped binaries for Windows
      and Linux, with the same toolchain the release build uses. Until now
      platform-conditional code was first compiled by the release build itself,
      after the gates.

    Saving a file no longer re-indexes the workspace

    (docs/features/localized-reindex; TODO §71.1. Measured on OpenTitan's hw
    tree, 4 058 files, with the server driven the way VS Code drives it.)

    • What was happening. Every save cost about 160 ms of whole-index work
      whatever was edited — 117 ms of it re-resolving all 470 000 cross-file
      references — and VS Code triggered it twice, once for the save and once for
      its own file watcher. Watcher events for files the index could not hold (a
      generated file in a gitignored directory, a file outside the filelist or
      folder scope, a held file reported through a symlinked root or in another
      letter case) started a whole rescan with the progress bar, 270–750 ms.

    • Now the index does only what the edit can reach.

      edit, then save before now
      a comment, or the watcher's echo of any save ~160 ms under 0.3 ms
      a local signal in uart_tx or prim_flop ~170 ms 4 ms
      a member added to uart_reg_pkg ~167 ms 12 ms
      a line above a module 125 files instantiate ~163 ms 47 ms
      a member added to a package 677 files import ~162 ms 92 ms
      a watcher event for a file outside the scope up to 746 ms, with the bar 3.5 ms

      The index records which names each file looked up — including the ones it
      did not find — and re-resolves only the readers of names whose meaning
      changed. A save whose index record is unchanged merges nothing.

    • Still wide, on purpose. Adding or deleting a file; a burst of more
      files in one watcher event than half the index holds (a branch switch),
      which takes the one rescan it always did; an edit above a declaration many
      files use. Every save still re-checks every open file's diagnostics, so a
      lucisv.toml or waiver edit takes effect at the next save as before — with
      200 files open that is most of a save (53 ms, against ~205 ms before).

    • The price. Every whole rescan costs a few per cent more for the table
      that makes the rest cheap: warm OpenTitan startup is 40–120 ms slower,
      depending on machine load.

    • How it is known to be right. After any sequence of edits, everything
      the server answers must equal what a freshly started server answers for the
      same files. QA built that oracle independently and it failed the first cut
      on four stale answers (include links to headers outside the scope, lint
      configuration, a file-age check macOS defeats, excluded open buffers); all
      four are fixed and are now tests. The final build: 312 hand-written
      comparisons and twelve random 300–500-step runs over the corpus and
      OpenTitan with no divergence it caused.

    • Also. The language server's line-length lint now follows the chosen
      formatting style's width (80 under ansi and nxp, 120 under
      microsoft), closing the limit noted in 0.65.5. Removing an included
      header no longer leaves other files' include links pointing at it.

    • Known, and next. Found by this round's QA and present in earlier
      releases too: an edit made while a whole rescan is running can be applied
      out of order, leaving the server's copy of the buffer wrong until the file
      is reopened; a watcher event that names only a directory leaves stale
      state; an excluded file stays indexed after it is closed. These are the
      next round's work.

    Downloads
  • v0.65.5
    release / build-and-publish (push) Successful in 5m22s
    Stable

    gitea-actions released this 2026-11-19 10:40:32 -08:00 | 24 commits to master since this release

    Named formatting styles

    (docs/features/format-styles; TODO §71.5.)

    • One setting picks a house layout. [format] style = "<name>" in
      lucisv.toml, --style <name> on the command line, or the new
      lucisv.format.style drop-down in VS Code. Seven layout rules, one row per
      style, in one table in crates/vlog_formatter/src/style.rs:

      style indent / width begin else lists list indent alignment
      lucisv (default) 2 / 100 same line same line fit 1 level keep
      google 2 / 100 same line same line one per line 2 levels keep
      lowrisc 2 / 100 same line same line one per line 1 level always
      ansi 4 / 80 own line own line fit 1 level keep
      microsoft 4 / 120 own line own line one per line 1 level keep
      nxp 2 / 80 same line own line one per line 1 level always
    • Where the styles come from. google follows the Google Verilog Style
      Guide and lowrisc the lowRISC (OpenTitan) guide, both read for this
      release, including else on its own line after a labelled end. ansi,
      microsoft and nxp are lucisv's educated guesses
      — Allman-style
      begin/else after iStyle's and clang-format's styles of those names, and
      a conservative aligned RTL style — not rules those organisations publish
      for Verilog.

    • The default does not move a byte. lucisv output is identical to
      0.65.4 on all 4 921 files of the corpus and OpenTitan's hw tree, checked
      against an independently rebuilt 0.65.4. An explicit indent or
      line-length still wins over a style's.

    • Every style goes through the same safety net. Each was formatted three
      times over those 4 921 files: no verification error, no crash, no token or
      comment difference (checked with a lexer that is not the formatter's), and
      no change on a second or third run. verify.rs is untouched.

    • style = "auto" keeps a file in the layout it is already closest to.
      It formats with each preset and keeps the result that changes the fewest
      lines, so a file written the Google way stays that way. It picks a layout
      for the configured indent and width and never infers them — set
      indent to match the file first, or a 4-space file formatted at the
      default 2 comes out in the default layout. Small edits do not flip a file:
      over 500 files and ten kinds of edit, none rewrote more than 12 lines
      outside the edit. auto costs a search — 2.4 s against 0.4 s on a
      42 000-line file for a whole-document format — so the language server
      remembers each document's layout, and selection and on-type formatting stay
      at 0.1 s after the first request.

    • Known limits. A declaration with several instances in one statement
      gets the older hanging layout under the one-per-line styles. The language
      server's line-length lint still assumes 100 columns under ansi,
      microsoft and nxp (the CLI's check follows the style). Switching from
      one keep-alignment style to another and back is not always a round trip:
      alignment a style added stays.

    Downloads