All Versions
45
Latest Version
Avg Release Cycle
96 days
Latest Release
232 days ago

Changelog History
Page 1

  • v2.2.0

    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

    December 25, 2019

    ๐Ÿ›  Fixed a Context regression introduced in v2.1.0 in #1014 via @lynncyrin

  • v2.1.0

    December 24, 2019

    ๐Ÿš€ These release notes were written for the git hash ae84df4cef4a2a6f1a0cb1d41ea0f3af8755e5a8

    ๐Ÿ›  Fixed

    ๐Ÿ”„ 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

    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 and NewIntSlice 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 the Flag 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 lineage
    • Context.IsSet now considers the full context lineage

    โœ‚ Removed

    • โœ‚ Removed Global* flags since all flags are now global
      • when updating, replace GlobalBool with Bool
      • and GlobalInt with Int
      • and GlobalString with String
      • and so on for any other global flags
    • โœ‚ Removed Context.Parent method, as this is now available via Context.Lineage
      • when updating, replace Context.Parent() with Context.Lineage()[1]
    • โœ‚ Removed the App.Author and App.Email
      • these have been replaced with the Authors []*Author field
    • โœ‚ Removed the Command.ShortName field
      • when updating, replace ShortName: "i" with Aliases: []string{"i"}
    • โœ‚ 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 via BoolFlag.Value
  • v2.0.0-alpha.2

    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

    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.4

    April 02, 2020

    ๐Ÿš€ These release notes were written for the git hash 053ba9d

    ๐Ÿ›  Fixed

  • v1.22.3

    March 08, 2020

    ๐Ÿ›  Fixed

    • 0๏ธโƒฃ String flag no longer persists the default value if the flag is explicitly initialized in #981 via @asahasrabuddhe
    • context.IsSet() returns true or false correctly regardless of whether the short name or the full name of the flag is passed to it in #978 via @asahasrabuddhe
    • Hide version if the version is not set by the user in #954 via @asahasrabuddhe
  • v1.22.2

    November 21, 2019

    ๐Ÿ›  Fixed

    ๐Ÿ”„ Changed