Skip to content

Commit 0c9fac4

Browse files
Added milestone, listed another breaking change in the CHANGELOG.md (#1994)
1 parent e3dd5d3 commit 0c9fac4

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ We maintain separate change logs for the individual packages:
99

1010
## Closed Issues and PRs
1111

12+
* [v4.0.0](https://github.com/eclipse-langium/langium/milestone/15?closed=1)
1213
* [v3.5.0](https://github.com/eclipse-langium/langium/milestone/17?closed=1)
1314
* [v3.4.0](https://github.com/eclipse-langium/langium/milestone/16?closed=1)
1415
* [v3.3.0](https://github.com/eclipse-langium/langium/milestone/14?closed=1)

packages/langium/CHANGELOG.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,15 @@ In addition to better readability, the new notation also makes use of performanc
7373
* Renamed `PrecomputedScopes` to `LocalSymbols` and introduced a dedicated interface for it ([#1788](https://github.com/eclipse-langium/langium/pull/1788)).
7474
* Removed unused Xtext features from the Langium grammar ([#1945](https://github.com/eclipse-langium/langium/pull/1945)).
7575
* The type of references used throughout the linker service and scope provider is now `Reference | MultiReference` ([#1509](https://github.com/eclipse-langium/langium/pull/1509)).
76-
* The `References#findDeclaration` method has been renamed to `findDeclarations` and returns an array of objects ([#1509](https://github.com/eclipse-langium/langium/pull/1509)).
76+
* The `References#findDeclaration` method has been renamed to `findDeclarations` and returns an array of objects ([#1509](https://github.com/eclipse-langium/langium/pull/1509)).
7777
* The generated type names from `ast.ts` have been moved from `<typeName>` to `<typeName>.$type` ([#1942](https://github.com/eclipse-langium/langium/pull/1942)).
7878
* Refined EBNF-based terminals to avoid synthetic capturing groups ([#1966](https://github.com/eclipse-langium/langium/pull/1966)).
7979
* Rules are no longer allowed to use the same name as the grammar in which they are contained ([#1979](https://github.com/eclipse-langium/langium/pull/1979)).
8080
* Grammar names now have to be unique ([#1979](https://github.com/eclipse-langium/langium/pull/1979)).
8181
* `DefaultCompletionProvider#createReferenceCompletionItem` now requires more arguments ([#1976](https://github.com/eclipse-langium/langium/pull/1976)).
8282
* The `singleton` item in the `DefaultServiceRegistry` has been removed ([#1768](https://github.com/eclipse-langium/langium/pull/1786)).
8383
* Removed several deprecated fields and functions ([#1991](https://github.com/eclipse-langium/langium/pull/1991)).
84+
* The extended file system provider interface requires to implement more methods ([#1784](https://github.com/eclipse-langium/langium/pull/1784)).
8485

8586
## v3.5.0 (Apr. 2025)
8687

@@ -197,7 +198,7 @@ Note that adopters generally shouldn't need to use this import at all.
197198

198199
All language server related functionality has been moved to `langium/lsp` ([#1258](https://github.com/eclipse-langium/langium/pull/1258)):
199200
* This includes all services in the `lsp` object of the langium service instance and the `startLanguageServer` function.
200-
* The `langium` import now only exposes the `LangiumCoreServices` service.
201+
* The `langium` import now only exposes the `LangiumCoreServices` service.
201202
Adopters using Langium to build a language server should continue using the known `LangiumServices`, which is now imported from `langium/lsp`.
202203

203204
### Asynchronous Parsing
@@ -230,7 +231,7 @@ If you're upgrading from v2 of Langium, there are a few breaking changes you sho
230231

231232
* All exports related to code generation have been moved from `langium` to `langium/generate`
232233
* All LSP related services/functions have been moved to `langium/lsp`. This includes the types `LangiumServices` and `LangiumSharedServices`, as well as the function `startLanguageServer`.
233-
* All code related to the internal workings of the grammar language have been moved to `langium/grammar`.
234+
* All code related to the internal workings of the grammar language have been moved to `langium/grammar`.
234235
* Utility functions related to AST/CST nodes, RegExp and some of the grammar are now exposed via namespaces to improve API surface area. They are now available under `AstUtils`, `CstUtils`, `GrammarUtils` and `RegExpUtils`. The names of the functions haven't changed.
235236
* The `FileSystemProvider#readFileSync` method has been removed.
236237
* The `LangiumDocuments#getOrCreateDocument` method now returns a `Promise<LangiumDocument>`. To use the `LangiumDocuments` in a sync context, use the `getDocument` method - optionally with the `createDocument` method - to get/create documents.
@@ -283,7 +284,7 @@ We also have [a guide available on our website](https://langium.org/guides/code-
283284

284285
### Breaking Changes
285286

286-
* 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://github.com/eclipse-langium/langium/pull/1107)).
287+
* 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://github.com/eclipse-langium/langium/pull/1107)).
287288
* 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://github.com/eclipse-langium/langium/pull/1131)):
288289
* `CstNode#parent` -> `container`
289290
* `CstNode#feature` -> `grammarSource`

0 commit comments

Comments
 (0)