Releases: gookit/goutil
Releases · gookit/goutil
v0.6.7
Change Log
Feature
- ✨ feat(cflag): add new extra flag value IntsString cdec762
- ✨ feat(env,sys): add new sys env get and build func EnvironWith 88c83fe
- ✨ feat(str/textutil): text.VarReplacer support string-map as replace context 9374e19
- ✨ feat(sys/clip): update and enhance clipboard operate logic fc98d06
- ✨ feat(cmdr): support set workdir and env-map on run command 7460c0f
- ✨ feat(fs): update and add some fs util func ededf5b
- ✨ feat(base): add new pkg basefn for provide some base func 4cd7242
Update
- 👔 up(map): update and enhance some util func logic 69dbc9a
- 👔 up(cli): update the cli line builder logic 5036234
- ✨ up(math): add new util func SafeInt64 39019ad
- ✨ up(stdio): add new func WriteString, WriteBytes for write to stdout b40b237
- 👔 up(str/text): update the replacement format parse logic, allow one left char ccf2430
- 👔 up(cli/cmdline): use strings.Builder refactor the cmdline.Builder logic 7060159
- 👔 up(cli/cmdline): refactor the cmdline.LineParser logic and add more tests 77bac4b
- 👔 up(sys/clip): add new util func clipboard.Std() 9f81953
- 👔 up(str,byte): update some util func and add more tests 531fa6b
- 👔 up(stdio,assert): add more util func and add more tests 000ca90
Other
v0.6.6
Change Log
Fixed
- 💚 fix: fix unit test error ba0c414
- 🐛 fix(fs): fix test error on Windows f290bee
- 🐛 fix(sys): fix test error on Windows 8dab697
Feature
- ✨ feat(cflag): new add cflag.KVString flag value 8fe06c4
- ✨ feat(str): add new util func SplitKV() and ContainsByte() d593952
Update
- 👔 up(sys): update the os check and open URL logic e500a04
- 👔 up(sys): update and add some cmdr build methods 0cd4fda
- 👔 up(fs): update some fs info util functions 2052663
- ✨ up(map): add new util func SimpleMerge() and Data.Load() 87534df
- 👔 up(doc): update the README docs, cmdr add method AddCmdline() 2f3c2d7
- 👔 up(cflag,doc): update readme docs, add more tests for cflag c9dcde9
Other
v0.6.5
Change Log
Feature
- ✨ feat(cli,cflag): add add new flag var ConfString 40a14e0
- ✨ feat(textutil): add func ParseInlineINI quick parse inline INI config 9cd6487
- ✨ feat(str): add QuickMatch and GlobMatch for match string 8d5e4f4
- ✨ feat(str): add struct Builder for safe build string b34245e
- ✨ feat(err,byte,go): add some new util functions 3d304b0
- ✨ feat(arr,map): add new util func CombineToSMap 3699a1a
- ✨ feat(cflag,struct): add new util func IsGoodName, ParseTagValueQuick 40ccfb8
Update
- ♻️ up(errorx): add errorx/panics from testutil/panics 06b949d
- 👔 up(arr,sys): add alias method for exist util func dcc5261
- 📝 up(doc): update and re-gen the readme docs e6498a3
What's Changed
- feat(arrutil): add slice Differences by @telanflow in #81
New Contributors
- @telanflow made their first contribution in #81
Full Changelog: v0.6.4...v0.6.5
v0.6.4
v0.6.3
Change Log
Update
- ✨ up(env,sys): update some func and add new util func 9eaddb5
- 👔 up(str): update the SplitInlineComment() logic 31445cd
- 👔 up(sys): update the SearchPath(), support limit result 67cbae1
- ✅ up(sys,env,map): add more tests case for util func 392536c
- 👔 up(fs,sys): update some fs and sys util func run logic 7727628
- 👔 up(struct): update some structs comments and update readme f461852
- 👔 up(str): update some string util comments and func 796d1fe
Other
- build(deps): bump golang.org/x/text from 0.6.0 to 0.7.0 1e3ea77
v0.6.2
Change Log
Fixed
- 🐛 fix(env, str): fix the envutil test error and update some str util 2e7aa63
Feature
- 👔 feat: str - add some check util func 0e4792a
- 👔 feat: str/textutil - support quick replace vars for give text ecc23cb
- 👔 feat: sys,proc - add and update some util func aa78114
- ✨ feat: fs - add more new fs util functions 3352512
- ✨ feat: map, struct - add new util functions 90af09e
- ✨ feat: stdio - add new util functions ea243d6
- ✨ feat: arr - add new util functions for in/notIn check 2a18ca2
- ✨ feat: testutil - add new util func IsMatchAll() d0dade8
- ✨ feat: math - add new util func for compare value 176923b
- feat: error, test - add some new helper util fuctions 7188216
- ✨ feat: fs - add more make dir util func c4447cb
- ✨ feat: env,sys - add new func for get all env info map b3d7669
- ✨ feat: str - add new func for check ignore case string 746eb35
- ✨ feat: goutil - add new func for quick run go func 97a2863
- ✨ feat: arr - add new func for quick convert slice type 75d8d89
- ✨ feat: reflects - add new func for convert slice value and more util f87fc86
- ✨ feat: structs - func InitDefaults() support set slice field 948fa70
- ✨ feat: byte - add StrOrErr(), SafeString() for convert to string 767ed80
- ✨ feat: cmdr - add new option for output result to OS 6aaea78
Update
- 👔 up: str, math - add new util func OrElse() cb21fbc
- 👔 up: str - update some util func and add more tests a3e07f4
- 🐛 up: textscan - fix multi inline comments parse error bf68c94
- 👔 up: str,math - update some util func eaf0990
- 👔 up: str,byte - add and update some util func cf5d34e
- 👔 up: byte,cflag - update and add some new tests 6e47f69
- 👔 up(env, str): update the env var parse and strutil.Valid() 5193849
- 👔 up(str): update some str value get func 676fe4e
Other
v0.6.1
Change Log
Feature
- ✨ feat: add new sub package byteutil provide some bytes utils e5a08d4
- ✨ feat: add new sub package strutil/secutil provide aes cbc crypto function e121b7c
- ✨ feat(dump): support dump []byte as string and more new options #74 025464a
- ✨ feat(structs): add new util func for check struct field is exported 179afea
- ✨ feat(dump): support skip nil field dump on map, struct by option SkipNilField #41 a55c5ca
- add SubstrCount and test case. 1bff3b3
Update
- up: str, math - update some for int64 to string convert 449331c
- 👔 up: str - update bytes util and add new hash utils 8eef351
- 🔥 up: remove deprecated package common 17c4895
Other
- build(deps): bump golang.org/x/text from 0.4.0 to 0.5.0 5297b13
- chore: update some readme and re-generate readme docs c3f5086
- 💡 chore: add package comment or exported var comment 6ace647
- 💡 chore: add exported var comment, fix some name style ea10bc7
- 💡 chore: add comment for exported vars, methods. bc0a0b8
What's Changed
- tweak for format by @xiaozuo7 in #72
- build(deps): bump golang.org/x/text from 0.4.0 to 0.5.0 by @dependabot in #73
- add SubstrCount and test case. by @huangkuan123 in #75
New Contributors
- @xiaozuo7 made their first contribution in #72
- @huangkuan123 made their first contribution in #75
Full Changelog: v0.6.0...v0.6.1
v0.6.0
Change Log
NOTE: since v0.6.0 require go 1.18
Refactor
- refactor: replace Readdir(-1) with ioutil.ReadDir cd99ed9
Feature
- up: sysutil/cmdr - add more feature methods for cmdr.Cmd d769fc1
- feat: errorx - add some feat error types to errorx b177c93
- feat: add some commonly asset function like NotEqual, NoError 767d6c6
- feat: arr - add new func Map/Column for mapping an object list to flatten list 3a623fd
- feat: add sync errgroup to goutil package dd9e08d
- feat: str - add more padding util functions 55b0e17
Update
- up: sys/cmdr - add more methods to Task, update some tests f13aac2
- up: env - add some env func, update readme docs f5ee49b
- up: std - remove some unused files and pkg on std 0aaeb53
- up: sysutil/cmdr - update the task, runner logic, rm dep cliutil b7ca58f
- up: str, cmdr - add some new tool function and method 496f72e
- up: require go >= 1.18, and only tests on go 1.18+ 965e4f0
- up: remove any.go file, update some arr util functions 623fc20
- up: migrate interface{} to go1.18 any keywords a90d655
- up: migrate more interface{} to go1.18 any keywords b198b73
- up: update readme template and re-generate README 6a1054c
- up: errorx - update extend error types, add more unit tests 71fc27a
- up: str - update and add some encode util functions 9adb2fe
- up: str - update and add some rune util functions 887ac5b
- up: net - update and add some http client util functions 7f9bebc
- up: net - remove not used sub package httphelper 0caf321
- up: com, dump - add some common types and update for dump slice 8fc1499
- up: fix some tests and code style error daabe2b
- up: modify some dep package logic 3640638
- up: fix cli read error and add new cli util func 40e02c7
Other
- build(deps): bump golang.org/x/text from 0.3.8 to 0.4.0 6619a9a
- style: format all sub pkg codes by go fmt 3f1a328
- chore: migrate more interface{} to go1.18 any keywords 7ba341d
- build(deps): bump WillAbides/setup-go-faster from 1.7.0 to 1.8.0 d5689ca
- doc: update and re-generate README docs 5346ec5
- chore: add desc commonts for const, vars and package ad8ce94
- chore: re-genreate docs and fix pkg not import c6fc881
New Contributors
Full Changelog: v0.5.15...v0.6.0
v0.5.15
v0.5.14
Change Log
Feature
- feat: strutil/textscan - implements a simple testscan for quickly parse lines text 1b9f75c
Update
- up: stdio, str - update and add some util functions afdcc45
- up: com, str - add some consts and add some tests f9e4a30
- up: update the textscan some logic and update readme 75780ae