diff --git a/CHANGELOG.md b/CHANGELOG.md index 4dc8d8e4c..5b45446d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ We maintain separate change logs for the individual packages: ## Closed Issues and PRs +* [v2.1.0](https://github.com/eclipse-langium/langium/milestone/10?closed=1) * [v2.0.0](https://github.com/eclipse-langium/langium/milestone/9?closed=1) * [v1.3.0](https://github.com/eclipse-langium/langium/milestone/7?closed=1) * [v1.2.0](https://github.com/eclipse-langium/langium/milestone/8?closed=1) diff --git a/examples/arithmetics/package.json b/examples/arithmetics/package.json index 2b4de52e8..8741629c5 100644 --- a/examples/arithmetics/package.json +++ b/examples/arithmetics/package.json @@ -1,7 +1,7 @@ { "name": "langium-arithmetics-dsl", "displayName": "Arithmetics DSL", - "version": "2.0.0", + "version": "2.1.0", "description": "Example language built with Langium", "homepage": "https://langium.org", "engines": { @@ -49,14 +49,14 @@ "type": "module", "main": "./out/extension.cjs", "exports": { - ".": { - "types": "./out/extension.d.ts", - "default": "./out/extension.js" - }, - "./api": { - "types": "./out/language-server/generated/ast.d.ts", - "default": "./out/language-server/generated/ast.js" - } + ".": { + "types": "./out/extension.d.ts", + "default": "./out/extension.js" + }, + "./api": { + "types": "./out/language-server/generated/ast.d.ts", + "default": "./out/language-server/generated/ast.js" + } }, "scripts": { "build": "node esbuild.mjs", @@ -69,12 +69,12 @@ "dependencies": { "chalk": "~5.3.0", "commander": "~11.0.0", - "langium": "~2.0.0", + "langium": "~2.1.0", "vscode-languageclient": "~9.0.1", "vscode-languageserver": "~9.0.1" }, "devDependencies": { - "langium-cli": "~2.0.0" + "langium-cli": "~2.1.0" }, "volta": { "node": "18.17.1", diff --git a/examples/arithmetics/src/language-server/generated/ast.ts b/examples/arithmetics/src/language-server/generated/ast.ts index 90a3df095..465b43fbe 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 2.0.1. + * This file was generated by langium-cli 2.1.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 c0caf76ea..a38b28b9a 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 2.0.1. + * This file was generated by langium-cli 2.1.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 19e0f4afa..d05a1e7a7 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 2.0.1. + * This file was generated by langium-cli 2.1.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/examples/domainmodel/package.json b/examples/domainmodel/package.json index d1a38fcf5..3fc07a542 100644 --- a/examples/domainmodel/package.json +++ b/examples/domainmodel/package.json @@ -1,7 +1,7 @@ { "name": "langium-domainmodel-dsl", "displayName": "Domain Model DSL", - "version": "2.0.0", + "version": "2.1.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": "~2.0.0", + "langium": "~2.1.0", "lodash": "~4.17.21", "vscode-languageclient": "~9.0.1", "vscode-languageserver": "~9.0.1" }, "devDependencies": { - "langium-cli": "~2.0.0" + "langium-cli": "~2.1.0" }, "volta": { "node": "18.17.1", diff --git a/examples/domainmodel/src/language-server/generated/ast.ts b/examples/domainmodel/src/language-server/generated/ast.ts index e9c9a96b6..f594fe014 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 2.0.1. + * This file was generated by langium-cli 2.1.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 7b5ddc743..0560815e5 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 2.0.1. + * This file was generated by langium-cli 2.1.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 f2006ab21..3f1b3abce 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 2.0.1. + * This file was generated by langium-cli 2.1.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/examples/requirements/package.json b/examples/requirements/package.json index 5b7095bde..bfd643b9b 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": "2.0.0", + "version": "2.1.0", "engines": { "vscode": "^1.67.0" }, @@ -71,12 +71,12 @@ "dependencies": { "chalk": "~5.3.0", "commander": "~11.0.0", - "langium": "~2.0.0", + "langium": "~2.1.0", "vscode-languageclient": "~9.0.1", "vscode-languageserver": "~9.0.1" }, "devDependencies": { - "langium-cli": "~2.0.0" + "langium-cli": "~2.1.0" }, "volta": { "node": "18.17.1", diff --git a/examples/requirements/src/language-server/generated/ast.ts b/examples/requirements/src/language-server/generated/ast.ts index 6cc78900f..3fddf03c9 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 2.0.1. + * This file was generated by langium-cli 2.1.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 84ad35b42..a5b697000 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 2.0.1. + * This file was generated by langium-cli 2.1.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 5b49f3b5d..8d12c8ada 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 2.0.1. + * This file was generated by langium-cli 2.1.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/examples/statemachine/package.json b/examples/statemachine/package.json index b3b5b592d..8d96c0470 100644 --- a/examples/statemachine/package.json +++ b/examples/statemachine/package.json @@ -1,7 +1,7 @@ { "name": "langium-statemachine-dsl", "displayName": "State Machine DSL", - "version": "2.0.0", + "version": "2.1.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": "~2.0.0", + "langium": "~2.1.0", "vscode-languageclient": "~9.0.1", "vscode-languageserver": "~9.0.1" }, "devDependencies": { - "langium-cli": "~2.0.0" + "langium-cli": "~2.1.0" }, "volta": { "node": "18.17.1", diff --git a/examples/statemachine/src/language-server/generated/ast.ts b/examples/statemachine/src/language-server/generated/ast.ts index 60be2a508..d79a62094 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 2.0.1. + * This file was generated by langium-cli 2.1.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 b290ad7c6..568068422 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 2.0.1. + * This file was generated by langium-cli 2.1.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 5076ebf0e..e96d38508 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 2.0.1. + * This file was generated by langium-cli 2.1.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/package-lock.json b/package-lock.json index 316105477..0fb80be67 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31,12 +31,12 @@ }, "examples/arithmetics": { "name": "langium-arithmetics-dsl", - "version": "2.0.0", + "version": "2.1.0", "license": "MIT", "dependencies": { "chalk": "~5.3.0", "commander": "~11.0.0", - "langium": "~2.0.0", + "langium": "~2.1.0", "vscode-languageclient": "~9.0.1", "vscode-languageserver": "~9.0.1" }, @@ -44,7 +44,7 @@ "arithmetics-cli": "bin/cli.js" }, "devDependencies": { - "langium-cli": "~2.0.0" + "langium-cli": "~2.1.0" }, "engines": { "vscode": "^1.67.0" @@ -63,12 +63,12 @@ }, "examples/domainmodel": { "name": "langium-domainmodel-dsl", - "version": "2.0.0", + "version": "2.1.0", "license": "MIT", "dependencies": { "chalk": "~5.3.0", "commander": "~11.0.0", - "langium": "~2.0.0", + "langium": "~2.1.0", "lodash": "~4.17.21", "vscode-languageclient": "~9.0.1", "vscode-languageserver": "~9.0.1" @@ -77,7 +77,7 @@ "domainmodel-cli": "bin/cli.js" }, "devDependencies": { - "langium-cli": "~2.0.0" + "langium-cli": "~2.1.0" }, "engines": { "vscode": "^1.67.0" @@ -96,11 +96,11 @@ }, "examples/requirements": { "name": "langium-requirements-dsl", - "version": "2.0.0", + "version": "2.1.0", "dependencies": { "chalk": "~5.3.0", "commander": "~11.0.0", - "langium": "~2.0.0", + "langium": "~2.1.0", "vscode-languageclient": "~9.0.1", "vscode-languageserver": "~9.0.1" }, @@ -108,7 +108,7 @@ "requirements-and-tests-lang-cli": "bin/cli.js" }, "devDependencies": { - "langium-cli": "~2.0.0" + "langium-cli": "~2.1.0" }, "engines": { "vscode": "^1.67.0" @@ -127,12 +127,12 @@ }, "examples/statemachine": { "name": "langium-statemachine-dsl", - "version": "2.0.0", + "version": "2.1.0", "license": "MIT", "dependencies": { "chalk": "~5.3.0", "commander": "~11.0.0", - "langium": "~2.0.0", + "langium": "~2.1.0", "vscode-languageclient": "~9.0.1", "vscode-languageserver": "~9.0.1" }, @@ -140,7 +140,7 @@ "statemachine-cli": "bin/cli.js" }, "devDependencies": { - "langium-cli": "~2.0.0" + "langium-cli": "~2.1.0" }, "engines": { "vscode": "^1.67.0" @@ -7499,9 +7499,9 @@ "peer": true }, "node_modules/sprotty-protocol": { - "version": "0.13.0", - "resolved": "https://registry.npmjs.org/sprotty-protocol/-/sprotty-protocol-0.13.0.tgz", - "integrity": "sha512-yOaah3BNDwso6gS1yo/ceh+g/KOHeWLbajGiiyz9ngWLV4UUyP9VOWXN8jFI57k/0iAF5qhHTI7nkAeTqHFdLA==" + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/sprotty-protocol/-/sprotty-protocol-1.0.0.tgz", + "integrity": "sha512-p1H+ihcOmj0LEk2atcwOnYQPm0WByaOB1yX7fd869ONfQ5R+7x0X20YPdVLeCWmnhsszC/Rf91ojwaQiNIiHNA==" }, "node_modules/ssri": { "version": "8.0.1", @@ -9922,7 +9922,7 @@ } }, "packages/generator-langium": { - "version": "2.0.0", + "version": "2.1.0", "license": "MIT", "dependencies": { "chalk": "~5.3.0", @@ -9967,7 +9967,7 @@ } }, "packages/langium": { - "version": "2.0.1", + "version": "2.1.0", "license": "MIT", "dependencies": { "chevrotain": "~11.0.3", @@ -9977,22 +9977,22 @@ "vscode-uri": "~3.0.8" }, "devDependencies": { - "langium-cli": "~2.0.0" + "langium-cli": "~2.1.0" }, "engines": { "node": ">=16.0.0" } }, "packages/langium-cli": { - "version": "2.0.1", + "version": "2.1.0", "license": "MIT", "dependencies": { "chalk": "~5.3.0", "commander": "~11.0.0", "fs-extra": "~11.1.1", "jsonschema": "~1.4.1", - "langium": "~2.0.0", - "langium-railroad": "~2.0.0", + "langium": "~2.1.0", + "langium-railroad": "~2.1.0", "lodash": "~4.17.21" }, "bin": { @@ -10017,28 +10017,28 @@ } }, "packages/langium-railroad": { - "version": "2.0.0", + "version": "2.1.0", "license": "MIT", "dependencies": { - "langium": "~2.0.0", + "langium": "~2.1.0", "railroad-diagrams": "~1.0.0" } }, "packages/langium-sprotty": { - "version": "2.0.0", + "version": "2.1.0", "license": "MIT", "dependencies": { - "langium": "~2.0.0", - "sprotty-protocol": "~0.13.0" + "langium": "~2.1.0", + "sprotty-protocol": "~1.0.0" } }, "packages/langium-vscode": { - "version": "2.0.0", + "version": "2.1.0", "license": "MIT", "dependencies": { "ignore": "~5.2.4", - "langium": "2.0.1", - "langium-railroad": "2.0.0", + "langium": "2.1.0", + "langium-railroad": "2.1.0", "vscode-languageserver": "~9.0.1" }, "engines": { diff --git a/packages/generator-langium/CHANGELOG.md b/packages/generator-langium/CHANGELOG.md index e89a5f30d..00f328e83 100644 --- a/packages/generator-langium/CHANGELOG.md +++ b/packages/generator-langium/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log of `generator-langium` +## v2.1.0 (Nov. 2023) + +* Updated web template ([#1205](https://github.com/eclipse-langium/langium/pull/1205)) +* Fixed the CLI generator for ESM ([#1201](https://github.com/eclipse-langium/langium/pull/1201)) + ## v2.0.0 (Aug. 2023) * Added a bundle configuration using `esbuild` ([#1125](https://github.com/eclipse-langium/langium/pull/1125)). diff --git a/packages/generator-langium/package.json b/packages/generator-langium/package.json index 8572c48ce..8f1bd8269 100644 --- a/packages/generator-langium/package.json +++ b/packages/generator-langium/package.json @@ -1,6 +1,6 @@ { "name": "generator-langium", - "version": "2.0.0", + "version": "2.1.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 11997697a..c4c0de95c 100644 --- a/packages/generator-langium/templates/core/.package.json +++ b/packages/generator-langium/templates/core/.package.json @@ -15,14 +15,14 @@ "langium:watch": "langium generate --watch" }, "dependencies": { - "langium": "~2.0.1" + "langium": "~2.1.0" }, "devDependencies": { "@types/node": "~16.18.41", "@typescript-eslint/parser": "~6.4.1", "@typescript-eslint/eslint-plugin": "~6.4.1", "eslint": "~8.47.0", - "langium-cli": "~2.0.1", + "langium-cli": "~2.1.0", "typescript": "~5.1.6" } } diff --git a/packages/langium-cli/package.json b/packages/langium-cli/package.json index 2eebd8128..013ffa44a 100644 --- a/packages/langium-cli/package.json +++ b/packages/langium-cli/package.json @@ -1,6 +1,6 @@ { "name": "langium-cli", - "version": "2.0.1", + "version": "2.1.0", "description": "CLI for Langium - the language engineering tool", "homepage": "https://langium.org", "engines": { @@ -43,8 +43,8 @@ "commander": "~11.0.0", "fs-extra": "~11.1.1", "jsonschema": "~1.4.1", - "langium": "~2.0.0", - "langium-railroad": "~2.0.0", + "langium": "~2.1.0", + "langium-railroad": "~2.1.0", "lodash": "~4.17.21" }, "devDependencies": { diff --git a/packages/langium-railroad/CHANGELOG.md b/packages/langium-railroad/CHANGELOG.md index c87b9b8ac..85663f9a5 100644 --- a/packages/langium-railroad/CHANGELOG.md +++ b/packages/langium-railroad/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log of `langium-railroad` +## v2.1.0 (Nov. 2023) + +New monorepo release. + ## v2.0.0 (Aug. 2023) ### EcmaScript Modules (ESM) diff --git a/packages/langium-railroad/package.json b/packages/langium-railroad/package.json index b8a6987d6..5be6c147e 100644 --- a/packages/langium-railroad/package.json +++ b/packages/langium-railroad/package.json @@ -1,6 +1,6 @@ { "name": "langium-railroad", - "version": "2.0.0", + "version": "2.1.0", "description": "Use Langium as source for railroad syntax diagrams", "homepage": "https://langium.org", "keywords": [ @@ -34,7 +34,7 @@ "publish:latest": "npm publish --tag latest --access public" }, "dependencies": { - "langium": "~2.0.0", + "langium": "~2.1.0", "railroad-diagrams": "~1.0.0" }, "volta": { diff --git a/packages/langium-sprotty/package.json b/packages/langium-sprotty/package.json index c5e37c5d9..4f6b40234 100644 --- a/packages/langium-sprotty/package.json +++ b/packages/langium-sprotty/package.json @@ -1,6 +1,6 @@ { "name": "langium-sprotty", - "version": "2.0.0", + "version": "2.1.0", "description": "Use Langium as source for Sprotty diagram models", "homepage": "https://langium.org", "keywords": [ @@ -34,8 +34,8 @@ "publish:latest": "npm publish --tag latest --access public" }, "dependencies": { - "langium": "~2.0.0", - "sprotty-protocol": "~0.13.0" + "langium": "~2.1.0", + "sprotty-protocol": "~1.0.0" }, "volta": { "node": "18.17.1", diff --git a/packages/langium-vscode/CHANGELOG.md b/packages/langium-vscode/CHANGELOG.md index 49738e6da..7a92c4896 100644 --- a/packages/langium-vscode/CHANGELOG.md +++ b/packages/langium-vscode/CHANGELOG.md @@ -1,5 +1,10 @@ # Change Log of `langium-vscode` +## v2.1.0 (Nov. 2023) + +* Improve grammar language formatting ([#1185](https://github.com/eclipse-langium/langium/pull/1185)). +* Fix a false positive in the grammar language validation ([#1175](https://github.com/eclipse-langium/langium/pull/1175)). + ## v2.0.0 (Aug. 2023) * Includes a command to open a railroad syntax diagram for the currently selected langium grammar. Use the `Show Railroad Syntax Diagram` command or the corresponding button in the editor title bar to open the diagram ([#1075](https://github.com/eclipse-langium/langium/pull/1075)). diff --git a/packages/langium-vscode/package.json b/packages/langium-vscode/package.json index e2d16e566..7b92e62b9 100644 --- a/packages/langium-vscode/package.json +++ b/packages/langium-vscode/package.json @@ -1,7 +1,7 @@ { "name": "langium-vscode", "publisher": "langium", - "version": "2.0.0", + "version": "2.1.0", "displayName": "Langium", "description": "Support for the Langium Grammar Language", "homepage": "https://langium.org", @@ -91,8 +91,8 @@ "lint": "eslint src --ext ts" }, "dependencies": { - "langium": "2.0.1", - "langium-railroad": "2.0.0", + "langium": "2.1.0", + "langium-railroad": "2.1.0", "vscode-languageserver": "~9.0.1", "ignore": "~5.2.4" }, diff --git a/packages/langium/CHANGELOG.md b/packages/langium/CHANGELOG.md index d4f3ddd69..026421419 100644 --- a/packages/langium/CHANGELOG.md +++ b/packages/langium/CHANGELOG.md @@ -1,5 +1,22 @@ # Change Log of `langium` +## v2.1.0 (Nov. 2023) + +### End-Of-File Parser Tokens + +The grammar language now supports using end-of-file (EOF) tokens. +This is token can be useful in case your language is whitespace sensitive and you want to enforce that every statement ends on a newline. +Using EOF allows to replace the last newline token with the EOF token, removing the need for an additional empty line at the end of files. ([#1162](https://github.com/eclipse-langium/langium/pull/1162)) + +### General Improvements + +* Allow JSDoc tag rendering customizations ([#1245](https://github.com/eclipse-langium/langium/pull/1245)). +* Updated the used `vscode-languageserver` version to 9.0 ([#1237](https://github.com/eclipse-langium/langium/pull/1237)) +* Various improvements to the completion provider ([#1178](https://github.com/eclipse-langium/langium/pull/1178), [#1204](https://github.com/eclipse-langium/langium/pull/1204), [#1215](https://github.com/eclipse-langium/langium/pull/1215), [#1239](https://github.com/eclipse-langium/langium/pull/1239)). +* Prevent file name collisions during testing ([#1153](https://github.com/eclipse-langium/langium/pull/1153)). +* Added missing semantic token type `decorator` ([#1234](https://github.com/eclipse-langium/langium/pull/1234)). +* Emit `onUpdate` event on `DocumentBuilder#build` ([#1190](https://github.com/eclipse-langium/langium/pull/1190)). + ## v2.0.1 (Aug. 2023) Publish Langium's own grammar using minified JSON ([#1158](https://github.com/eclipse-langium/langium/pull/1158)). diff --git a/packages/langium/package.json b/packages/langium/package.json index fb882e3b3..f3ae2bff5 100644 --- a/packages/langium/package.json +++ b/packages/langium/package.json @@ -1,6 +1,6 @@ { "name": "langium", - "version": "2.0.1", + "version": "2.1.0", "description": "A language engineering tool for the Language Server Protocol", "homepage": "https://langium.org", "engines": { @@ -65,7 +65,7 @@ "vscode-uri": "~3.0.8" }, "devDependencies": { - "langium-cli": "~2.0.0" + "langium-cli": "~2.1.0" }, "volta": { "node": "18.17.1", diff --git a/packages/langium/src/grammar/generated/ast.ts b/packages/langium/src/grammar/generated/ast.ts index 1b70b9998..44a4a702b 100644 --- a/packages/langium/src/grammar/generated/ast.ts +++ b/packages/langium/src/grammar/generated/ast.ts @@ -1,5 +1,5 @@ /****************************************************************************** - * This file was generated by langium-cli 2.0.1. + * This file was generated by langium-cli 2.1.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/packages/langium/src/grammar/generated/grammar.ts b/packages/langium/src/grammar/generated/grammar.ts index 8f27cc6f8..67843837f 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 2.0.1. + * This file was generated by langium-cli 2.1.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/packages/langium/src/grammar/generated/module.ts b/packages/langium/src/grammar/generated/module.ts index 00ce74a66..eb50c4075 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 2.0.1. + * This file was generated by langium-cli 2.1.0. * DO NOT EDIT MANUALLY! ******************************************************************************/ diff --git a/scripts/update-version.js b/scripts/update-version.js index 5670e96e0..1ecedb9b5 100644 --- a/scripts/update-version.js +++ b/scripts/update-version.js @@ -7,6 +7,7 @@ async function runUpdate() { const version = langiumPackage.version; await Promise.all([ replaceAll('langium', true, version), + replaceAll('langium-railroad', true, version), replaceAll('langium-cli', true, version), replaceAll('langium-sprotty', true, version), replaceAll('langium-vscode', true, version), @@ -23,7 +24,9 @@ async function replaceAll(project, package, version, dot) { let content = await fs.readFile(path, 'utf-8'); content = content .replace(/(?<="langium": "[~\^]?)\d+\.\d+\.\d+/g, version) - .replace(/(?<="langium-cli": "[~\^]?)\d+\.\d+\.\d+/g, version); + .replace(/(?<="langium-cli": "[~\^]?)\d+\.\d+\.\d+/g, version) + .replace(/(?<="langium-railroad": "[~\^]?)\d+\.\d+\.\d+/g, version) + .replace(/(?<="langium-sprotty": "[~\^]?)\d+\.\d+\.\d+/g, version); await fs.writeFile(path, content); }