Release 0.40.0 — two parser residues and atomic writes
release / build-and-publish (push) Successful in 6m11s
release / build-and-publish (push) Successful in 6m11s
Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
1 parent
a30dda167a
commit
797ef86d47
6 files changed
+50
-11
No files matched your search
@@ -4,6 +4,30 @@ 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.40.0 — 2026-09-04
|
||||
|
||||
### Two parser residues and atomic writes
|
||||
|
||||
- **A bare `begin … end` at module scope, or straight inside
|
||||
`generate … endgenerate`, is recovered** in error-tolerant mode as an
|
||||
unnamed generate block (`ItemKind::GenBlock`) with a diagnostic at the
|
||||
keyword, instead of being refused and taking the rest of the unit with
|
||||
it. The items inside and after the block are now visible to the
|
||||
editor and to every lint rule; `module-begin-block`,
|
||||
`v2001-generate-begin` and `mismatched-labels` read the node. Strict
|
||||
parsing is unchanged, so the formatter still refuses the file exactly
|
||||
as before.
|
||||
- **A half-typed `#(` override or connection whose value would read as
|
||||
the next instance** (`sub #(.W(8), .DEPTH(` ⏎ `u0 (.a(x));`) now costs
|
||||
one error element: `.W(8)` survives, `u0` is an instance with its
|
||||
connections, one diagnostic on the unclosed `(`. The balanced-parens
|
||||
spelling stays ambiguous and is still parsed greedily, by design.
|
||||
- **In-place writes are atomic.** `lucisv format`, `lucisv check --fix`
|
||||
and the cache write a sibling temp file and rename it over the target,
|
||||
so a crash or a full disk never leaves a source file truncated. The
|
||||
target's permissions are kept, a symlink's *target* is what gets
|
||||
replaced, and a read-only file is refused as it always was.
|
||||
|
||||
## 0.39.0 — 2026-09-04
|
||||
|
||||
### The rest of Verible's rules
|
||||
|
||||
Generated
+8
-8
@@ -97,7 +97,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "lucisv"
|
||||
version = "0.39.0"
|
||||
version = "0.40.0"
|
||||
dependencies = [
|
||||
"lucisv_core",
|
||||
"rayon",
|
||||
@@ -108,11 +108,11 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "lucisv_core"
|
||||
version = "0.39.0"
|
||||
version = "0.40.0"
|
||||
|
||||
[[package]]
|
||||
name = "lucisv_server"
|
||||
version = "0.39.0"
|
||||
version = "0.40.0"
|
||||
dependencies = [
|
||||
"lsp-server",
|
||||
"lsp-types",
|
||||
@@ -248,14 +248,14 @@ checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
||||
|
||||
[[package]]
|
||||
name = "vlog_formatter"
|
||||
version = "0.39.0"
|
||||
version = "0.40.0"
|
||||
dependencies = [
|
||||
"vlog_parser",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "vlog_linter"
|
||||
version = "0.39.0"
|
||||
version = "0.40.0"
|
||||
dependencies = [
|
||||
"vlog_formatter",
|
||||
"vlog_parser",
|
||||
@@ -264,11 +264,11 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "vlog_parser"
|
||||
version = "0.39.0"
|
||||
version = "0.40.0"
|
||||
|
||||
[[package]]
|
||||
name = "vlog_refactor"
|
||||
version = "0.39.0"
|
||||
version = "0.40.0"
|
||||
dependencies = [
|
||||
"vlog_parser",
|
||||
"vlog_semantic",
|
||||
@@ -276,7 +276,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "vlog_semantic"
|
||||
version = "0.39.0"
|
||||
version = "0.40.0"
|
||||
dependencies = [
|
||||
"vlog_parser",
|
||||
]
|
||||
+1
-1
@@ -12,7 +12,7 @@ members = [
|
||||
]
|
||||
|
||||
[workspace.package]
|
||||
version = "0.39.0"
|
||||
version = "0.40.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.40.0 — 2026-09-04
|
||||
|
||||
- **Better recovery while you type.** A stray `begin … end` at module
|
||||
scope, and a half-typed `#(` override above another instance, no
|
||||
longer take the rest of the module out of the outline, hover and
|
||||
diagnostics — you get one squiggle where the problem is.
|
||||
- **Safer saves.** Format-on-save and `--fix` now replace a file in one
|
||||
step; an interrupted write can no longer leave it truncated.
|
||||
|
||||
## 0.39.0 — 2026-09-04
|
||||
|
||||
- **Nineteen more lint rules** (73 in all): generate-style rules,
|
||||
|
||||
@@ -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.39.0**. Its platform packages include both
|
||||
The current release is **0.40.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.40.0 highlights
|
||||
|
||||
Version 0.40.0 recovers a stray `begin` block and a half-typed `#(`
|
||||
override without losing the rest of the module, and makes every
|
||||
in-place write atomic.
|
||||
|
||||
## Release 0.39.0 highlights
|
||||
|
||||
Version 0.39.0 completes the Verible rule set: 73 lint rules, each with
|
||||
|
||||
@@ -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.39.0",
|
||||
"version": "0.40.0",
|
||||
"publisher": "guoliangchen",
|
||||
"author": "Guoliang Chen",
|
||||
"license": "MIT",
|
||||
|
||||
Reference in new issue
Block a user