Skip to content

chore(deps): bump github.com/gookit/goutil from 0.8.0 to 0.8.4 - #99

Merged
inhere merged 1 commit into
masterfrom
dependabot/go_modules/github.com/gookit/goutil-0.8.4
Oct 27, 2026
Merged

inhere merged 1 commit into
masterfrom
dependabot/go_modules/github.com/gookit/goutil-0.8.4

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps github.com/gookit/goutil from 0.8.0 to 0.8.4.

Release notes

Sourced from github.com/gookit/goutil's releases.

v0.8.4

Change Log

Fixed

Other

v0.8.3

Change Log

Refactor

Fixed

... (truncated)

Changelog

Sourced from github.com/gookit/goutil's changelog.

[v0.8.4] - 2026-10-24

Fixed

  • fsutil.UpdateContents: truncated the file before reading it, so the callback always got empty contents and the file ended up empty. It now reads the current contents first, writes from offset 0 and truncates to the new length; a nil handleFn returns an error instead of panicking.
  • x/finder: the wait group, the result channel and the dir queue of a find run were fields of the Finder, so Reset() or a new find raced with the worker goroutines of the previous run. They are per-run now, and the cached elems are appended under a mutex, so no entry is lost when Concurrency is greater than 1.
  • arrutil: Filter no longer panics on nil interface values, and ChunkBy bounds its allocation to the input length.
  • mathutil: strict mode rejects floats consistently, and unsupported pointer conversions or nil pointer values are reported instead of being converted silently.
  • maputil: values are merged into a nil inner map instead of being dropped.
  • strutil: a batch of parsing and formatting fixes — zero-width runes at split boundaries, empty replacement keys, the zero digit in base conversion, the default padding on UTF-8 text, overflow-safe large substring lengths, inline comments split at the first marker, the configured size-range separator, byte units without a numeric value, RFC3339 fractional seconds of variable length, synchronised serial-number defaults, and centered strings kept within the requested width.
  • timex: a zero base time falls back to time.Now() for the duration strings.

[v0.8.3] - 2026-10-14

Added

  • cflag/capp: two-level sub commands. Build a group command, register the sub commands on it, then add the group to the app:

    group := capp.NewCmd("session", "manage sessions")
    group.BoolVar(&verbose, "verbose", false, "verbose output;;v")
    list := capp.NewCmd("list", "list sessions")
    list.Aliases = []string{"ls"} // aliases must be set before add
    group.Add(list, capp.NewCmd("send", "send a message"))
    app.Add(group) // myapp session list

    New API: Cmd.Add, Cmd.AddOrErr, Cmd.Sub, Cmd.HasSubs, Cmd.Parent, Cmd.Path. A group command parses its own options before the sub command name, cannot declare positional arguments, and with no positional args it runs its own Func or shows the group help (myapp session -h). Nesting is recursive, but two levels are the documented usage; see the "两级子命令" / "Two-Level Subcommands" section of cflag/README.md.

Changed

  • strutil.SubstrCount: params[0] and params[1] are a rune offset and a rune

... (truncated)

Commits
  • e034d2a docs(changelog): release v0.8.4
  • 1964d67 test: migrate the deprecated testutil/assert import to x/assert
  • 8334e23 test(testutil): skip the time.Local tests with the race detector
  • 2323763 fix(finder): keep the state of one find run out of the Finder
  • 23c52ae ci: run the unit tests with the race detector
  • f06cf4e test(goutil): use channels instead of a goroutine counter in the SafeGo tests
  • 7638642 fix(fsutil): guard nil handleFn in UpdateContents and refine docs
  • 0da6b29 test(strutil): relax micro time id uniqueness assert to avoid CI flake
  • ca05d67 fix(fsutil): read existing contents before updating a file (#293)
  • 15c8ef6 fix(timex): use current time for zero-base durations (#292)
  • 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/goutil](https://github.com/gookit/goutil) from 0.8.0 to 0.8.4.
- [Release notes](https://github.com/gookit/goutil/releases)
- [Changelog](https://github.com/gookit/goutil/blob/master/CHANGELOG.md)
- [Commits](gookit/goutil@v0.8.0...v0.8.4)

---
updated-dependencies:
- dependency-name: github.com/gookit/goutil
  dependency-version: 0.8.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Oct 27, 2026
@inhere
inhere merged commit 1864c4f into master Oct 27, 2026
13 of 17 checks passed
@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/gookit/goutil-0.8.4 branch October 27, 2026 16:14
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.

1 participant