diff --git a/CHANGELOG.md b/CHANGELOG.md index eb8c6c1..0783c68 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,41 @@ 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.54.0 — 2026-09-12 + +### Loop 3, round 1 — a rename correctness fix and a faster first edit + +- **Rename edits a `bind` file's own occurrences.** Renaming a module's + internal net that a `bind` directive's connection names bare + (`bind aes chk u (.req(entropy_masking_req))`), or reaches by a + hierarchical path (`u_aes_core.u_aes_prng_clearing.seed_en`), used to + leave the bind file untouched and say nothing — the design no longer + elaborated after the rename. The resolver had asked the bind target's + connection surface (ports and parameters) for a bare name, and rooted a + bind's hierarchical path in the scope the directive is written in, + which declares nothing. A bind connection is now a reference on the + target's hierarchical surface, a bind's path is rooted at the target + (a multi-segment target such as `bind tb.u_aes …` included), and an + occurrence the engine cannot resolve is warned about by file and line, + never silent. Definition, hover and references answer over bind files + the same way. The index store format is bumped (`FACTS_FORMAT` 20): a + 0.53.0 store is rebuilt once. (Found by the previous round's QA on the + opentitan tree.) +- **The first request after an edit is ~19 % faster.** On a 40 000-line + generated register file the first code-action menu after a + one-character change costs 88 ms instead of 109: the lexer's raw and + comment-attachment phases are fused (no intermediate token vector), the + parser no longer clones a token it is about to discard, and the + operator table is filtered by first byte before the longest-match + scan. Token stream, diagnostics, AST and symbols are byte-for-byte what + they were over 4 807 files; every formatter and linter output is + identical. +- `--verbose` timing lines carry a third group, `rebuild{…}`, that splits + the document rebuild after an edit into its stages. +- Known remainder, filed: cross-file *references* from a module's + internal net (bind or not) still stop at the connection surface; the + rest of the rebuild (the token clone, analysis, external resolution). + ## 0.53.0 — 2026-09-09 ### The 0.52.0 review — one correctness fix diff --git a/Cargo.lock b/Cargo.lock index 0c4a72f..426d4a0 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -97,7 +97,7 @@ dependencies = [ [[package]] name = "lucisv" -version = "0.53.0" +version = "0.54.0" dependencies = [ "lucisv_core", "rayon", @@ -108,11 +108,11 @@ dependencies = [ [[package]] name = "lucisv_core" -version = "0.53.0" +version = "0.54.0" [[package]] name = "lucisv_server" -version = "0.53.0" +version = "0.54.0" dependencies = [ "lsp-server", "lsp-types", @@ -248,14 +248,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" [[package]] name = "vlog_formatter" -version = "0.53.0" +version = "0.54.0" dependencies = [ "vlog_parser", ] [[package]] name = "vlog_linter" -version = "0.53.0" +version = "0.54.0" dependencies = [ "lucisv_core", "vlog_formatter", @@ -265,11 +265,11 @@ dependencies = [ [[package]] name = "vlog_parser" -version = "0.53.0" +version = "0.54.0" [[package]] name = "vlog_refactor" -version = "0.53.0" +version = "0.54.0" dependencies = [ "vlog_formatter", "vlog_parser", @@ -278,7 +278,7 @@ dependencies = [ [[package]] name = "vlog_semantic" -version = "0.53.0" +version = "0.54.0" dependencies = [ "vlog_parser", ] diff --git a/Cargo.toml b/Cargo.toml index 833daf1..368da63 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ members = [ ] [workspace.package] -version = "0.53.0" +version = "0.54.0" authors = ["Guoliang Chen"] edition = "2021" license = "MIT" diff --git a/editors/vscode/CHANGELOG.md b/editors/vscode/CHANGELOG.md index e82231a..f980666 100644 --- a/editors/vscode/CHANGELOG.md +++ b/editors/vscode/CHANGELOG.md @@ -5,6 +5,16 @@ for you. The extension and its bundled language server share one version number; the full engineering notes live in the [project changelog](https://git.luci.ooo/lucio/lucisv/src/branch/master/CHANGELOG.md). +## 0.54.0 — 2026-09-12 + +- Rename now edits the `bind` files that name the renamed signal — bare + in a connection or through a hierarchical path — and warns about any + bind occurrence it cannot resolve instead of staying silent. Go to + definition, hover and references answer over bind files too. The index + rebuilds once after the update. +- The first code-action menu after an edit in a very large file is about + a fifth faster; nothing about the answers changed. + ## 0.53.0 — 2026-09-09 - A workspace with a symlinked directory alias no longer shows two diff --git a/editors/vscode/README.md b/editors/vscode/README.md index 7fa7c09..7e3d206 100644 --- a/editors/vscode/README.md +++ b/editors/vscode/README.md @@ -30,7 +30,7 @@ Install **lucisv — Verilog/SystemVerilog** from the VS Code Extensions view, then open a Verilog or SystemVerilog file. There is no separate server or CLI setup. -The current release is **0.53.0**. Its platform packages include both +The current release is **0.54.0**. Its platform packages include both `lucisv-server` and the `lucisv` command-line tool: | Package target | Machines | @@ -374,6 +374,12 @@ Every nesting color is a proper VS Code theme color: } ``` +## Release 0.54.0 highlights + +Version 0.54.0 makes rename edit `bind` files (or warn, never stay +silent) and cuts the first request after an edit in a very large file by +about a fifth. + ## Release 0.53.0 highlights Version 0.53.0 fixes the startup scan indexing a symlink-aliased diff --git a/editors/vscode/package.json b/editors/vscode/package.json index d1a5fe3..3881fca 100644 --- a/editors/vscode/package.json +++ b/editors/vscode/package.json @@ -2,7 +2,7 @@ "name": "lucisv", "displayName": "lucisv — Verilog/SystemVerilog", "description": "Fast Verilog/SystemVerilog formatting, linting, navigation, refactoring, semantic highlighting and RTL design intelligence.", - "version": "0.53.0", + "version": "0.54.0", "publisher": "guoliangchen", "author": "Guoliang Chen", "license": "MIT",