(Dates below are YYYY/MM/DD)
- Update: #6: Updated Scriptlike dependency from v0.9.1 to v0.10.3 (@schveiguy, thanks also to @logicfish)
- Fixed: #6: Fix missing imports. (@schveiguy, thanks also to @logicfish)
- Fixed: #6: Fix outdated auto concatenation. (@schveiguy)
- Fixed: Fix import-related deprecation messages for DMD 2.071.
- Enhancement: Include dub.sdl samples, not just dub.json.
- Fixed: Compile error for unittest builds.
- Enhancement: Now works on DMD 2.066.1 (previously required 2.067.0 or up).
- Fixed: Don't use a broken scriptlike release (v0.9.0), use v0.9.1 instead.
- Change: The generated
packageTimestamp
is changed from ISOExt format to human readable. The ISOExt formatted version is now calledpackageTimestampISO
. - Change: Value for
--module
is no longer allowed to contain periods. - Enhancement: Basic ability to be used as a library. See the README for details.
- Enhancement: Add
-r|--root
to support projects in any directory, not just the current directory. - Enhancement: Minor improvements to
--verbose
and--trace
outputs. - Fixed: Don't update the version file (and thus trigger a project rebuild) if the version file doesn't need updated. Bypass this check with the new
--force
flag. - Fixed: Don't rebuild gen-package-version if not needed.
- Fixed: Failure on Windows when target project is on a different drive letter from current working directory.
- Enhancement: Support detecting the version number via Mercurial (hg).
- Enhancement: Support .hgignore for Mercurial working directories.
- Enhancement: If detecting the version number via git fails, attempt to detect it via the current directory name (ex,
~/.dub/packages/[project-name]-[version-tag]
). - Enhancement: Don't bother running git if there's no
.git
directory. - Enhancement: Bootstraps itself, so gen-package-version itself enjoys the following fix:
- Fixed: Fails to detect version number for packages fetched by dub (since they lack
.git
).
- Fixed: The old recommended "preGenerateCommands" led to problems (project dependencies that use gen-package-version would run it from the wrong directory).
- Fixed:
helper/gen_version.sh
isn't set as executable when checked out through dub.
- New: Initial release.