Release 2.4.0
These release notes were written for the git hash 7b2e609.
Fixed
- Fixed incorrect Help Name in #1202 via @fxrlv
- Fixed a bug where
Context.Value
did not look across all fileSets when looking for a named flag in #1210 via @jcgregorio - Fixed an issue with flags being set by parent context's (
IntSlice
,Int64Slice
) in #1214 via @anicoll - Fixed a bug where
App.Reader
was not correctly propagated to the subcommands in #1225 via @Coderlane - Fixed example code input arguments in #1226 via @Coderlane
- Fixed a bug where default value would changed when parsing slice flags in #1236 via @vipally
- Fixed a bug where slice flag values don't append default values from ENV or a file in #1239 via @vipally
- Fixed indentation on help text in #1279 via @rliebz
- Fixed a Go 1.17 compatibility issue for a test case in #1277 via @GlenPickle
- Fixed a nil pointer panic when getting cli/context flagSet in UsageError function in #1327 via @WUST-mengqinyu
- Fix
strconv.ParseFloat
usage in #1335 via @kolyshkin - Improve handling of file flags in #1336 via @kolyshkin
Changed
- Improve help text for Slice flags in #1208 via @Madhur1997
- Update GitHub actions in #1212 via @jcgregorio
- Fix typo in documentation in #1216 via @wgumenyuk
- Improve Man Page in #1227 via @bobuhiro11
- Remove duplicate comment in #1232 via @corburn
- Improve how UsageText appears when viewing help from subcommands in #1255 via @cpacifying
- Remove reflect calls for Hidden flags feature in #1258 via @dearchap
- Refactor and Cleanup context in #1264 via @dearchap
- Fix grammatical error in documentation in #1281 via @imaskm
- Improve documentation in #1304 via @JayCeeJr
- Improve Man Page in #1311 via @jolheiser
- Improve migration documentation in #1317 via @tlimoncelli
- Improve migration documentation in #1319 via @mritunjaysharma394
- Fixed assertion function in test cases in #1320 via @anthonyfok
- Update markdown library dependency in #3121 via @anthonyfok
- Update yaml library dependency in #1326 via @mildaniel
- Remove useless variable declaration in #1330 via @chenxiao-zhao
- Improve migration documentation in #1340 via @infraredgirl
Added
- Added support for Go 1.15 in #1200 via @asahasrabuddhe
- Add link to pkg.go.dev in manual.md in #1207 via @bbkane
- Add link to GoDoc for v2 in #1228 via @zwass
- Add
Destination
field to theTimeStamp
flag in #1251 via @davidsbond - Add support for Go 1.16 in #1270 via @rliebz
- Add description and usage text in generated documentation in #1287 via @subpop
- Add support for Go 1.17 in #1323 via @rliebz