Skip to content

Releases: urfave/cli

v3.14.0

Choose a tag to compare

@Juneezee Juneezee released this 02 Oct 01:47
v3.14.0
2f64589

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

Full Changelog: v3.13.0...v3.14.0

v3.13.0

Choose a tag to compare

@dearchap dearchap released this 20 Sep 14:36
v3.13.0
ae1fde9

What's Changed

New Contributors

Full Changelog: v3.12.0...v3.13.0

v3.12.0

Choose a tag to compare

@dearchap dearchap released this 14 Sep 14:34
v3.12.0
9b981a0

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

Full Changelog: v3.11.0...v3.12.0

v3.11.0

Choose a tag to compare

@dearchap dearchap released this 16 Aug 14:58
v3.11.0
138d3b3

What's Changed

New Contributors

Full Changelog: v3.10.1...v3.11.0

v3.10.1

Choose a tag to compare

@dearchap dearchap released this 29 Jun 20:47
v3.10.1
c5f123b

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

Full Changelog: v3.10.0...v3.10.1

v3.10.0

Choose a tag to compare

@dearchap dearchap released this 14 Jun 13:22
v3.10.0
183b3a2

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

Choose a tag to compare

@dearchap dearchap released this 10 Jun 12:59
v3.9.1
0ad3859

What's Changed

Full Changelog: v3.9.0...v3.9.1

v3.9.0

Choose a tag to compare

@dearchap dearchap released this 12 May 17:30
v3.9.0
b5aa710

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

Full Changelog: v3.8.0...v3.9.0

v3.8.0

Choose a tag to compare

@dearchap dearchap released this 25 Mar 13:55
v3.8.0
78e356c

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

Choose a tag to compare

@dearchap dearchap released this 01 Mar 12:27
v3.7.0
65ded98

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

Full Changelog: v3.6.2...v3.7.0