www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Beta 2.086.0

reply Martin Nowak <code+news.digitalmars dawg.eu> writes:
Glad to announce the first beta for the 2.086.0 release, ♥ to the 52
contributors.

This beta started a little later than planned because we had to solve a
FreeBSD build issue
(https://github.com/dlang/dmd/pull/9569#issuecomment-484017911). I'd
still try to ship the release on May 1st unless we figure out that more
time is needed to fix regressions.

http://dlang.org/download.html#dmd_beta
http://dlang.org/changelog/2.086.0.html

As usual please report any bugs at
https://issues.dlang.org

-Martin
Apr 20
next sibling parent reply ag0aep6g <anonymous example.com> writes:
On 20.04.19 16:16, Martin Nowak wrote:
 As usual please report any bugs at
 https://issues.dlang.org
I'll point out that there's already a known regression: https://issues.dlang.org/show_bug.cgi?id=19777
Apr 20
parent Martin Nowak <code dawg.eu> writes:
On Saturday, 20 April 2019 at 14:52:53 UTC, ag0aep6g wrote:
 https://issues.dlang.org/show_bug.cgi?id=19777
https://github.com/dlang/phobos/pull/6984
Apr 28
prev sibling next sibling parent reply Andre Pany <andre s-e-a-p.de> writes:
On Saturday, 20 April 2019 at 14:16:09 UTC, Martin Nowak wrote:
 Glad to announce the first beta for the 2.086.0 release, ♥ to 
 the 52 contributors.

 This beta started a little later than planned because we had to 
 solve a FreeBSD build issue 
 (https://github.com/dlang/dmd/pull/9569#issuecomment-484017911). I'd still try
to ship the release on May 1st unless we figure out that more time is needed to
fix regressions.

 http://dlang.org/download.html#dmd_beta 
 http://dlang.org/changelog/2.086.0.html

 As usual please report any bugs at
 https://issues.dlang.org

 -Martin
Thank you so much. The -lowmem switch finally enables usage of D in CloudFoundry (your application is usually compiled on CloudFoundry and you very likely have a limit of 1024 MB). Also I currently try to convince the people from Codeingame to support D. They have a limit of 768 MB. The import std; will also become quite handy for the Codeingame use case. Kind regards Andre
Apr 20
parent "H. S. Teoh" <hsteoh quickfur.ath.cx> writes:
On Sat, Apr 20, 2019 at 03:47:08PM +0000, Andre Pany via Digitalmars-d-announce
wrote:
[...]
 Thank you so much. The -lowmem switch finally enables usage of D in
 CloudFoundry (your application is usually compiled on CloudFoundry and
 you very likely have a limit of 1024 MB).
[...] Oh goodie! Finally dmd will no longer be a laughing stock on low-memory machines. Very glad to hear of -lowmem. T -- Winners never quit, quitters never win. But those who never quit AND never win are idiots.
Apr 20
prev sibling next sibling parent JN <666total wp.pl> writes:
On Saturday, 20 April 2019 at 14:16:09 UTC, Martin Nowak wrote:
 Glad to announce the first beta for the 2.086.0 release, ♥ to 
 the 52 contributors.
"DUB will no longer use OPTLINK as default on Windows" - finally! Best change.
Apr 20
prev sibling next sibling parent reply "Nick Sabalausky (Abscissa)" <SeeWebsiteToContactMe semitwist.com> writes:
Wow! A whole bunch of great, long-awaited stuff! There's --lowmem, 
reflection of privates, less optlink, import std, copy ctors...

The changelog has some formatting errors in the section "dub run will 
now automatically fetch a package if it's not found locally".
Apr 20
next sibling parent reply Guillaume Piolat <first.last gmail.com> writes:
On Saturday, 20 April 2019 at 18:00:02 UTC, Nick Sabalausky 
(Abscissa) wrote:
 Wow! A whole bunch of great, long-awaited stuff! There's 
 --lowmem, reflection of privates, less optlink, import std, 
 copy ctors...

 The changelog has some formatting errors in the section "dub 
 run will now automatically fetch a package if it's not found 
 locally".
Yes, very curious about this release! Thanks a lot for -lowmem, copy ctor and DUB single request! I don't understand full the new `dub init -t custom-dub-init-dubpackage` capabilities, the `custom-dub-init-dubpackage` has to be a package name on the DUB registry?
Apr 20
parent reply Andre Pany <andre s-e-a-p.de> writes:
On Saturday, 20 April 2019 at 19:41:09 UTC, Guillaume Piolat 
wrote:
 On Saturday, 20 April 2019 at 18:00:02 UTC, Nick Sabalausky 
 (Abscissa) wrote:
 Wow! A whole bunch of great, long-awaited stuff! There's 
 --lowmem, reflection of privates, less optlink, import std, 
 copy ctors...

 The changelog has some formatting errors in the section "dub 
 run will now automatically fetch a package if it's not found 
 locally".
Yes, very curious about this release! Thanks a lot for -lowmem, copy ctor and DUB single request! I don't understand full the new `dub init -t custom-dub-init-dubpackage` capabilities, the `custom-dub-init-dubpackage` has to be a package name on the DUB registry?
Any dub package can now define a sub package init-exec which will be used to create an app skeleton. Just use the package name as argument -t in dub init command. Kind regards Andre
Apr 20
parent Guillaume Piolat <first.last gmail.com> writes:
On Saturday, 20 April 2019 at 22:18:29 UTC, Andre Pany wrote:
 Any dub package can now define a sub package init-exec which 
 will be used to create an app skeleton. Just use the package 
 name as argument -t in dub init command.


 Kind regards
 Andre
Thanks! Very useful.
Apr 21
prev sibling parent reply Bastiaan Veelo <Bastiaan Veelo.net> writes:
On Saturday, 20 April 2019 at 18:00:02 UTC, Nick Sabalausky 
(Abscissa) wrote:
 The changelog has some formatting errors in the section "dub 
 run will now automatically fetch a package if it's not found 
 locally".
The $(CONSOLE) macro seems to not be able to handle `---` in its argument, which wrongly starts an example. There is another formatting issue in the Copy Constructor section, where the nested $(OL) does not handle examples well, by which successive $(LI) appear in the top level list instead. Bastiaan.
Apr 21
parent reply Martin Nowak <code dawg.eu> writes:
On Sunday, 21 April 2019 at 08:47:12 UTC, Bastiaan Veelo wrote:
 The $(CONSOLE) macro seems to not be able to handle `---` in 
 its argument, which wrongly starts an example.

 There is another formatting issue in the Copy Constructor 
 section, where the nested $(OL) does not handle examples well, 
 by which successive $(LI) appear in the top level list instead.

 Bastiaan.
https://github.com/dlang/dub/blob/28a0c1ee3ef7c34cf586fc32be88cf75c2912043/changelog/dub-run.dd and https://github.com/dlang/dlang.org/commit/4f18d13daa819ccf8e1e557ca2fc40c8fc1e1ac5
May 01
parent Bastiaan Veelo <Bastiaan Veelo.net> writes:
On Wednesday, 1 May 2019 at 19:33:17 UTC, Martin Nowak wrote:
 On Sunday, 21 April 2019 at 08:47:12 UTC, Bastiaan Veelo wrote:
 The $(CONSOLE) macro seems to not be able to handle `---` in 
 its argument, which wrongly starts an example.
https://github.com/dlang/dub/blob/28a0c1ee3ef7c34cf586fc32be88cf75c2912043/changelog/dub-run.dd
Clever, replacing with &dash; Bastiaan.
May 01
prev sibling next sibling parent Walter Bright <newshound2 digitalmars.com> writes:
On 4/20/2019 7:16 AM, Martin Nowak wrote:
 Glad to announce the first beta for the 2.086.0 release, ♥ to the 52
 contributors.
Martin, thank you for the invaluable but thankless job of managing the releases!
Apr 20
prev sibling next sibling parent reply Bastiaan Veelo <Bastiaan Veelo.net> writes:
On Saturday, 20 April 2019 at 14:16:09 UTC, Martin Nowak wrote:
 Glad to announce the first beta for the 2.086.0 release, ♥ to 
 the 52 contributors.
Many thanks, Martin! Presumably, contributors Boris Carvajal and BorisCarvajal are the same Boris :-) Bastiaan.
Apr 21
parent Martin Nowak <code dawg.eu> writes:
On Sunday, 21 April 2019 at 09:29:45 UTC, Bastiaan Veelo wrote:
 Presumably, contributors Boris Carvajal and BorisCarvajal are 
 the same Boris :-)
