Release 0.38.0 — lint rule options and the Style family
ci / checks (push) Successful in 1m5s
ci / corpus (push) Successful in 33s
release / build-and-publish (push) Successful in 11m24s

Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
lucioandClaude Fable 5 committed 2026-09-04 03:46:03 -05:00
1 parent 0cb398bcd9
commit a896e0dff0
6 files changed
+61 -11

No files matched your search

+33
View File
@@ -4,6 +4,39 @@ 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.38.0 — 2026-09-04
### Lint rule options, and the Style family
**Per-rule options.** A rule that takes options can be configured in
`lucisv.toml` (`[lint.line-length] length = 120`,
`[lint.signal-name-style] style_regex = "[a-z_0-9]+"`) and from the
editor (`lucisv.lint.options`, one object keyed by rule). Both doors run
one validator: a bad key, kind, range or pattern fails `lucisv check`
naming the file and line, and is logged and dropped in the editor so a
typo cannot switch a rule off. Editor options win over `lucisv.toml`,
key by key. `--rules-doc` lists every option with its kind and default.
Patterns use a small built-in regex dialect (literals, `.`, classes,
groups, alternation, `* + ?`, `\d \w \s`), whole-name anchored, run as
a linear-time automaton so no pattern can slow a lint run; anything
outside the dialect is refused by name.
**Eighteen new Style rules** (54 in all): `line-length` (the
formatter's width), `posix-eof` (safe fix), `forbid-consecutive-null-
statements` (safe fix), `generate-label`, `generate-label-prefix`,
`package-filename`, `one-module-per-file` (off), `signal-name-style`
(off), `interface-name-style`, `macro-name-style`,
`constraint-name-style`, `parameter-type-name-style` (off),
`port-name-suffix` (off), `banned-declared-name-patterns` (off),
`typedef-enums`, `typedef-structs-unions`, `always-comb` (unsafe fix),
`explicit-begin` (off). The four existing naming rules take Verible's
option spellings. `typedef-structs-unions` allows a nested anonymous
aggregate by default — a deliberate divergence from Verible, because
every one of its 3 159 findings on opentitan was a generated register
package; `allow_anonymous_nested = false` restores the stricter reading.
Every rule's toggle in VS Code is regenerated from the registry.
## 0.37.0 — 2026-09-04
### Typing a header no longer loses the module
Generated
+8 -8
View File
@@ -97,7 +97,7 @@ dependencies = [
[[package]]
name = "lucisv"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"lucisv_core",
"rayon",
@@ -108,11 +108,11 @@ dependencies = [
[[package]]
name = "lucisv_core"
version = "0.37.0"
version = "0.38.0"
[[package]]
name = "lucisv_server"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"lsp-server",
"lsp-types",
@@ -248,14 +248,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
[[package]]
name = "vlog_formatter"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"vlog_parser",
]
[[package]]
name = "vlog_linter"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"vlog_formatter",
"vlog_parser",
@@ -264,11 +264,11 @@ dependencies = [
[[package]]
name = "vlog_parser"
version = "0.37.0"
version = "0.38.0"
[[package]]
name = "vlog_refactor"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"vlog_parser",
"vlog_semantic",
@@ -276,7 +276,7 @@ dependencies = [
[[package]]
name = "vlog_semantic"
version = "0.37.0"
version = "0.38.0"
dependencies = [
"vlog_parser",
]
+1 -1
View File
@@ -12,7 +12,7 @@ members = [
]
[workspace.package]
version = "0.37.0"
version = "0.38.0"
authors = ["Guoliang Chen"]
edition = "2021"
license = "MIT"
+11
View File
@@ -5,6 +5,17 @@ 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.38.0 — 2026-09-04
- **Rule options.** Configure a rule from `lucisv.lint.options` (or
`[lint.<rule>]` in `lucisv.toml`): naming patterns, `line-length`,
generate-label prefixes and more; a bad entry is logged, never silently
switches a rule off.
- **Eighteen Style rules** (54 in all): naming conventions for signals,
interfaces, macros, constraints and parameter types, generate labels,
typedef'd enums and structs, `always_comb` over `always @*`, line
length, end-of-file newline, and more — each with its own toggle.
## 0.37.0 — 2026-09-04
- **Typing a header no longer loses the module.** A half-typed port
+7 -1
View File
@@ -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.37.0**. Its platform packages include both
The current release is **0.38.0**. Its platform packages include both
`lucisv-server` and the `lucisv` command-line tool:
| Package target | Machines |
@@ -364,6 +364,12 @@ Every nesting color is a proper VS Code theme color:
}
```
## Release 0.38.0 highlights
Version 0.38.0 adds per-rule lint options (naming patterns, line
length, generate-label prefixes) and eighteen Style rules, each with
its own toggle — 54 rules in all.
## Release 0.37.0 highlights
Version 0.37.0 keeps a module or function intact while you type inside
+1 -1
View File
@@ -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.37.0",
"version": "0.38.0",
"publisher": "guoliangchen",
"author": "Guoliang Chen",
"license": "MIT",