sysml-v2-lsp 0.10.0 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +41 -0
- package/README.md +1 -1
- package/dist/server/mcpServer.js +10 -4
- package/dist/server/parseWorker.js +2 -2
- package/dist/server/server.js +17 -17
- package/index.cjs +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,46 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.12.0]
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Parse performance benchmark script (`scripts/benchmark-parse.ts`) for cold vs DFA-pre-seeded comparisons
|
|
8
|
+
- Async workspace scanning with post-scan revalidation of open documents
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- Workspace file scanning now only runs for `.code-workspace` projects, avoiding wasteful scans in single-file mode
|
|
13
|
+
- Completion provider caches definition completions per document version
|
|
14
|
+
- Hover provider shares the server-level semantic validator to reuse cached indexes
|
|
15
|
+
- Semantic validator caches symbol indexes across validation runs
|
|
16
|
+
- Parse worker improved DFA snapshot retry and re-parse logic
|
|
17
|
+
- Diagnostics line numbers clamped to prevent negative values from error listener
|
|
18
|
+
- Workspace scan skips `temp`, `test`, `dist`, `build`, and similar non-project directories
|
|
19
|
+
|
|
20
|
+
## [0.11.0]
|
|
21
|
+
|
|
22
|
+
### Added
|
|
23
|
+
|
|
24
|
+
- Cross-file requirement diagnostics: `satisfy` and `verify` checks now use workspace-wide model relationships instead of per-file text scanning (#10)
|
|
25
|
+
- Narrowed diagnostics suppression: syntax errors are only suppressed in blocks containing expression operators the grammar cannot parse (#8)
|
|
26
|
+
- Integration test suite covering keyword derivation, suppression narrowing, and end-to-end provider pipeline (#8)
|
|
27
|
+
- Regression tests for cross-file shorthand `satisfy`/`verify` (#10)
|
|
28
|
+
|
|
29
|
+
### Changed
|
|
30
|
+
|
|
31
|
+
- `stripComments()` consolidated into shared `identUtils.ts` — removed duplicates from model provider and semantic validator
|
|
32
|
+
- Keyword set derived from generated ANTLR lexer at runtime, replacing hardcoded list in symbol table (#8)
|
|
33
|
+
- `RelationshipDTO.source` is now optional for shorthand `satisfy`/`verify` without `by` clause
|
|
34
|
+
- Satisfy/verify caches populated in a single workspace scan instead of redundant passes
|
|
35
|
+
- Grammar and DFA snapshot updated
|
|
36
|
+
- Cascading `}` error suppression scoped to closing line of suppressed blocks only (#8)
|
|
37
|
+
|
|
38
|
+
### Fixed
|
|
39
|
+
|
|
40
|
+
- False `unsatisfied-requirement` / `unverified-requirement` warnings when models are split across files (#10)
|
|
41
|
+
- Expression operators inside comments no longer falsely trigger diagnostics suppression
|
|
42
|
+
- Security: updated dependencies to resolve 7 CVEs (lodash, vite, hono, path-to-regexp, picomatch, brace-expansion)
|
|
43
|
+
|
|
3
44
|
## [0.10.0]
|
|
4
45
|
|
|
5
46
|
### Added
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/sysml-v2-lsp)
|
|
4
4
|
|
|
5
|
-
[](https://marketplace.visualstudio.com/items?itemName=JamieD.sysml-v2-support)
|
|
6
6
|
|
|
7
7
|
A [Language Server Protocol (LSP)](https://microsoft.github.io/language-server-protocol/) implementation for [SysML v2](https://www.omgsysml.org/SysML-2.htm).
|
|
8
8
|
|