Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 3, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/gookit/goutil v0.6.18 -> v0.7.1 age confidence

Release Notes

gookit/goutil (github.com/gookit/goutil)

v0.7.1

Compare Source

Change Log

Fixed
  • 🐛 fix: maputil - TryAnyMap convert error on input no-string key map 095d51e
Feature
  • ✨ feat: timex - Enhanced ToDuration method to support negative numbers and multiple time. eg: -1.5h, 2d3h, 2hour33min a9069e6
  • ✨ feat: fsutil - add new func: NameNoExt get filename without ext 95581b1
  • ✨ feat: maputil - add ToL2StringMap: convert map[string]any to map[string]map[string]string 1b4a87b
  • ✨ feat: testutil - add StrVarRenderer implements like shell vars renderer 114d773
  • ✨ feat: maputil - Data add new method: One, StrOne, StringsOne for try get value by multi key a877c56
  • ✨ feat: maputil - add func: FirstKey for get first key string. 922d3cc
  • ✨ feat: strutil - add func: IContainsOne, IContainsAll for support ignore-case check string. 6eb1356
  • ✨ feat: strutil - add new func: JoinComma quick join strings by comma 3d40ebb
  • ✨ feat: maputil - add func: AnyToStrMap for convert any to string-map 6f1a47f
  • ✨ feat: maputil - Data add method: BoolOne, AnyMap for get value 721b544
  • ✨ feat: maputil - add new type: L2StrMap and add new func: MergeL2StrMap da6c2b0
  • ✨ feat: maputil - add new func: SliceToSMap, SliceToMap, SliceToTypeMap 9b99167
  • ✨ feat: maputil - SMap add new method: StrOne for get first value by multi keys 993edb6
  • ✨ feat: strutil - add new func: IsVarName for check varname string 34194ee
  • ✨ feat: sysutil - add new func: ToEnvPATH join strings to PATH string 66d1416
  • ✨ feat: sysutil/cmdr - Cmd add new field PrintLine for print show cmdline a14f77b
  • ✨ feat: reflects - add func: TryAnyMap for convert any map to string-any map f839da3
  • ✨ feat: structs - StructToMap add new options: IgnoreEmpty, UserFunc 001c4da
  • ✨ feat: structs - SetValues add new options: BeforeSetFn hook 4a8b758
Update
  • 👔 up: env, strutil - Extract the common ENV lines parse method to the internal package 2b5a873
  • 👔 up: maputil - rename SMap to StrMap 2caae27
  • 👔 up: jsonutil - add new func: DecodeFile bbb7603
  • 👔 up: sysutil add const OsName, goutil add func: IfElseFn 65f84e5
Other
  • 📝 doc: update and add some docs for structs, testutil, x/finder 4f00e86
  • 💚 test: fix the internal ParseEnvLines in some case error e693ecd
  • 👔 chore: update import, rename some vars 9e89bd1
  • 👔 chore: arrutil - update the ToStrings logic 7847933
  • 👔 chore: errorx - add alias method Rf for Rawf 6109707
  • 💡 chore: update or fix some func comments 583c720
  • 💡 chore: update some comments and code style 7c15564
  • ⬆️ dep: update gh checkout action to v5 b12ec64
  • 📝 doc: update and re-generate README docs 18a8667

Full Changelog: gookit/goutil@v0.7.0...v0.7.1

v0.7.0

Compare Source

Change Log

Refactor
  • ♻️ refactoring: move the encodes package to x/encodes 275d1f4
  • ♻️ refactor: stdio - move goutil/stdio to goutil/x/stdio 1057fb5
  • ♻️ refactor: fmtutil - move goutil/fmtutil to goutil/x/fmtutil e2c8bed
  • ♻️ refactor: clipboard - move goutil/sysutil/clipboard to goutil/x/clipboard c47cf3b
  • ♻️ refactor: finder - move goutil/fsutil/finder to goutil/x/finder 48963af
  • ♻️ refactor: goinfo - move package goutil/goinfo to goutil/x/goinfo 9e28205
Fixed
  • 🐛 fix: finder - fix finder repeat run error and add more tests ff84828
  • fix: termenv - update color detect check on *nix OS 3aba144
  • fix: termenv - DetectColorLevel unit test error a619d5a
  • fix: termenv - DetectColorLevel unit test error2 16a948d
Feature
  • ✨ feat: fsutil - add new util func: PathNoExt 1b36cbd
  • ✨ feat: strutil - add new util func: IsInt, IsFloat, IsHttpURL f28e12c
  • ✨ feat: fsutil/finder - support find work with concurrency mode 0d05af8
  • ✨ feat: cflag - cli app support add global flags 97ce9f4
  • ✨ feat: arrutil - add new util func: FirstOr 7dfe0b2
  • ✨ feat: envutil - add new util func: MustGet, GetOne ad34b9b
  • ✨ feat: structs - Added time parsing function on InitDefaults, SetValues b5f2898
  • ✨ feat: reflects - Added time and duration type check and conversion functions 7e5b0c4
  • ✨ feat: x/ccolor - add new sub package support ANSI color render cc18ef1
  • ✨ feat: testutil - add new env test util: SetOsEnvs, RemoveTmpEnvs d42514a
  • ✨ feat: assert - add new assert util: FileExists/FileNotExists, DirExists/DirNotExists acbca15
  • ✨ feat: strutil - add new util: Md5Base62, MTimeBase36 0609161
  • ✨ feat: termenv - add new sub package: x/termenv for check color support 289707b
  • ✨ feat: textutil - add new util func: ParseSimpleINI format contents to a string-map 5ad7251
  • ✨ feat: envutil - add new util: SplitText2map, LoadString, LoadText 6325333
  • ✨ feat: testutil - add new util: MockHttpServer, RunOnCleanEnv 207e2ed
