Skip to content

v0.9.0

Latest

Choose a tag to compare

@github-actions github-actions released this 17 Nov 03:39
· 18 commits to master since this release

Change Log

Feature

  • feat(arrutil,maputil): use the stdlib collections behind go version build tags 40a64a6
  • feat(arrutil,maputil): add more slice and map helpers, fix SnakeCase acronyms 58401f2

Fixed

  • fix(strutil): parse full uint64 byte sizes (#305) 3fafbc7
  • fix(maputil): set values in maps inside slice elems by path (#313) e01a3d8
  • fix(timex): stop HowLongAgo printing "1 mins ago" and "1 hours ago" (#315) a0ccd5a
  • fix(timex): decode JSON strings before parsing time (#316) 9525291
  • fix(mathutil): show 1.00M instead of 1024.00K in DataSize and FormatBytes (#317) 736fbf6
  • fix(mathutil): report overflow in ToInt64 for uint and uint64 above MaxInt64 (#318) 73c295e
  • fix(mathutil): return an error from ToUint/ToUint64 for negative numbers (#319) 9123d75
  • fix(strutil): split and lower-case acronyms in SnakeCase (#320) 0a41a70
  • fix(arrutil): zero the tail of Compact on go1.21 too 047983a
  • fix(strutil): read a 20-char timestamp ending in Z as UTC 79d3221

Other

  • Preserve unsigned integer ranges in slice formatting (#298) ecfda34
  • Honor source-key case folding for empty map merges (#299) ee03353
  • Keep appended query data before URL fragments (#300) 0822d58
  • Preserve cached response bodies during JSON binding (#301) 9f55d26
  • test(timex): compare elapsed formatting with a fixed end time 877353b
  • Retain transport errors with cached response bytes (#302) 393c264
  • Protect source data when copying a file onto itself (#303) d8d6eef
  • Detect existing symlinks before following their targets (#304) 1ed19fd
  • Fix reflects.Len for large unsigned integers (#306) 5225009
  • Isolate copied request options from their source (#308) 53b6886
  • Initialize a private default transport for idle limits (#309) 2da2bac
  • Prefer explicit request content type for body encoding (#310) 86e786a
  • Keep transport redirects and cookies with request timeouts (#311) e12a289
  • Honor Dotenv.UpperKey when loading environment variables (#307) 5391a98
  • Recognize HTTP 308 in httpreq.IsRedirect (#312) 02d5428
  • Create parent directories and close archives in fsutil.Unzip (#314) cfceda1
  • docs(maputil): fix the DeepGet example output and missing commas (#322) ec527db
  • test(timex): use x/assert instead of the deprecated testutil/assert 9b98347