diff --git a/CHANGELOG.md b/CHANGELOG.md index b115cbd..f8d6806 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,57 @@ 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.9.0 — 2026-08-26 + +The performance-model release: TODO.md §9b, the high-value half of the +LSP 3.18 audit, shipped one feature per dev/QA/review round. + +### Incremental text sync + +A keystroke now costs one range on the wire, not the whole file. Edits +are applied by one pure function with clamping rules inherited from the +existing position converter — a backwards range becomes a pure +insertion, the only reading that cannot lose text — cross-checked +against an independent reference model over 400 randomized edit +sequences. One notification is still one reparse, one diagnostics +generation, one publish. + +### Format on save (willSaveWaitUntil) + +The protocol's native format-on-save hook, for editors without one of +their own. Off by default (`lucisv.formatOnSave`) so it never fights an +editor that already formats on save; when on, it is the formatting +request with a different trigger — same engine, same verified-output, +all-or-nothing contract. The one protocol gap (no editor tab size on +this path) is documented rather than papered over. + +### Semantic tokens: range and delta + +`semanticTokens/range` answers just the lines the editor is showing; +`full/delta` answers edits against the previous result instead of the +whole token set. One tokenizer and one pure encoder serve full, range +and delta, proven byte-identical to the old encoder over a 41k-token +corpus file; the delta's single-edit diff carries the classic +prefix/suffix overlap trap, deliberately broken twice (dev and QA, +independently) to prove the suite catches it. + +### A progress bar on indexing + +Every workspace rescan — the startup build included — now shows a real +progress bar in clients that support one: what is being indexed, no +invented percentages, and an honest file count when it comes down. + +### $/cancelRequest + +The server reads its backlog in bursts and answers a request whose +cancel arrived alongside it with RequestCancelled instead of computing +it — completion requests a fast typist already outran no longer cost a +parse each. Cancellation is stateless by construction: a cancel matters +only next to its own request, everything else is dropped on sight, and +no cancel can talk the server out of a shutdown. Enabled by the +server's first thread — a 12-line forwarder that makes the client's +backlog observable at all through lsp-server's rendezvous channels. + ## 0.8.0 — 2026-08-26 The protocol-compliance release: the server was audited line-by-line diff --git a/Cargo.lock b/Cargo.lock index 8682997..77a965b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -97,7 +97,7 @@ dependencies = [ [[package]] name = "lucisv" -version = "0.8.0" +version = "0.9.0" dependencies = [ "lucisv_core", "rayon", @@ -108,11 +108,11 @@ dependencies = [ [[package]] name = "lucisv_core" -version = "0.8.0" +version = "0.9.0" [[package]] name = "lucisv_server" -version = "0.8.0" +version = "0.9.0" dependencies = [ "lsp-server", "lsp-types", @@ -248,14 +248,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" [[package]] name = "vlog_formatter" -version = "0.8.0" +version = "0.9.0" dependencies = [ "vlog_parser", ] [[package]] name = "vlog_linter" -version = "0.8.0" +version = "0.9.0" dependencies = [ "vlog_formatter", "vlog_parser", @@ -264,11 +264,11 @@ dependencies = [ [[package]] name = "vlog_parser" -version = "0.8.0" +version = "0.9.0" [[package]] name = "vlog_refactor" -version = "0.8.0" +version = "0.9.0" dependencies = [ "vlog_parser", "vlog_semantic", @@ -276,7 +276,7 @@ dependencies = [ [[package]] name = "vlog_semantic" -version = "0.8.0" +version = "0.9.0" dependencies = [ "vlog_parser", ] diff --git a/Cargo.toml b/Cargo.toml index d8bef5f..0c03948 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ members = [ ] [workspace.package] -version = "0.8.0" +version = "0.9.0" authors = ["Guoliang Chen"] edition = "2021" license = "MIT" diff --git a/editors/vscode/package.json b/editors/vscode/package.json index 31ac741..bd30168 100644 --- a/editors/vscode/package.json +++ b/editors/vscode/package.json @@ -2,7 +2,7 @@ "name": "lucisv", "displayName": "lucisv — Verilog/SystemVerilog", "description": "Formatting, diagnostics, navigation and semantic highlighting for Verilog and SystemVerilog, served by the lucisv language server.", - "version": "0.8.0", + "version": "0.9.0", "publisher": "guoliangchen", "author": "Guoliang Chen", "license": "MIT",