Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time

Guidelines for Contributing


You can build a development version of dub using ./build.d. When you already have a working dub binary, you can also just run dub build, though that won't update the version string.


Every feature addition should come with a changelog entry, see the changelog/ for how to add a new entry. Any .dd file is rendered using ddoc and is the same format used across all dlang repos. For bugfixes make sure to automatically close the issue via commit message (e.g. fixes #123), so that they can be listed in the changelog.


The source of the documentation for DUB lives in a separate repository:

Backwards compatiblity

DUB is a command line tool, as well as a library that can be embedded into other applications. We aim to stay backwards compatible as long as possible and as required by the SemVer specification. For this reason, any change to the public API, as well as to the command line interface, needs to be carefully reviewed for possible breaking changes. No breaking changes are allowed to enter the master branch at this point.

However, to prepare for backwards-incompatible changes that go into the next major release, it is allowed to deprecate symbols, as well as to hide symbols and command line options from the documentation.