Skip to content

v0.6.18

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 09 Dec 06:22

Change Log

Fixed

  • ✨ fix: cflag - get app name error, path.Base not support windows a2decab
  • 🐛 fix: sys - UserConfigDir path build error f308913
  • 🐛 fix: sys - UserXXDir func test error on windows 83393ca

Feature

  • ✨ feat: cflag - add command support by struct cflag.Cmd 21b0dcd

Update

  • ✨ up: cflag - app add new hook BeforeRun and call os.Exit on run error e0591f5
  • 👔 up: cflag - app hook BeforeRun add new param c97c8d0
  • 👔 up: sysutil - ShellExec support handle use cmd,pwsh shell on Windows c1f379f
  • 👔 up: sysutil - SearchPath will limit ext search on windows e7da787
  • 👔 up: sysutil - modify the exec command logic, always return combined output 49bc6ed
  • ✨ up: cflag - app add new hook AfterRun on cmd run after aef1d43
  • ✨ up: strutil - add new function: SplitByWhitespace 342cd12
  • 👔 up: all - use path/filepath instead of path for support Windows ba0623b
  • 👔 up: mathutil - convert string to int, int64 support float string ebc89cd
  • 👔 up: fsutil - add new func: JoinPaths3, update some tests 1ef5549
  • 👔 up: sysutil - add new OSVersionInfo for parse Windows version info f2ce64c
  • 👔 up: cflag - print error stack on debug mode eb4fc22
  • 👔 up: sys/process - add new func: ExistsByName, StopByName cd830b9
  • 👔 up: sys - add new func: IsAdmin, enhance func: UserDir, UserConfigDir 57a5103

Other

  • build(deps): bump golang.org/x/text from 0.18.0 to 0.19.0 (#196) 1e250bf
  • build(deps): bump golang.org/x/sys from 0.25.0 to 0.26.0 (#198) a74c379
  • build(deps): bump golang.org/x/term from 0.24.0 to 0.25.0 (#197) b7cc07b
  • ✨ enhanced: dump - support for parse alias type of time.Time. close #200 e959274
  • Added new OrElseNilSafe to handle nil pointers for optional strings. (#199) c5e194a
  • build(deps): bump golang.org/x/term from 0.25.0 to 0.27.0 (#208) 2ad2195
  • build(deps): bump golang.org/x/sync from 0.8.0 to 0.10.0 (#206) 8e25dc1
  • build(deps): bump golang.org/x/text from 0.19.0 to 0.21.0 (#207) 7ae8ce4