diff --git a/CHANGELOG.md b/CHANGELOG.md index 90fab5685..d571587cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ We maintain separate change logs for the individual packages: ## Closed Issues and PRs +* [v3.3.0](https://github.com/eclipse-langium/langium/milestone/14?closed=1) * [v3.2.0](https://github.com/eclipse-langium/langium/milestone/13?closed=1) * [v3.1.0](https://github.com/eclipse-langium/langium/milestone/12?closed=1) * [v3.0.0](https://github.com/eclipse-langium/langium/milestone/11?closed=1) diff --git a/examples/arithmetics/package.json b/examples/arithmetics/package.json index f69b1f007..8b72d7347 100644 --- a/examples/arithmetics/package.json +++ b/examples/arithmetics/package.json @@ -1,7 +1,7 @@ { "name": "langium-arithmetics-dsl", "displayName": "Arithmetics DSL", - "version": "3.2.0", + "version": "3.3.0", "description": "Example language built with Langium", "homepage": "https://langium.org", "engines": { @@ -69,12 +69,12 @@ "dependencies": { "chalk": "~5.3.0", "commander": "~11.0.0", - "langium": "~3.2.0", + "langium": "~3.3.0", "vscode-languageclient": "~9.0.1", "vscode-languageserver": "~9.0.1" }, "devDependencies": { - "langium-cli": "~3.2.0" + "langium-cli": "~3.3.0" }, "volta": { "node": "18.19.1", diff --git a/examples/arithmetics/src/language-server/generated/ast.ts b/examples/arithmetics/src/language-server/generated/ast.ts index ddf86a9d1..39bc8506e 100644 --- a/examples/arithmetics/src/language-server/generated/ast.ts +++ b/examples/arithmetics/src/language-server/generated/ast.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 3.2.0. + * This file was generated by langium-cli 3.3.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/examples/arithmetics/src/language-server/generated/grammar.ts b/examples/arithmetics/src/language-server/generated/grammar.ts index 1184e85ae..4d4f84210 100644 --- a/examples/arithmetics/src/language-server/generated/grammar.ts +++ b/examples/arithmetics/src/language-server/generated/grammar.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 3.2.0. + * This file was generated by langium-cli 3.3.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/examples/arithmetics/src/language-server/generated/module.ts b/examples/arithmetics/src/language-server/generated/module.ts index c3f024fc8..290bba13a 100644 --- a/examples/arithmetics/src/language-server/generated/module.ts +++ b/examples/arithmetics/src/language-server/generated/module.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 3.2.0. + * This file was generated by langium-cli 3.3.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/examples/domainmodel/package.json b/examples/domainmodel/package.json index 5a36179a2..1880a46a6 100644 --- a/examples/domainmodel/package.json +++ b/examples/domainmodel/package.json @@ -1,7 +1,7 @@ { "name": "langium-domainmodel-dsl", "displayName": "Domain Model DSL", - "version": "3.2.0", + "version": "3.3.0", "description": "Example language built with Langium", "homepage": "https://langium.org", "engines": { @@ -60,13 +60,13 @@ "dependencies": { "chalk": "~5.3.0", "commander": "~11.0.0", - "langium": "~3.2.0", + "langium": "~3.3.0", "lodash": "~4.17.21", "vscode-languageclient": "~9.0.1", "vscode-languageserver": "~9.0.1" }, "devDependencies": { - "langium-cli": "~3.2.0" + "langium-cli": "~3.3.0" }, "volta": { "node": "18.19.1", diff --git a/examples/domainmodel/src/language-server/generated/ast.ts b/examples/domainmodel/src/language-server/generated/ast.ts index 93ab236b3..1d304f1ae 100644 --- a/examples/domainmodel/src/language-server/generated/ast.ts +++ b/examples/domainmodel/src/language-server/generated/ast.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 3.2.0. + * This file was generated by langium-cli 3.3.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/examples/domainmodel/src/language-server/generated/grammar.ts b/examples/domainmodel/src/language-server/generated/grammar.ts index c4cdfb2b6..6dd894e01 100644 --- a/examples/domainmodel/src/language-server/generated/grammar.ts +++ b/examples/domainmodel/src/language-server/generated/grammar.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 3.2.0. + * This file was generated by langium-cli 3.3.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/examples/domainmodel/src/language-server/generated/module.ts b/examples/domainmodel/src/language-server/generated/module.ts index 110b44663..73ee2deb5 100644 --- a/examples/domainmodel/src/language-server/generated/module.ts +++ b/examples/domainmodel/src/language-server/generated/module.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 3.2.0. + * This file was generated by langium-cli 3.3.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/examples/requirements/package.json b/examples/requirements/package.json index 0692cd463..a50712dd7 100644 --- a/examples/requirements/package.json +++ b/examples/requirements/package.json @@ -2,7 +2,7 @@ "name": "langium-requirements-dsl", "displayName": "Requirements DSL", "description": "A demo showing how to combine two DSLs", - "version": "3.2.0", + "version": "3.3.0", "engines": { "vscode": "^1.67.0" }, @@ -71,12 +71,12 @@ "dependencies": { "chalk": "~5.3.0", "commander": "~11.0.0", - "langium": "~3.2.0", + "langium": "~3.3.0", "vscode-languageclient": "~9.0.1", "vscode-languageserver": "~9.0.1" }, "devDependencies": { - "langium-cli": "~3.2.0" + "langium-cli": "~3.3.0" }, "volta": { "node": "18.19.1", diff --git a/examples/requirements/src/language-server/generated/ast.ts b/examples/requirements/src/language-server/generated/ast.ts index 5a04f6047..4875ee28c 100644 --- a/examples/requirements/src/language-server/generated/ast.ts +++ b/examples/requirements/src/language-server/generated/ast.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 3.2.0. + * This file was generated by langium-cli 3.3.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/examples/requirements/src/language-server/generated/grammar.ts b/examples/requirements/src/language-server/generated/grammar.ts index abb75d0dc..06c0f5cdc 100644 --- a/examples/requirements/src/language-server/generated/grammar.ts +++ b/examples/requirements/src/language-server/generated/grammar.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 3.2.0. + * This file was generated by langium-cli 3.3.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/examples/requirements/src/language-server/generated/module.ts b/examples/requirements/src/language-server/generated/module.ts index d23da3f71..a7538ac73 100644 --- a/examples/requirements/src/language-server/generated/module.ts +++ b/examples/requirements/src/language-server/generated/module.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 3.2.0. + * This file was generated by langium-cli 3.3.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/examples/statemachine/package.json b/examples/statemachine/package.json index e541e964d..10599d074 100644 --- a/examples/statemachine/package.json +++ b/examples/statemachine/package.json @@ -1,7 +1,7 @@ { "name": "langium-statemachine-dsl", "displayName": "State Machine DSL", - "version": "3.2.0", + "version": "3.3.0", "description": "Example language built with Langium", "homepage": "https://langium.org", "engines": { @@ -59,12 +59,12 @@ "dependencies": { "chalk": "~5.3.0", "commander": "~11.0.0", - "langium": "~3.2.0", + "langium": "~3.3.0", "vscode-languageclient": "~9.0.1", "vscode-languageserver": "~9.0.1" }, "devDependencies": { - "langium-cli": "~3.2.0" + "langium-cli": "~3.3.0" }, "volta": { "node": "18.19.1", diff --git a/examples/statemachine/src/language-server/generated/ast.ts b/examples/statemachine/src/language-server/generated/ast.ts index 27b258a4e..13d32cdd4 100644 --- a/examples/statemachine/src/language-server/generated/ast.ts +++ b/examples/statemachine/src/language-server/generated/ast.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 3.2.0. + * This file was generated by langium-cli 3.3.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/examples/statemachine/src/language-server/generated/grammar.ts b/examples/statemachine/src/language-server/generated/grammar.ts index f423c5e18..48e4abe6d 100644 --- a/examples/statemachine/src/language-server/generated/grammar.ts +++ b/examples/statemachine/src/language-server/generated/grammar.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 3.2.0. + * This file was generated by langium-cli 3.3.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/examples/statemachine/src/language-server/generated/module.ts b/examples/statemachine/src/language-server/generated/module.ts index 8fb40db2a..eb67896e6 100644 --- a/examples/statemachine/src/language-server/generated/module.ts +++ b/examples/statemachine/src/language-server/generated/module.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 3.2.0. + * This file was generated by langium-cli 3.3.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/package-lock.json b/package-lock.json index dd784c66f..1656a45ef 100644 --- a/package-lock.json +++ b/package-lock.json @@ -40,12 +40,12 @@ }, "examples/arithmetics": { "name": "langium-arithmetics-dsl", - "version": "3.2.0", + "version": "3.3.0", "license": "MIT", "dependencies": { "chalk": "~5.3.0", "commander": "~11.0.0", - "langium": "~3.2.0", + "langium": "~3.3.0", "vscode-languageclient": "~9.0.1", "vscode-languageserver": "~9.0.1" }, @@ -53,7 +53,7 @@ "arithmetics-cli": "bin/cli.js" }, "devDependencies": { - "langium-cli": "~3.2.0" + "langium-cli": "~3.3.0" }, "engines": { "vscode": "^1.67.0" @@ -72,12 +72,12 @@ }, "examples/domainmodel": { "name": "langium-domainmodel-dsl", - "version": "3.2.0", + "version": "3.3.0", "license": "MIT", "dependencies": { "chalk": "~5.3.0", "commander": "~11.0.0", - "langium": "~3.2.0", + "langium": "~3.3.0", "lodash": "~4.17.21", "vscode-languageclient": "~9.0.1", "vscode-languageserver": "~9.0.1" @@ -86,7 +86,7 @@ "domainmodel-cli": "bin/cli.js" }, "devDependencies": { - "langium-cli": "~3.2.0" + "langium-cli": "~3.3.0" }, "engines": { "vscode": "^1.67.0" @@ -105,11 +105,11 @@ }, "examples/requirements": { "name": "langium-requirements-dsl", - "version": "3.2.0", + "version": "3.3.0", "dependencies": { "chalk": "~5.3.0", "commander": "~11.0.0", - "langium": "~3.2.0", + "langium": "~3.3.0", "vscode-languageclient": "~9.0.1", "vscode-languageserver": "~9.0.1" }, @@ -117,7 +117,7 @@ "requirements-and-tests-lang-cli": "bin/cli.js" }, "devDependencies": { - "langium-cli": "~3.2.0" + "langium-cli": "~3.3.0" }, "engines": { "vscode": "^1.67.0" @@ -136,12 +136,12 @@ }, "examples/statemachine": { "name": "langium-statemachine-dsl", - "version": "3.2.0", + "version": "3.3.0", "license": "MIT", "dependencies": { "chalk": "~5.3.0", "commander": "~11.0.0", - "langium": "~3.2.0", + "langium": "~3.3.0", "vscode-languageclient": "~9.0.1", "vscode-languageserver": "~9.0.1" }, @@ -149,7 +149,7 @@ "statemachine-cli": "bin/cli.js" }, "devDependencies": { - "langium-cli": "~3.2.0" + "langium-cli": "~3.3.0" }, "engines": { "vscode": "^1.67.0" @@ -9874,7 +9874,7 @@ } }, "packages/generator-langium": { - "version": "3.2.0", + "version": "3.3.0", "license": "MIT", "dependencies": { "chalk": "~5.3.0", @@ -10569,7 +10569,7 @@ } }, "packages/langium": { - "version": "3.2.0", + "version": "3.3.0", "license": "MIT", "dependencies": { "chevrotain": "~11.0.3", @@ -10579,7 +10579,7 @@ "vscode-uri": "~3.0.8" }, "devDependencies": { - "langium-cli": "~3.2.0", + "langium-cli": "~3.3.0", "typedoc": "^0.26.7" }, "engines": { @@ -10587,15 +10587,15 @@ } }, "packages/langium-cli": { - "version": "3.2.0", + "version": "3.3.0", "license": "MIT", "dependencies": { "chalk": "~5.3.0", "commander": "~11.0.0", "fs-extra": "~11.1.1", "jsonschema": "~1.4.1", - "langium": "~3.2.0", - "langium-railroad": "~3.2.0", + "langium": "~3.3.0", + "langium-railroad": "~3.3.0", "lodash": "~4.17.21" }, "bin": { @@ -10620,28 +10620,28 @@ } }, "packages/langium-railroad": { - "version": "3.2.0", + "version": "3.3.0", "license": "MIT", "dependencies": { - "langium": "~3.2.0", + "langium": "~3.3.0", "railroad-diagrams": "~1.0.0" } }, "packages/langium-sprotty": { - "version": "3.2.0", + "version": "3.3.0", "license": "MIT", "dependencies": { - "langium": "~3.2.0", + "langium": "~3.3.0", "sprotty-protocol": "^1.0.0" } }, "packages/langium-vscode": { - "version": "3.2.0", + "version": "3.3.0", "license": "MIT", "dependencies": { "ignore": "~5.2.4", - "langium": "3.2.0", - "langium-railroad": "3.2.0", + "langium": "3.3.0", + "langium-railroad": "3.3.0", "vscode-languageserver": "~9.0.1" }, "engines": { diff --git a/packages/generator-langium/package.json b/packages/generator-langium/package.json index b6af36bff..2416d306a 100644 --- a/packages/generator-langium/package.json +++ b/packages/generator-langium/package.json @@ -1,6 +1,6 @@ { "name": "generator-langium", - "version": "3.2.0", + "version": "3.3.0", "description": "Yeoman generator for Langium - the language engineering tool", "homepage": "https://langium.org", "engines": { diff --git a/packages/generator-langium/templates/core/.package.json b/packages/generator-langium/templates/core/.package.json index ce99490bc..96fa9530e 100644 --- a/packages/generator-langium/templates/core/.package.json +++ b/packages/generator-langium/templates/core/.package.json @@ -16,14 +16,14 @@ "langium:watch": "langium generate --watch" }, "dependencies": { - "langium": "~3.2.0" + "langium": "~3.3.0" }, "devDependencies": { "@types/node": "^18.0.0", "@typescript-eslint/parser": "~7.3.1", "@typescript-eslint/eslint-plugin": "~7.3.1", "eslint": "~8.57.0", - "langium-cli": "~3.2.0", + "langium-cli": "~3.3.0", "typescript": "~5.1.6" }, "volta": { diff --git a/packages/langium-cli/CHANGELOG.md b/packages/langium-cli/CHANGELOG.md index 1b5aa6793..108ec7821 100644 --- a/packages/langium-cli/CHANGELOG.md +++ b/packages/langium-cli/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log of `langium-cli` +## v3.3.0 (Nov. 2024) + +The `mode` flag (i.e. `production` or `development`) is now exposed via the generated language meta data ([#1688](https://github.com/eclipse-langium/langium/pull/1688)). + ## v3.2.0 (Sep. 2024) Fixed an `undefined` error on certain regexes in the monarch generator ([#1594](https://github.com/eclipse-langium/langium/pull/1594)). diff --git a/packages/langium-cli/package.json b/packages/langium-cli/package.json index d87f46f4c..1234078af 100644 --- a/packages/langium-cli/package.json +++ b/packages/langium-cli/package.json @@ -1,6 +1,6 @@ { "name": "langium-cli", - "version": "3.2.0", + "version": "3.3.0", "description": "CLI for Langium - the language engineering tool", "homepage": "https://langium.org", "engines": { @@ -47,8 +47,8 @@ "commander": "~11.0.0", "fs-extra": "~11.1.1", "jsonschema": "~1.4.1", - "langium": "~3.2.0", - "langium-railroad": "~3.2.0", + "langium": "~3.3.0", + "langium-railroad": "~3.3.0", "lodash": "~4.17.21" }, "devDependencies": { diff --git a/packages/langium-railroad/package.json b/packages/langium-railroad/package.json index 816db08a9..8a87121d6 100644 --- a/packages/langium-railroad/package.json +++ b/packages/langium-railroad/package.json @@ -1,6 +1,6 @@ { "name": "langium-railroad", - "version": "3.2.0", + "version": "3.3.0", "description": "Use Langium as source for railroad syntax diagrams", "homepage": "https://langium.org", "keywords": [ @@ -35,7 +35,7 @@ "publish:latest": "npm publish --tag latest --access public" }, "dependencies": { - "langium": "~3.2.0", + "langium": "~3.3.0", "railroad-diagrams": "~1.0.0" }, "volta": { diff --git a/packages/langium-sprotty/package.json b/packages/langium-sprotty/package.json index 7af3ccfda..42b141964 100644 --- a/packages/langium-sprotty/package.json +++ b/packages/langium-sprotty/package.json @@ -1,6 +1,6 @@ { "name": "langium-sprotty", - "version": "3.2.0", + "version": "3.3.0", "description": "Use Langium as source for Sprotty diagram models", "homepage": "https://langium.org", "keywords": [ @@ -35,7 +35,7 @@ "publish:latest": "npm publish --tag latest --access public" }, "dependencies": { - "langium": "~3.2.0", + "langium": "~3.3.0", "sprotty-protocol": "^1.0.0" }, "volta": { diff --git a/packages/langium-vscode/package.json b/packages/langium-vscode/package.json index e12084c3e..a63ac8c17 100644 --- a/packages/langium-vscode/package.json +++ b/packages/langium-vscode/package.json @@ -1,7 +1,7 @@ { "name": "langium-vscode", "publisher": "langium", - "version": "3.2.0", + "version": "3.3.0", "displayName": "Langium", "description": "Support for the Langium Grammar Language", "homepage": "https://langium.org", @@ -95,8 +95,8 @@ "lint": "eslint src --ext ts" }, "dependencies": { - "langium": "3.2.0", - "langium-railroad": "3.2.0", + "langium": "3.3.0", + "langium-railroad": "3.3.0", "vscode-languageserver": "~9.0.1", "ignore": "~5.2.4" }, diff --git a/packages/langium/CHANGELOG.md b/packages/langium/CHANGELOG.md index dde1a4bf2..d1d4857e1 100644 --- a/packages/langium/CHANGELOG.md +++ b/packages/langium/CHANGELOG.md @@ -1,5 +1,27 @@ # Change Log of `langium` +## 3.3.0 (Nov. 2024) + +This release marks the graduation of Langium to a mature Eclipse Foundation project. +See the [GitLab issue](https://gitlab.eclipse.org/eclipsefdn/emo-team/emo/-/issues/810) for more information. + +### General Improvements + +* Expose a new `LexerErrorMessageProvider` service to easily override lexer error messages ([#1716](https://github.com/eclipse-langium/langium/pull/1716)). +* Improve parser performance in `production` mode ([#1688](https://github.com/eclipse-langium/langium/pull/1688)). +* Expose workspace folders from the `WorkspaceManager` service ([#1679](https://github.com/eclipse-langium/langium/pull/1679)). +* Caching now supports invalidation on specific document states ([#1659](https://github.com/eclipse-langium/langium/pull/1659), [#1712](https://github.com/eclipse-langium/langium/pull/1712)). +* Improve performance of cancelable operations ([#1701](https://github.com/eclipse-langium/langium/pull/1701)). + +### Bug Fixes + +* Fixes for token builders ([#1708](https://github.com/eclipse-langium/langium/pull/1708), [#1685](https://github.com/eclipse-langium/langium/pull/1685)). + +## v3.2.1 (Nov. 2024) + +* Fix erroneous CST elements after assigned actions ([#1674](https://github.com/eclipse-langium/langium/pull/1674)). +* Fix a bug in the document build listener logic ([#1738](https://github.com/eclipse-langium/langium/pull/1738)). + ## v3.2.0 (Sep. 2024) ### General Improvements diff --git a/packages/langium/package.json b/packages/langium/package.json index 24a9650bc..699d225ef 100644 --- a/packages/langium/package.json +++ b/packages/langium/package.json @@ -1,6 +1,6 @@ { "name": "langium", - "version": "3.2.0", + "version": "3.3.0", "description": "A language engineering tool for the Language Server Protocol", "homepage": "https://langium.org", "engines": { @@ -72,7 +72,7 @@ "vscode-uri": "~3.0.8" }, "devDependencies": { - "langium-cli": "~3.2.0", + "langium-cli": "~3.3.0", "typedoc": "^0.26.7" }, "volta": { diff --git a/packages/langium/src/grammar/generated/grammar.ts b/packages/langium/src/grammar/generated/grammar.ts index d6fb0b876..067db4e0d 100644 --- a/packages/langium/src/grammar/generated/grammar.ts +++ b/packages/langium/src/grammar/generated/grammar.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 3.2.0. + * This file was generated by langium-cli 3.3.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/packages/langium/src/grammar/generated/module.ts b/packages/langium/src/grammar/generated/module.ts index 94d62306f..f01c4cca2 100644 --- a/packages/langium/src/grammar/generated/module.ts +++ b/packages/langium/src/grammar/generated/module.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 3.2.0. + * This file was generated by langium-cli 3.3.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/packages/langium/src/languages/generated/ast.ts b/packages/langium/src/languages/generated/ast.ts index fbd627460..ffe5368f9 100644 --- a/packages/langium/src/languages/generated/ast.ts +++ b/packages/langium/src/languages/generated/ast.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 3.2.0. + * This file was generated by langium-cli 3.3.0. * DO NOT EDIT MANUALLY! ******************************************************************************/