Skip to content
  • v1.22.4
  • 053ba9d
  • Compare
    Choose a tag to compare
    Search for a tag
  • v1.22.4
  • 053ba9d
  • Compare
    Choose a tag to compare
    Search for a tag

@lynncyrin lynncyrin released this Apr 2, 2020 · 7 commits to v1 since this release

These release notes were written for the git hash 053ba9d

Fixed

Assets 2
  • v2.2.0
  • d648edd
  • Compare
    Choose a tag to compare
    Search for a tag
  • v2.2.0
  • d648edd
  • Compare
    Choose a tag to compare
    Search for a tag

@lynncyrin lynncyrin released this Mar 10, 2020

These release notes were written for the git hash d648edd

Fixed

Changed

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
Assets 2
  • v1.22.3
  • c354cec
  • Compare
    Choose a tag to compare
    Search for a tag
  • v1.22.3
  • c354cec
  • Compare
    Choose a tag to compare
    Search for a tag

@lynncyrin lynncyrin released this Mar 8, 2020 · 9 commits to v1 since this release

Fixed

  • 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
Assets 2
  • v2.1.1
  • aa1b271
  • Compare
    Choose a tag to compare
    Search for a tag
  • v2.1.1
  • aa1b271
  • Compare
    Choose a tag to compare
    Search for a tag

@lynncyrin lynncyrin released this Dec 25, 2019 · 233 commits to master since this release

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

Assets 2
  • v2.1.0
  • ae84df4
  • Compare
    Choose a tag to compare
    Search for a tag
  • v2.1.0
  • ae84df4
  • Compare
    Choose a tag to compare
    Search for a tag

@lynncyrin lynncyrin released this Dec 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

Assets 2
  • v2.0.0
  • 754ed1b
  • Compare
    Choose a tag to compare
    Search for a tag
  • v2.0.0
  • 754ed1b
  • Compare
    Choose a tag to compare
    Search for a tag

@lynncyrin lynncyrin released this Nov 21, 2019 · 395 commits to master since this release

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 ability to specify multiple entries in the Command.Name field
    • when updating, replace Name: "a, b, c" with Name: "a", Aliases: []string{"b", "c"}
  • 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
Assets 2
  • v1.22.2
  • 850de85
  • Compare
    Choose a tag to compare
    Search for a tag
  • v1.22.2
  • 850de85
  • Compare
    Choose a tag to compare
    Search for a tag

@lynncyrin lynncyrin released this Nov 21, 2019 · 670 commits to master since this release

Fixed

Changed

Assets 2
Pre-release
Pre-release

@asahasrabuddhe asahasrabuddhe released this Sep 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.

Assets 2
Sep 15, 2019
Fix all tests
Pre-release
Pre-release

@asahasrabuddhe asahasrabuddhe released this Sep 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.

Assets 2
You can’t perform that action at this time.