Skip to content

Commit

Permalink
Add a changelog entry for --version deprecation / enhancement
Browse files Browse the repository at this point in the history
  • Loading branch information
Geod24 committed Aug 27, 2020
1 parent 712ce56 commit ffb9609
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions changelog/version.dd
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
All commands now support `package[@<version-spec>]`, `--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=<version-spec>`.
The latter form has now been deprecated and all commands now accept `package[@<version-spec>]`.
Note that the absence of `@<package-spec>` still means "latest version" (except for `remove`).

0 comments on commit ffb9609

Please sign in to comment.