Skip to content

build(deps): bump github.com/gookit/gcli/v3 from 3.8.3 to 3.8.6 - #29

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/gookit/gcli/v3-3.8.6
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/github.com/gookit/gcli/v3-3.8.6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Bumps github.com/gookit/gcli/v3 from 3.8.3 to 3.8.6.

Release notes

Sourced from github.com/gookit/gcli/v3's releases.

v3.8.6

Change Log

Refactor

Fixed

Other

v3.8.5

Change Log

v3.8.4

Change Log

Fixed

Other

... (truncated)

Changelog

Sourced from github.com/gookit/gcli/v3's changelog.

v3.8.6 - 2026-10-29

Added

  • gflag.StrictFormatArgs: the strict mode long option normalization (--a => -a, ---name => --name) is exported from gflag now, next to ExpandShortArgs and RearrangeArgs, so it can use the option metadata. gcli keeps the mode switch and calls it.

Fixed

  • gflag short-option expansion: with EnhanceShort enabled, the preprocessing split the token after a value-taking option before it could be used as that value — --name -ab became --name -a and switched -b on — and it also rewrote literal arguments after -- and the options of a later subcommand. The expansion keeps the next token of a known value-taking option verbatim now, and stops at --, at the subcommand / reorder boundary and at the first positional argument when reordering is off. Registered numeric short aliases and bool groups keep working, and EnhanceShort=0 (the default) is unchanged.
  • gcli strict mode: the positional arguments after -- stay verbatim (-- --a ---b no longer becomes -a -b), and so does the value of a value-taking option, even when it looks like an option: --name --a keeps --a and -n ---deep keeps ---deep (the short alias is resolved). A bool option takes no value, so the token after it is still normalized as an option; the EnhanceShort splitting (-ab => -a -b, -Oab => -O + ab) and the -- terminator handling are unchanged.

v3.8.5 - 2026-10-15

Changed

  • Terminal-level end-to-end tests now run inside go test, driven by gookit/gopty's ptytest fixture. e2e_pty_test.go runs the built example app (./_examples/cliapp) on a real pty — unix uses creack/pty, Windows uses ConPTY — and covers the cases the old scripts covered: an empty answer is asked exactly once and the typed value is used, an option given (--token x) is not asked, -h never asks, a shared (inherited) option is asked once at the executing command and the leaf reads the collected value, and the cliui interact confirm/read prompts. The Python PTY smoke scripts (scripts/ptysmoke) and the Windows console driver (scripts/wincons) they replace are gone (~926 lines), so CI needs neither Python nor a console driver; go test ./... -short skips the terminal cases.
  • Requires Go 1.23 or newer (the module go directive, was 1.22). The test dependency github.com/gookit/gopty v0.1.1 declares the same floor and keeps golang.org/x/sys at v0.30.0, so no module in the build list asks for Go 1.24+.
  • Bump github.com/gookit/gopty to v0.1.1 (test dependency; it fixes the wincons references in its docs and adds its own CI).

[v3.8.4] - 2026-10-15

... (truncated)

Commits
  • 46bfb55 chore(release): v3.8.6
  • 5353163 chore(deps): drop the stale goutil 0.8.4 go.sum entries
  • 6265683 chore(gcli): gofmt the shared options test
  • 9c2ee05 refactor(gflag): own the strict long-option normalization and keep option val...
  • 481ef1a refactor(gcli): drop the unused moveArgumentsToEnd helper
  • 7797c34 docs(changelog): note the strict mode double dash fix
  • 3fc8192 fix: keep args after -- verbatim in strict mode (#176)
  • 9259722 chore(deps): bump github.com/gookit/goutil to v0.8.6
  • 0388107 docs(changelog): note the short-option expansion context fix
  • c4bd753 Keep option values and positional tails intact during short expansion (#175)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Nov 2, 2026
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/gookit/gcli/v3-3.8.6 branch from 32d59db to ce3c7e0 Compare November 17, 2026 04:36
Bumps [github.com/gookit/gcli/v3](https://github.com/gookit/gcli) from 3.8.3 to 3.8.6.
- [Release notes](https://github.com/gookit/gcli/releases)
- [Changelog](https://github.com/gookit/gcli/blob/master/CHANGELOG.md)
- [Commits](gookit/gcli@v3.8.3...v3.8.6)

---
updated-dependencies:
- dependency-name: github.com/gookit/gcli/v3
  dependency-version: 3.8.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/go_modules/github.com/gookit/gcli/v3-3.8.6 branch from ce3c7e0 to 24f0d03 Compare November 17, 2026 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants