-
Notifications
You must be signed in to change notification settings - Fork 0
/
releasenotes.html
980 lines (752 loc) · 60.3 KB
/
releasenotes.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Xtext - Release Notes</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description"
content="The website of Eclipse Xtext, an open-source framework for development of programming languages and domain-specific languages">
<meta name="author" content="Sven Efftinge">
<meta name="author" content="Miro Spoenemann">
<!-- styles -->
<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="https://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Le fav and touch icons -->
<link rel="shortcut icon" href="/Xtext/images/favicon.png">
<link href="/Xtext/css/bootstrap.css" rel="stylesheet" type='text/css'>
<link href="/Xtext/css/bootstrap-responsive.css" rel="stylesheet" type='text/css'>
<link href="/Xtext/css/shield-responsive.css" rel="stylesheet" type='text/css'>
<link href='/Xtext/css/fonts.css' rel='stylesheet' type='text/css'>
<link href="/Xtext/css/prettyPhoto.css" rel="stylesheet" media="screen" type='text/css'>
<link href="/Xtext/css/prettify.css" type="text/css" rel="stylesheet"/>
<link href="/Xtext/css/style.css" rel="stylesheet" type='text/css'>
<!-- cover flow -->
<link href="/Xtext/css/coverflow.css" rel="stylesheet" type='text/css'>
<!--[if lt IE 9]>
<link href="/css/iebugs.css" rel="stylesheet" type='text/css'>
<![endif]-->
<!-- BEGIN Cookie Consent
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.css" />
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.js"></script>
<script>
window.addEventListener("load", function(){
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#000"
},
"button": {
"background": "#f1d600"
}
},
"theme": "edgeless",
"type": "opt-in",
onInitialise: function (status) {
var type = this.options.type;
var didConsent = this.hasConsented();
if (type == 'opt-in' && didConsent) {
// TODO: enable cookies
}
if (type == 'opt-out' && !didConsent) {
// TODO: disable cookies
}
},
onStatusChange: function(status, chosenBefore) {
var type = this.options.type;
var didConsent = this.hasConsented();
if (type == 'opt-in' && didConsent) {
// TODO: enable cookies
}
if (type == 'opt-out' && !didConsent) {
// TODO: disable cookies
}
},
onRevokeChoice: function() {
var type = this.options.type;
if (type == 'opt-in') {
// TODO: disable cookies
}
if (type == 'opt-out') {
// TODO: enable cookies
}
},
"content": {
"href": "https://www.eclipse.org/legal/privacy.php"
}
})});
</script>
END Cookie Consent -->
</head>
<body>
<header class="site-header">
<!-- Navbar -->
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse"
data-target=".nav-collapse"> <span class="icon-bar"></span> <span
class="icon-bar"></span> <span class="icon-bar"></span>
</a> <a class="brand" href="/Xtext/index.html"></a>
<div class="nav-collapse collapse" style="height: 0px;">
<ul class="nav">
<!--li ><a href="/Xtext/news.html">News</a></li-->
<li ><a href="/Xtext/download.html">Download</a></li>
<li ><a href="/Xtext/documentation/index.html">Documentation</a></li>
<li ><a href="/Xtext/community.html">Community</a></li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">Support & Trainings<span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="https://www.itemis.com/en/xtext/support-and-team/" target="_blank">itemis</a></li>
<li><a href="https://www.typefox.io/language-engineering/" target="_blank">TypeFox</a></li>
</ul>
</li>
<li ><a href="https://eclipse.dev/Xtext/xtend">Xtend</a></li>
</ul>
<!--div class="nav pull-right">
<li ><a><iframe src="https://ghbtns.com/github-btn.html?user=eclipse&repo=xtext&type=star&count=true" frameborder="0" scrolling="0" width="170px" height="20px"></iframe></a></li>
</div-->
</div>
<!--/.nav-collapse -->
</div>
</div>
</div>
<!-- Navbar End -->
</header>
<div id="page">
<div class="inner">
<div class="container">
<br/>
<div>
<h3>Table of Contents</h3>
<ul>
<li><p><a href="#/releasenotes/2024/11/19/version-2-37-0">Xtext 2.37.0 Release Notes — Nov 19, 2024</a></p>
<li><p><a href="#/releasenotes/2024/08/25/version-2-36-0">Xtext 2.36.0 Release Notes — Aug 25, 2024</a></p>
<li><p><a href="#/releasenotes/2024/05/28/version-2-35-0">Xtext 2.35.0 Release Notes — May 28, 2024</a></p>
<li><p><a href="#/releasenotes/2024/02/27/version-2-34-0">Xtext 2.34.0 Release Notes — Feb 27, 2024</a></p>
<li><p><a href="#/releasenotes/2023/11/21/version-2-33-0">Xtext 2.33.0 Release Notes — Nov 21, 2023</a></p>
<li><p><a href="#/releasenotes/2023/08/27/version-2-32-0">Xtext 2.32.0 Release Notes — Aug 27, 2023</a></p>
<li><p><a href="#/releasenotes/2023/05/29/version-2-31-0">Xtext 2.31.0 Release Notes — May 29, 2023</a></p>
<li><p><a href="#/releasenotes/2023/02/27/version-2-30-0">Xtext 2.30.0 Release Notes — Feb 27, 2023</a></p>
<li><p><a href="#/releasenotes/2022/11/21/version-2-29-0">Xtext 2.29.0 Release Notes — Nov 21, 2022</a></p>
<li><p><a href="#/releasenotes/2022/08/29/version-2-28-0">Xtext 2.28.0 Release Notes — Aug 29, 2022</a></p>
</ul>
</div>
<hr/>
<section id="/releasenotes/2024/11/19/version-2-37-0">
<h1>Xtext 2.37.0 Release Notes<small> Nov 19, 2024</small></h1>
<br/>
<h2 id="call-to-action-secure-the-future-maintenance-of-xtext">Call to Action: Secure the future maintenance of Xtext</h2>
<p>As you might have recognized, the number of people contributing to Xtext on a regular basis has declined over the past years and so has the number of contributions. At the same time the amount of work for basic maintenance has stayed the same or even increased with the new release cadence of Java and the Eclipse simultaneous release. Briefly: The future maintenance of Xtext is at risk, at least in the current form and as part of the Eclipse Simrel. If you care, please join the discussion in <a href="https://github.com/eclipse/xtext/issues/1721">https://github.com/eclipse/xtext/issues/1721</a>.</p>
<h2 id="relevant-changes">Relevant changes</h2>
<ul>
<li>We introduced a new bundle, <code>org.eclipse.xtext.xtext.generator.dependencies</code>, meant to be used in the <code>build.properties</code> of the DSL project in <code>additional.bundles</code>; this is meant to replace all the listed dependencies our wizard used to generate for <code>additional.bundles</code>.<br />
The project wizard has been updated accordingly. For existing projects, you should replace all the dependencies in <code>additional.bundles</code> with this single dependency.<br />
This bundle is only meant to be used in the DSL plug-in project, as an “additional bundle”, to be able to run the MWE2 workflow and to let the MWE2 Eclipse editor find all the needed types.</li>
<li><code>EcoreUtil2</code> now provides <code>getAllContentsOfType(Resource, Class)</code>.</li>
</ul>
<h2 id="breaking-changes">Breaking changes</h2>
<ul>
<li>We fixed a typo in the code-minings part: <code>CodeMinding</code> has been corrected to <code>CodeMining</code>. The wrong string was used to generate the configuration method in the abstract UI module, which is now correct: <code>configureCodeMining</code>. The wrong string appeared also in the <code>Names.named</code> for injection. Re-generating the language should update your DSL to the correct version. If you used to manually inject with <code>Names.named("codeMinding")</code>, you have to manually modify that to <code>Names.named("codeMining")</code>.</li>
</ul>
<h2 id="upgrades">Upgrades</h2>
<ul>
<li>MWE2 was updated to 2.20.0</li>
</ul>
<h2 id="deprecations">Deprecations</h2>
<ul>
<li><code>Exceptions.addSuppressed</code> is deprecated now and will be removed with the next Xtext release.</li>
</ul>
<h2 id="removals">Removals</h2>
<h2 id="credits">Credits</h2>
<p>The Xtext project is thankful for the dedication of each committer and contributor. This release has been made possible by the following persons (in order of the number of contributed commits to this release).</p>
<ul>
<li>Christian Dietrich</li>
<li>Lorenzo Bettini</li>
<li>Mehmet Emin Karaman</li>
<li>Ammar Awad</li>
<li>Hannes Wellmann</li>
<li>Tommaso Fonda</li>
</ul>
<h2 id="fixed-issues">Fixed Issues</h2>
<p>As in every release cycle we were eagerly hunting down bugs, and reviewed and integrated plenty of contributions. For further details please refer to the following lists:</p>
<ul>
<li>
<p><a href="https://github.com/search?utf8=%E2%9C%93&q=is%3Aissue+milestone%3ARelease_2.37+is%3Aclosed+repo%3Aeclipse%2Fxtext+repo%3Aeclipse%2Fxtext-core+repo%3Aeclipse%2Fxtext-lib+repo%3Aeclipse%2Fxtext-extras+repo%3Aeclipse%2Fxtext-eclipse+repo%3Aeclipse%2Fxtext-idea+repo%3Aeclipse%2Fxtext-web+repo%3Aeclipse%2Fxtext-maven+repo%3Aeclipse%2Fxtext-xtend&type=Issues&ref=searchresults">Fixed GitHub issues</a></p>
</li>
<li>
<p><a href="https://github.com/search?utf8=%E2%9C%93&q=is%3Apr+milestone%3ARelease_2.37+is%3Aclosed+repo%3Aeclipse%2Fxtext+repo%3Aeclipse%2Fxtext-core+repo%3Aeclipse%2Fxtext-lib+repo%3Aeclipse%2Fxtext-extras+repo%3Aeclipse%2Fxtext-eclipse+repo%3Aeclipse%2Fxtext-idea+repo%3Aeclipse%2Fxtext-web+repo%3Aeclipse%2Fxtext-maven+repo%3Aeclipse%2Fxtext-xtend&type=Issues&ref=searchresults">Closed Pull Requests</a></p>
</li>
<li>
<p><a href="https://bugs.eclipse.org/bugs/buglist.cgi?bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&classification=Modeling&classification=Tools&columnlist=product%2Ccomponent%2Cassigned_to%2Cbug_status%2Cresolution%2Cshort_desc%2Cchangeddate%2Ckeywords&f0=OP&f1=OP&f3=CP&f4=CP&known_name=Xtext%202.31&list_id=16618269&product=TMF&product=Xtend&query_based_on=Xtext%202.31&query_format=advanced&status_whiteboard=v2.37&status_whiteboard_type=allwordssubstr">Fixed Eclipse Bugzilla tickets</a></p>
</li>
</ul>
</section>
<hr/>
<section id="/releasenotes/2024/08/25/version-2-36-0">
<h1>Xtext 2.36.0 Release Notes<small> Aug 25, 2024</small></h1>
<br/>
<p>Xtext 2.36.0 …</p>
<h2 id="call-to-action-secure-the-future-maintenance-of-xtext">Call to Action: Secure the future maintenance of Xtext</h2>
<p>As you might have recognized, the number of people contributing to Xtext on a regular basis has declined over the past years and so has the number of contributions. At the same time the amount of work for basic maintenance has stayed the same or even increased with the new release cadence of Java and the Eclipse simultaneous release. Briefly: The future maintenance of Xtext is at risk, at least in the current form and as part of the Eclipse Simrel. If you care, please join the discussion in <a href="https://github.com/eclipse/xtext/issues/1721">https://github.com/eclipse/xtext/issues/1721</a>.</p>
<h2 id="relevant-changes">Relevant changes</h2>
<ul>
<li>Xbase based languages & Xtend now require a target >= Java 8.</li>
</ul>
<h3 id="ui-testing">UI Testing</h3>
<p>The <code>AbstractLinkedEditingIntegrationTest.waitForDisplay()</code> method has been deprecated in favor of the inherited <code>AbstractWorkbenchTest.waitForEventProcessing()</code> method. Both methods are doing the same, only the method names are different. For a long term we would like to clean up the duplicated code and completely remove the deprecated method.</p>
<h2 id="upgrades">Upgrades</h2>
<ul>
<li>Guava is now on 33.3</li>
<li>MWE2 was updated to 2.19.0</li>
<li>Classgraph is on 4.8.174</li>
<li>Gradle is on 8.10</li>
<li>RequireJS on 2.3.7</li>
<li>Tycho on 4.0.8</li>
</ul>
<h2 id="deprecations">Deprecations</h2>
<h2 id="removals">Removals</h2>
<p>The long time deprecated <code>org.eclipse.xtext.junit4</code> and <code>org.eclipse.xtext.xbase.junit</code> have been removed.<br />
The projects <code>org.eclipse.xtext.testing</code>, <code>org.eclipse.xtext.ui.testing</code>, <code>org.eclipse.xtext.xbase.testing</code> and <code>org.eclipse.xtext.xbase.ui.testing</code> already provide replacements for the above deprecated projects.<br />
Note that the old base class <code>AbstractXtextTests</code> is now part of <code>org.eclipse.xtext.testing</code>.</p>
<h2 id="credits">Credits</h2>
<p>The Xtext project is thankful for the dedication of each committer and contributor. This release has been made possible by the following persons (in order of the number of contributed commits to this release).</p>
<ul>
<li>Christian Dietrich</li>
<li>Lorenzo Bettini</li>
<li>Sebastian Zarnekow</li>
<li>Hannes Wellmann</li>
<li>Martin Jobst</li>
<li>Tamas Miklossy</li>
<li>Daniel Pressnitz</li>
<li>Ed Merks</li>
<li>Frank Benoit</li>
<li>Mehmet Emin Karaman</li>
<li>Tommaso Fonda</li>
</ul>
<h2 id="fixed-issues">Fixed Issues</h2>
<p>As in every release cycle we were eagerly hunting down bugs, and reviewed and integrated plenty of contributions. For further details please refer to the following lists:</p>
<ul>
<li>
<p><a href="https://github.com/search?utf8=%E2%9C%93&q=is%3Aissue+milestone%3ARelease_2.36+is%3Aclosed+repo%3Aeclipse%2Fxtext+repo%3Aeclipse%2Fxtext-core+repo%3Aeclipse%2Fxtext-lib+repo%3Aeclipse%2Fxtext-extras+repo%3Aeclipse%2Fxtext-eclipse+repo%3Aeclipse%2Fxtext-idea+repo%3Aeclipse%2Fxtext-web+repo%3Aeclipse%2Fxtext-maven+repo%3Aeclipse%2Fxtext-xtend&type=Issues&ref=searchresults">Fixed GitHub issues</a></p>
</li>
<li>
<p><a href="https://github.com/search?utf8=%E2%9C%93&q=is%3Apr+milestone%3ARelease_2.36+is%3Aclosed+repo%3Aeclipse%2Fxtext+repo%3Aeclipse%2Fxtext-core+repo%3Aeclipse%2Fxtext-lib+repo%3Aeclipse%2Fxtext-extras+repo%3Aeclipse%2Fxtext-eclipse+repo%3Aeclipse%2Fxtext-idea+repo%3Aeclipse%2Fxtext-web+repo%3Aeclipse%2Fxtext-maven+repo%3Aeclipse%2Fxtext-xtend&type=Issues&ref=searchresults">Closed Pull Requests</a></p>
</li>
<li>
<p><a href="https://bugs.eclipse.org/bugs/buglist.cgi?bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&classification=Modeling&classification=Tools&columnlist=product%2Ccomponent%2Cassigned_to%2Cbug_status%2Cresolution%2Cshort_desc%2Cchangeddate%2Ckeywords&f0=OP&f1=OP&f3=CP&f4=CP&known_name=Xtext%202.31&list_id=16618269&product=TMF&product=Xtend&query_based_on=Xtext%202.31&query_format=advanced&status_whiteboard=v2.36&status_whiteboard_type=allwordssubstr">Fixed Eclipse Bugzilla tickets</a></p>
</li>
</ul>
</section>
<hr/>
<section id="/releasenotes/2024/05/28/version-2-35-0">
<h1>Xtext 2.35.0 Release Notes<small> May 28, 2024</small></h1>
<br/>
<p>Xtext 2.35.0 …</p>
<h2 id="call-to-action-secure-the-future-maintenance-of-xtext">Call to Action: Secure the future maintenance of Xtext</h2>
<p>As you might have recognized, the number of people contributing to Xtext on a regular basis has declined over the past years and so has the number of contributions. At the same time the amount of work for basic maintenance has stayed the same or even increased with the new release cadence of Java and the Eclipse simultaneous release. Briefly: The future maintenance of Xtext is at risk, at least in the current form and as part of the Eclipse Simrel. If you care, please join the discussion in <a href="https://github.com/eclipse/xtext/issues/1721">https://github.com/eclipse/xtext/issues/1721</a>.</p>
<h2 id="relevant-changes">Relevant changes</h2>
<h3 id="initial-support-for-java-21">Initial support for Java 21</h3>
<p>IMPORTANT: before switching to Java 21, make sure to go through the deprecation notice below about <code>org.eclipse.xtext.xbase.lib.IterableExtensions.last(Iterable<T>)</code>.</p>
<p>In Eclipse, using a recent JDT version, Xbase languages, including Xtend, can access Java 21 generated byte-code and refer to Java records.</p>
<p>For Maven/Tycho builds, e.g., <code>xtext-maven-plugin</code> and <code>xtend-maven-plugin</code>, a new version of <code>jdt.core</code>, e.g., 3.37.0, must be forced (currently, in the BOM, we still use an older version of JDT).<br />
This can be achieved by passing the system property <code>-Djava-21</code> when running Maven (our BOM will automatically activate the new version of JDT).<br />
Alternatively, you can place the line <code>-Djava-21</code> in your <code>.mvn/maven.config</code> file in the root folder.</p>
<p>For Gradle, you need to force the dependency of the new version of <code>jdt.core</code>, e.g., 3.37.0.</p>
<h3 id="normalization-of-eols-in-xbase-multi-line-strings">Normalization of EOLs in Xbase multi-line strings</h3>
<p>In Xbase languages (including Xtend), multi-line strings (that is, strings that span several lines, NOT Xtend template expressions) are now normalized concerning end-of-line characters, following the same strategies of <a href="https://docs.oracle.com/en/java/javase/21/text-blocks/index.html#normalization-of-line-terminators">Normalization Of Line Terminators in Java Text Blocks</a>: Windows CR in the DSL textual sources will not be part of the string in the generated Java code, which will only contain Unix LF.<br />
This change leads to the same Java code generated in Windows and Unix-like systems (see issue https://github.com/eclipse/xtext/issues/2293).</p>
<p>This DSL string</p>
<pre><code class="language-xtend">var s = "a multi
line string"
</code></pre>
<p>Will always result in the following generated Java code in Windows, Linux, and macOS:</p>
<pre><code class="language-java">String s = "a multi\nline string";
</code></pre>
<p>While before, in Windows, it would have been:</p>
<pre><code class="language-java">String s = "a multi\r\nline string";
</code></pre>
<p>Note that the behavior for explicit escape sequences (<code>\\r</code>) will remain the same as before.</p>
<h3 id="automatic-validation-for-xbase-languages">Automatic validation for Xbase languages</h3>
<p>The new <code>JvmGenericTypeValidator</code> was introduced to automatically perform several Java-related checks in the hierarchy of the inferred <code>JvmGenericType</code>s of an Xbase language, with the corresponding error reporting.<br />
For example, cycles in a hierarchy, extension of a final class, proper extension of an abstract class (do you implement all the abstract methods or declare the inferred class as abstract?), proper method overriding, etc. It also performs duplicate elements checks, like duplicate parameter names, duplicate fields and duplicate methods (keeping the type-erasure into consideration when using types with arguments).</p>
<p>This mechanism assumes that you implement the <code>JvmModelInferrer</code> “correctly”.<br />
It only checks the first inferred <code>JvmGenericType</code> for the same DSL element (i.e., if for an element <code>Entity</code> you infer two <code>JvmGenericType</code>s, <code>t1</code> and <code>t2</code>, only the first one will be checked).<br />
Moreover, it only checks Jvm model elements with an associated source element.<br />
Concerning intended classes to extend and interfaces to extend/implement, it assumes the model inferrer uses the new <code>JvmTypesBuilder#setSuperClass(JvmDeclaredType, JvmTypeReference)</code> and <code>JvmTypesBuilder#addSuperInterface(JvmDeclaredType, JvmTypeReference)</code>, respectively.</p>
<p>Currently, this validator must be enabled explicitly through the <code>composedCheck</code> in the MWE2 file or the <code>@ComposedChecks</code> annotation in the validator, e.g., <code>@ComposedChecks(validators = JvmGenericTypeValidator.class)</code>.</p>
<p>The Domainmodel example now uses this validator.<br />
The Xtend validator has been refactored to also use this validator.</p>
<h3 id="maven-building">Maven building</h3>
<p>When using <code>xtext-maven-plugin</code> for Xbase languages, relative paths (instead of absolute paths) are now generated in the <code>._trace</code> files.</p>
<p>The configuration option <code>writeStorageResources</code> has been added to <code>xtext-maven-plugin</code> to write the semantic model, the resource description, and optionally the node model to a ResourceStorage (<code>.bin</code> files).<br />
See <a href="https://github.com/eclipse/xtext/tree/main/org.eclipse.xtext.maven.plugin/src/test/resources/it/generate/simple-lang-write-storage-resources">this integration test</a> for an example.</p>
<p>To single-source the configuration of a language that is built with Maven, the configuration options <code>writeClasspathConfiguration</code> and <code>classpathConfigurationLocation</code> were added to the <code>xtext-maven-plugin</code>. If enabled, a property file will be written that contains the classpath information, model directories, output directories and lookup paths that were used for the plugin execution. The properties file contains file hashes that allow to track changed across subsequent runs.</p>
<h3 id="initial-lsp-support-for-xbase-languages">Initial LSP Support for Xbase Languages</h3>
<p>The initial support for language servers that use Xbase languages is part of this release. It’s based on binary Java resources and uses the classpath configuration that’s written by the maven plugin. Thereby, the Xtext language server can be configured such that Xbase language can resolve against class files from the current project. If a Java language server runs in parallel to the Xtext language server, and incrementally produces class files, the changes will be picked up by the Xtext language server.</p>
<h3 id="node-model-customizing">Node model customizing</h3>
<p>Low level APIs were added that allow to customizing the node model and the way it is stored on the EMF objects. This enables advanced use cases like unloading the node model for resources that are already fully resolved. The node model can be re-attached on demand for these cases. Curious users may want to configure the <code>DetachableNodeModelFragment</code> in their mwe2 workflows.</p>
<h3 id="initial-support-for-textmate-grammars">Initial Support for TextMate Grammars</h3>
<p>The highly configurable <code>DetachableNodeModelFragment</code> can be configured in the mwe2 workflow to emit textmate grammar to drive the lexical coloring in LSP clients that do have support for tm-language definitions.</p>
<h3 id="runtime-testing">Runtime Testing</h3>
<p>The <code>AbstractFormatterTest</code> base class has been added to the <code>org.eclipse.xtext.testing</code> package to provide a convenient way to test the formatter capabilities. The Xtext Domainmodel example project and the Xtend code base have been extended by concrete formatter test cases to demonstrate the usage of this framework class.</p>
<p>The generated <code>InjectorProvider</code> for runtime tests has been improved to make customizations easier w.r.t. OSGI/Maven environments (see <a href="https://github.com/eclipse/xtext/pull/3042">https://github.com/eclipse/xtext/pull/3042</a>).</p>
<p>The base class <code>AbstractXtextTests</code>, for “old”-style testing, is now part of <code>org.eclipse.xtext.testing</code>. (See also the removal notice below.)</p>
<p>Two new methods were added <code>org.eclipse.xtext.xbase.testing.CompilationTestHelper.Result.assertNoErrors()</code>/<code>assertNoIssues()</code> for checking whether during the compilation of the input sources errors, respectively, errors or warnings, were detected.</p>
<h3 id="ui-testing">UI Testing</h3>
<p>The <code>AbstractContentAssistTest</code> class has been extended by API methods to provide a convenient way to test proposals from several resources. The <code>StatemachineContentAssistTest</code> test class of the Xtext Statemachine example project demonstrates the usage of these new API methods.</p>
<h2 id="upgrades">Upgrades</h2>
<ul>
<li>GSON is now on 2.11</li>
<li>Guava was update to 33.2</li>
<li>lsp4j is now on 0.23.x</li>
<li>MWE(2) is now on 1.12/2.18</li>
</ul>
<h2 id="deprecations">Deprecations</h2>
<p>The method <code>org.eclipse.xtext.xbase.lib.IterableExtensions.last(Iterable<T>)</code> has been deprecated in favor of the new <code>org.eclipse.xtext.xbase.lib.IterableExtensions.lastOrNull(Iterable<T>)</code>.<br />
The reason is that Java 21 introduces the <code>getLast</code> method in a few collection classes.<br />
Xbase will prefer <code>getLast</code> to our extension method <code>last</code> to generate Java code when the runtime is Java 21 and the <code>last</code> extension method is used in an Xbase DSL code, e.g., Xtend.<br />
The problem is that our extension method <code>last</code> returns null when the collection is empty, while the <code>getLast</code> method in Java 21 throws a <code>NoSuchElementException</code>, leading to different semantics.</p>
<p>We encourage everyone to pay attention to such deprecations and switch to the new <code>lastOrNull</code>, which retains the semantics of <code>last</code>, <strong>before</strong> switching to Java 21.<br />
To keep the consistency between <code>IterableExtensions</code> and <code>IteratorExtensions</code> we also deprecated <code>last</code> in the latter and introduced <code>lastOrNull</code> in <code>IteratorExtensions</code>.</p>
<h2 id="future-removals-notice">Future removals notice</h2>
<p>In the next release, 2.36.0, the long time deprecated <code>org.eclipse.xtext.junit4</code> and <code>org.eclipse.xtext.xbase.junit</code> will be removed.<br />
The projects <code>org.eclipse.xtext.testing</code>, <code>org.eclipse.xtext.ui.testing</code>, <code>org.eclipse.xtext.xbase.testing</code> and <code>org.eclipse.xtext.xbase.ui.testing</code> already provide replacements for the above deprecated projects.<br />
Note that the old base class <code>AbstractXtextTests</code> is now part of <code>org.eclipse.xtext.testing</code>.</p>
<h2 id="credits">Credits</h2>
<p>The Xtext project is thankful for the dedication of each committer and contributor. This release has been made possible by the following persons (in order of the number of contributed commits to this release).</p>
<ul>
<li>Lorenzo Bettini</li>
<li>Christian Dietrich</li>
<li>Sebastian Zarnekow</li>
<li>Hannes Wellmann</li>
<li>Tamas Miklossy</li>
<li>Ed Merks</li>
<li>Rubén Porras Campo</li>
<li>Didier Vojtisek</li>
<li>Ehab Younes</li>
<li>Florian Pirchner</li>
</ul>
<h2 id="fixed-issues">Fixed Issues</h2>
<p>As in every release cycle we were eagerly hunting down bugs, and reviewed and integrated plenty of contributions. For further details please refer to the following lists:</p>
<ul>
<li>
<p><a href="https://github.com/search?utf8=%E2%9C%93&q=is%3Aissue+milestone%3ARelease_2.35+is%3Aclosed+repo%3Aeclipse%2Fxtext+repo%3Aeclipse%2Fxtext-core+repo%3Aeclipse%2Fxtext-lib+repo%3Aeclipse%2Fxtext-extras+repo%3Aeclipse%2Fxtext-eclipse+repo%3Aeclipse%2Fxtext-idea+repo%3Aeclipse%2Fxtext-web+repo%3Aeclipse%2Fxtext-maven+repo%3Aeclipse%2Fxtext-xtend&type=Issues&ref=searchresults">Fixed GitHub issues</a></p>
</li>
<li>
<p><a href="https://github.com/search?utf8=%E2%9C%93&q=is%3Apr+milestone%3ARelease_2.35+is%3Aclosed+repo%3Aeclipse%2Fxtext+repo%3Aeclipse%2Fxtext-core+repo%3Aeclipse%2Fxtext-lib+repo%3Aeclipse%2Fxtext-extras+repo%3Aeclipse%2Fxtext-eclipse+repo%3Aeclipse%2Fxtext-idea+repo%3Aeclipse%2Fxtext-web+repo%3Aeclipse%2Fxtext-maven+repo%3Aeclipse%2Fxtext-xtend&type=Issues&ref=searchresults">Closed Pull Requests</a></p>
</li>
<li>
<p><a href="https://bugs.eclipse.org/bugs/buglist.cgi?bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&classification=Modeling&classification=Tools&columnlist=product%2Ccomponent%2Cassigned_to%2Cbug_status%2Cresolution%2Cshort_desc%2Cchangeddate%2Ckeywords&f0=OP&f1=OP&f3=CP&f4=CP&known_name=Xtext%202.31&list_id=16618269&product=TMF&product=Xtend&query_based_on=Xtext%202.31&query_format=advanced&status_whiteboard=v2.35&status_whiteboard_type=allwordssubstr">Fixed Eclipse Bugzilla tickets</a></p>
</li>
</ul>
</section>
<hr/>
<section id="/releasenotes/2024/02/27/version-2-34-0">
<h1>Xtext 2.34.0 Release Notes<small> Feb 27, 2024</small></h1>
<br/>
<p>Xtext 2.34.0 is a maintenance release.</p>
<h2 id="call-to-action-secure-the-future-maintenance-of-xtext">Call to Action: Secure the future maintenance of Xtext</h2>
<p>As you might have recognized, the number of people contributing to Xtext on a regular basis has declined over the past years and so has the number of contributions. At the same time the amount of work for basic maintenance has stayed the same or even increased with the new release cadence of Java and the Eclipse simultaneous release. Briefly: The future maintenance of Xtext is at risk, at least in the current form and as part of the Eclipse Simrel. If you care, please join the discussion in <a href="https://github.com/eclipse/xtext/issues/1721">https://github.com/eclipse/xtext/issues/1721</a>.</p>
<h2 id="upgrades">Upgrades</h2>
<ul>
<li>Guava was update to 33.0.0</li>
<li>MWE(2) is now on 1.11/2.17</li>
</ul>
<h2 id="removals">Removals</h2>
<h2 id="credits">Credits</h2>
<p>The Xtext project is thankful for the dedication of each committer and contributor. This release has been made possible by the following persons (in order of the number of contributed commits to this release).</p>
<ul>
<li>Lorenzo Bettini</li>
<li>Christian Dietrich</li>
<li>Sebastian Zarnekow</li>
<li>Stephan Herrmann</li>
<li>Jonathan Pollert</li>
<li>annes Wellmann</li>
</ul>
<h2 id="fixed-issues">Fixed Issues</h2>
<p>As in every release cycle we were eagerly hunting down bugs, and reviewed and integrated plenty of contributions. For further details please refer to the following lists:</p>
<ul>
<li>
<p><a href="https://github.com/search?utf8=%E2%9C%93&q=is%3Aissue+milestone%3ARelease_2.34+is%3Aclosed+repo%3Aeclipse%2Fxtext+repo%3Aeclipse%2Fxtext-core+repo%3Aeclipse%2Fxtext-lib+repo%3Aeclipse%2Fxtext-extras+repo%3Aeclipse%2Fxtext-eclipse+repo%3Aeclipse%2Fxtext-idea+repo%3Aeclipse%2Fxtext-web+repo%3Aeclipse%2Fxtext-maven+repo%3Aeclipse%2Fxtext-xtend&type=Issues&ref=searchresults">Fixed GitHub issues</a></p>
</li>
<li>
<p><a href="https://github.com/search?utf8=%E2%9C%93&q=is%3Apr+milestone%3ARelease_2.34+is%3Aclosed+repo%3Aeclipse%2Fxtext+repo%3Aeclipse%2Fxtext-core+repo%3Aeclipse%2Fxtext-lib+repo%3Aeclipse%2Fxtext-extras+repo%3Aeclipse%2Fxtext-eclipse+repo%3Aeclipse%2Fxtext-idea+repo%3Aeclipse%2Fxtext-web+repo%3Aeclipse%2Fxtext-maven+repo%3Aeclipse%2Fxtext-xtend&type=Issues&ref=searchresults">Closed Pull Requests</a></p>
</li>
<li>
<p><a href="https://bugs.eclipse.org/bugs/buglist.cgi?bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&classification=Modeling&classification=Tools&columnlist=product%2Ccomponent%2Cassigned_to%2Cbug_status%2Cresolution%2Cshort_desc%2Cchangeddate%2Ckeywords&f0=OP&f1=OP&f3=CP&f4=CP&known_name=Xtext%202.31&list_id=16618269&product=TMF&product=Xtend&query_based_on=Xtext%202.31&query_format=advanced&status_whiteboard=v2.34&status_whiteboard_type=allwordssubstr">Fixed Eclipse Bugzilla tickets</a></p>
</li>
</ul>
</section>
<hr/>
<section id="/releasenotes/2023/11/21/version-2-33-0">
<h1>Xtext 2.33.0 Release Notes<small> Nov 21, 2023</small></h1>
<br/>
<p>Xtext 2.33.0 is a maintenance release.</p>
<h2 id="call-to-action-secure-the-future-maintenance-of-xtext">Call to Action: Secure the future maintenance of Xtext</h2>
<p>As you might have recognized, the number of people contributing to Xtext on a regular basis has declined over the past years and so has the number of contributions. At the same time the amount of work for basic maintenance has stayed the same or even increased with the new release cadence of Java and the Eclipse simultaneous release. Briefly: The future maintenance of Xtext is at risk, at least in the current form and as part of the Eclipse Simrel. If you care, please join the discussion in <a href="https://github.com/eclipse/xtext/issues/1721">https://github.com/eclipse/xtext/issues/1721</a>.</p>
<h2 id="upgrades">Upgrades</h2>
<ul>
<li>Guava was update to 32.1.3</li>
<li>Reload4j was updated to 1.2.25</li>
<li>Classgraph was updated to 4.8.164. The bundle id in orbit has changed so you may need to adapt.</li>
<li>ASM is now on 9.6</li>
<li>MWE(2) is now on 1.10/2.16</li>
</ul>
<h2 id="removals">Removals</h2>
<ul>
<li>Old Xpand based <code>org.eclipse.xtext.generator</code> and <code>IXtext2EcorePostProcessor</code> have been removed.</li>
</ul>
<h2 id="credits">Credits</h2>
<p>The Xtext project is thankful for the dedication of each committer and contributor. This release has been made possible by the following persons (in order of the number of contributed commits to this release).</p>
<ul>
<li>Christian Dietrich</li>
<li>Sebastian Zarnekow</li>
<li>Hannes Wellmann</li>
<li>Heinrich Weichert</li>
<li>Wouter Born</li>
</ul>
<h2 id="fixed-issues">Fixed Issues</h2>
<p>As in every release cycle we were eagerly hunting down bugs, and reviewed and integrated plenty of contributions. For further details please refer to the following lists:</p>
<ul>
<li>
<p><a href="https://github.com/search?utf8=%E2%9C%93&q=is%3Aissue+milestone%3ARelease_2.33+is%3Aclosed+repo%3Aeclipse%2Fxtext+repo%3Aeclipse%2Fxtext-core+repo%3Aeclipse%2Fxtext-lib+repo%3Aeclipse%2Fxtext-extras+repo%3Aeclipse%2Fxtext-eclipse+repo%3Aeclipse%2Fxtext-idea+repo%3Aeclipse%2Fxtext-web+repo%3Aeclipse%2Fxtext-maven+repo%3Aeclipse%2Fxtext-xtend&type=Issues&ref=searchresults">Fixed GitHub issues</a></p>
</li>
<li>
<p><a href="https://github.com/search?utf8=%E2%9C%93&q=is%3Apr+milestone%3ARelease_2.33+is%3Aclosed+repo%3Aeclipse%2Fxtext+repo%3Aeclipse%2Fxtext-core+repo%3Aeclipse%2Fxtext-lib+repo%3Aeclipse%2Fxtext-extras+repo%3Aeclipse%2Fxtext-eclipse+repo%3Aeclipse%2Fxtext-idea+repo%3Aeclipse%2Fxtext-web+repo%3Aeclipse%2Fxtext-maven+repo%3Aeclipse%2Fxtext-xtend&type=Issues&ref=searchresults">Closed Pull Requests</a></p>
</li>
<li>
<p><a href="https://bugs.eclipse.org/bugs/buglist.cgi?bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&classification=Modeling&classification=Tools&columnlist=product%2Ccomponent%2Cassigned_to%2Cbug_status%2Cresolution%2Cshort_desc%2Cchangeddate%2Ckeywords&f0=OP&f1=OP&f3=CP&f4=CP&known_name=Xtext%202.31&list_id=16618269&product=TMF&product=Xtend&query_based_on=Xtext%202.31&query_format=advanced&status_whiteboard=v2.33&status_whiteboard_type=allwordssubstr">Fixed Eclipse Bugzilla tickets</a></p>
</li>
</ul>
</section>
<hr/>
<section id="/releasenotes/2023/08/27/version-2-32-0">
<h1>Xtext 2.32.0 Release Notes<small> Aug 27, 2023</small></h1>
<br/>
<p>Xtext 2.32.0 is a maintenance release.</p>
<h2 id="call-to-action-secure-the-future-maintenance-of-xtext">Call to Action: Secure the future maintenance of Xtext</h2>
<p>As you might have recognized, the number of people contributing to Xtext on a regular basis has declined over the past years and so has the number of contributions. At the same time the amount of work for basic maintenance has stayed the same or even increased with the new release cadence of Java and the Eclipse simultaneous release. Briefly: The future maintenance of Xtext is at risk, at least in the current form and as part of the Eclipse Simrel. If you care, please join the discussion in <a href="https://github.com/eclipse/xtext/issues/1721">https://github.com/eclipse/xtext/issues/1721</a>.</p>
<h2 id="upgrades">Upgrades</h2>
<ul>
<li>Guava was update to 32.1.2</li>
<li>Guice is now on 7.0.0 javax.inject annotations are no longer suported. Use the ones from guice or jakarta.inject.</li>
<li>MWE was updated to 2.15.0</li>
<li>Gradle is on 8.2</li>
<li>xtext-web now uses jakarta.servlet api</li>
</ul>
<h2 id="for-removal-reminder">For removal reminder</h2>
<ul>
<li>Please remember the old xpand based <code>org.eclipse.xtext.generator</code> as well as the Xpand/Xtend(1) based metamodel postprocessor are deprecated and marked for removal.</li>
</ul>
<h2 id="credits">Credits</h2>
<p>The Xtext project is thankful for the dedication of each committer and contributor. This release has been made possible by the following persons (in order of the number of contributed commits to this release.</p>
<ul>
<li>Christian Dietrich</li>
<li>Shashwat Anand (Advantest)</li>
<li>Ruben Porras (Avaloq)</li>
<li>Florian Pirchner</li>
<li>Jan Rosczak (Hapag-Lloyd)</li>
<li>Joao Ferreira (Avaloq)</li>
<li>Lorenzo Bettini (Università degli Studi di Firenze)</li>
<li>Sebastian Zarnekow</li>
</ul>
<h2 id="fixed-issues">Fixed Issues</h2>
<p>As in every release cycle we were eagerly hunting down bugs, and reviewed and integrated plenty of contributions. For further details please refer to the following lists:</p>
<ul>
<li>
<p><a href="https://github.com/search?utf8=%E2%9C%93&q=is%3Aissue+milestone%3ARelease_2.32+is%3Aclosed+repo%3Aeclipse%2Fxtext+repo%3Aeclipse%2Fxtext-core+repo%3Aeclipse%2Fxtext-lib+repo%3Aeclipse%2Fxtext-extras+repo%3Aeclipse%2Fxtext-eclipse+repo%3Aeclipse%2Fxtext-idea+repo%3Aeclipse%2Fxtext-web+repo%3Aeclipse%2Fxtext-maven+repo%3Aeclipse%2Fxtext-xtend&type=Issues&ref=searchresults">Fixed GitHub issues</a></p>
</li>
<li>
<p><a href="https://github.com/search?utf8=%E2%9C%93&q=is%3Apr+milestone%3ARelease_2.32+is%3Aclosed+repo%3Aeclipse%2Fxtext+repo%3Aeclipse%2Fxtext-core+repo%3Aeclipse%2Fxtext-lib+repo%3Aeclipse%2Fxtext-extras+repo%3Aeclipse%2Fxtext-eclipse+repo%3Aeclipse%2Fxtext-idea+repo%3Aeclipse%2Fxtext-web+repo%3Aeclipse%2Fxtext-maven+repo%3Aeclipse%2Fxtext-xtend&type=Issues&ref=searchresults">Closed Pull Requests</a></p>
</li>
<li>
<p><a href="https://bugs.eclipse.org/bugs/buglist.cgi?bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&classification=Modeling&classification=Tools&columnlist=product%2Ccomponent%2Cassigned_to%2Cbug_status%2Cresolution%2Cshort_desc%2Cchangeddate%2Ckeywords&f0=OP&f1=OP&f3=CP&f4=CP&known_name=Xtext%202.31&list_id=16618269&product=TMF&product=Xtend&query_based_on=Xtext%202.31&query_format=advanced&status_whiteboard=v2.32&status_whiteboard_type=allwordssubstr">Fixed Eclipse Bugzilla tickets</a></p>
</li>
</ul>
</section>
<hr/>
<section id="/releasenotes/2023/05/29/version-2-31-0">
<h1>Xtext 2.31.0 Release Notes<small> May 29, 2023</small></h1>
<br/>
<p>Xtext 2.31.0 is a maintenance release.</p>
<h2 id="call-to-action-secure-the-future-maintenance-of-xtext">Call to Action: Secure the future maintenance of Xtext</h2>
<p>As you might have recognized, the number of people contributing to Xtext on a regular basis has declined over the past years and so has the number of contributions. At the same time the amount of work for basic maintenance has stayed the same or even increased with the new release cadence of Java and the Eclipse simultaneous release. Briefly: The future maintenance of Xtext is at risk, at least in the current form and as part of the Eclipse Simrel. If you care, please join the discussion in <a href="https://github.com/eclipse/xtext/issues/1721">https://github.com/eclipse/xtext/issues/1721</a>.</p>
<h2 id="xtext-monorepo">Xtext Monorepo</h2>
<p>Xtext is now built from the new Monorepo at https://github.com/eclipse/xtext and built with Maven only. Many thanks to Lorenzo Bettini for the great effort to make this possible.</p>
<h2 id="upgrades">Upgrades</h2>
<ul>
<li>LSP4J is now on 0.21.0</li>
<li>ASM is now on 5.9</li>
<li>Junit5 was updated to 5.9.3</li>
</ul>
<h2 id="changes--enhancements">Changes / Enhancements</h2>
<ul>
<li>Xtext hovers now support disposing browsers on timeout (see https://github.com/eclipse/xtext/issues/2653 and linked platform and jdt issues and pr there)</li>
<li>Our DebugSourceInstallingCompilationParticipant now makes use of JDTs feature to do the bytecode manipulation without extra reading and writing the file.</li>
</ul>
<h2 id="credits">Credits</h2>
<p>The Xtext project is thankful for the dedication of each committer and contributor. This release has been made possible by the following persons (in order of the number of contributed commits to this release.</p>
<ul>
<li>Lorenzo Bettini (Università degli Studi di Firenze)</li>
<li>Christian Dietrich (itemis)</li>
<li>Hannes Wellmann (IILS mbH)</li>
<li>Christian Schneider (TypeFox)</li>
<li>Ed Merks</li>
<li>Sebastian Zarnekow (independent)</li>
</ul>
<h2 id="fixed-issues">Fixed Issues</h2>
<p>As in every release cycle we were eagerly hunting down bugs, and reviewed and integrated plenty of contributions. For further details please refer to the following lists:</p>
<ul>
<li>
<p><a href="https://github.com/search?utf8=%E2%9C%93&q=is%3Aissue+milestone%3ARelease_2.31+is%3Aclosed+repo%3Aeclipse%2Fxtext+repo%3Aeclipse%2Fxtext-core+repo%3Aeclipse%2Fxtext-lib+repo%3Aeclipse%2Fxtext-extras+repo%3Aeclipse%2Fxtext-eclipse+repo%3Aeclipse%2Fxtext-idea+repo%3Aeclipse%2Fxtext-web+repo%3Aeclipse%2Fxtext-maven+repo%3Aeclipse%2Fxtext-xtend&type=Issues&ref=searchresults">Fixed GitHub issues</a></p>
</li>
<li>
<p><a href="https://github.com/search?utf8=%E2%9C%93&q=is%3Apr+milestone%3ARelease_2.31+is%3Aclosed+repo%3Aeclipse%2Fxtext+repo%3Aeclipse%2Fxtext-core+repo%3Aeclipse%2Fxtext-lib+repo%3Aeclipse%2Fxtext-extras+repo%3Aeclipse%2Fxtext-eclipse+repo%3Aeclipse%2Fxtext-idea+repo%3Aeclipse%2Fxtext-web+repo%3Aeclipse%2Fxtext-maven+repo%3Aeclipse%2Fxtext-xtend&type=Issues&ref=searchresults">Closed Pull Requests</a></p>
</li>
<li>
<p><a href="https://bugs.eclipse.org/bugs/buglist.cgi?bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&classification=Modeling&classification=Tools&columnlist=product%2Ccomponent%2Cassigned_to%2Cbug_status%2Cresolution%2Cshort_desc%2Cchangeddate%2Ckeywords&f0=OP&f1=OP&f3=CP&f4=CP&known_name=Xtext%202.31&list_id=16618269&product=TMF&product=Xtend&query_based_on=Xtext%202.31&query_format=advanced&status_whiteboard=v2.31&status_whiteboard_type=allwordssubstr">Fixed Eclipse Bugzilla tickets</a></p>
</li>
</ul>
</section>
<hr/>
<section id="/releasenotes/2023/02/27/version-2-30-0">
<h1>Xtext 2.30.0 Release Notes<small> Feb 27, 2023</small></h1>
<br/>
<p>Xtext 2.30.0 is a maintenance release.</p>
<h2 id="call-to-action-secure-the-future-maintenance-of-xtext">Call to Action: Secure the future maintenance of Xtext</h2>
<p>As you might have recognized, the number of people contributing to Xtext on a regular basis has declined over the past years and so has the number of contributions. At the same time the amount of work for basic maintenance has stayed the same or even increased with the new release cadence of Java and the Eclipse simultaneous release. Briefly: The future maintenance of Xtext is at risk, at least in the current form and as part of the Eclipse Simrel. If you care, please join the discussion in <a href="https://github.com/eclipse/xtext/issues/1721">https://github.com/eclipse/xtext/issues/1721</a>.</p>
<h2 id="upgrades">Upgrades</h2>
<ul>
<li>EMF is now at 2.29 and later.</li>
<li>Jetty 9.4.50</li>
<li>We pinned the versions in manifests to match the ones in the minimal target platform for Eclipse 2022-03.</li>
<li>Reload4j/log4j is now at 1.2.24</li>
<li>LSP4J was updated to 0.20.0 and GSON to 2.10.1</li>
</ul>
<h2 id="changes--enhancements">Changes / Enhancements</h2>
<p>The minimal version for Eclipse Platform and JDT in manifests were bumped so that they correspond to our minimal tested target platform of Eclipse 2022-03.<br />
The performance of (overloaded) Xbase expressions was enhanced.</p>
<h2 id="deprecation">Deprecation</h2>
<p>We marked Deprecated API more explicit and also added some <code>forRemoval</code> to them.</p>
<h2 id="credits">Credits</h2>
<p>The Xtext project is thankful for the dedication of each committer and contributor. This release has been made possible by the following persons (in order of the number of contributed commits to this release to <a href="https://github.com/eclipse/xtext#repositories">all repositories</a> except <a href="https://github.com/eclipse/xtext-xtend">xtext-xtend</a>):</p>
<p>Christian Dietrich (itemis)<br />
Lorenzo Bettini (Università degli Studi di Firenze)<br />
Sebastian Zarnekow (independent)<br />
Elie Richa (AdaCore)</p>
<h2 id="fixed-issues">Fixed Issues</h2>
<p>As in every release cycle we were eagerly hunting down bugs, and reviewed and integrated plenty of contributions. For further details please refer to the following lists:</p>
<ul>
<li>
<p><a href="https://github.com/search?utf8=%E2%9C%93&q=is%3Aissue+milestone%3ARelease_2.30+is%3Aclosed+repo%3Aeclipse%2Fxtext+repo%3Aeclipse%2Fxtext-core+repo%3Aeclipse%2Fxtext-lib+repo%3Aeclipse%2Fxtext-extras+repo%3Aeclipse%2Fxtext-eclipse+repo%3Aeclipse%2Fxtext-idea+repo%3Aeclipse%2Fxtext-web+repo%3Aeclipse%2Fxtext-maven+repo%3Aeclipse%2Fxtext-xtend&type=Issues&ref=searchresults">Fixed GitHub issues</a></p>
</li>
<li>
<p><a href="https://github.com/search?utf8=%E2%9C%93&q=is%3Apr+milestone%3ARelease_2.30+is%3Aclosed+repo%3Aeclipse%2Fxtext+repo%3Aeclipse%2Fxtext-core+repo%3Aeclipse%2Fxtext-lib+repo%3Aeclipse%2Fxtext-extras+repo%3Aeclipse%2Fxtext-eclipse+repo%3Aeclipse%2Fxtext-idea+repo%3Aeclipse%2Fxtext-web+repo%3Aeclipse%2Fxtext-maven+repo%3Aeclipse%2Fxtext-xtend&type=Issues&ref=searchresults">Closed Pull Requests</a></p>
</li>
<li>
<p><a href="https://bugs.eclipse.org/bugs/buglist.cgi?bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&classification=Modeling&classification=Tools&columnlist=product%2Ccomponent%2Cassigned_to%2Cbug_status%2Cresolution%2Cshort_desc%2Cchangeddate%2Ckeywords&f0=OP&f1=OP&f3=CP&f4=CP&known_name=Xtext%202.30&list_id=16618269&product=TMF&product=Xtend&query_based_on=Xtext%202.30&query_format=advanced&status_whiteboard=v2.30&status_whiteboard_type=allwordssubstr">Fixed Eclipse Bugzilla tickets</a></p>
</li>
</ul>
</section>
<hr/>
<section id="/releasenotes/2022/11/21/version-2-29-0">
<h1>Xtext 2.29.0 Release Notes<small> Nov 21, 2022</small></h1>
<br/>
<p>Xtext 2.29.0 is a maintenance release.</p>
<h2 id="call-to-action-secure-the-future-maintenance-of-xtext">Call to Action: Secure the future maintenance of Xtext</h2>
<p>As you might have recognized, the number of people contributing to Xtext on a regular basis has declined over the past years and so has the number of contributions. At the same time the amount of work for basic maintenance has stayed the same or even increased with the new release cadence of Java and the Eclipse simultaneous release. Briefly: The future maintenance of Xtext is at risk, at least in the current form and as part of the Eclipse Simrel. If you care, please join the discussion in <a href="https://github.com/eclipse/xtext/issues/1721">https://github.com/eclipse/xtext/issues/1721</a>.</p>
<h2 id="xtext-and-java-17">Xtext and Java 17</h2>
<p>Xtext now supports Java 17 as source and target, too. This requires newer Eclipse platform and JDT versions that do no longer run on Java 8. That’s why the Xtext framework and Xtend compiler require Java 11 as minimal Java version from 2.29 onwards. While we were at it we also bumped the minimal tested Eclipse version to 2022-03 (2.28 was still compatible to and tested against Eclipse Oxygen). Please Note: We did no special treatment for newer Java constructs in Xtend, so what works, works, what does not, does not - the latter being most likely intentional. Please engage by filing bugs or pull requests (see also <a href="https://github.com/eclipse/xtext/issues/1982">issue#1982</a>.</p>
<h2 id="upgrades">Upgrades</h2>
<ul>
<li>LSP4J was updated to 0.19.0</li>
<li>GSON to 2.9.1</li>
<li>Classgraph is now at 4.8.149</li>
<li>ASM is now on 9.4</li>
<li>MWE(2) is now at 1.8.0 / 2.14.0</li>
<li>JUnit5 at 5.9.1</li>
</ul>
<h2 id="changes--enhancements">Changes / Enhancements</h2>
<h3 id="standalone-builder">Standalone Builder</h3>
<p>The Incremental Standlone Builder is now capable of performing incremental builds. Depending on the changes that happened since the previous compile run, only a subset of the model files need to be processed. Both model and Java file changes as well as class-path changes are taken into account. The feature is opt-in since it might break backwards compatibility for DSLs that use non-default code generation patterns. Incremental builds can also be enabled for the Xtext maven plugin <a href="https://github.com/eclipse/xtext-extras/issues/805">xtext-extras#805</a>.</p>
<pre><code class="language-xml"><plugins>
<plugin>
<groupId>org.eclipse.xtext</groupId>
<artifactId>xtext-maven-plugin</artifactId>
<configuration>
<languages>
<language>
<javaSupport>(true|false)</javaSupport>
<setup>..MyDslStandaloneSetup</setup>
</language>
</languages>
<incrementalXtextBuild>true</incrementalXtextBuild>
</configuration>
<dependencies>
<dependency>
..
</dependency>
</dependencies>
</plugin>
</plugins>
</code></pre>
<h3 id="lsp">LSP</h3>
<p>Language server now has a beta version of semantic token support.</p>
<h2 id="credits">Credits</h2>
<p>The Xtext project is thankful for the dedication of each committer and contributor. This release has been made possible by the following persons (in order of the number of contributed commits to this release to <a href="https://github.com/eclipse/xtext#repositories">all repositories</a> except <a href="https://github.com/eclipse/xtext-xtend">xtext-xtend</a>):</p>
<ul>
<li>Christian Dietrich (itemis)</li>
<li>Sebastian Zarnekow (independent)</li>
<li>Ruben Porras</li>
<li>Lorenzo Bettini (Università degli Studi di Firenze)</li>
</ul>
<h2 id="fixed-issues">Fixed Issues</h2>
<p>As in every release cycle we were eagerly hunting down bugs, and reviewed and integrated plenty of contributions. For further details please refer to the following lists:</p>
<ul>
<li>
<p><a href="https://github.com/search?utf8=%E2%9C%93&q=is%3Aissue+milestone%3ARelease_2.29+is%3Aclosed+repo%3Aeclipse%2Fxtext+repo%3Aeclipse%2Fxtext-core+repo%3Aeclipse%2Fxtext-lib+repo%3Aeclipse%2Fxtext-extras+repo%3Aeclipse%2Fxtext-eclipse+repo%3Aeclipse%2Fxtext-idea+repo%3Aeclipse%2Fxtext-web+repo%3Aeclipse%2Fxtext-maven+repo%3Aeclipse%2Fxtext-xtend&type=Issues&ref=searchresults">Fixed GitHub issues</a></p>
</li>
<li>
<p><a href="https://github.com/search?utf8=%E2%9C%93&q=is%3Apr+milestone%3ARelease_2.29+is%3Aclosed+repo%3Aeclipse%2Fxtext+repo%3Aeclipse%2Fxtext-core+repo%3Aeclipse%2Fxtext-lib+repo%3Aeclipse%2Fxtext-extras+repo%3Aeclipse%2Fxtext-eclipse+repo%3Aeclipse%2Fxtext-idea+repo%3Aeclipse%2Fxtext-web+repo%3Aeclipse%2Fxtext-maven+repo%3Aeclipse%2Fxtext-xtend&type=Issues&ref=searchresults">Closed Pull Requests</a></p>
</li>
<li>
<p><a href="https://bugs.eclipse.org/bugs/buglist.cgi?bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&classification=Modeling&classification=Tools&columnlist=product%2Ccomponent%2Cassigned_to%2Cbug_status%2Cresolution%2Cshort_desc%2Cchangeddate%2Ckeywords&f0=OP&f1=OP&f3=CP&f4=CP&known_name=Xtext%202.29&list_id=16618269&product=TMF&product=Xtend&query_based_on=Xtext%202.29&query_format=advanced&status_whiteboard=v2.29&status_whiteboard_type=allwordssubstr">Fixed Eclipse Bugzilla tickets</a></p>
</li>
</ul>
</section>
<hr/>
<section id="/releasenotes/2022/08/29/version-2-28-0">
<h1>Xtext 2.28.0 Release Notes<small> Aug 29, 2022</small></h1>
<br/>
<p>Xtext 2.28.0 is a maintenance release.</p>
<h2 id="call-to-action-secure-the-future-maintenance-of-xtext">Call to Action: Secure the future maintenance of Xtext</h2>
<p>As you might have recognized, the number of people contributing to Xtext on a regular basis has declined over the past years and so has the number of contributions. At the same time the amount of work for basic maintenance has stayed the same or even increased with the new release cadence of Java and the Eclipse simultaneous release. Briefly: The future maintenance of Xtext is at risk, at least in the current form and as part of the Eclipse Simrel. If you care, please join the discussion in <a href="https://github.com/eclipse/xtext/issues/1721">https://github.com/eclipse/xtext/issues/1721</a>.</p>
<h2 id="changes-to-orgeclipsextextsdk-feature">Changes to <code>org.eclipse.xtext.sdk</code> feature.</h2>
<p>The <code>org.eclipse.xtext.sdk</code> does no longer package the deprecated <code>org.eclipse.xtext.generator</code> bundle. Please migrate to the new workflow/generator. The old and deprecated generator can still be found in the new <code>org.eclipse.xtext.generator</code> feature.</p>
<h2 id="upgrades">Upgrades</h2>
<ul>
<li>LSP4J was updated to 0.15.0</li>
<li>GSON was updated to 2.9.0</li>
</ul>
<h2 id="changes--enhancements">Changes / Enhancements</h2>
<ul>
<li>LSP Code was optimized and enhanced. We have e.g. done some enhancements to Quickfix API.</li>
<li>Xtext Supports M2E 2.x</li>
<li>Xbase based formatters now can be subclassed in Java more easily.</li>
<li>Better support for needRebuild api in platform.</li>
</ul>
<h2 id="credits">Credits</h2>
<p>The Xtext project is thankful for the dedication of each committer and contributor. This release has been made possible by the following persons (in order of the number of contributed commits to this release to <a href="https://github.com/eclipse/xtext#repositories">all repositories</a> except <a href="https://github.com/eclipse/xtext-xtend">xtext-xtend</a>):</p>
<p>Christian Dietrich (itemis)<br />
Ruben Porras<br />
Karsten Thoms (karakun)<br />
Frank Benoit (ETAS)<br />
Hannes Wellmann (IILS mbH) <img src="https://img.shields.io/badge/-first%20time%20contributor-green.svg" alt="" /></p>
<h2 id="fixed-issues">Fixed Issues</h2>
<p>As in every release cycle we were eagerly hunting down bugs, and reviewed and integrated plenty of contributions. For further details please refer to the following lists:</p>
<ul>
<li>
<p><a href="https://github.com/search?utf8=%E2%9C%93&q=is%3Aissue+milestone%3ARelease_2.28+is%3Aclosed+repo%3Aeclipse%2Fxtext+repo%3Aeclipse%2Fxtext-core+repo%3Aeclipse%2Fxtext-lib+repo%3Aeclipse%2Fxtext-extras+repo%3Aeclipse%2Fxtext-eclipse+repo%3Aeclipse%2Fxtext-idea+repo%3Aeclipse%2Fxtext-web+repo%3Aeclipse%2Fxtext-maven+repo%3Aeclipse%2Fxtext-xtend&type=Issues&ref=searchresults">Fixed GitHub issues</a></p>
</li>
<li>
<p><a href="https://github.com/search?utf8=%E2%9C%93&q=is%3Apr+milestone%3ARelease_2.28+is%3Aclosed+repo%3Aeclipse%2Fxtext+repo%3Aeclipse%2Fxtext-core+repo%3Aeclipse%2Fxtext-lib+repo%3Aeclipse%2Fxtext-extras+repo%3Aeclipse%2Fxtext-eclipse+repo%3Aeclipse%2Fxtext-idea+repo%3Aeclipse%2Fxtext-web+repo%3Aeclipse%2Fxtext-maven+repo%3Aeclipse%2Fxtext-xtend&type=Issues&ref=searchresults">Closed Pull Requests</a></p>
</li>
<li>
<p><a href="https://bugs.eclipse.org/bugs/buglist.cgi?bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&classification=Modeling&classification=Tools&columnlist=product%2Ccomponent%2Cassigned_to%2Cbug_status%2Cresolution%2Cshort_desc%2Cchangeddate%2Ckeywords&f0=OP&f1=OP&f3=CP&f4=CP&known_name=Xtext%202.28&list_id=16618269&product=TMF&product=Xtend&query_based_on=Xtext%202.28&query_format=advanced&status_whiteboard=v2.28&status_whiteboard_type=allwordssubstr">Fixed Eclipse Bugzilla tickets</a></p>
</li>
</ul>
</section>
</div>
</div>
</div>
<footer class="site-footer">
<div id="extra">
<div class="inner">
<div class="container">
<div class="row">
<div class="span6">
<h3 class="footer-links-header">Quick Links</h3>
<ul class="footer-links clearfix">
<li><a href="https://www.eclipse.org/legal/privacy.php">Privacy Policy</a></li>
<li><a href="https://www.eclipse.org/legal/termsofuse.php">Terms of Use</a></li>
<li><a href="https://www.eclipse.org/legal/copyright.php">Copyright Agent</a></li>
<li><a href="https://www.eclipse.org/legal/">Legal</a></li>
</ul>
<ul class="footer-links clearfix">
<li><a href="https://www.eclipse.org">Eclipse Home</a></li>
<li><a href="https://marketplace.eclipse.org/">Market Place</a></li>
<li><a href="https://www.planeteclipse.org/">Eclipse Planet</a></li>
<li><a href="https://www.eclipse.org/forums/index.php/f/27/">Xtext Forum</a></li>
</ul>
<br/><br/>
Xtext is a trademark of the Eclipse Foundation, Inc. and is used with permission
<br/><br/>
<img src="/Xtext/images/eclipse-foundation-white-orange.svg" alt="Eclipse Foundation"/>
</div>
<div class="span6">
<!-- Social Media Links -->
<h3 class="footer-links-header">Social Media</h3>
<ul class="footer-links clearfix">
<li>
<a href="https://twitter.com/xtext"><img src="/Xtext/images/Twitter-bird-darkgray.png" class="img-responsive" style="margin-right: 5px;height: 1em;" alt="Twitter icon">@xtext on Twitter</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<a href="#" class="scrollup fadeOutRight animated" style="display: none;">ScrollUp</a>
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="/Xtext/js/jquery-1.11.3.min.js"></script>
<script src="/Xtext/js/bootstrap.min.js"></script>
<script src="/Xtext/js/jquery.easing.1.3.js" type="text/javascript"></script>
<script src="/Xtext/js/jquery.prettyPhoto.js" type="text/javascript"></script>
<script src="/Xtext/js/prettify.js" type="text/javascript"></script>
<script src="/Xtext/js/lang-xtend.js" type="text/javascript"></script>
<script src="/Xtext/js/lang-common.js" type="text/javascript"></script>
<script src="/Xtext/js/custom.js" type="text/javascript"></script>
<!--script src="https://apis.google.com/js/platform.js" async defer></script-->
<!--script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push([ '_setAccount', 'UA-2429174-3' ]);
_gaq.push([ '_trackPageview' ]);
(function() {
var ga = document.createElement('script');
ga.type = 'text/javascript';
ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl'
: 'https://www')
+ '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(ga, s);
})();
</script-->
<script src="/Xtext/js/coverflow.min.js" type="text/javascript"></script>
<script>
$(function() {
$('#coverflow').coverflow({
active : 1,
visibleAside: 2,
overlap : 0.5,
scale : 0.9,
angle : 20,
trigger : {
"itemfocus" : true,
"swipe" : true,
"mousewheel" : false
}
});
$('#coverflow :hidden').toggle();
$(window).resize(function() {
$('#coverflow').coverflow();
});
});
</script>
</footer>
</body>
</html>