v2.3.8
- fix(package):[function] Corrected behaviour of Nand predicate by @idichekop in https://github.com/duke-git/lancet/pull/319
- refactor(package): [slice] Simple refactor of ForEach by @idichekop in https://github.com/duke-git/lancet/pull/323
- fix(package): [slice] Fix RigthPadding and LeftPadding by @idichekop in https://github.com/duke-git/lancet/pull/322
- fix(package): [slice] functions with inconsistent return behaviour by @idichekop in https://github.com/duke-git/lancet/pull/326
- fix: return 0 when Average is called with empty slice by @zoulux in https://github.com/duke-git/lancet/pull/330
- fix(eventbus): update error handler to include topic information by @ch3nnn in https://github.com/duke-git/lancet/pull/333
- feat(struct): add struct name function by @ch3nnn in https://github.com/duke-git/lancet/pull/328
- Add enum package by @duke-git in https://github.com/duke-git/lancet/pull/334
- feat:add map to markdown conversion in map.go by @vector4wang in https://github.com/duke-git/lancet/pull/336
- feat: add ContainAny by @Jiawen-AFK in https://github.com/duke-git/lancet/pull/338
- @idichekop made their first contribution in https://github.com/duke-git/lancet/pull/319
- @duke-git made their first contribution in https://github.com/duke-git/lancet/pull/334
- @vector4wang made their first contribution in https://github.com/duke-git/lancet/pull/336
- @Jiawen-AFK made their first contribution in https://github.com/duke-git/lancet/pull/338
Full Changelog: https://github.com/duke-git/lancet/compare/v2.3.7...v2.3.8
v2.3.7
- perf(retry): remove the waiting time after the last retry by @cannian1 in https://github.com/duke-git/lancet/pull/309
- fix(docs): correct URL link typo in documentation by @FanLu1994 in https://github.com/duke-git/lancet/pull/310
- fix: ArrayQueue.Back() implementation by @gregth in https://github.com/duke-git/lancet/pull/313
- the error returned by the Retry function contains the last error (#311) by @cannian1 in https://github.com/duke-git/lancet/pull/315
- Update slice_concurrent.go by @zoulux in https://github.com/duke-git/lancet/pull/316
- @FanLu1994 made their first contribution in https://github.com/duke-git/lancet/pull/310
- @gregth made their first contribution in https://github.com/duke-git/lancet/pull/313
- @zoulux made their first contribution in https://github.com/duke-git/lancet/pull/316
Full Changelog: https://github.com/duke-git/lancet/compare/v2.3.6...v2.3.7
v2.3.6
- [BreakChange] Change the param endWith and beginFrom of BeginOfWeek,EndOfWeek to be required. by @cyjaysong in https://github.com/duke-git/lancet/pull/300
- feat: add ToMap for stream by @ppd324 in https://github.com/duke-git/lancet/pull/301
- fix: Fixed the issue of missing cap when StringToBytes returns result by @yguilai in https://github.com/duke-git/lancet/pull/306
- doc: fix typo in chinese translation by @RigelNana in https://github.com/duke-git/lancet/pull/305
- doc: fix typo by @Yurunsoft in https://github.com/duke-git/lancet/pull/308
- @ppd324 made their first contribution in https://github.com/duke-git/lancet/pull/301
- @RigelNana made their first contribution in https://github.com/duke-git/lancet/pull/305
Full Changelog: https://github.com/duke-git/lancet/compare/v2.3.5...v2.3.6
v2.3.5
- fix(fileutil): unzip Chinese garbled code during decompression by @hunantangke in https://github.com/duke-git/lancet/pull/279
- fix the bug of random.RandFloats() infinite loop and the result of random.RandFloat() sometimes equals to max. by @Yurunsoft in https://github.com/duke-git/lancet/pull/282
- make Bridge not block in the first stream that not closed by @mooncake9527 in https://github.com/duke-git/lancet/pull/288
- compatible with pointer in convert.ToString by @guanhonly in https://github.com/duke-git/lancet/pull/291
- fix: fix slice_test.go ,We should not assume the order of the slice by @YoghurtFree in https://github.com/duke-git/lancet/pull/293
- feat(validator): add IsIpPort by @ch3nnn in https://github.com/duke-git/lancet/pull/294
- @hunantangke made their first contribution in https://github.com/duke-git/lancet/pull/279
- @mooncake9527 made their first contribution in https://github.com/duke-git/lancet/pull/288
- @guanhonly made their first contribution in https://github.com/duke-git/lancet/pull/291
- @YoghurtFree made their first contribution in https://github.com/duke-git/lancet/pull/293
Full Changelog: https://github.com/duke-git/lancet/compare/v2.3.4...v2.3.5
v1.4.6
Full Changelog: https://github.com/duke-git/lancet/compare/v1.4.5...v1.4.6
v2.3.4
- fix(orderedmap): fix set bug by @congziqi77 in https://github.com/duke-git/lancet/pull/252
- fix(algorithm): fix bug of lrucache in issue #251 by @aki-colt in https://github.com/duke-git/lancet/pull/254
- fix: fix compile error when go sdk version below go@1.20 (#255) by @yguilai in https://github.com/duke-git/lancet/pull/258
- feat(netutil): add async http request for http client by @aki-colt in https://github.com/duke-git/lancet/pull/256
- feat:add GetExeDllVersion for fileutil,random,package by @jwwsjlm in https://github.com/duke-git/lancet/pull/257
- perf(slice): make the IndexOf function thread-safe (#262) by @cannian1 in https://github.com/duke-git/lancet/pull/263
- fix: [internal] Correction of word assert spelling mistakes by @feng6917 in https://github.com/duke-git/lancet/pull/269
- Introducing Lancet Guru on Gurubase.io by @kursataktas in https://github.com/duke-git/lancet/pull/271
- Pre-allocate memory to reduce the number of allocations by @Yurunsoft in https://github.com/duke-git/lancet/pull/272
- @congziqi77 made their first contribution in https://github.com/duke-git/lancet/pull/252
- @aki-colt made their first contribution in https://github.com/duke-git/lancet/pull/254
- @jwwsjlm made their first contribution in https://github.com/duke-git/lancet/pull/257
- @feng6917 made their first contribution in https://github.com/duke-git/lancet/pull/269
- @kursataktas made their first contribution in https://github.com/duke-git/lancet/pull/271
- @Yurunsoft made their first contribution in https://github.com/duke-git/lancet/pull/272
Full Changelog: https://github.com/duke-git/lancet/compare/v2.3.3...v2.3.4
v1.4.5
Full Changelog: https://github.com/duke-git/lancet/compare/v1.4.4...v1.4.5
v2.3.3
- Update condition.go by @zyfxgo in https://github.com/duke-git/lancet/pull/234
- feat: add RandFromGivenSlice function by @cannian1 in https://github.com/duke-git/lancet/pull/235
- feat: add RandSliceFromGivenSlice function by @cannian1 in https://github.com/duke-git/lancet/pull/236
- fix 删除文档中废弃的RetryDuration函数 by @DerekTond in https://github.com/duke-git/lancet/pull/240
- feat(maputil): add GetValue by @yunxuanhao in https://github.com/duke-git/lancet/pull/243
- fix(strutil): rename PadStart to Pad. by @kydance in https://github.com/duke-git/lancet/pull/245
- doc: update contribution references by @emmanuel-ferdman in https://github.com/duke-git/lancet/pull/246
- @zyfxgo made their first contribution in https://github.com/duke-git/lancet/pull/234
- @DerekTond made their first contribution in https://github.com/duke-git/lancet/pull/240
- @kydance made their first contribution in https://github.com/duke-git/lancet/pull/245
- @emmanuel-ferdman made their first contribution in https://github.com/duke-git/lancet/pull/246
Full Changelog: https://github.com/duke-git/lancet/compare/v2.3.2...v2.3.3
v1.4.4
Full Changelog: https://github.com/duke-git/lancet/compare/v1.4.4...v1.4.4
v2.3.2
- feat(slice): add UniqueByField.
- feat(maputil): add GetOrSet.
- perf(validator): check Ipv4、Ipv6 by more graceful method by @cannian1 in https://github.com/duke-git/lancet/pull/220
- perf(slice): Concat() make a clearer panic description, like standard library by @cannian1 in https://github.com/duke-git/lancet/pull/223
- 🐛 Fixing bug. about pointer package function, #227 #228 by @aide-cloud in https://github.com/duke-git/lancet/pull/230
- @aide-cloud made their first contribution in https://github.com/duke-git/lancet/pull/230
Full Changelog: https://github.com/duke-git/lancet/compare/v2.3.1...v2.3.2