From 999edd0203c9eae9ff9f1129ebb3b6570330a99e Mon Sep 17 00:00:00 2001 From: Guoliang Chen Date: Thu, 3 Sep 2026 02:48:12 -0700 Subject: [PATCH] =?UTF-8?q?Release=200.34.0=20=E2=80=94=20rename=20macro-a?= =?UTF-8?q?rgument=20warnings,=20modport=20prototypes,=20unnamed=20DPI=20f?= =?UTF-8?q?ormals,=20--rules-doc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- CHANGELOG.md | 31 +++++++++++++++++++++++++++++++ Cargo.lock | 16 ++++++++-------- Cargo.toml | 2 +- editors/vscode/CHANGELOG.md | 10 ++++++++++ editors/vscode/README.md | 8 +++++++- editors/vscode/package.json | 2 +- 6 files changed, 58 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7723afc..c597174 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,37 @@ 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.34.0 — 2026-09-02 + +### Rename tells you what it could not reach + +- **Macro arguments are named.** A rename now lists every file where the + old name appears inside a macro invocation that the rename did not + read (`` `uvm_info(..., $sformatf("%0d", sig)) `` in a file with no + other relationship to the name), one warning per file, so nothing is + silently left behind. Answered from a new per-file census in the + index without reading any file (under a millisecond on opentitan). +- The index store format changed (`FACTS_FORMAT` 17); it rebuilds once. + +### Grammar + +- **Modport method prototypes** (`modport mp (import task drive(int x), + input clk);`) parse, format and resolve: hover on the prototype's + name lands on the interface's task. +- **Unnamed DPI formals** (`import "DPI-C" function int f(int, chandle);`) + parse and format; an unnamed formal anywhere else is still an error. +- `const /*c*/ ref` keeps its comment. + +### CLI + +- `lucisv check --rules-doc` prints the generated rule reference. + +### Internal + +- Every file over 1 200 lines was decomposed (parser, formatter, server, + semantic and refactor crates) as pure moves with byte-identical + output; `vlog_refactor`'s `Scope` moved to the crate root. + ## 0.33.0 — 2026-09-02 ### Assertions are code now diff --git a/Cargo.lock b/Cargo.lock index a6b1eb3..68df27e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -97,7 +97,7 @@ dependencies = [ [[package]] name = "lucisv" -version = "0.33.0" +version = "0.34.0" dependencies = [ "lucisv_core", "rayon", @@ -108,11 +108,11 @@ dependencies = [ [[package]] name = "lucisv_core" -version = "0.33.0" +version = "0.34.0" [[package]] name = "lucisv_server" -version = "0.33.0" +version = "0.34.0" dependencies = [ "lsp-server", "lsp-types", @@ -248,14 +248,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" [[package]] name = "vlog_formatter" -version = "0.33.0" +version = "0.34.0" dependencies = [ "vlog_parser", ] [[package]] name = "vlog_linter" -version = "0.33.0" +version = "0.34.0" dependencies = [ "vlog_formatter", "vlog_parser", @@ -264,11 +264,11 @@ dependencies = [ [[package]] name = "vlog_parser" -version = "0.33.0" +version = "0.34.0" [[package]] name = "vlog_refactor" -version = "0.33.0" +version = "0.34.0" dependencies = [ "vlog_parser", "vlog_semantic", @@ -276,7 +276,7 @@ dependencies = [ [[package]] name = "vlog_semantic" -version = "0.33.0" +version = "0.34.0" dependencies = [ "vlog_parser", ] diff --git a/Cargo.toml b/Cargo.toml index 31cb758..0f409c8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ members = [ ] [workspace.package] -version = "0.33.0" +version = "0.34.0" authors = ["Guoliang Chen"] edition = "2021" license = "MIT" diff --git a/editors/vscode/CHANGELOG.md b/editors/vscode/CHANGELOG.md index 1ad365e..219f184 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.34.0 — 2026-09-02 + +- **Rename warns about macro arguments it could not edit**, naming every + file where the old name sits inside a macro invocation the rename did + not read — answered from the index in under a millisecond. +- Modport method prototypes (`import task drive(int x)`) and unnamed DPI + formals (`function int f(int, chandle)`) parse, format and resolve. +- `lucisv check --rules-doc` prints the generated rule reference. +- The index store format changed; it rebuilds once after updating. + ## 0.33.0 — 2026-09-02 - **Assertions are code.** `property`/`sequence` declarations and diff --git a/editors/vscode/README.md b/editors/vscode/README.md index 77a175d..f86dafd 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.33.0**. Its platform packages include both +The current release is **0.34.0**. Its platform packages include both `lucisv-server` and the `lucisv` command-line tool: | Package target | Machines | @@ -326,6 +326,12 @@ Every nesting color is a proper VS Code theme color: } ``` +## Release 0.34.0 highlights + +Version 0.34.0 makes rename name the macro arguments it cannot edit, +parses modport method prototypes and unnamed DPI formals, and adds +`lucisv check --rules-doc`. + ## Release 0.33.0 highlights Version 0.33.0 parses SystemVerilog assertions — `property`/`sequence` diff --git a/editors/vscode/package.json b/editors/vscode/package.json index 0330a58..6137cb0 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.33.0", + "version": "0.34.0", "publisher": "guoliangchen", "author": "Guoliang Chen", "license": "MIT",