www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Release D 2.111.0

reply Dennis <dkorpel gmail.com> writes:
Glad to announce D 2.111.0, ♥ to the 78 contributors.

This release comes with local ref variables, `-i` and attribute 
support for ImportC, -ftime-trace, improved error messages, and 
more.

http://dlang.org/download.html
http://dlang.org/changelog/2.111.0.html

~Dennis
on behalf of the Dlang Core Team
Apr 01
next sibling parent Adam Wilson <flyboynw gmail.com> writes:
On Tuesday, 1 April 2025 at 22:59:19 UTC, Dennis wrote:
 Glad to announce D 2.111.0, ♥ to the 78 contributors.

 This release comes with local ref variables, `-i` and attribute 
 support for ImportC, -ftime-trace, improved error messages, and 
 more.

 http://dlang.org/download.html
 http://dlang.org/changelog/2.111.0.html

 ~Dennis
 on behalf of the Dlang Core Team
This release is absolutely massive. 41 major changes and 185(!) bugs fixed! Thank you for all your hard work Dennis! Now I need to get this deployed across my build farm so I can start using all that ImportC goodness.
Apr 01
prev sibling next sibling parent M. M. <matus email.cz> writes:
On Tuesday, 1 April 2025 at 22:59:19 UTC, Dennis wrote:
 Glad to announce D 2.111.0, ♥ to the 78 contributors.

 This release comes with local ref variables, `-i` and attribute 
 support for ImportC, -ftime-trace, improved error messages, and 
 more.

 http://dlang.org/download.html
 http://dlang.org/changelog/2.111.0.html

 ~Dennis
 on behalf of the Dlang Core Team
fantastic! thank you, dlang-community, for all the development and hard-work, and thank you to Dennis (and the foundation) for releasing this new version.
Apr 01
prev sibling next sibling parent reply Nick Treleaven <nick geany.org> writes:
On Tuesday, 1 April 2025 at 22:59:19 UTC, Dennis wrote:
 Glad to announce D 2.111.0, ♥ to the 78 contributors.

 This release comes with local ref variables, `-i` and attribute 
 support for ImportC, -ftime-trace, improved error messages, and 
 more.

 http://dlang.org/download.html
 http://dlang.org/changelog/2.111.0.html
Thanks! BTW in changelog under dmd enhancements I noticed:
 9. Bugzilla 20982: Add a pragma to suppress deprecation messages
But that does not seem to be fixed, in GH or in bugzilla: https://github.com/dlang/dmd/issues/17968
Apr 02
parent Dennis <dkorpel gmail.com> writes:
On Wednesday, 2 April 2025 at 10:33:45 UTC, Nick Treleaven wrote:
 But that does not seem to be fixed, in GH or in bugzilla:
 https://github.com/dlang/dmd/issues/17968
changelog generator as a bugzilla issue, while it was fixing a GitHub issue. This is the last release that includes any bugzilla bug fixes, so it should fix itself in the future. In the mean time the current changelog could use some manual auditing.
Apr 02
prev sibling next sibling parent reply Dom DiSc <dominikus scherkl.de> writes:
On Tuesday, 1 April 2025 at 22:59:19 UTC, Dennis wrote:
 Glad to announce D 2.111.0, ♥ to the 78 contributors.

 This release comes with local ref variables, `-i` and attribute 
 support for ImportC, -ftime-trace, improved error messages, and 
 more.

 http://dlang.org/download.html
 http://dlang.org/changelog/2.111.0.html

 ~Dennis
 on behalf of the Dlang Core Team
Hurray! But some of the changes that are now in 2.111.0 are still mentioned in the nightly changelog. Is this normal or were they forgotten to remove?
Apr 02
parent Dennis <dkorpel gmail.com> writes:
On Wednesday, 2 April 2025 at 11:05:57 UTC, Dom DiSc wrote:
 But some of the changes that are now in 2.111.0 are still 
 mentioned in the nightly changelog. Is this normal or were they 
 forgotten to remove?
Should be fixed after merging the stable branch of Phobos (which releases are built from) into master (which the nightly is built from). https://github.com/dlang/phobos/pull/10732
Apr 02
prev sibling next sibling parent Ogion <ogion.art gmail.com> writes:
On Tuesday, 1 April 2025 at 22:59:19 UTC, Dennis wrote:
 Glad to announce D 2.111.0, ♥ to the 78 contributors.
Finally! This is a huge release. Many thanks to everyone involved.
Apr 02
prev sibling next sibling parent sfp <sfp hush.ai> writes:
On Tuesday, 1 April 2025 at 22:59:19 UTC, Dennis wrote:
 Glad to announce D 2.111.0, ♥ to the 78 contributors.

 This release comes with local ref variables, `-i` and attribute 
 support for ImportC, -ftime-trace, improved error messages, and 
 more.

 http://dlang.org/download.html
 http://dlang.org/changelog/2.111.0.html

 ~Dennis
 on behalf of the Dlang Core Team
