From ffbb29ddbb51ad09beddbbc2a0c178be008a2a1c Mon Sep 17 00:00:00 2001 From: Guoliang Chen Date: Fri, 4 Sep 2026 02:42:32 -0500 Subject: [PATCH] =?UTF-8?q?Release=200.36.1=20=E2=80=94=200.36.0=20with=20?= =?UTF-8?q?its=20release=20notes=20(that=20tag=20never=20published:=20no?= =?UTF-8?q?=20CHANGELOG=20section)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- CHANGELOG.md | 44 +++++++++++++++++++++++++++++++++++++ Cargo.lock | 16 +++++++------- Cargo.toml | 2 +- editors/vscode/CHANGELOG.md | 21 ++++++++++++++++++ editors/vscode/README.md | 9 +++++++- editors/vscode/package.json | 2 +- 6 files changed, 83 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cb4c8b0..e089c8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,50 @@ 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.36.1 — 2026-09-04 + +The 0.36.0 tag never published: its release commit shipped without a +CHANGELOG section (the release chain's draft lived in a session +scratchpad that a crash had wiped), and the release workflow refuses a +version without notes, as designed. 0.36.1 is 0.36.0 plus these notes. + +## 0.36.0 — 2026-09-03 + +### The linter grows up: severities, per-rule toggles, and 19 new rules + +Every lint rule now has a **severity** — `error` (would likely fail to +compile or elaborate, or silently mis-synthesize), `warning` (a probable +bug) or `style` — printed in `lucisv check` output +(`FILE:LINE:COL: warning: message [rule]`), carried in the JSON output, +mapped to red / yellow / blue in the editor, and shown in +`--rules-doc`, which now groups rules by class. `--select`, `--ignore` +and `[lint]` in `lucisv.toml` accept a severity word (`--ignore style`). + +**Editor toggles.** VS Code settings gain three master switches +(`lucisv.lint.severity.error`, `.warning`, `.style`) and one setting per +rule (`lucisv.lint.rules.`: `default` / `on` / `off`), generated +from the rule registry so the list can never drift. Precedence, top to +bottom: defaults → `select` → severity switches → per-rule settings → +`ignore`. Changing any of them re-checks every open file. + +**New rules — Error**: `mismatched-labels`, `duplicate-declaration`, +`undeclared-identifier` (with a project; silent for names that come +from macros, `` `include``d fragments or hierarchical paths), +`unknown-port`, `unknown-parameter`. +**New rules — Warning**: `forbid-defparam`, `invalid-system-task-function`, +`truncated-numeric-literal`, `undersized-binary-literal` (safe fix pads), +`suspicious-semicolon`, `packed-dimensions-range-ordering`, `module-port`, +`module-parameter`, `explicit-function-task-parameter-type`, +`plusarg-assignment`, `instance-shadowing`, `forbid-negative-array-dim`, +`void-cast`, `incomplete-assignment` (latch inference in `always_comb`). +Verible equivalents are named in each rule's documentation; defaults +follow Verible's except where the doc says why not. Existing rules +re-classified: `multiply-driven` and `wire-reg-mixup` are errors. + +Measured on opentitan: every false-positive class found was closed with +a test; `lucisv check` over its `hw/` tree runs in the same time as +0.35.0. + ## 0.35.0 — 2026-09-02 ### Format fences reach statements and class bodies diff --git a/Cargo.lock b/Cargo.lock index 3112b95..6f90369 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -97,7 +97,7 @@ dependencies = [ [[package]] name = "lucisv" -version = "0.36.0" +version = "0.36.1" dependencies = [ "lucisv_core", "rayon", @@ -108,11 +108,11 @@ dependencies = [ [[package]] name = "lucisv_core" -version = "0.36.0" +version = "0.36.1" [[package]] name = "lucisv_server" -version = "0.36.0" +version = "0.36.1" dependencies = [ "lsp-server", "lsp-types", @@ -248,14 +248,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" [[package]] name = "vlog_formatter" -version = "0.36.0" +version = "0.36.1" dependencies = [ "vlog_parser", ] [[package]] name = "vlog_linter" -version = "0.36.0" +version = "0.36.1" dependencies = [ "vlog_formatter", "vlog_parser", @@ -264,11 +264,11 @@ dependencies = [ [[package]] name = "vlog_parser" -version = "0.36.0" +version = "0.36.1" [[package]] name = "vlog_refactor" -version = "0.36.0" +version = "0.36.1" dependencies = [ "vlog_parser", "vlog_semantic", @@ -276,7 +276,7 @@ dependencies = [ [[package]] name = "vlog_semantic" -version = "0.36.0" +version = "0.36.1" dependencies = [ "vlog_parser", ] diff --git a/Cargo.toml b/Cargo.toml index 260639b..42698a5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ members = [ ] [workspace.package] -version = "0.36.0" +version = "0.36.1" authors = ["Guoliang Chen"] edition = "2021" license = "MIT" diff --git a/editors/vscode/CHANGELOG.md b/editors/vscode/CHANGELOG.md index faa6791..c9352cf 100644 --- a/editors/vscode/CHANGELOG.md +++ b/editors/vscode/CHANGELOG.md @@ -5,6 +5,27 @@ 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.36.1 — 2026-09-04 + +- 0.36.0 never published (its release shipped without notes); 0.36.1 is + the same build with them. + +## 0.36.0 — 2026-09-03 + +- **Lint severities and per-rule toggles.** Every rule is now an + error, a warning or a style note (red / yellow / blue in the editor). + Settings gain `lucisv.lint.severity.error|warning|style` master + switches and one `lucisv.lint.rules.` setting per rule + (`default` / `on` / `off`), so any rule or whole class can be turned + on or off from the Settings UI. +- **19 new rules** (36 in all), led by the ones that catch what would + not compile or would silently mis-synthesize: mismatched end labels, + duplicate declarations, undeclared identifiers, unknown ports and + parameters in instantiations, `defparam`, truncated and undersized + literals, suspicious semicolons, positional connections, untyped + task/function arguments, shadowing, and latch-inferring + `always_comb` blocks. + ## 0.35.0 — 2026-09-02 - **Format fences work inside procedural blocks and classes.** diff --git a/editors/vscode/README.md b/editors/vscode/README.md index 7f2c2a2..563d305 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.35.0**. Its platform packages include both +The current release is **0.36.1**. Its platform packages include both `lucisv-server` and the `lucisv` command-line tool: | Package target | Machines | @@ -344,6 +344,13 @@ Every nesting color is a proper VS Code theme color: } ``` +## Release 0.36.1 highlights + +Version 0.36.1 (0.36.0 plus its release notes) gives every lint rule a +severity, exposes every rule and every severity class as a toggle in +Settings, and adds nineteen rules aimed at what would fail to compile +or silently mis-synthesize. + ## Release 0.35.0 highlights Version 0.35.0 lets format fences protect statements inside procedural diff --git a/editors/vscode/package.json b/editors/vscode/package.json index d8b4f03..dc168fe 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.36.0", + "version": "0.36.1", "publisher": "guoliangchen", "author": "Guoliang Chen", "license": "MIT",