Our git mailmap¹ file lives in the tools repo, see https://github.com/dlang/tools/pull/367. ¹: https://www.git-scm.com/docs/git-check-mailmap#_mapping_authors
Apr 28
prev sibling next sibling parent reply Jacob Carlborg <doob me.com> writes:
On 2019-04-20 16:16, Martin Nowak wrote:
 Glad to announce the first beta for the 2.086.0 release, ♥ to the 52
 contributors.
I just noticed I got a test failure [1] in one of my projects using this version. I haven't investigated yet. Strangely the nightly build passes. [1] https://travis-ci.org/jacob-carlborg/dstep/jobs/522548540 -- /Jacob Carlborg
Apr 21
parent Jacob Carlborg <doob me.com> writes:
On 2019-04-21 19:59, Jacob Carlborg wrote:
 On 2019-04-20 16:16, Martin Nowak wrote:
 Glad to announce the first beta for the 2.086.0 release, ♥ to the 52
 contributors.
I just noticed I got a test failure [1] in one of my projects using this version. I haven't investigated yet. Strangely the nightly build passes. [1] https://travis-ci.org/jacob-carlborg/dstep/jobs/522548540
Managed to find a reduced test case: https://github.com/dlang/dub/issues/1681. -- /Jacob Carlborg
Apr 22
prev sibling next sibling parent bitwise <bitwise.pvt gmail.com> writes:
On Saturday, 20 April 2019 at 14:16:09 UTC, Martin Nowak wrote:
 [...]
