Skip to content

v0.7.4

Latest

Choose a tag to compare

@github-actions github-actions released this 12 Mar 07:23
· 1 commit to master since this release

Change Log

Refactor

  • refactor(strutil): reorganize imports and constants in convbase 5563461

Fixed

  • fix(mathutil): Range - Fixed numeric parsing error message formatting and enhanced space handling f1a73b1
  • fix(netutil): Fixed the behavior of the MustIPv4 function when the IPv4 address was not found e9a693a

Feature

  • ✨ feat(mathutil): Added floating-point type checking and precision comparison functions 7dad98c
  • ✨ feat(assert): add new assert func: InDelta 0ba9d40
  • feat(testutil): new add EqFloat assert func 35c8022
  • feat(cflag): Added hook function for pre-execution of commands 62bd5f7
  • feat(byteutil): Added byte array reversal function 55af94b
  • feat(arrutil): Add a slice and chunk function: Chunk, ChunkBy 01df1ac
  • ✨ feat(maputil): added default value support for maputil.Data methods 76be7e9
  • feat(testutil): Add the EqInt assertion function to compare different types of integer values 1da7022
  • ✨ feat(syncs): Implement a goroutine-safe SafeMap data structure b7a8632
  • feat(netutil): Add AllLocalIPv4 to get all non-loopback IPv4 addresses 2428d68
  • feat(mathutil): Add numeric range parsing and expansion capabilities: Range, Expand 6fab454
  • feat(netutil): Add AllMacAddrs to obtain all MAC addresses of the local machine. 07a1fed
  • feat(capp): Add WrapRunFunc functionality and add tests for NewCmd c14ca41
  • feat(netutil): Add FirstMacAddr to get the MAC address of the first non-loop NIC 8932d06
  • feat(syncs): Add a panic recovery mechanism to the Go function eecd998
  • feat(syncs): Add panic recovery to ErrGroup and implement the TryGo method f251413
  • feat(cliutil): ReadInt Added integer reading from terminal c67b276
  • feat(capp): Add the ability to display long help text for apps e0c7076
  • feat(clog): Added color console log printing function 52e8b0a
  • feat(testutil): Extend assertion library functionality and add fast failure support 9a273ec
  • feat(testutil): assert added zero-value assertion functionality Zero, NotZero c45ff43
  • feat(cliutil): Added CLI table rendering function SimpleTable, ShowTable, FormatTable a2cdd87
  • feat(lcache): Adding a local cache implementation supports LRU and TTL functions eef430b
  • feat(strutil): Add a unique number generator based on time bf1f81d
  • feat(maputil): Add StrMapToText function and tests 0ea8f09

Update

  • update(assert): add new assert func: ErrHasMsg d152b54

Other

  • chore(mathutil): move OrElse,ZeroOr,LessOr,LteOr,GreaterOr,GteOr to compare.go b50a3eb
  • docs(workflow): 更新 GitHub Actions 工作流配置 7249b9a
  • test(syncs): SafeMap - Add concurrent security tests and improve test logic eec6033
  • remove(lcache): move the lcache package to gookit/ext/lcache bcc89dd
  • test(maputil): 修复map key无序导致 StrMapToText 测试失败 b2b406f