diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b90d1d..e2b2b7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,32 @@ 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.45.0 — 2026-09-05 + +### Cross-file semantics: type spans, re-exports, hierarchical tails + +- **Type names carry spans.** Every `DataType` and `disable` target knows + its range on the AST; the semantic crate's text scanner (`scan.rs`) is + deleted. Definition and hover on a type name land exactly, `pkg::t` + selecting `t`; a segment the source spells differently from the + parser's join is recorded with an empty range rather than guessed. +- **Package re-exports are real references.** `export pkg::item;` and + `export pkg::*;` bind both halves, the index records each package's + re-exports, and definition, hover, completion after `pkg::`, references + and rename follow them transitively. On opentitan a name reached only + through `export spi_device_reg_pkg::SramDepth;` now resolves. +- **Renaming an internal net edits its hierarchical uses in other files.** + A module now has a hierarchical surface (nets, variables, instances) + read only behind an instance head — `assign w = u_x.sig;` in another + file renames with `sig`'s declaration, nested `u_a.u_b.sig` included — + while connection lists still see ports and parameters only. Completion + after `u_x.` in an expression lists the hierarchical members. Over + opentitan's `hw/`, 514 hierarchical references resolve that did not + before; a rename that now reaches one more file costs one more file's + read. +- The index facts format is 19; stores written by earlier releases are + rebuilt on first use. + ## 0.44.0 — 2026-09-05 ### Opening a file no longer stalls the editor diff --git a/Cargo.lock b/Cargo.lock index 982140d..5a24b04 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -97,7 +97,7 @@ dependencies = [ [[package]] name = "lucisv" -version = "0.44.0" +version = "0.45.0" dependencies = [ "lucisv_core", "rayon", @@ -108,11 +108,11 @@ dependencies = [ [[package]] name = "lucisv_core" -version = "0.44.0" +version = "0.45.0" [[package]] name = "lucisv_server" -version = "0.44.0" +version = "0.45.0" dependencies = [ "lsp-server", "lsp-types", @@ -248,14 +248,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" [[package]] name = "vlog_formatter" -version = "0.44.0" +version = "0.45.0" dependencies = [ "vlog_parser", ] [[package]] name = "vlog_linter" -version = "0.44.0" +version = "0.45.0" dependencies = [ "lucisv_core", "vlog_formatter", @@ -265,11 +265,11 @@ dependencies = [ [[package]] name = "vlog_parser" -version = "0.44.0" +version = "0.45.0" [[package]] name = "vlog_refactor" -version = "0.44.0" +version = "0.45.0" dependencies = [ "vlog_parser", "vlog_semantic", @@ -277,7 +277,7 @@ dependencies = [ [[package]] name = "vlog_semantic" -version = "0.44.0" +version = "0.45.0" dependencies = [ "vlog_parser", ] diff --git a/Cargo.toml b/Cargo.toml index 0660cd0..144a993 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ members = [ ] [workspace.package] -version = "0.44.0" +version = "0.45.0" authors = ["Guoliang Chen"] edition = "2021" license = "MIT" diff --git a/editors/vscode/CHANGELOG.md b/editors/vscode/CHANGELOG.md index 2874e1b..41a00e5 100644 --- a/editors/vscode/CHANGELOG.md +++ b/editors/vscode/CHANGELOG.md @@ -5,6 +5,15 @@ 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.45.0 — 2026-09-05 + +- **Rename follows hierarchical paths across files.** Renaming a + module's internal signal now updates `u_inst.signal` uses in other + files, and `u_inst.` completion lists the module's internals. +- **Package re-exports resolve.** Names reached through + `export pkg::item;` get definition, hover, completion and rename. +- Go-to-definition on a type name lands exactly on the type. + ## 0.44.0 — 2026-09-05 - **Opening a file no longer stalls.** A lint rule was asking the diff --git a/editors/vscode/README.md b/editors/vscode/README.md index eed0590..4929a0f 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.44.0**. Its platform packages include both +The current release is **0.45.0**. Its platform packages include both `lucisv-server` and the `lucisv` command-line tool: | Package target | Machines | @@ -365,6 +365,12 @@ Every nesting color is a proper VS Code theme color: } ``` +## Release 0.45.0 highlights + +Version 0.45.0 makes rename follow hierarchical paths across files, +resolves names through package re-exports, and gives type names exact +spans. + ## Release 0.44.0 highlights Version 0.44.0 makes opening a file 10–15× faster (one lint rule was diff --git a/editors/vscode/package.json b/editors/vscode/package.json index 8653a00..4be2f76 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.44.0", + "version": "0.45.0", "publisher": "guoliangchen", "author": "Guoliang Chen", "license": "MIT",