Skip to content

Commit 498166b

Browse files
committed
update download and changelog for v2.111.0-rc.1
1 parent 59e6641 commit 498166b

File tree

2 files changed

+32
-3
lines changed

2 files changed

+32
-3
lines changed

changelog/2.111.0_pre.dd

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ $(CHANGELOG_NAV_INJECT)
55
$(VERSION Apr 01, 2025, =================================================,
66

77
$(CHANGELOG_HEADER_STATISTICS
8-
$(VER) comes with 40 major changes and 123 fixed Bugzilla issues.
8+
$(VER) comes with 41 major changes and 126 fixed Bugzilla issues.
99
A huge thanks goes to the
1010
$(LINK2 #contributors, 79 contributors)
1111
who made $(VER) possible.)
@@ -24,6 +24,7 @@ $(LI $(RELATIVE_LINK2 dmd.deprecation-throwing-contracts,An error is now issued
2424
$(LI $(RELATIVE_LINK2 dmd.deprecation-typesafe-variadic-class,Typesafe variadic class parameters have been deprecated))
2525
$(LI $(RELATIVE_LINK2 dmd.deprecation-version-debug-number,Integers in `debug` or `version` statements have been removed from the language))
2626
$(LI $(RELATIVE_LINK2 dmd.error-messages,Many error messages have changed))
27+
$(LI $(RELATIVE_LINK2 dmd.extern-std-cpp23,The compiler now accepts `-extern-std=c++23`))
2728
$(LI $(RELATIVE_LINK2 dmd.ftime-trace,Build time profiling has been added to DMD))
2829
$(LI $(RELATIVE_LINK2 dmd.getBitfieldInfo,New traits `getBitfieldOffset` and `getBitfieldWidth` for built-in bitfields))
2930
$(LI $(RELATIVE_LINK2 dmd.import-c-i,Using the compiler flag `-i` will now properly pick up C source files))
@@ -495,6 +496,14 @@ $(P
495496
)
496497
)
497498

499+
$(LI $(LNAME2 dmd.extern-std-cpp23,The compiler now accepts `-extern-std=c++23`)
500+
$(CHANGELOG_SOURCE_FILE dmd, changelog/dmd.extern-std-cpp23.dd)
501+
$(P
502+
The compiler now accepts c++23 as a supported standard for `-extern-std=`.
503+
Currently this only changes the value of `__traits(getTargetInfo, "cppStd")`.
504+
)
505+
)
506+
498507
$(LI $(LNAME2 dmd.ftime-trace,Build time profiling has been added to DMD)
499508
$(CHANGELOG_SOURCE_FILE dmd, changelog/dmd.ftime-trace.dd)
500509
$(P
@@ -771,9 +780,26 @@ efficient, as, say, a string can be moved rather than copied/deleted.
771780
)
772781

773782
$(P
774-
A moved object can still be destructed, so take that into account when moving
783+
A moved object will still be destructed, so take that into account when moving
775784
a field - set it to a benign value that can be destructed.
776785
)
786+
787+
$(P
788+
`__rvalue` may also be used as an attribute on a function which returns by ref
789+
to declare that the result should be treated as an rvalue at the callsite:
790+
)
791+
```
792+
ref T move(T)(return ref T source) __rvalue
793+
{
794+
return source;
795+
}
796+
797+
S s;
798+
S t = move(s); // call expression rewritten as: S t = __rvalue(move(s))
799+
```
800+
$(P
801+
This is used as an internal tool to implement library primitives such as `move` and `forward`.
802+
)
777803
)
778804

779805
$(LI $(LNAME2 dmd.safer,Add `-preview=safer` switch for safety checking on unattributed functions)
@@ -1248,6 +1274,7 @@ $(LI $(BUGZILLA 20691): Converting scope static array to scope dynamic array sho
12481274
$(LI $(BUGZILLA 20812): _d_assocarrayliteralTX segfault assigning a shared associative array an AA literal)
12491275
$(LI $(BUGZILLA 20831): __traits$(LPAREN)getAttributes$(RPAREN) failes to compile when used on a parameter with no name)
12501276
$(LI $(BUGZILLA 20912): Compiler incorrectly lists non-matching overloads as matching in diagnostic)
1277+
$(LI $(BUGZILLA 21020): named import in with block masks local symbol)
12511278
$(LI $(BUGZILLA 21995): Struct with size uint.max or greater causes ICE)
12521279
$(LI $(BUGZILLA 23131): With -vasm all the X87 instructions are printed wrong.)
12531280
$(LI $(BUGZILLA 23294): [dip1000] parameter to parameter assignment leads to incorrect scope inference)
@@ -1293,6 +1320,7 @@ $(LI $(BUGZILLA 20516): [D 2.0 FAQ])
12931320
$(LI $(BUGZILLA 20614): CTFE supports typeid$(LPAREN)stuff$(RPAREN).name but not classinfo.name)
12941321
$(LI $(BUGZILLA 20888): std.range.Cycle does not compose with `const`)
12951322
$(LI $(BUGZILLA 20960): -profile=gc does not track class objects allocated with new)
1323+
$(LI $(BUGZILLA 20982): Add a pragma to suppress deprecation messages)
12961324
$(LI $(BUGZILLA 21564): Allow assignment syntax for instantiating mixin templates)
12971325
$(LI $(BUGZILLA 23449): spellchecker should suggest corrections for pointer members)
12981326
$(LI $(BUGZILLA 23812): ImportC: allow adding function attributes to imported C functions)
@@ -1308,6 +1336,7 @@ $(LI $(BUGZILLA 64): Unhandled errors should go to stderr)
13081336
$(LI $(BUGZILLA 10581): Undefined identifier "std.uni.isWhite" when passing string lambda to std.algorithm.filter)
13091337
$(LI $(BUGZILLA 10607): DirEntry has no constructor)
13101338
$(LI $(BUGZILLA 10647): AutoImplement should implement overridden member functions with 'override' attributes)
1339+
$(LI $(BUGZILLA 10680): BigInt uses deprecated std.traits.unsigned)
13111340
$(LI $(BUGZILLA 14138): std.parallelism.task breaks @safety)
13121341
$(LI $(BUGZILLA 15315): can break immutable with std.algorithm.move)
13131342
$(LI $(BUGZILLA 20870): std.outbuffer.printf is trusted)

download.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ Macros:
229229
_=BETA=$(COMMENT $0)
230230
BETA=$0
231231
B_DMDV2=2.111.0
232-
B_SUFFIX=beta.1
232+
B_SUFFIX=rc.1
233233

234234
DEB32=$(DLSITE dmd_$(DMDV2)-0_i386.deb)
235235
DEB64=$(DLSITE dmd_$(DMDV2)-0_amd64.deb)

0 commit comments

Comments
 (0)