RejectedSoftware Forums

Sign up

Release DUB 0.9.25, new logo and updated website design

This version marks the final milestone before the 1.0.0 release, which
is scheduled for mid-June. The API has been cleaned up and will be kept
backwards compatible throughout 1.x.x (0.9.25->1.0.0 may still have some
breaking changes). Beginning with version 1.0.0, DUB will also become
part of the DMD compiler distribution, so that no additional setup will
be required to build DUB projects.

In preparation to that, it also received a thorough optical overhaul.
The newly designed logo (which has appeared in some other spots already)
has been integrated on the package registry, and the site style has been
adjusted to fit the general dlang.org design (thanks to Sebastian
Wilzbach!).

Some major changes to DUB itself are:

  • Builds on frontend versions up to 2.071.0
  • Implements proper optional dependency semantics, where using an
    optional dependency can now be controlled using dub.selections.json
  • "dub init" is now interactive by default (use -n to disable)
  • Contains some critical changes regarding path based dependencies
  • New "convert" and "search" commands
  • It now supports "git submodule" style packages that put their D
    sources at the root of the repository and expect to be checked out
    into a folder with the name of the package/repository. This builds
    on a new folder structure for downloaded packages and may require a
    re-download of affected packages to take effect. If you run into any
    issues, try removing all cached packages with "dub remove *".

Full change log:
https://github.com/D-Programming-Language/dub/blob/master/CHANGELOG.md

Download:
http://code.dlang.org/download

Re: Release DUB 0.9.25, new logo and updated website design

On Sun, 22 May 2016 21:36:38 +0200, Sönke Ludwig wrote:

... If you run into any issues, try removing all cached packages with "dub remove *".

"dub remove *" does not work for me, I am getting this message all the time:
"Cannot find package to remove. (id: '*', version: '', location: 'user')"

"dub remove specific-package" does. I am on Win 10 x64, downloaded the dub zip binaries, and yes, I made sure that version 0.9.25 is used.

PP

Re: Release DUB 0.9.25, new logo and updated website design

On Fri, 27 May 2016 10:52:15 GMT, ParticlePeter wrote:

On Sun, 22 May 2016 21:36:38 +0200, Sönke Ludwig wrote:

... If you run into any issues, try removing all cached packages with "dub remove *".

"dub remove *" does not work for me, I am getting this message all the time:
"Cannot find package to remove. (id: '*', version: '', location: 'user')"

"dub remove specific-package" does. I am on Win 10 x64, downloaded the dub zip binaries, and yes, I made sure that version 0.9.25 is used.

PP

You are right, I've mistakenly thought that * was a valid value here, but it is only for the --version switch. So the manual alternative is to remove all folders within ~/.dub/packages (or %AppData%\dub\packages on Windows).