sysml-v2-lsp 0.27.0 → 0.29.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
@@ -2,6 +2,35 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.29.0]
6
+
7
+ ### Added
8
+
9
+ - `sysml.validation.disabledCodes` filters published diagnostics by code and revalidates open documents when settings change (daltskin/VSCode_SysML_Extension#97).
10
+
11
+ ### Fixed
12
+
13
+ - Load startup configuration before workspace scanning and honor `sysml.workspace.preloadOnOpen` (`always`, `workspaceOnly`, or `never`) for nested unopened SysML and KerML files (daltskin/VSCode_SysML_Extension#96).
14
+
15
+ ## [0.28.0]
16
+
17
+ ### Added
18
+
19
+ - Custom LSP request `sysml/elementLookup` for batched, exact-match element lookup by declared name, short-name alias, or qualified name, with optional namespace scoping and an `indexingComplete` flag.
20
+ - Import filtering (SysML v2 §7.5.4), e.g., `import Pkg::**[@Approval and not @Deprecated];` and inline filter conditions on individual imports now restrict which members are brought into scope based on their metadata annotations.
21
+ - A new `ambiguous-namespace-name` diagnostic flags two same-kind declarations (e.g. two `part def A`) sharing a qualified name in the workspace; a package legitimately reopened across files, or a package and an unrelated definition sharing a name, are not flagged (KerML `Membership.isDistinguishableFrom`, §8.3.2.4.4).
22
+
23
+ ### Fixed
24
+
25
+ - Element lookup now returns one match per reopened package qualified name, retaining a matching fragment's location without hiding distinct non-package declarations or aliases on later fragments (#106).
26
+ - Editing an open document to resolve (or introduce) a name collision with another open document now re-validates that other document too, instead of leaving it with a stale `ambiguous-namespace-name` / cascaded `unresolved-type` diagnostic until closed and reopened.
27
+ - Cross-file diagnostic regression coverage now waits for semantic publications, so transient syntax-only results cannot falsely confirm that a conflict has cleared.
28
+ - Short-name lookup no longer attributes a nested declaration's alias to its enclosing package, definition, or usage.
29
+ - Element lookup now reflects unsaved edits immediately, before debounced validation runs, including renamed and deleted declarations.
30
+ - The `unresolved-type` diagnostic, and equivalent `sysml/model` resolution, now respects package/namespace visibility instead of matching any name anywhere in the workspace, so two unrelated packages reusing the same short name no longer mask a genuine unresolved reference.
31
+ - Improved robustness of namespace resolution against stack overflows, guarding against recursive/mutually re-exported package import cycles and protected-member visibility checks through a self-referential specialization chain.
32
+ - A nested package's own imports are no longer attributed to its enclosing definition, replacing the definition's own imports; import extraction is now restricted to the owning namespace's body.
33
+
5
34
  ## [0.27.0]
6
35
 
7
36
  ### Fixed