Skip to content

v0.4.0

Compare
Choose a tag to compare
@cbednarski cbednarski released this 07 Mar 21:27
· 21 commits to master since this release

0.4.0 is a major refactor of the frontend (CLI) focused on simplifying the UI
and code, supporting newer Go tooling (i.e. go mod), and removing external
dependencies.

Breaking Changes

  • Moved CLI to github.com/cbednarski/hostess. go get should now do what you probably wanted the first time.
  • Moved library to github.com/cbednarski/hostess/hostess
  • Many command aliases and flags have been removed
  • Hostlist.Enable and Hostlist.Disable now return an error instead of bool. Check against ErrHostnameNotFound.
  • Several functions will now return ErrInvalidVersionArg instead of panicking in that case

Improvements

  • Removed codegangsta/cli
  • Removed aff command
  • Removed del command (use rm instead)
  • Removed list command (use ls instead)
  • Removed fixed command (just run fmt)
  • Command fix renamed to fmt
  • Removed -s and -q flags. Errors are now shown always. Redirect stderr if you don't want to see them.
  • Removed -f from various commands. Use fmt instead.
  • Added Go mod support
  • Added AppVeyor for Windows builds
  • Overhauled the Makefile for easier builds