diff --git a/CHANGELOG.md b/CHANGELOG.md index f8d6806..c54e071 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,69 @@ All notable changes to lucisv are recorded here. Versions follow [semantic versioning](https://semver.org/); until 1.0 the CLI's exit codes (see `README.md`) are the only frozen contract. +## 0.10.0 — 2026-08-27 + +The audit-complete release: TODO.md §9c, the last section of the LSP +3.18 audit, shipped one feature per dev/QA/review round — plus the two +cross-crate rounds the audit's findings demanded. + +### Go to type definition + +From a name to its type's declaration: variable to typedef, handle to +class, instance to module, signal to interface — one redirection into +the same two-layer resolution F12 uses, cross-file included. + +### The semantic layer answers cross-file types (and only types) + +Unqualified type-position misses now reach the workspace overlay, so +`bus_if bus;` and `my_cls h;` resolve into other files — including +inside extending (UVM-style) classes. Value-position identifiers +deliberately do not: QA proved a typo could otherwise rename an +unrelated same-named module cross-file, and the promotion was narrowed +to exactly the positions that name types. 418 corpus references gained +a jump target; none lost one. Cross-file interface rename works. + +### The parser accepts direction-less first ANSI ports + +`module m (bus_if bus, input logic clk);` — the normal spelling for +interface ports — parses, along with modport-qualified and +package-scoped first ports. All 820 corpus files format +byte-identically to before, proven by hash on both sides. + +### Linked editing, code lens, on-type formatting + +Closing labels (`endmodule : m`, `end : blk`) edit as one. Every +module carries an instantiation-count lens whose click jumps to the +sites. Typing `;` reformats the finished statement through the +verified engine; a newline indents the new line through a model that +agrees with the formatter on 77k corpus lines. + +### Type hierarchy + +Supertypes and subtypes over `extends`, one hop per request, riding +the overlay's cross-file resolution. + +### Renaming a file rewrites its includes + +`workspace/willRenameFiles` rewrites every `` `include`` that +resolves to a moved file — resolution, never name matching — with a +three-check safety net that refuses rather than guesses, edits +addressed to pre-rename URIs, and directory renames for free. + +### Workspace folders and pulled configuration + +Folders added or removed mid-session reindex on the spot; clients +using the modern configuration-pull model get their settings through +the same parser as the push, so the two can never drift. + +### Multi-range formatting + +`textDocument/rangesFormatting` — the request VS Code's client +library was asking for all along — formats any set of ranges in one +verified pass, the same call the CLI's `--lines a-b,c-d` makes. +Snippet workspace edits and server-provided documents are assessed +and parked with evidence until a shipping client can consume them. + ## 0.9.0 — 2026-08-26 The performance-model release: TODO.md §9b, the high-value half of the diff --git a/Cargo.lock b/Cargo.lock index 77a965b..af06a2e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -97,7 +97,7 @@ dependencies = [ [[package]] name = "lucisv" -version = "0.9.0" +version = "0.10.0" dependencies = [ "lucisv_core", "rayon", @@ -108,11 +108,11 @@ dependencies = [ [[package]] name = "lucisv_core" -version = "0.9.0" +version = "0.10.0" [[package]] name = "lucisv_server" -version = "0.9.0" +version = "0.10.0" dependencies = [ "lsp-server", "lsp-types", @@ -248,14 +248,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" [[package]] name = "vlog_formatter" -version = "0.9.0" +version = "0.10.0" dependencies = [ "vlog_parser", ] [[package]] name = "vlog_linter" -version = "0.9.0" +version = "0.10.0" dependencies = [ "vlog_formatter", "vlog_parser", @@ -264,11 +264,11 @@ dependencies = [ [[package]] name = "vlog_parser" -version = "0.9.0" +version = "0.10.0" [[package]] name = "vlog_refactor" -version = "0.9.0" +version = "0.10.0" dependencies = [ "vlog_parser", "vlog_semantic", @@ -276,7 +276,7 @@ dependencies = [ [[package]] name = "vlog_semantic" -version = "0.9.0" +version = "0.10.0" dependencies = [ "vlog_parser", ] diff --git a/Cargo.toml b/Cargo.toml index 0c03948..044da4b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ members = [ ] [workspace.package] -version = "0.9.0" +version = "0.10.0" authors = ["Guoliang Chen"] edition = "2021" license = "MIT" diff --git a/editors/vscode/package.json b/editors/vscode/package.json index bd30168..3316ff3 100644 --- a/editors/vscode/package.json +++ b/editors/vscode/package.json @@ -2,7 +2,7 @@ "name": "lucisv", "displayName": "lucisv — Verilog/SystemVerilog", "description": "Formatting, diagnostics, navigation and semantic highlighting for Verilog and SystemVerilog, served by the lucisv language server.", - "version": "0.9.0", + "version": "0.10.0", "publisher": "guoliangchen", "author": "Guoliang Chen", "license": "MIT",