Changelog History
Page 1
-
v2.3.0 Changes
November 01, 2020🚀 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
-
v2.2.0 Changes
March 10, 2020🚀 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
-
v2.1.1 Changes
December 25, 2019🛠Fixed a
Context
regression introduced inv2.1.0
in #1014 via @lynncyrin -
v2.1.0 Changes
December 24, 2019🚀 These release notes were written for the git hash ae84df4cef4a2a6f1a0cb1d41ea0f3af8755e5a8
🛠Fixed
- 🛠Fixed some golint errors in #988 via @liamchampton
- 🛠Fixed a panic with flag completion #946 via @unRob
🔄 Changed
- 🔄 Changed docs generation to use visible flags in #999 via @subpop
- 🔄 Changed
App.Run
to use an optional context for timeouts and cancellation in #975 via @marwan-at-work - 🔄 Changed version info to be hidden if the user has not defined a version in #955 via @asahasrabuddhe
- 🔄 Changed docs generation to take into account multiple authors in #900 via @saschagrunert
- 🔄 Changed context to expose a
Value
accessor in #741 via @corruptmemory
âž• Added
-
v2.0.0 Changes
November 21, 2019🔀 V2 was merged in #892, which included the work of all of these contributors: @asahasrabuddhe, @meatballhat, @jszwedko, @lynncyrin, @AudriusButkevicius, @saschagrunert, @rliebz, @johnweldon, @nlewo, @grubernaut, @OneOfOne, @VMitov, @cbranch, @marwan-at-work, @uudashr, @bfreis
Discuss the state of V2 here => #826
âž• Added
- âž• Added
NewStringSlice
andNewIntSlice
for creating their related types - âž• Added
Float64SliceFlag
for unmarshaling a list of floats from the user - âž• Added
Context.Lineage
to get all contexts from current up to global - Added
Context.LocalFlagNames
to get the flag names from only the current context - âž• Added
BoolFlag.Value
to handle both default-false and default-true - âž• Added
IsSet
method to theFlag
interface which allows us to detect whether or not a flag has been set
🔄 Changed
- Occurrences of
[]Command
have been changed to[]*Command
- Occurrences of
[]cli.Flag
have been changed to[]*cli.Flag
Context.FlagNames
now returns all flags in the context lineageContext.IsSet
now considers the full context lineage
✂ Removed
- ✂ Removed
Global*
flags since all flags are now global- when updating, replace
GlobalBool
withBool
- and
GlobalInt
withInt
- and
GlobalString
withString
- and so on for any other global flags
- when updating, replace
- ✂ Removed
Context.Parent
method, as this is now available viaContext.Lineage
- when updating, replace
Context.Parent()
withContext.Lineage()[1]
- when updating, replace
- ✂ Removed the
App.Author
andApp.Email
- these have been replaced with the
Authors []*Author
field
- these have been replaced with the
- ✂ Removed the
Command.ShortName
field- when updating, replace
ShortName: "i"
withAliases: []string{"i"}
- when updating, replace
- ✂ Removed all
Context.Global*
methods, as the non-global versions now traverse up
the context lineage automatically. - ✂ Removed the ability to specify
&StringSlice{...string}
or&IntSlice{...int}
. - ✂ Removed adapter code for deprecated
Action
func signature - ✂ Removed
BoolTFlag
and related code, as this is now available viaBoolFlag.Value
- âž• Added
-
v2.0.0-alpha.2 Changes
September 15, 2019🚀 This is a pre-release meant for internal testing purposes. Please do not use this until you really know what you are doing.
-
v2.0.0-alpha.1
September 15, 2019 -
v2.0.0-alpha Changes
September 13, 2019🚀 This is a pre-release meant for internal testing purposes. Please do not use this until you really know what you are doing.
-
v1.22.5 Changes
November 03, 2020🚀 These release notes were written for the git hash af7fa3d.
🛠Fixed
- 🛠Fixed a formatting bug in the v1 required flags error message in #1126 via @oleorhagen
- Harmonize BeforeError handling in in #1132 via @creekorful, @VirrageS
🔄 Changed
- 👌 Improved ZSH Autocompletion (List files on tab with no completion options) in #1133 via @oleorhagen
-
v1.22.4 Changes
April 02, 2020