Skip to content

Commit

Permalink
Update changelog/add-ability-for-specify-version-range-for-commandlin…
Browse files Browse the repository at this point in the history
…e-commands.dd

Co-authored-by: Mathias LANG <[email protected]>
  • Loading branch information
deviator and Geod24 authored Dec 7, 2020
1 parent f125389 commit 5a3bf53
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
Improvment of version specification for commandline commands
All commands now accept a version specification

Before this release dub was can get only strict version in commands like
`describe`, `generate`, `fetch` and other. By now version can be specified
same as dependency version:
Before this release dub could only get an exact version for some commands
(`describe`, `generate`, `fetch`, etc...). All commands now accept a version specification,
such as can be found in `dub.json` / `dub.sdl`:

dub fetch foo@'>0.2.0'
dub fetch 'foo@>0.2.0'
dub describe foo@'>=0.3.0 <1.0.0'

Note that commands such as `describe` will still not fetch from the network.

0 comments on commit 5a3bf53

Please sign in to comment.