diff --git a/changelog/version.dd b/changelog/version.dd new file mode 100644 index 0000000..9f16b53 --- /dev/null +++ b/changelog/version.dd @@ -0,0 +1,8 @@ +All commands now support `package[@]`, `--version` is deprecated + +`dub` commands had some disparity in their version handling. +Most commands accepting a package name (e.g. `dub fetch` or `dub run`) supported +either `package[@version-spec]`, or supported only `package` and accepted an +option `--version=`. +The latter form has now been deprecated and all commands now accept `package[@]`. +Note that the absence of `@` still means "latest version" (except for `remove`).