Skip to content

Releases: gookit/goutil

v0.5.3

11 Jun 05:27
Compare
Choose a tag to compare

Change Log

Refactor

  • refactor: refactoring the fsutil.Finder, move to fsutil/finder pkg df703fc
  • refactor: refactoring the arr and map formatter logic a2681c6
  • refactor: refactoring the math util compare func 690fa3b

Fixed

  • fix bugs; add unit tests for collection ce8323f

Feature

  • feat: add str util: strutil.Buffer, a extended bytes.Buffer 53dd0b2
  • feat(map): add more map util functions 43d9c2a
  • feat(cli): add some commonly color print func 1f71958
  • feat: implement new array data formatter arrutil.ArrFormatter{} aa24218
  • feat: add enhanced reflect func pkg: reflects 652ddd0
  • feat: add xxOrErr convert func for str, math pkg c680246
  • feat: add more util func to fsutil package f6f14a1
  • feat: add TestWriter util struct to testutil package 43016da

Update

  • up: update gh action flow setting 365ff00
  • ci: update some for action config b26a55f
  • ci: update some for action config2 99327b6
  • up: update action, will auto generate changelog on release 4a9d090
  • up: add more extend func for maputil.Data 642a5ba
  • up: update some info for arr, errorx, str util a30e8a9
  • up: add new func for quiet convert data type 04c9faf
  • up: rename the strutil.Str to StrVal, add unit tests acb0d7f
  • up: update struct data, go.sum and add ioutil func 6127faf
  • up: rename numutil pkg to numbers pkg 6f2769b
  • up: update some for string convert and encode func acc6ab7
  • up: update some fs util and sys util 488660e
  • up: remove goutil.Value logic, link alias to stdutil.Value 4fad43e
  • up: update some for reflects.BKind, add more tests 1f2107f
  • up: use os.UserHomeDir instead of the mitchellh/go-homedir pkg d56e630
  • up: move some sys util func to internal/comfunc pkg bddc281
  • up: update some for map data use logic 62ef51c
  • chore: update some readme, re-gen readme ad8e617
  • up: add readme and add more uint tests for cliutil ff2ed70
  • up: move some fs util functions to new pkg stdio 041802f
  • up: add more unit tests for structs pkg 363cfe4
  • up: update some fs util pkg, add more unit tests 5a8002e

Other

  • chore(ci): add go code style check on gh action 4d392d7
  • chore(ci): delete check go1.14 from gh action 1e4a287
  • add comment for collection functions 0eefe08
  • style: add name prefix for functions and types afca2e3
  • ci: use setup-go-faster instead setup-go action 44199ee
  • test: remove unused var value 606fcff
  • build(deps): bump github.com/stretchr/testify from 1.7.1 to 1.7.2 0e798ae
  • chore: up readme, re-generate readme docs 8d10730

v0.5.2

08 May 15:40
Compare
Choose a tag to compare

Change Log

Feature

  • feat: pkg timex add more commonly used functions 3642341
  • feat: timex add new TimeX.CustomHMS for custom the hour, minute, second create time 8307e58
  • feat: add some std util func for reflect.Value 6593ddf
  • feat: add new func: fsutil.GlobWithFunc() 24acc7f
  • feat: add more env util func for get ENV value 5d71cba
  • feat: add more time util func on ./timex c09cdb9

Fixed

  • fix map to string panic when map is not nil but map is empty 54c380a

Update

  • up: update some maputil func, add morr unit tests 9da180a

Other

  • style: update readme add more util usage exampels 4f8a02d
  • style: update some sub pkg readme docs 14d7dbb
  • chore: add more unit tests for pkg timex c491815
  • chore: update readme and package desc de4a262

New Contributors

Full Changelog: v0.5.1...v0.5.2

v0.5.1

22 Apr 15:28
Compare
Choose a tag to compare

Change Log

Feature

  • feat: add new func errorx.Rawf 51c4bd7
  • feat(timex): add more time util func 0f4aa7c
  • feat(str): add strutil.MustToTime() for force conv string to time 27417e5
  • feat(timex): add more util functions for timex 24f8ff0

Fixed

  • test: fix timex pkg unit test error 1e8c76f

Other

  • chore: re-generate the readme docs for timex a315a14

v0.5.0

13 Apr 11:06
Compare
Choose a tag to compare

Change Log

Update

  • up(strutil): add more alias methods for TrimX func 8e4a84b
  • up: update some logic for arrutil.TrimStrings 2d16b0b
  • up(fsutil): add Realpath alias of path.Clean 052a4c4
  • up(mathutil): add TryToString, ToString func for conv intX, floatX to string 1274dcb
  • up(strutil): update some str util func logic 13e2ebf
  • prof(errorx): update some errorx logic, add more help func 09f2973
  • up(dump): add dump.Clear for print no location data 087fb8e
  • up(dump,arr): update some dump, arr check func logic dec75c4
  • up: update some for errorx pkg c9679a0
  • up(stack): update some logic for get caller info b955da8
  • up(errrox): update some errorx stack logic 5ef07cd

Feature

  • feat: add some new util func on net, num util pkg 74cddba
  • feat: add a enhanced error implements pkg: errorx 1256e49
  • feat(arrutil): add new func JoinSlice for join []any slice to string 6689b5c
  • feat(str): add func Join() for join []strings to string 079901e
  • feat: add run tests on go 1.18 ddc2188
  • feat(json): add more json util func 8cdc121
  • feat(math): add new num func RandIntWithSeed d375e48
  • feat(str): add new str func, add more tests for str util 6323f70
  • feat(stdutil): update std util funcs, add more tests 74b2804
  • feat(timex): add new util pgk:timex 7524cd3

Refactor

  • breaking(arrutil): change zhe JoinStrings, StringsJoin func params bcd87b8

Other

  • chore: update and re-generate readme 2af14c4
  • chore: re-generate README docs 36f1fdf
  • chore: rename an file in errorx e55c52d
  • chore: update some readme generate logic 4428673
  • build(deps): bump actions/setup-go from 2 to 3 88a7474
  • chore(std): more tests for std stack util func da31208
  • chore(readme): re-generate readme docs 9c9eee7
  • chore(fsutil): update some info for fsutil b79ab88
  • chore(errorx): update some error format logic 41cf620
  • chore: update readme generate logic 0016fd1
  • chore(fsutil): update some for fs util, add more tests 89fd796
  • chore(errrox): update doc logic and re-create readme 83ba265
  • chore: update readme and add some timex tests 81d5904

Full Changelog: v0.4.6...v0.5.0

v0.4.6

31 Mar 02:45
Compare
Choose a tag to compare

Full Changelog: v0.4.5...v0.4.6

v0.4.5

30 Mar 02:51
Compare
Choose a tag to compare

What's Changed

  • [FEAT] Add json.Number conversion support to the mathutil package by @quetzyg in #36
  • build(deps): bump actions/checkout from 2 to 3 by @dependabot in #37
  • build(deps): bump github.com/stretchr/testify from 1.7.0 to 1.7.1 by @dependabot in #40

New Contributors

Full Changelog: v0.4.4...v0.4.5

v0.4.4

18 Jan 02:15
Compare
Choose a tag to compare
Release v0.4.4

v0.4.3

17 Jan 05:39
Compare
Choose a tag to compare
Release v0.4.3

v0.4.2

04 Jan 12:54
Compare
Choose a tag to compare
Release v0.4.2

v0.4.1

29 Dec 05:36
Compare
Choose a tag to compare
Release v0.4.1