Update
  • ✨ up: fsutil/finder - update some worker logic, optimize concurrent processing 00abc00
  • ✨ up: use built in x/ccolor instead gookit/color package 63046e6
  • ✨ up: comdef - add some new type or interface definition c17033c
  • ✨ up: httpreq - update RespX, read response body to buffer for repeat uses. af68747
  • ✨ up: byteutil add new func: Md5Sum, fmtutil add alias func: HumanSize 01b2768
  • ✨ up: dump - add new option: MaxElementsNum 6539924
  • 👔 up: x/ccolor - use new package x/termenv check color env 05fbe68
  • 👔 up: update some sys env util func d22980b
  • 👔 up: sysutil/cmdr - update print context and fix workdir set error e5b0158
  • ✨ up: move basefn package to the x dir 5bafec6
  • ✨ up: move testuitl/fakeobj package to the x dir 57b7410
  • 👔 up: update some util and fix some unit test error c0c7593
  • 👔 up: update and re-generate README docs ea3a9b3
  • 👔 up: add new type Number instead XintOrFloat 24da798
  • 👔 up: cli - update cmd line build logic 8bcf999
Other
  • build(deps): bump golang.org/x/term from 0.27.0 to 0.28.0 (#​210) 923cb8b
  • build(deps): bump golang.org/x/sys from 0.29.0 to 0.30.0 (#​212) d978612
  • build(deps): bump golang.org/x/sync from 0.10.0 to 0.11.0 (#​211) 7642483
  • build(deps): bump golang.org/x/text from 0.21.0 to 0.22.0 (#​213) 5270f1d
  • build(deps): bump golang.org/x/term from 0.28.0 to 0.29.0 (#​214) 93c1e39
  • build(deps): bump golang.org/x/sys from 0.30.0 to 0.31.0 (#​216) 0543d03
  • build(deps): bump golang.org/x/sync from 0.11.0 to 0.12.0 (#​215) f00496a
  • build(deps): bump golang.org/x/term from 0.29.0 to 0.30.0 (#​218) 7c4c6e0
  • build(deps): bump golang.org/x/text from 0.22.0 to 0.23.0 (#​217) 42892a4
  • ⬇️ dep: down some deps version to support go<1.23 9c54e2c
  • ✅ test: comdef - add more func test cases d34ee22
  • ✅ test: syncs - add more func test cases a23fb81
  • 📝 chore: fsutil - update some debug logs for finder 3be227e
  • ✅ test: add more unit test cases for arr,map,str,sys utils a2303f0
  • ✅ test: add more unit test cases for cflag,assert,timex 6bbb455
  • 👷 test: fsutil/finder - add more test cases 9918541
  • 👷 ci: add run unit test on go>1.21 c661585
  • 📝 doc: update some docs and comments b44963d
  • 📝 chore: update some code style and pkg import f53908d
  • ✅ test: update and fix some unit tests error e2b6b2a
  • ➖ dep: remove depends on the xo/terminfo package 7b4f3e8
  • 💚 test: x/termenv - fix ci test error on macOS 9290735
  • 💚 test: dump, x/termenv - fix ci test error on ubuntu os ca8fe91
  • 💚 test: x/ccolor - fix ci test error for TestApplyTag 5f8ec75
  • 📝 doc: update some docs and re-generate README 14cf523
  • ✅ test: ccolor,termenv - add more unit test cases 79c499a
  • ✅ test: sysutil - add more unit test cases 3ec985e
  • ✅ test: all - add more unit test cases 5939bed
  • ✅ test: x/termenv - add more unit test cases 39876bc
  • 📝 doc: re-generate README docs a89fd89
  • debug: update some test for detect_color_test a6c334a
  • ✅ test: timex - TestTryToTime sometimes reports test errors 728be6d
  • ✅ test: sys, goinfo and termenv add more unit test cases 09d676a
  • 💚 ci: sysutil - fix unit test error on gh windows 903f0b0

Full Changelog: gookit/goutil@v0.6.18...v0.7.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Sep 3, 2025

ℹ Artifact update notice

File name: go/understackctl/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 3 additional dependencies were updated

Details:

Package Change
golang.org/x/sync v0.10.0 -> v0.11.0
golang.org/x/term v0.28.0 -> v0.29.0
golang.org/x/text v0.21.0 -> v0.22.0

@cardoe cardoe added this pull request to the merge queue Sep 3, 2025
Merged via the queue into main with commit 8415555 Sep 3, 2025
21 checks passed
@cardoe cardoe deleted the renovate/github.com-gookit-goutil-0.x branch September 3, 2025 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants