v0.4.0
版本发布时间: 2018-01-25 08:53:59
golang/dep最新发布版本:v0.5.4(2019-07-01 14:02:45)
v0.4.0 is a significant milestone for dep. It removes the dep prune
command, absorbing its behavior entirely into dep ensure
, with additional granular controls. This is an immediate boon for users' workflows, but it also unblocks the path to finishing essential parts of dep's design.
It is strongly recommended that you update your Gopkg.toml
to include the new pruning directives as soon as you update to this new version of dep. For most projects, adding this to Gopkg.toml
will be fine:
[prune]
unused-packages = true
go-tests = true
This will do everything dep prune
used to, and more, with fewer bugs.
Less verbose, but equally exciting news: dep init
now supports automated conversions from govendor
and glock
!
Finally, this release includes a new, detailed documentation site!
NEW FEATURES:
- Absorb
dep prune
intodep ensure
. (#944) - Add support for importing from glock based projects. (#1422)
- Add support for importing from govendor based projects. (#815)
- Allow override of cache directory location using environment variable
DEPCACHEDIR
. (#1234) - Add support for template output in
dep status
. (#1389 - Each element in a multi-item TOML array is output on its own line. (#1461)
BUG FIXES:
- Releases targeting Windows now have a
.exe
suffix. (#1291) - Adaptively recover from dirty and corrupted git repositories in cache. (#1279)
- Suppress git password prompts in more places. (#1357)
- Fix
-no-vendor
flag forensure -update
. (#1361) - Validate
git ls-remote
output and ignore all malformed lines. (#1379) - Support gopkg.in version zero. (#1243)
- Fix how dep status print revision constraints. (#1421)
- Add optional
-v
flag to ensure sub command's syntax. (#1458) - Allow URLs containing ports in
Gopkg.toml
source
fields. (#1509)
IMPROVEMENTS:
- Log as dependencies are pre-fetched during dep init. (#1176)
- Make the gps package importable. (#1349)
- Improve file copy performance by not forcing a file sync. (#1408)
- Skip empty constraints during import. (#1414)
- Handle errors when writing status output. (#1420)
- Add constraint for locked projects in
dep status
. (#962) - Make external config importers error tolerant. (#1315)
- Show LATEST and VERSION as the same type in status. (#1515)
- Warn when [[constraint]] rules that will have no effect. (#1534)
1、 dep-darwin-386 7.23MB
2、 dep-darwin-386.sha256 89B
3、 dep-darwin-amd64 8.8MB
4、 dep-darwin-amd64.sha256 91B
5、 dep-freebsd-386 6.59MB
6、 dep-freebsd-386.sha256 90B
7、 dep-freebsd-amd64 8.1MB
8、 dep-freebsd-amd64.sha256 92B
9、 dep-linux-386 6.62MB
10、 dep-linux-386.sha256 88B
11、 dep-linux-amd64 8.09MB
12、 dep-linux-amd64.sha256 90B
13、 dep-windows-386.exe 6.61MB
14、 dep-windows-386.exe.sha256 94B
15、 dep-windows-amd64.exe 8.13MB
16、 dep-windows-amd64.exe.sha256 96B