Release 0.42.0 — external waiver files and the two vendor shapes
Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
1 parent
8a92e79fc0
commit
972bd1cff1
6 files changed
+59
-11
No files matched your search
@@ -4,6 +4,29 @@ 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.42.0 — 2026-09-05
|
||||
|
||||
### External waiver files, and the two vendor shapes the sweep skipped
|
||||
|
||||
- **External waiver files** in Verible's format: `waive --rule=<rule>
|
||||
[--line=N|N-M] [--location=<pattern>]`, `#` comments. Read from
|
||||
`[lint] waivers` in `lucisv.toml`, `lucisv check --waiver-file` (repeatable)
|
||||
and the editor setting `lucisv.lint.waivers`; the three add up.
|
||||
`--location` is an `--exclude`-style pattern, not a regex, and a
|
||||
regex-looking one is refused by name. Union with inline waivers; unused
|
||||
external waivers are reported under `unused-waiver` at their line of the
|
||||
waiver file by `lucisv check`, after the whole run. The editor's quick
|
||||
fixes and fix-on-save honour external waivers too.
|
||||
- **Rival module/interface headers across an `ifdef`/`else`** (opentitan's
|
||||
`jtag_if.sv`) now parse: the unit is kept verbatim as a whole, the
|
||||
standing directive-split trade, instead of nesting and losing its
|
||||
closer.
|
||||
- **A net delay after the type** (`wire [31:0] #0.1 x = y;`, where the LRM
|
||||
puts it) is accepted and printed where it was written.
|
||||
- Documentation: the repository analysis audit's README and site rewrite
|
||||
(architecture across all eight crates, topo facts at codec 17) is
|
||||
committed; its three findings are planned as TODO §41–§43.
|
||||
|
||||
## 0.41.0 — 2026-09-04
|
||||
|
||||
### Code actions off the fan-out
|
||||
|
||||
Generated
+9
-8
@@ -97,7 +97,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "lucisv"
|
||||
version = "0.41.0"
|
||||
version = "0.42.0"
|
||||
dependencies = [
|
||||
"lucisv_core",
|
||||
"rayon",
|
||||
@@ -108,11 +108,11 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "lucisv_core"
|
||||
version = "0.41.0"
|
||||
version = "0.42.0"
|
||||
|
||||
[[package]]
|
||||
name = "lucisv_server"
|
||||
version = "0.41.0"
|
||||
version = "0.42.0"
|
||||
dependencies = [
|
||||
"lsp-server",
|
||||
"lsp-types",
|
||||
@@ -248,15 +248,16 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
||||
|
||||
[[package]]
|
||||
name = "vlog_formatter"
|
||||
version = "0.41.0"
|
||||
version = "0.42.0"
|
||||
dependencies = [
|
||||
"vlog_parser",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "vlog_linter"
|
||||
version = "0.41.0"
|
||||
version = "0.42.0"
|
||||
dependencies = [
|
||||
"lucisv_core",
|
||||
"vlog_formatter",
|
||||
"vlog_parser",
|
||||
"vlog_semantic",
|
||||
@@ -264,11 +265,11 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "vlog_parser"
|
||||
version = "0.41.0"
|
||||
version = "0.42.0"
|
||||
|
||||
[[package]]
|
||||
name = "vlog_refactor"
|
||||
version = "0.41.0"
|
||||
version = "0.42.0"
|
||||
dependencies = [
|
||||
"vlog_parser",
|
||||
"vlog_semantic",
|
||||
@@ -276,7 +277,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "vlog_semantic"
|
||||
version = "0.41.0"
|
||||
version = "0.42.0"
|
||||
dependencies = [
|
||||
"vlog_parser",
|
||||
]
|
||||
+1
-1
@@ -12,7 +12,7 @@ members = [
|
||||
]
|
||||
|
||||
[workspace.package]
|
||||
version = "0.41.0"
|
||||
version = "0.42.0"
|
||||
authors = ["Guoliang Chen"]
|
||||
edition = "2021"
|
||||
license = "MIT"
|
||||
|
||||
@@ -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.42.0 — 2026-09-05
|
||||
|
||||
- **Waiver files.** Point `lucisv.lint.waivers` (or `[lint] waivers` in
|
||||
`lucisv.toml`) at a Verible-format waiver file and its suppressions
|
||||
apply in the editor: diagnostics, quick fixes and fix-on-save alike.
|
||||
- Two vendor shapes that used to be parse errors now format: a module
|
||||
header written twice across an `ifdef`/`else`, and a net delay after
|
||||
the type.
|
||||
|
||||
## 0.41.0 — 2026-09-04
|
||||
|
||||
- **A quieter cursor.** Resting the cursor on an instantiation of a
|
||||
|
||||
@@ -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.41.0**. Its platform packages include both
|
||||
The current release is **0.42.0**. Its platform packages include both
|
||||
`lucisv-server` and the `lucisv` command-line tool:
|
||||
|
||||
| Package target | Machines |
|
||||
@@ -288,6 +288,7 @@ Server-side templates add `if`, `if/else`, `else if`, `case`, `for`, `while`,
|
||||
| `lucisv.lint.select` | `[]` | Power-user spelling of `lucisv check --select`: run exactly these rules, replacing the default set. A severity word (`error`, `warning`, `style`) stands for its whole class |
|
||||
| `lucisv.lint.ignore` | `[]` | Power-user spelling of `--ignore`, and the off switch of last resort; takes a severity word too |
|
||||
| `lucisv.lint.options` | `{}` | Per-rule options, as `{ "<rule>": { "<option>": value } }` — the editor's spelling of a `[lint.<rule>]` table in `lucisv.toml`. Each rule's own dropdown names the options it takes, and `lucisv check --rules-doc` prints every one with its kind and default. A bad entry is ignored and reported in the lucisv output channel, so one typo cannot switch the linter off |
|
||||
| `lucisv.lint.waivers` | `[]` | External waiver files, absolute or relative to the first workspace folder — the editor's spelling of `lucisv check --waiver-file` and of `waivers` under `[lint]` in `lucisv.toml`, and added to whatever that table names. Verible's format: one `waive --rule=<rule> [--line=N|--line=N-M] [--location=<pattern>]` per line. A missing file or an unparsable directive is dropped and reported in the lucisv output channel. Unused external waivers are reported by `lucisv check` only |
|
||||
| `lucisv.formatOnSave` | `false` | Protocol save hook for editors without native format-on-save; keep off in VS Code. Its indent comes from `lucisv.toml` or `lucisv.indent`, never from the editor tab size, which the protocol does not send on this path |
|
||||
| `lucisv.serverPath` | bundled | Explicit server override for advanced use; an unchanged setting uses the bundled server |
|
||||
| `lucisv.verbose` | `false` | Print how long every operation took in the lucisv output channel — one `timing:` line per request, notification, scan, widen, buffer flush, and per request that had to wait behind a rescan. **Restarts the language server when changed**, because it is an argument the server is started with |
|
||||
@@ -364,6 +365,11 @@ Every nesting color is a proper VS Code theme color:
|
||||
}
|
||||
```
|
||||
|
||||
## Release 0.42.0 highlights
|
||||
|
||||
Version 0.42.0 adds external waiver files (Verible's format) and formats
|
||||
two vendor shapes the opentitan sweep used to skip.
|
||||
|
||||
## Release 0.41.0 highlights
|
||||
|
||||
Version 0.41.0 takes the code-action request off the module fan-out and
|
||||
|
||||
@@ -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.41.0",
|
||||
"version": "0.42.0",
|
||||
"publisher": "guoliangchen",
|
||||
"author": "Guoliang Chen",
|
||||
"license": "MIT",
|
||||
@@ -356,6 +356,15 @@
|
||||
"additionalProperties": true,
|
||||
"markdownDescription": "Per-rule lint options, as `{ \"<rule-name>\": { \"<option>\": value } }` — the editor's spelling of a `[lint.<rule-name>]` table in `lucisv.toml`. Example: `{ \"line-length\": { \"length\": 120 }, \"generate-label-prefix\": { \"prefix\": [\"g_\", \"gen_\"] } }`. Each rule's own toggle below names the options it takes, and `lucisv check --rules-doc` prints every option with its kind and default. An entry naming a rule or an option that does not exist — or carrying a value of the wrong kind, an integer out of range or a pattern that does not compile — is ignored and reported in the lucisv log, so one typo cannot switch the linter off. A rule option set here beats the same option in a `lucisv.toml`, key by key. Takes effect immediately — every open file is re-checked."
|
||||
},
|
||||
"lucisv.lint.waivers": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"default": [],
|
||||
"order": 14,
|
||||
"markdownDescription": "External waiver files to apply, absolute or relative to the first workspace folder — the editor's spelling of `lucisv check --waiver-file` and of `waivers` under `[lint]` in `lucisv.toml`. They **add** to whatever that table names; a finding an external waiver or an inline `// lucisv: waive` comment covers is suppressed. The format is Verible's: one `waive --rule=<rule> [--line=<n>|--line=<n>-<m>] [--location=<pattern>]` per line, `#` comments and blank lines ignored. Unlike Verible's, `--location` is not a regular expression — it is matched the way `#lucisv.exclude#` patterns are. A file that is missing, or a directive that does not parse, is dropped and reported in the lucisv log, so one typo cannot switch the linter off. The editor never reports an *unused* external waiver: only a whole `lucisv check` run over the project can tell that a waiver matched nothing. Takes effect immediately — every open file is re-checked."
|
||||
},
|
||||
"lucisv.lint.severity.error": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
|
||||
Reference in new issue
Block a user