diff --git a/CHANGELOG.md b/CHANGELOG.md index 9755444..989b3e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,28 @@ 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.41.0 — 2026-09-04 + +### Code actions off the fan-out + +- **Lazy port refactorings.** For a client that supports + `codeAction/resolve` (VS Code does), the port actions are offered from + the buffer and the instantiated module's declaration alone, and the + edit is computed when the action is picked. The request VS Code sends + on nearly every cursor move no longer reads the module's fan-out: + flat at ~55 µs in-process from a 3-file to a 128-file fan-out, where + it was linear (15 ms at 128). A resolve for an action that no longer + applies is an error, not an empty edit. Clients without resolve + support get the edit up front, as before. +- **Definitions from the index.** `textDocument/definition` and + workspace symbols for a file-scope declaration in a closed file now + build the location from the positions the index already records + instead of reading the file: 0.4 µs against 28 µs per answer. +- **inlayHint at the default scope**: investigated, not changed. The + hints missing at that scope belong to a module declared outside what + the scope reaches; definition and hover say the same. A scope + question, recorded in the feature README. + ## 0.40.0 — 2026-09-04 ### Two parser residues and atomic writes diff --git a/Cargo.lock b/Cargo.lock index b701d2d..53d25a5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -97,7 +97,7 @@ dependencies = [ [[package]] name = "lucisv" -version = "0.40.0" +version = "0.41.0" dependencies = [ "lucisv_core", "rayon", @@ -108,11 +108,11 @@ dependencies = [ [[package]] name = "lucisv_core" -version = "0.40.0" +version = "0.41.0" [[package]] name = "lucisv_server" -version = "0.40.0" +version = "0.41.0" dependencies = [ "lsp-server", "lsp-types", @@ -248,14 +248,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" [[package]] name = "vlog_formatter" -version = "0.40.0" +version = "0.41.0" dependencies = [ "vlog_parser", ] [[package]] name = "vlog_linter" -version = "0.40.0" +version = "0.41.0" dependencies = [ "vlog_formatter", "vlog_parser", @@ -264,11 +264,11 @@ dependencies = [ [[package]] name = "vlog_parser" -version = "0.40.0" +version = "0.41.0" [[package]] name = "vlog_refactor" -version = "0.40.0" +version = "0.41.0" dependencies = [ "vlog_parser", "vlog_semantic", @@ -276,7 +276,7 @@ dependencies = [ [[package]] name = "vlog_semantic" -version = "0.40.0" +version = "0.41.0" dependencies = [ "vlog_parser", ] diff --git a/Cargo.toml b/Cargo.toml index ac65475..fc134c4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ members = [ ] [workspace.package] -version = "0.40.0" +version = "0.41.0" authors = ["Guoliang Chen"] edition = "2021" license = "MIT" diff --git a/editors/vscode/CHANGELOG.md b/editors/vscode/CHANGELOG.md index dc7002d..9fa5666 100644 --- a/editors/vscode/CHANGELOG.md +++ b/editors/vscode/CHANGELOG.md @@ -5,6 +5,14 @@ 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.41.0 — 2026-09-04 + +- **A quieter cursor.** Resting the cursor on an instantiation of a + widely used module no longer stalls the editor: port refactorings are + offered instantly and their edit is computed only when you pick one. +- **Faster go-to-definition** for declarations in files you have not + opened. + ## 0.40.0 — 2026-09-04 - **Better recovery while you type.** A stray `begin … end` at module diff --git a/editors/vscode/README.md b/editors/vscode/README.md index 90e59ee..4d004c5 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.40.0**. Its platform packages include both +The current release is **0.41.0**. Its platform packages include both `lucisv-server` and the `lucisv` command-line tool: | Package target | Machines | @@ -364,6 +364,11 @@ Every nesting color is a proper VS Code theme color: } ``` +## Release 0.41.0 highlights + +Version 0.41.0 takes the code-action request off the module fan-out and +answers go-to-definition from the index. + ## Release 0.40.0 highlights Version 0.40.0 recovers a stray `begin` block and a half-typed `#(` diff --git a/editors/vscode/package.json b/editors/vscode/package.json index d1794a6..93ec9f3 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.40.0", + "version": "0.41.0", "publisher": "guoliangchen", "author": "Guoliang Chen", "license": "MIT",