Thanks! Awesome work.
Apr 02
prev sibling next sibling parent Walter Bright <newshound2 digitalmars.com> writes:
Ehhxcellent!
Apr 02
prev sibling parent reply thinkunix <thinkunix zoho.com> writes:
Dennis via Digitalmars-d-announce wrote:
 Glad to announce D 2.111.0, ♥ to the 78 contributors.
Hi Dennis, Are the specs of the build hosts documented anywhere? The info on the D wiki is generic and most pages have not been updated in years. What I am looking for is the minimum required OS version and compiler used to build the binaries published on dlang.org. I think it would help to document this for all OSes as there are many versions of every OS. It could also be helpful to document the hardware used such as minimum CPU, (for reasons of what CPU features are required/supported), amount of RAM on the build host, etc. A simple tool like inxi (https://github.com/smxi/inxi), a perl script, provides that info for Linux/BSD and Apple systems. Windows should be enough to state the OS and compiler versions used, e.g. Windows 10 and VS2019. The info could be listed in the DMD changelog, or simply include a REQUIREMENTS file in the source tarballs/zip files. I ask because I have been building DMD from source for a while now and this last upgrade failed to build on my customized Linux system. DMD and phobos appeared to build OK, but dustmite from the "tools" tarball requires Linux kernel 3.17 and glibc 2.25 for getrandom(2). Yes, I have an older system but am trying to avoid the OS upgrade treadmill. I realize most people probably don't build from source but documenting the requirements would help those who do. Aside from that, great job on taking over the releases. I read your blog about it and it sounds like a lot of work. scot
Apr 03
next sibling parent "Richard (Rikki) Andrew Cattermole" <richard cattermole.co.nz> writes:
On 04/04/2025 11:13 AM, thinkunix wrote:
 What I am looking for is the minimum required OS version and compiler 
 used to build the binaries published on dlang.org. I think it would help 
 to document this for all OSes as there are many versions of every OS.
Whatever the CI uses, is whatever is supported. https://github.com/dlang/dmd/blob/master/.github/workflows/main.yml
Apr 03
prev sibling next sibling parent Dennis <dkorpel gmail.com> writes:
Hello Scot.

On Thursday, 3 April 2025 at 22:13:51 UTC, thinkunix wrote:
 Are the specs of the build hosts documented anywhere?
I don't know of any such place.
 What I am looking for is the minimum required OS version and 
 compiler
 used to build the binaries published on dlang.org.
The bootstrap compiler version, the oldest DMD version that DMD is tested to still build with, is currently 2.079. But that's just for the compiler, it might be different for tools like dustmite. The releases are built in VMs with 6 GB of Ram and (2022-09-02) x86_64, and Microsoft Windows 7 Home Premium, 6.1.7601 Service Pack 1 Build 7601. I don't have the FreeBSD and OSX versions at hand but can check later. LDC 1.32 is used to build optimized compiler binaries of dmd. I'm not sure if it uses the Visual Studio or mingw toolchain on Windows.
 The info could be listed in the DMD changelog, or simply 
 include a
 REQUIREMENTS file in the source tarballs/zip files.
I don't know the innards of the complex release process that well yet, I'm just following Iain's steps at the moment. Maybe later we can get a clearer picture of all requirements.
 I ask because I have been building DMD from source for a while 
 now and
 this last upgrade failed to build on my customized Linux 
 system.  DMD
 and phobos appeared to build OK, but dustmite from the "tools" 
 tarball
 requires Linux kernel 3.17 and glibc 2.25 for getrandom(2).
Note that dustmite is not an essential component of a D release, it's a separate utility to reduce code for bug reports. You can skip building it, or ask the author about build requirements. The upstream repository is: https://github.com/CyberShadow/DustMite
 Aside from that, great job on taking over the releases.
Thanks
Apr 04
prev sibling parent reply kdevel <kdevel vogtner.de> writes:
On Thursday, 3 April 2025 at 22:13:51 UTC, thinkunix wrote:
 I ask because I have been building DMD from source for a while 
 now and
 this last upgrade failed to build on my customized Linux 
 system.  DMD
 and phobos appeared to build OK, but dustmite from the "tools" 
 tarball
 requires Linux kernel 3.17 and glibc 2.25 for getrandom(2).
Just received libphobos2.so: undefined reference to `getrandom GLIBC_2.25' when trying to produce a dynamically linked executable $ dmd -L-lphobos2 test with ``` void main () { } ``` Linking statically $ dmd test works. I am using the dmd.2.111.0.linux.tar.xz for OpenSUSE. This is a regression from the previous dmd.2.110.0.linux.tar.xz.
Apr 04
parent Dennis <dkorpel gmail.com> writes:
On Friday, 4 April 2025 at 11:59:15 UTC, kdevel wrote:
 I am using the dmd.2.111.0.linux.tar.xz for OpenSUSE. This is a
 regression from the previous dmd.2.110.0.linux.tar.xz.
We might need to revert the following PR for 2.111.1: https://github.com/dlang/phobos/pull/10623
Apr 04