Closed renovate[bot] closed 8 months ago
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
Removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: esbuild@0.18.20, nx@16.7.0, relay-compiler@0.0.0-main-72f38f5b, svgo@3.0.2
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
This PR contains the following updates:
1.2.1
->2.1.3
Release Notes
eclipse-langium/langium (langium)
### [`v2.1.3`](https://togithub.com/eclipse-langium/langium/compare/bc6dabe056ef46aaa74ff2de9a80ba6ac8b96f3d...1726dfcab13539a60c45da3fd94f556af93cf7e0) [Compare Source](https://togithub.com/eclipse-langium/langium/compare/bc6dabe056ef46aaa74ff2de9a80ba6ac8b96f3d...1726dfcab13539a60c45da3fd94f556af93cf7e0) ### [`v2.1.2`](https://togithub.com/eclipse-langium/langium/compare/9b177376c01b0e2c69cdbd82f5fc07b2e1d4577c...bc6dabe056ef46aaa74ff2de9a80ba6ac8b96f3d) [Compare Source](https://togithub.com/eclipse-langium/langium/compare/9b177376c01b0e2c69cdbd82f5fc07b2e1d4577c...bc6dabe056ef46aaa74ff2de9a80ba6ac8b96f3d) ### [`v2.1.1`](https://togithub.com/eclipse-langium/langium/compare/v2.1.0...9b177376c01b0e2c69cdbd82f5fc07b2e1d4577c) [Compare Source](https://togithub.com/eclipse-langium/langium/compare/v2.1.0...9b177376c01b0e2c69cdbd82f5fc07b2e1d4577c) ### [`v2.1.0`](https://togithub.com/eclipse-langium/langium/blob/HEAD/packages/langium/CHANGELOG.md#v210-Nov-2023) [Compare Source](https://togithub.com/eclipse-langium/langium/compare/88a044c2e826b2fb8e8df1ca7c756274c5885503...v2.1.0) ##### 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://togithub.com/eclipse-langium/langium/pull/1162)) ##### General Improvements - Allow JSDoc tag rendering customizations ([#1245](https://togithub.com/eclipse-langium/langium/pull/1245)). - Updated the used `vscode-languageserver` version to 9.0 ([#1237](https://togithub.com/eclipse-langium/langium/pull/1237)) - Various improvements to the completion provider ([#1178](https://togithub.com/eclipse-langium/langium/pull/1178), [#1204](https://togithub.com/eclipse-langium/langium/pull/1204), [#1215](https://togithub.com/eclipse-langium/langium/pull/1215), [#1239](https://togithub.com/eclipse-langium/langium/pull/1239)). - Prevent file name collisions during testing ([#1153](https://togithub.com/eclipse-langium/langium/pull/1153)). - Added missing semantic token type `decorator` ([#1234](https://togithub.com/eclipse-langium/langium/pull/1234)). - Emit `onUpdate` event on `DocumentBuilder#build` ([#1190](https://togithub.com/eclipse-langium/langium/pull/1190)). ### [`v2.0.2`](https://togithub.com/eclipse-langium/langium/compare/6145872ce057aad9c9bfb4ffbdbe9c817bbaf82c...88a044c2e826b2fb8e8df1ca7c756274c5885503) [Compare Source](https://togithub.com/eclipse-langium/langium/compare/6145872ce057aad9c9bfb4ffbdbe9c817bbaf82c...88a044c2e826b2fb8e8df1ca7c756274c5885503) ### [`v2.0.1`](https://togithub.com/eclipse-langium/langium/blob/HEAD/packages/langium/CHANGELOG.md#v201-Aug-2023) [Compare Source](https://togithub.com/eclipse-langium/langium/compare/v2.0.0...6145872ce057aad9c9bfb4ffbdbe9c817bbaf82c) Publish Langium's own grammar using minified JSON ([#1158](https://togithub.com/eclipse-langium/langium/pull/1158)). ### [`v2.0.0`](https://togithub.com/eclipse-langium/langium/blob/HEAD/packages/langium/CHANGELOG.md#v200-Aug-2023) [Compare Source](https://togithub.com/eclipse-langium/langium/compare/0a76c6fc155fb199072268b16bae858939400159...v2.0.0) ##### EcmaScript Modules (ESM) Langium is now compiling to ESM instead of CommonJS (CJS). CommonJS is the JavaScript convention introduced by Node.js and has historically been used in all Node.js based application. With the introduction of ESM to modern versions of the Node.js runtime, more and more projects and libraries are making the move to ESM. Since a lot of our dependencies have moved on, we decided to do so as well. While ESM based projects in Node.js can continue to import CJS code, CJS projects cannot (easily) import ESM code. This is a **very important change** for adopters, as it prevents using Langium as-is in CJS projects. This leaves us with a problem, as all vscode extensions need to run as CJS code. Luckily, JavaScript bundlers such as `esbuild` are capable of transforming ESM code into CJS code. Using a bundler for vscode extensions and language servers is heavily recommended anyway, so we hope that adopters don't have much trouble upgrading to Langium 2.0. You can find a small instruction manual on how to migrate TypeScript projects to ESM [here](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c#how-can-i-make-my-typescript-project-output-esm). Note that the newest version of the yeoman generator contains a ready-to-use bundler configuration. Adopters can use the generated project as a basis for upgrading to 2.0. We also have [a guide available on our website](https://langium.org/guides/code-bundling/) that goes into more detail on this topic. If you have any questions on this topic, feel free to ask us on the [GitHub Discussions Board](https://togithub.com/eclipse-langium/langium/discussions). ##### General Improvements - The `DefaultDocumentBuilder` has been refactored to allow for more flexible and fine-grained validation behavior. ([#1094](https://togithub.com/eclipse-langium/langium/pull/1094)). ##### Breaking Changes - The `CodeLensProvider`, `DocumentLinkProvider` and `InlayHintProvider` services were moved from the shared LSP services container to the language specific services container. Additionally, their `resolve` methods have been removed ([#1107](https://togithub.com/eclipse-langium/langium/pull/1107)). - Deprecated a few properties available on CST nodes. They have been renamed and their old property names will be deleted in a future version ([#1131](https://togithub.com/eclipse-langium/langium/pull/1131)): - `CstNode#parent` -> `container` - `CstNode#feature` -> `grammarSource` - `CstNode#element` -> `astNode` - `CompositeCstNode#children` -> `content` - The `IndexManager#getAffectedDocuments` has been changed to `isAffected`. Instead of returning a stream of all affected documents of a change, it now only returns whether a specified document is affected by the change of a set of documents ([#1094](https://togithub.com/eclipse-langium/langium/pull/1094)). - The `BuildOptions#validationChecks` property has been replaced with `validation?: boolean | ValidationOptions` ([#1094](https://togithub.com/eclipse-langium/langium/pull/1094)). *** ### [`v1.3.1`](https://togithub.com/eclipse-langium/langium/compare/v1.3.0...0a76c6fc155fb199072268b16bae858939400159) [Compare Source](https://togithub.com/eclipse-langium/langium/compare/v1.3.0...0a76c6fc155fb199072268b16bae858939400159) ### [`v1.3.0`](https://togithub.com/eclipse-langium/langium/blob/HEAD/packages/langium/CHANGELOG.md#v130-Aug-2023) [Compare Source](https://togithub.com/eclipse-langium/langium/compare/v1.2.1...v1.3.0) ##### Regular Expression Flags With [#1070](https://togithub.com/eclipse-langium/langium/pull/1070), the Langium grammar language now supports regular expression flags as part of terminal definitions: 1. `u` Enables unicode support for the specified terminal. 2. `i` Makes the terminal case-insensitive. 3. `s` Makes the wild character "`.`" match newlines as well. ##### Cache Support In order to build caches that are instantly invalidated on workspace or document changes, Langium provides 2 new classes with [#1123](https://togithub.com/eclipse-langium/langium/pull/1123): 1. The `WorkspaceCache` is a cache that gets cleared whenever a file in the workspace is changed, removed or created. 2. The `DocumentCache` is a cache that stores information for specific documents. Whenever that document is modified in any way, the cache for that document is invalidated. ##### General Improvements - The `DefaultCompletionProvider` has received some improvements and should be even more accurate now ([#1106](https://togithub.com/eclipse-langium/langium/pull/1106), [#1138](https://togithub.com/eclipse-langium/langium/pull/1138)). - Various performance improvements related to scoping and linking ([#1091](https://togithub.com/eclipse-langium/langium/pull/1091), [#1121](https://togithub.com/eclipse-langium/langium/pull/1121)). - The new `CommentProvider` serves as a way to override how the comment of an AST node is computed ([#1095](https://togithub.com/eclipse-langium/langium/pull/1095)). - The LSP `workspace/symbol` request is now resolved by the `WorkspaceSymbolProvider` ([#1100](https://togithub.com/eclipse-langium/langium/pull/1100)). - Properties in guarded groups are now properly typed as optional ([#1116](https://togithub.com/eclipse-langium/langium/pull/1116)). - Some generated regular expressions are now more accurate ([#1109](https://togithub.com/eclipse-langium/langium/pull/1109)). - Generated language metadata is now being typed as `const` ([#1111](https://togithub.com/eclipse-langium/langium/pull/1111)). - Fixed typing of the `root` property on CST nodes ([#1090](https://togithub.com/eclipse-langium/langium/pull/1090)). - Parser error messages are now overridable in a service ([#1108](https://togithub.com/eclipse-langium/langium/pull/1108)). - Prevent file name collisions during testing ([#1153](https://togithub.com/eclipse-langium/langium/pull/1153)). ***Configuration
📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.