diff --git a/CHANGELOG.md b/CHANGELOG.md index 3024daa..4613784 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,42 @@ 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.62.0 — 2026-10-19 + +### Paths rooted at a top-level module; a dependable release gate + +(`docs/features/top-rooted-paths`, `docs/features/release-gates`, +`docs/features/references-fanout-pd-main`.) + +- **A hierarchical path that starts at a top-level module now resolves.** + `tb.dut.u_core.sig` written in a file that does not declare `tb` used to + stop at `tb`; now every segment is a reference — `find_references` and LSP + references list it, and a rename of `dut`, `u_core`, `sig` or a generate + label on the way rewrites the path. `$root.tb…` works; a local `tb` + shadows. The LSP's rename also reads the files of the path's root and the + modules it passes through. **Rooted only when lucisv can prove the head is + a top-level module**: not when the name could come from a wildcard import + (including `import uvm_pkg::*` with `uvm_pkg` outside the project), not + inside a class, not beside a macro that stands where a declaration could, + and not when the name is also a package or several modules share it — + those paths are left unchanged and warned about exactly as before. The + index cache format moves to 22, so a 0.61.0 cache is rebuilt once. +- An unresolved path through the renamed name is warned about once (it was + sometimes named twice). +- **Find All References across blocks is relative to the index scope, by + design.** On a default `folder` scope a module's references and rename + reach only the folders the index covers; the `lucisv.index.scope` setting + now says that a rename of a module instantiated outside the scope leaves + those instantiations unchanged (use `workspace`, or open the file first). +- **`tools/gates.sh`** is the release gate: fmt, clippy, the test build, + each crate's suites, the doc-tests, the corpus gate and the extension + tests, each a separately guarded step with its own log and a summary; a + step the guard kills is retried once and reported as `KILLED → retried`. +- **`tools/guard.sh` fixes:** its memory limit now sees every process in the + tree (a pid-list bug hid everything three or more levels down, so builds + and test-spawned servers were never capped), and a closed stdin no longer + makes the command silently not run. + ## 0.61.0 — 2026-10-14 ### Call hierarchy from anywhere, functions and tasks as nodes; full-line references in VS Code diff --git a/Cargo.lock b/Cargo.lock index 26ad07d..1763005 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -97,7 +97,7 @@ dependencies = [ [[package]] name = "lucisv" -version = "0.61.0" +version = "0.62.0" dependencies = [ "lucisv_core", "rayon", @@ -108,11 +108,11 @@ dependencies = [ [[package]] name = "lucisv_core" -version = "0.61.0" +version = "0.62.0" [[package]] name = "lucisv_mcp" -version = "0.61.0" +version = "0.62.0" dependencies = [ "lucisv_core", "serde", @@ -126,7 +126,7 @@ dependencies = [ [[package]] name = "lucisv_server" -version = "0.61.0" +version = "0.62.0" dependencies = [ "lsp-server", "lsp-types", @@ -262,14 +262,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" [[package]] name = "vlog_formatter" -version = "0.61.0" +version = "0.62.0" dependencies = [ "vlog_parser", ] [[package]] name = "vlog_linter" -version = "0.61.0" +version = "0.62.0" dependencies = [ "lucisv_core", "vlog_formatter", @@ -279,11 +279,11 @@ dependencies = [ [[package]] name = "vlog_parser" -version = "0.61.0" +version = "0.62.0" [[package]] name = "vlog_refactor" -version = "0.61.0" +version = "0.62.0" dependencies = [ "vlog_formatter", "vlog_parser", @@ -292,7 +292,7 @@ dependencies = [ [[package]] name = "vlog_semantic" -version = "0.61.0" +version = "0.62.0" dependencies = [ "vlog_parser", ] diff --git a/Cargo.toml b/Cargo.toml index e8875a4..45cf72e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ members = [ ] [workspace.package] -version = "0.61.0" +version = "0.62.0" authors = ["Guoliang Chen"] edition = "2021" license = "MIT" diff --git a/editors/vscode/CHANGELOG.md b/editors/vscode/CHANGELOG.md index 58c9799..ddceef6 100644 --- a/editors/vscode/CHANGELOG.md +++ b/editors/vscode/CHANGELOG.md @@ -5,6 +5,18 @@ 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.62.0 — 2026-10-19 + +- **Find All References and Rename follow paths from a top-level module.** + `tb.dut.u_core.sig` in a testbench file is now a reference to `sig`, and + renaming `dut`, `u_core` or `sig` updates the path — whenever lucisv can + tell for certain that `tb` is a top-level module. Where it can't (the + name might come from a package the project doesn't contain, such as + `uvm_pkg`), the path is left alone and the rename says so, as before. +- The `lucisv.index.scope` setting now explains that renaming a module that + is also instantiated outside the indexed folders leaves those + instantiations unchanged. + ## 0.61.0 — 2026-10-14 - **Show Call Hierarchy works from where your cursor is.** It used to answer diff --git a/editors/vscode/README.md b/editors/vscode/README.md index d77533f..b2909ce 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.61.0**. Its platform packages include +The current release is **0.62.0**. Its platform packages include `lucisv-server`, the `lucisv` command-line tool and `lucisv-mcp` (see [Agents (MCP)](#agents-mcp)): @@ -406,6 +406,12 @@ Every nesting color is a proper VS Code theme color: } ``` +## Release 0.62.0 highlights + +Version 0.62.0 lets references and rename follow a hierarchical path from a +top-level module (`tb.dut.u_core.sig`) whenever the root is certain, and +says so plainly where it is not. + ## Release 0.61.0 highlights Version 0.61.0 makes Show Call Hierarchy answer from wherever the cursor is diff --git a/editors/vscode/package-lock.json b/editors/vscode/package-lock.json index fca1119..fb4e8c6 100644 --- a/editors/vscode/package-lock.json +++ b/editors/vscode/package-lock.json @@ -1,12 +1,12 @@ { "name": "lucisv", - "version": "0.61.0", + "version": "0.62.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "lucisv", - "version": "0.61.0", + "version": "0.62.0", "license": "MIT", "dependencies": { "vscode-languageclient": "9.0.1" diff --git a/editors/vscode/package.json b/editors/vscode/package.json index b9c8904..c726426 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.61.0", + "version": "0.62.0", "publisher": "guoliangchen", "author": "Guoliang Chen", "license": "MIT",