Releases: carolynvs/magex
v0.9.0
🚨 Breaking Changes
There are breaking function signature changes in this release (sorry).
pkg.IsCommandAvailable reordered the arguments to be more consistent with other commands and now only accepts a single string for the version argument/flag. For example, pkg.IsCommandAvailable("mycmd", "--version", "1.2.3")
What's Changed
- Only build main for pushes by @carolynvs in #25
- Add Move command by @carolynvs in #24
- Use version range when checking if installed by @carolynvs in #22
- Add EnsurePackageWith/InstallPackageWith by @carolynvs in #27
- Improve godoc for mgx package by @carolynvs in #28
Full Changelog: v0.8.1...v0.9.0
v0.8.1
v0.8.0
What's Changed
- Support downloading to an arbitrary location by @carolynvs in #19
Full Changelog: v0.7.2...v0.8.0
v0.7.2
What's Changed
- Handle http error during download by @carolynvs in #17
- Fix tests when run on arm by @carolynvs in #18
Full Changelog: v0.7.1...v0.7.2
v0.7.1
What's Changed
- Support installing latest with EnsurePackage by @carolynvs in #16
Full Changelog: v0.7.0...v0.7.1
v0.7.0
🚨 This has breaking changes! We have switched from using github.com/pkg/errors to using the built-in error wrapping functionality in Go. If you were checking errors with github.com/pkg/errors.Cause
, you will need to switch to errors.Is
.
What's Changed
- Switch to golang native error wrapping by @saschagrunert in #12
- Add missing return statements by @carolynvs in #14
- pkg: swtich from go get to go install when installing a go package by @VinozzZ in #13
- Add ci package by @carolynvs in #15
New Contributors
- @saschagrunert made their first contribution in #12
- @VinozzZ made their first contribution in #13
Full Changelog: v0.6.1...v0.7.0
v0.6.0
🚨 THIS HAS BREAKING CHANGES!
Add DownloadToGopathBin for archived files 🚨 #5
- Move GOPATH related functions to github.com/carolynvs/magex/gopath
- Add package github.com/carolynvs/magex/archive to handle downloading an archive to your GOPATH/bin directory. It is in its own package so that you don't have to add the dependencies to support archives unless you are using it.
Fix copying over an existing directory #7
When I run cp -R somedir otherdir/
and otherdir/somedir already exists, copy should not fail trying to create the directory and should continue to copy children into the existing directory instead.