Skip to content

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

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 19, 2026

Copy link
Copy Markdown
Contributor

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

Release notes

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

v3.8.5

Change Log

v3.8.4

Change Log

Fixed

Other

Changelog

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

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

Changed

  • Duplicate-bind panics now include the command path. When an option (or argument) is bound twice on the same command, the panic message now appends in command '<path>' (e.g. redefined option flag 'dry-run' in command 'git branch'), making the offending command easy to locate. The command's flag set is now named by its full path (Command.Path()); the flag-set name is only used for such diagnostics, so help output is unaffected.
  • Bump github.com/gookit/cliui to v0.5.3. v0.5.1 changed interact.Confirm/Unconfirmed/AnswerIsYes to return (bool, error), which broke the builtin package build; v0.5.2/v0.5.3 restore the legacy signatures (and add *E variants), so no code change is needed.

Fixed

  • Shared (inherited) options keep their metadata and are handled once, at the executing command. gflag.Parser.InheritOptsFrom used to copy a subset of the option metadata, so an inherited option lost its default value — a ${ENV_VAR} default was rendered as the resolved value in help, leaking it (e.g. a token) — lost Hidden (hidden options showed up in sub-command help) and lost its type (reported as var, so TakesValue() was wrong for bool flags, breaking value completion). It now copies the full metadata. Required / Validator / Collector / Question / Handler are stripped from the per-command merged copies and handled once by Command.prepareSharedOpts() when the executing command runs, with the final value (order: collect → required →

... (truncated)

Commits
  • eee41d2 chore(release): v3.8.5
  • 733d511 build: gopty 依赖升到 v0.1.1, 完成 Go 1.23 收口
  • d1bb162 build: go 指令降到 1.23, 间接依赖 x/sys 降到 v0.30.0
  • 1b54bf6 test(e2e): 用 gookit/gopty 的 ptytest 替换交互冒烟脚本
  • 99593e7 docs(smoke): 库路径更正为 gookit/gopty
  • 8024a1d docs(smoke): 修正 wincons 关于 ConPTY 在 job 内不可用的说法
  • e9f0461 chore(release): v3.8.4
  • d49d922 test(gcli): 用注入式输入覆盖共享选项的提问收集
  • ce0c063 test(smoke): 新增 Windows 控制台冒烟 wincons
  • b83271c chore(smoke): 忽略 python 缓存目录, 移除误提交的 pyc
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/gookit/gcli/v3](https://github.com/gookit/gcli) from 3.8.3 to 3.8.5.
- [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.5)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Oct 19, 2026
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