-
v0.67.0
Stableci / checks (push) Successful in 1m26sci / corpus (push) Successful in 18srelease / preflight (push) Successful in 4sci / linux (push) Successful in 6m7srelease / linux (push) Successful in 6m6srelease / build-and-publish (push) Successful in 6m7sreleased this
2026-11-26 23:23:11 -08:00 | 0 commits to master since this releaseTwelve 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 OpenTitanhw
(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
hwthe formatter's output
differs from 0.66.2 in 413 files in the default style, 576 under
--style autoand 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_FORMAT22 → 23)
of both the language server andlucisv-mcp --index-cacheis discarded and
rebuilt on first start, and the format cache's lines are re-keyed, so the
firstlucisvrun 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 bothinferand
alwaysalignment (docs/features/format-alignment-overrides-r6). Every
file Take 6 sampled from the output change above shows it; class parameter
headers are unchanged.lowriscsets 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 newconnection-align-minknob,
0forlowriscand1for every other preset.- Selective
[format]overrides.begin,else,else-after-label,
port-lists,list-indent,alignmentandconnection-align-minin
lucisv.toml(and the matchinglucisv.format.*editor settings) layer
over any named preset, and over every candidate understyle = "auto". The
CLI, the language server and the MCPformattool 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;lucisvandansioutput is unchanged
(docs/features/parser-formatter-r5). - Files that used to be left unformatted now format: a comment between a
generateendandelse, an`ifdef(balanced, or a conditional
elsearm) betweenendandelsein procedural and generateif, 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}}), incaseitem 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 autois twice as fast: the file is parsed once for all six
candidate presets and only the winner is verified. OpenTitanhw,
--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 jsonworks in format mode (lucisv,--check,
format): one JSON document withstatus,exit_code,summaryand one
entry per file, with the error's category, line and column. It refuses
--diff,--stdoutand stdin without--check. Exit codes are unchanged
(docs/features/cli-path-r5).- Stdin honours the project config:
-/--stdin-filenameapplies the
discoveredlucisv.tomlalike informatandcheck, including[lint] selectandignoreincheck; an empty--stdin-filename ""is refused. - Path normalisation (
.and..) is one shared function inlucisv_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 OpenTitanhw,lucisv checkgoes 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 OpenTitanhw. suspicious-semicolonexempts the drain idiomwhile (<call>);
(while (fifo.try_get(item));), only when the whole condition is one call:
−5 findings on OpenTitan.while (busy);andwhile (!q.try_get(x));are
still reported.incomplete-assignmentsees a miss in a nestedif, and counts a
fully enumeratedcasewithoutdefaultas 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-labelshandlesinitial lbl : begin … end : lbl, and
offers an Unsafe fix that renames a wrong footer to the header's name
(CLI--fix --unsafe-fixesonly; 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 forinstance-shadowing
(it hid the bug the rule exists for; the 30 OpenTitan hits stay).
Language server
- Rename, code-action resolve,
executeCommandandwillRenameFileswait
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 OpenTitanhwa settings
rescan takes 703 → 642 ms median, adocumentSymbolsent 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 portno longer counts another module's.port(…)in the same file
as a use;extract modulekeeps 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.sigis 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 throughbindhandles 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.)findwithrefs: truereuses cached file facts: on OpenTitanhw,
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 qualifiedunit.name
query is scoped to that unit.checkaccepts 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;initializeno longer announces an empty
promptscapability.
Windows
- UNC workspaces work (
docs/features/windows-uri-editors-r11). The
server reads and writesfile://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%5Cand a URI's
?query#fragmentis 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.pathpointing at a directory finds
lucisv-mcp.exeon Windows, a failing module-view action shows a warning,
and the README's settings table is corrected (scopeDepthdefault2, the
eightlucisv.format.*rows). Neovim README: references are
workspace-wide and--stdiois accepted.editors/vscode/CHANGELOG.mdhas
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,lowrisc574 → 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. didOpenof a file overindex.maxFileSizecosts about 14 ms more
(OpenTitan's 1.3 MBpinmux_reg_top.sv: 60–74 → 76–84 ms), from Round 2's
symlink identity map; about 8 ms of it is confirmed.workspace/symbolcosts 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 testruns under
tools/guard.shon macOS and Linux, author stamps are a gate step, a
missing cross toolchain failsgates.shunless--allow-skip-cross, and a
release checks tag and versions in a fastpreflightjob 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_parser527,
vlog_semantic453,vlog_refactor793,vlog_formatter383,
vlog_linter710,lucisv_core129,lucisv162,lucisv_server2263,
lucisv_mcp400; doc-tests 1, extension 37; corpus 814 / 6, unchanged.
OpenTitanhw: 4 039 of 4 046 files format cleanly in every style, 0
verification failures.
Downloads
- Formatted output changes. Over OpenTitan