__traits for private symbols AND copy constructors?!?! Awesome!
Apr 26
prev sibling next sibling parent reply Martin Nowak <code dawg.eu> writes:
On Saturday, 20 April 2019 at 14:16:09 UTC, Martin Nowak wrote:
 Glad to announce the first beta for the 2.086.0 release, ♥ to 
 the 52 contributors.
The release candidate is live now. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.086.0.html -Martin
Apr 29
next sibling parent Bastiaan Veelo <Bastiaan Veelo.net> writes:
The list in 
https://dlang.org/changelog/2.086.0.html#copy_constructor is 
still broken by the examples inside it. Do we have a DDOC expert 
that knows how to solve that?

Bastiaan.
Apr 29
prev sibling parent kinke <noone nowhere.com> writes:
On Monday, 29 April 2019 at 09:43:04 UTC, Martin Nowak wrote:
 The release candidate is live now.
FWIW, I consider https://issues.dlang.org/show_bug.cgi?id=19822 a release blocker.
Apr 29
prev sibling next sibling parent Martin Nowak <code dawg.eu> writes:
On Saturday, 20 April 2019 at 14:16:09 UTC, Martin Nowak wrote:
 Glad to announce the first beta for the 2.086.0 release, ♥ to 
 the 51 contributors.
A second release candidate including a critical regression fix is live now. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.086.0.html -Martin
May 01
prev sibling parent reply Martin Nowak <code dawg.eu> writes:
On Saturday, 20 April 2019 at 14:16:09 UTC, Martin Nowak wrote:
 Glad to announce the first beta for the 2.086.0 release, ♥ to 
 the 51 contributors.
A second release candidate including a critical regression fix is live now. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.086.0.html -Martin
May 01
parent reply Norm <norm.rowtree gmail.com> writes:
On Thursday, 2 May 2019 at 00:10:46 UTC, Martin Nowak wrote:
 On Saturday, 20 April 2019 at 14:16:09 UTC, Martin Nowak wrote:
 Glad to announce the first beta for the 2.086.0 release, ♥ to 
 the 51 contributors.
A second release candidate including a critical regression fix is live now. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.086.0.html -Martin
Sorry I don't know if this is the right place to report this, if not please let me know where a good place would be. With this release I can no longer build a subpackage with dub. I had a look at the dub changelog but I can't see what I'm doing wrong. 2.085.1 builds OK 2.086.0-rc2 fails to build: [2086.0-rc2] $ dub build :pkg1 --build=unittest Package ':pkg1' was neither found locally nor online. My dir structure are as follows: --- $ tree . ├── dub.sdl ├── pkg1 │   ├── dub.sdl │   └── source │   └── app.d └── pkg2 ├── dub.sdl └── source └── app.d 4 directories, 5 files The app.d sources are empty dub generated app.d files --- import std.stdio; void main() { writeln("Edit source/app.d to start your project."); } --- The toplevel sdl file --- name "testpkg" description "Test subpackages" copyright "Copyright (C) 2019, norm" authors "norm" targetType "none" license "freeware" dependency "test:pkg1" version="*" dependency "test:pkg2" version="*" subPackage "./pkg1/" subPackage "./pkg2/" --- The pkg1 and pkg2 SDL files are given below --- name "pkg1" description "A minimal D application." authors "norm" copyright "Copyright © 2019, norm" license "freeware" --- name "pkg2" description "A minimal D application." authors "norm" copyright "Copyright © 2019, norm" license "freeware" --- Thanks, Norm
May 01
parent reply Martin Nowak <code dawg.eu> writes:
On Thursday, 2 May 2019 at 01:34:16 UTC, Norm wrote:
 Sorry I don't know if this is the right place to report this, 
 if not please let me know where a good place would be. With 
 this release I can no longer build a subpackage with dub.
https://github.com/dlang/dub/issues/1691 The new auto-fetch logic doesn't handle abbreviated sub-pkg names properly and thus fails. Workaround for now is to use the full name `dub build test:pkg` or to disable the auto-fetch via `dub build :pkg1 --non-interactively`.
May 04
parent reply Martin Nowak <code dawg.eu> writes:
On Saturday, 4 May 2019 at 09:55:00 UTC, Martin Nowak wrote:

`dub build :pkg1 --non-interactively`.
`dub build :pkg1 --non-interactive` is the correct name of the flag
May 04
parent Norm <norm.rowtree gmail.com> writes:
On Saturday, 4 May 2019 at 09:57:04 UTC, Martin Nowak wrote:
 On Saturday, 4 May 2019 at 09:55:00 UTC, Martin Nowak wrote:

`dub build :pkg1 --non-interactively`.
`dub build :pkg1 --non-interactive` is the correct name of the flag
Thank you for the help. Norm
May 04