@@ -5,9 +5,9 @@ $(CHANGELOG_NAV_INJECT)
5
5
$(VERSION Nov 14, 2022, =================================================,
6
6
7
7
$(CHANGELOG_HEADER_STATISTICS
8
- $(VER) comes with 38 major changes and 62 fixed Bugzilla issues.
8
+ $(VER) comes with 40 major changes and 63 fixed Bugzilla issues.
9
9
A huge thanks goes to the
10
- $(LINK2 #contributors, 62 contributors)
10
+ $(LINK2 #contributors, 63 contributors)
11
11
who made $(VER) possible.)
12
12
13
13
$(BUGSTITLE_TEXT_HEADER Compiler changes,
@@ -27,6 +27,8 @@ $(LI $(RELATIVE_LINK2 dmd.markdown,Removed the `-transition=markdown` and `-reve
27
27
$(LI $(RELATIVE_LINK2 dmd.new-aa,`new` can now allocate an associative array))
28
28
$(LI $(RELATIVE_LINK2 dmd.previewInLink,`-preview=in` can now be used with `extern(C++)`, disabled for other non-D linkage))
29
29
$(LI $(RELATIVE_LINK2 dmd.shortenedMethodsEnabled,The shortened method syntax is now available by default.))
30
+ $(LI $(RELATIVE_LINK2 dmd.unicode-directionality,Source files may no longer contain Unicode directionality overrides))
31
+ $(LI $(RELATIVE_LINK2 dmd.windows_stack_limit,Windows: Double DMD stack limit to 16 MB))
30
32
31
33
)
32
34
@@ -56,7 +58,7 @@ $(BUGSTITLE_TEXT_HEADER Dub changes,
56
58
57
59
$(LI $(RELATIVE_LINK2 build_unittest,Building the special test runner configuration))
58
60
$(LI $(RELATIVE_LINK2 colored_output,Output will now be colorized))
59
- $(LI $(RELATIVE_LINK2 configy_stricter_parsing,dub will now warn on unrecognized settings or selections file))
61
+ $(LI $(RELATIVE_LINK2 configy_stricter_parsing,dub will now warn on unrecognized fields in `dub.json`, settings, or selections file))
60
62
$(LI $(RELATIVE_LINK2 cov_ctfe,The two new build types `cov-ctfe` and `unittest-cov-ctfe` have been added.))
61
63
$(LI $(RELATIVE_LINK2 dpath,DUB settings & packages directory placement overhauled))
62
64
$(LI $(RELATIVE_LINK2 exitcodes,DUB command exit codes have been made more consistent))
@@ -420,6 +422,32 @@ The preview flag will still work until it is deprecated in a future release.
420
422
)
421
423
)
422
424
425
+ $(LI $(LNAME2 dmd.unicode-directionality,Source files may no longer contain Unicode directionality overrides)
426
+ $(CHANGELOG_SOURCE_FILE dmd, changelog/dmd.unicode-directionality.dd)
427
+ $(P
428
+ [Trojan Source: Invisible Vulnerabilities](https://github.com/nickboucher/trojan-source) shows how they can be used to maliciously hide code in various programming languages.
429
+ [D is also affected](https://github.com/nickboucher/trojan-source/pull/16).
430
+ )
431
+
432
+ $(P
433
+ To prevent this, the compiler now raises an error when they appear in source files.
434
+ If you need a string literal containing directionality overrides, use escape sequences instead:
435
+ )
436
+ ---
437
+ string s = "\u202E\u2066";
438
+ ---
439
+ )
440
+
441
+ $(LI $(LNAME2 dmd.windows_stack_limit,Windows: Double DMD stack limit to 16 MB)
442
+ $(CHANGELOG_SOURCE_FILE dmd, changelog/dmd.windows_stack_limit.dd)
443
+ $(P
444
+ The compilation of some projects require more stack space than previously available.
445
+ Now DMD has the same limit as LDC, which
446
+ $(LINK2 https://github.com/ldc-developers/ldc/pull/3921, increased its stack limit)
447
+ in its 1.29.0 release.
448
+ )
449
+ )
450
+
423
451
424
452
)
425
453
@@ -685,11 +713,11 @@ pipelines to ensure human-readable output.
685
713
)
686
714
)
687
715
688
- $(LI $(LNAME2 configy_stricter_parsing,dub will now warn on unrecognized settings or selections file)
716
+ $(LI $(LNAME2 configy_stricter_parsing,dub will now warn on unrecognized fields in `dub.json`, settings, or selections file)
689
717
$(CHANGELOG_SOURCE_FILE dub, changelog/configy_stricter_parsing.dd)
690
718
$(P
691
719
Previously, dub was silently accepting anything it didn't recognize
692
- in `[dub.]settings.json` and `dub.selections.json`. While the original
720
+ in `dub.json`, ` [dub.]settings.json` and `dub.selections.json`. While the original
693
721
intent was to make forward-compatibility easy, it proved detrimental
694
722
as typos would just mean the user setting was ignored.
695
723
)
@@ -854,6 +882,7 @@ $(BUGSTITLE_BUGZILLA Phobos regression fixes,
854
882
$(LI $(BUGZILLA 23245): [REG 2.099] std.format ignores non-const toString method of static array element)
855
883
$(LI $(BUGZILLA 23246): [REG 2.099] std.format ignores non-const toString method of associative array value)
856
884
$(LI $(BUGZILLA 23268): clamp no longer accepts shorts)
885
+ $(LI $(BUGZILLA 23400): [REG 2.099] Can't format enum value whose base type has non-const opEquals)
857
886
)
858
887
$(BUGSTITLE_BUGZILLA Phobos bug fixes,
859
888
@@ -927,7 +956,7 @@ $(LI $(BUGZILLA 23186): wchar/dchar do not have their endianess defined)
927
956
$(LI $(BUGZILLA 23359): Rename InOut to ParameterStorageClass)
928
957
)
929
958
)
930
- $(D_CONTRIBUTORS_HEADER 62 )
959
+ $(D_CONTRIBUTORS_HEADER 63 )
931
960
$(D_CONTRIBUTORS
932
961
$(D_CONTRIBUTOR Adam D. Ruppe)
933
962
$(D_CONTRIBUTOR aG0aep6G)
@@ -936,6 +965,7 @@ $(D_CONTRIBUTORS
936
965
$(D_CONTRIBUTOR Ast-x64)
937
966
$(D_CONTRIBUTOR Ate Eskola)
938
967
$(D_CONTRIBUTOR Atila Neves)
968
+ $(D_CONTRIBUTOR Bastiaan Veelo)
939
969
$(D_CONTRIBUTOR Brian Callahan)
940
970
$(D_CONTRIBUTOR Carsten Schlote)
941
971
$(D_CONTRIBUTOR chloekek)
0 commit comments