urfave/cli v2.3.0 Release Notes
Release Date: 2020-11-01 // over 2 years ago-
๐ These release notes were written for the git hash 09ac54c.
๐ Fixed
- ๐ Fixed a bug 'Unable to load file' in altsrc in #1086 via @akramarenkov
- ๐ Fixed a bug where
App.ErrWriter
not being initialized inApp.Setup()
in #1100 via @Nokel81 - Harmonize BeforeError handling in #1117 via @creekorful
- ๐ Fixed a bug where the default value is not set in the
Destination
field in theStringSliceFlag
in #1121 via @sgoroshko - ๐ Fixed a bug where the version flag was shown unexpectedly on commands with subcommands in #1153 via @lrioth
- ๐ Fixed a bug where the default
StringSlice
values would be mutated in #1170 via @tych0 - ๐ Fixed a bug where values set by environment var are not saved to existing stringslice reference in #1178 via @alexcb
- ๐ Fixed a bug where fish completion did not respect TakesFile on PathFlags in #1198 via @ErinCall
๐ Changed
- ๐ Improved ZSH Autocompletion (List files on tab with no completion options) in #1130 via @oleorhagen
- ๐ Improved help text rendering in #1175 via @imle
โ Added
- โ Added support for Go 1.14 in #1085 via @lynncyrin
- โ Added support for Powershell autocompletion in #1139 via @kirinnee
- โ Added support for using
Value
withTimeStamp
flag in #1160 via @vschettino - โ Added ShowSubcommandHelpAndExit to print help for the given subcommand and exit with exit code in #1183 via @knqyf263
- ๐ฆ Expose the constructor of
MapInputSource
type in #1194 via @igorrius - โ Added support for a
App.Reader
that defaults toos.Stdin
via #1191 via @stellirin
Previous changes from v2.2.0
-
๐ These release notes were written for the git hash d648edd
๐ Fixed
- ๐ Fixed zsh completion scripts in #1062 via @zhsj
- ๐ Fixed description of subcommand to be more consistent in #1054 via @itchyny
- ๐ Fixed possible runtime panic in slice parsing in #1049 via @saschagrunert
- ๐ Fixed invalid man page header generation in #1041 via @saschagrunert
๐ Changed
- ๐ Improved auto-completion instructions and added example gifs in #1059 via @masonj188
- โ Removed the author from generated man pages in #1041 via @saschagrunert
โ Added
- โ Added destination field to StringSliceFlag in #1078 via @davidsbond
- โ Added HideHelpCommand. While HideHelp hides both help command and --help flag, HideHelpCommand only hides help command and leave --help flag as-is in #1083 via @AkihiroSuda
- โ Added timestampFlag docs in #997 via @drov0
- โ Added required flags documentation in #1008 via @lynncyrin, @anberns