Major Changes
-
#7377
7243340Thanks @aloisklink! - chore: upgrade to Langium v4Upgrade
@mermaid-js/parserto use Langium v4,
see https://github.com/eclipse-langium/langium/releases/tag/v4.0.0
for more details.The major breaking changes that impact consumers of this package are:
- Due to various type-related changes,
langiumnow requires version>= 5.8.0
of TypeScript. - The generated type names from
ast.tshave been moved from<typeName>to
<typeName>.$type
(langium#1942).
This also removes a transitive dependency on lodash versions that are vulnerable
to CVE-2025-13465, although
chevrotain doesn't use the affected functions,
so this is only to silence security scanners. - Due to various type-related changes,