sysml-v2-lsp 0.11.0 → 0.13.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 CHANGED
@@ -1,5 +1,44 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.13.0]
4
+
5
+ ### Added
6
+
7
+ - Comprehensive benchmark framework (`benchmarks/`) with 6 suites: parse, symbolTable, providers, memory, throughput, folderLoad — includes CLI runner, JSON baselines, and regression detection
8
+ - Dependabot configuration for weekly npm and GitHub Actions dependency updates
9
+ - Security audit step (`npm audit --audit-level=high`) in CI pipeline
10
+ - Configurable `sysml.scan.skipDirectories` setting for workspace scanning
11
+
12
+ ### Changed
13
+
14
+ - Symbol table: O(1) `inferKind()` via `ruleIndex` lookup maps, binary-search `findSymbolAtPosition()`, reverse-index `findReferences()`, cached `getAllSymbols()`
15
+ - Batch parsing with shared lexer/parser singletons; token stream reuse on SLL→LL fallback
16
+ - Workspace scanning redesigned as 3-phase async pipeline: concurrent discovery → batched file I/O → sequential batch parse
17
+ - Provider caching: SemanticTokens (URI+version), DiagnosticsProvider (grammar ranges), CompletionProvider (array identity), SemanticValidator (symbol names, library names, line-offset binary search)
18
+ - HoverProvider uses cached diagnostics only — no longer triggers full validation on hover
19
+ - Parse worker builds visible token array once, shared across all post-parse analysis
20
+ - Removed dead `scanWorkspaceFolder` function and superseded `scripts/benchmark-parse.ts`
21
+ - Security: updated `hono` to fix HTML injection via JSX attribute names (GHSA-458j-xx4x-4375)
22
+ - Enforced consistent LF line endings via `.gitattributes`
23
+ - Build artifacts and Python cache excluded from version control
24
+
25
+ ## [0.12.0]
26
+
27
+ ### Added
28
+
29
+ - Parse performance benchmark script (`scripts/benchmark-parse.ts`) for cold vs DFA-pre-seeded comparisons
30
+ - Async workspace scanning with post-scan revalidation of open documents
31
+
32
+ ### Changed
33
+
34
+ - Workspace file scanning now only runs for `.code-workspace` projects, avoiding wasteful scans in single-file mode
35
+ - Completion provider caches definition completions per document version
36
+ - Hover provider shares the server-level semantic validator to reuse cached indexes
37
+ - Semantic validator caches symbol indexes across validation runs
38
+ - Parse worker improved DFA snapshot retry and re-parse logic
39
+ - Diagnostics line numbers clamped to prevent negative values from error listener
40
+ - Workspace scan skips `temp`, `test`, `dist`, `build`, and similar non-project directories
41
+
3
42
  ## [0.11.0]
4
43
 
5
44
  ### Added
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![npm](https://img.shields.io/npm/v/sysml-v2-lsp?logo=npm)](https://www.npmjs.com/package/sysml-v2-lsp)
4
4
 
5
- [![SysML v2.0 Language Support VS Code Marketplace](https://img.shields.io/visual-studio-marketplace/v/JamieD.sysml-v2-support?label=VS%20Code%20Marketplace&logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=JamieD.sysml-v2-support)
5
+ [![SysML v2.0 Language Support VS Code Marketplace](https://img.shields.io/badge/Install-VS%20Code%20Marketplace-007ACC?logo=visual-studio-code)](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