Repository navigation
Releases: urfave/cli
Releases · urfave/cli
Release list
v3.14.0
What's Changed
- chore(deps): bump mkdocs-git-revision-date-localized-plugin from 1.5.4 to 1.6.0 in the python-packages group by @dependabot[bot] in #2436
- fix: set BoolWithInverseFlag in a short option group by @lazerg in #2440
- Keep arguments after a bare dash by @official-burak in #2419
- fix: handle a multi-byte flag at the end of a short option group by @SulimanAbdulrazzaq in #2438
- fix: complete persistent flags in shell completion by @sb123sb123 in #2437
- fix: restore Unwrap on the error returned by Exit by @fadiroot in #2444
- fix: reject a parent's Local flag inside a short option group by @fadiroot in #2445
- fix: report a flag that needs an argument but is not last in a short group by @yu2971512385-ui in #2443
- Use prefixFor so flag suggestions agree with help on rune count by @januththedev in #2448
- fix: reject duplicate flag names by @deepakganesh78 in #2396
- fix: date a time-only timestamp today when Timezone is not UTC by @breken-ai in #2450
- fix: let a subcommand's command-line value replace a persistent flag's env/file value by @breken-ai in #2449
- Add urfave_cli_no_template build tag by @kolyshkin in #2441
- fix: skip empty source values for flags that cannot parse them by @abo3losh1 in #2451
New Contributors
- @lazerg made their first contribution in #2440
- @official-burak made their first contribution in #2419
- @SulimanAbdulrazzaq made their first contribution in #2438
- @sb123sb123 made their first contribution in #2437
- @fadiroot made their first contribution in #2444
- @yu2971512385-ui made their first contribution in #2443
- @januththedev made their first contribution in #2448
- @deepakganesh78 made their first contribution in #2396
- @breken-ai made their first contribution in #2450
- @abo3losh1 made their first contribution in #2451
Full Changelog: v3.13.0...v3.14.0
v3.13.0
What's Changed
- Trim the key of a map flag when TrimSpace is set by @youdie006 in #2431
- Fix inverse bool flag counting with an external counter by @jakezwang in #2432
- feat: add Deprecated field to flags and commands by @anandghegde in #2429
- fix: parse single-rune Unicode flags by @znnnnnnn-wil in #2434
New Contributors
- @jakezwang made their first contribution in #2432
- @anandghegde made their first contribution in #2429
- @znnnnnnn-wil made their first contribution in #2434
Full Changelog: v3.12.0...v3.13.0
v3.12.0
What's Changed
- feat: add Command.ArgValidator for tree-wide argument validation by @dearchap in #2377
- Single-value arguments can be marked as required by @idelchi in #2393
- docs: clarify that named Arguments are excluded from cmd.Args() by @dearchap in #2411
- fix: never run command action on shell completion past a double dash by @dearchap in #2412
- chore(deps): bump github.com/stretchr/testify from 1.11.1 to 1.12.0 by @app/dependabot in #2413
- Support custom FlagStringer for MutuallyExclusiveFlags by @SHIVANSHGARG07 in #2414
- Add TextFlag for encoding.TextMarshaler/TextUnmarshaler values by @ChrisJr404 in #2415
- chore(deps): bump github.com/stretchr/testify from 1.12.0 to 1.12.1 by @app/dependabot in #2416
- chore(deps): bump the python-packages group with 2 updates by @app/dependabot in #2417
- Show inherited persistent flags in child help by @justadityaraj in #2421
- fix: preserve whitespace in positional arguments by @lenamonj in #2423
- fix: preserve whitespace in equals-form flag values by @BenYang12 in #2425
- fix: complete subcommand flags after positional arguments by @fzlzjerry in #2426
- Fix a year-less timestamp layout losing January 1 by @youdie006 in #2427
- docs: add go-size-analyzer, module version, and reflection by @imsumedhaa in #2428
New Contributors
- @idelchi made their first contribution in #2393
- @SHIVANSHGARG07 made their first contribution in #2414
- @ChrisJr404 made their first contribution in #2415
- @justadityaraj made their first contribution in #2421
- @lenamonj made their first contribution in #2423
- @BenYang12 made their first contribution in #2425
- @youdie006 made their first contribution in #2427
- @imsumedhaa made their first contribution in #2428
Full Changelog: v3.11.0...v3.12.0
v3.11.0
What's Changed
- fix: correct a typo in the help message for the powershell autocompletion by @suzuki-shunsuke in #2383
- Escape backslashes in fish completion descriptions by @mahirhir in #2378
- chore(deps): bump actions/setup-go from 6 to 7 by @dependabot[bot] in #2389
- chore(deps): bump mkdocs-material from 9.7.6 to 9.7.7 in the python-packages group by @dependabot[bot] in #2391
- chore(deps): bump actions/setup-python from 6 to 7 by @dependabot[bot] in #2390
- fix: skip all hidden flags in shell completion, not just bool flags by @vidigoat in #2388
- Fix nil pointer dereference for interface-typed flag values by @mrueg in #2400
- Fix index out of range panic when Run is given no arguments by @mrueg in #2401
- fix: honor BoolWithInverseFlag DefaultText by @fzlzjerry in #2403
- Fix Issue #2385 by @BrandonIrizarry in #2386
- fix: inherit HideHelpCommand in subcommands by @utkarshalpha in #2395
- test: cover Run-with-no-arguments paths (#2406) by @dearchap in #2407
- test: add shell-completion case for hidden BoolWithInverseFlag by @dearchap in #2408
- test: fix ineffective mutex error-string assertion and add mirror cases by @dearchap in #2410
New Contributors
- @mahirhir made their first contribution in #2378
- @vidigoat made their first contribution in #2388
- @fzlzjerry made their first contribution in #2403
- @BrandonIrizarry made their first contribution in #2386
- @utkarshalpha made their first contribution in #2395
Full Changelog: v3.10.1...v3.11.0
v3.10.1
What's Changed
- chore(deps): bump actions/checkout from 6 to 7 by @dependabot[bot] in #2371
- fix: align gfmrun example counter with actual runnable count by @dearchap in #2369
- v3: yield the version flag's -v alias to a user-defined flag by @c-tonneslan in #2330
- fix: keep completion subcommand order deterministic in help output by @suzuki-shunsuke in #2374
- fix: allow DefaultCommand to handle its own flags by @lihan3238 in #2322
New Contributors
- @lihan3238 made their first contribution in #2322
Full Changelog: v3.10.0...v3.10.1
v3.10.0
What's Changed
- feat: add Flag.SchemaType() and Flag.SchemaItemsType() for JSON Schema introspection by @dearchap in #2368
- feat: add Command.Walk() and Command.Path() convenience methods by @dearchap in #2353
- fix: let --help flag take precedence over parse errors by @dearchap in #2360
- fix: resolve remaining help invocation inconsistencies by @dearchap in #2361
- fix: skip After hook when help is displayed on subcommand by @dearchap in #2363
- fix: show GLOBAL OPTIONS in SubcommandHelpTemplate by @dearchap in #2359
- fix: resolve broken links in CHANGELOG.md by @dearchap in #2357
- docs: document what happened to build tags in v3 migration guide by @dearchap in #2358
- Various docs updates and dependency bumps
Full Changelog: v3.9.1...v3.10.0
v3.9.1
What's Changed
- fix: inherit Reader/Writer/ErrWriter from parent on subcommand setup by @c-tonneslan in #2329
- fix: correct greedy colon parsing in bash completion script by @TimSoethout in #2336
- fix: Honor env sources on duplicated flags by @ibobgunardi in #2355
- fix: Remove incorrect flag check by @MohitPanchariya in #2280
- fix: let completion command use normal flag parsing pipeline by @suzuki-shunsuke in #2279
- fix: bash completion spacing by @cyphercodes in #2337
- fix: fish custom completion arguments by @puneetdixit200 in #2338
- fix: empty positional arg after a flag regression test by @c-tonneslan in #2328
- docs: document build tags in v3 migration guide by @dearchap in #2358
- chore(deps): bump mkdocs-git-revision-date-localized-plugin by @dependabot in #2347
- Fix typos by @myfloss in #2339
Full Changelog: v3.9.0...v3.9.1
v3.9.0
What's Changed
- chore(deps): bump codecov/codecov-action from 5 to 6 by @dependabot[bot] in #2300
- chore(deps): bump the python-packages group across 1 directory with 3 updates by @dependabot[bot] in #2301
- docs: fix typo by @acrobatstick in #2299
- feat: add descriptions for bash and powershell autocompletion by @gabelluardo in #2298
- Made command help more consistent by @markshep-wbg in #2287
- Fix:(issue_2285): correct function and variable naming in fish completion script by @TimSoethout in #2286
- fix(ci): update docs after bash completion update by @gabelluardo in #2307
- fix: apply SliceFlagSeparator to env var sources by @lawrence3699 in #2309
- fix: don't print empty line to stderr when Exit message is empty by @Yanhu007 in #2310
- flag: prevent BoolWithInverseFlag.String from panicking without a tab by @alliasgher in #2311
- refactor: bash completion script by @gabelluardo in #2308
- fix: drop shebang from bash completion template by @barry3406 in #2317
- fix: show flag completions when completing a double-dash prefix by @morozov in #2316
- fix: parse flags for help subcommand (#2271) by @barry3406 in #2319
- fix: show BoolWithInverseFlag aliases in help text by @wucm667 in #2321
New Contributors
- @gabelluardo made their first contribution in #2298
- @markshep-wbg made their first contribution in #2287
- @lawrence3699 made their first contribution in #2309
- @Yanhu007 made their first contribution in #2310
- @alliasgher made their first contribution in #2311
- @barry3406 made their first contribution in #2317
- @morozov made their first contribution in #2316
- @wucm667 made their first contribution in #2321
Full Changelog: v3.8.0...v3.9.0
v3.8.0
What's Changed
- chore(deps): bump mkdocs-material from 9.7.1 to 9.7.2 in the python-packages group by @dependabot[bot] in #2267
- chore(deps): bump mkdocs-material from 9.7.2 to 9.7.3 in the python-packages group by @dependabot[bot] in #2272
- chore(deps): bump mkdocs-material from 9.7.3 to 9.7.4 in the python-packages group by @dependabot[bot] in #2276
- Fix: check MutuallyExclusiveFlags across parent command chain by @siutsin in #2274
- Modernize source code by @kolyshkin in #2289
- flag: replace regexp use by @kolyshkin in #2288
- chore(deps): bump mkdocs-material from 9.7.4 to 9.7.5 in the python-packages group by @dependabot[bot] in #2284
- Fix:(issue_2281) Remove incorrect check for local flag for set by @dearchap in #2290
- Fix:(issue_2275) Make flag action execution consistent by @dearchap in #2295
- Fix:(issue_2293) --flag="" no longer rejected as missing argument by @idelchi in #2297
- Fix:(issue_2292) Empty positional args no longer break parse loop by @idelchi in #2296
New Contributors
Full Changelog: v3.7.0...v3.8.0
v3.7.0
What's Changed
- Fix: use the correct type name in the tracef message by @icholy in #2251
- chore(deps): bump mkdocs-git-revision-date-localized-plugin from 1.5.0 to 1.5.1 in the python-packages group by @dependabot[bot] in #2252
- Fix:(issue_2254) Fix incorrect handling of arg after short option token by @dearchap in #2255
- feat: ShellComplete for fish by @marcusramberg in #2256
- Fix: propagate MutuallyExclusiveFlags persistent flags to subcommands by @siutsin in #2266
- feat: support dynamic fish completion by @Maks1mS in #2270
- fix(help): show GLOBAL OPTIONS for leaf subcommands when HideHelpCommand is true by @TimSoethout in #2269
New Contributors
- @marcusramberg made their first contribution in #2256
- @siutsin made their first contribution in #2266
- @TimSoethout made their first contribution in #2269
Full Changelog: v3.6.2...v3.7.0