Releases: duke-git/lancet
Releases · duke-git/lancet
v2.2.6
v2.2.5
v2.2.4
Feature:
- cryptor package: add base64 support for md5, hmac, sha encrypt functions.
- datetime package: add NowDateOrTime, Timestamp, TimestampMilli, TimestampMicro, TimestampNano.
- maputil package: add ConcurrentMap, HasKey.
- slice package: add Join.
- pointer package: add UnwarpOr, UnwarpOrDefault.
Fix:
- fileutil package: Fix bug of CreateDir.
v1.4.1
Feature:
- cryptor package: add base64 support for md5, hmac, sha encrypt functions.
- datetime package: add NowDateOrTime, Timestamp, TimestampMilli, TimestampMicro, TimestampNano.
- maputil package: add HasKey.
- slice package: add Join.
Fix:
- fileutil package: Fix bug of CreateDir.
v2.2.3
v2.2.2
Feature:
- convertor package: add Utf8ToGbk, GbkToUtf8.
- fileutil package: add WriteCsvFile, ZipAppendEntry.
- mathutil package: add Log, Sum.
- random package: add RandUniqueIntSlice.
- pointer package: add Of, Unwrap.
- strutil package: add RemoveWhiteSpace.
Fix:
- netutil package: fix issue#109 (add File upload for HttpPost)
v1.4.0
Feature:
- convertor package: add Utf8ToGbk, GbkToUtf8.
- fileutil package: add WirteCsvFile.
- mathutil package: add Log.
- random package: add RandUniqueIntSlice.
- strutil package: add RemoveWhiteSpace.
Fix:
- convertor package: fix issue#112 (precision lost when convert float32 and float64 to string)
- netutil package: fix issue#109 (add File upload for HttpPost)
v2.2.1
Feature:
- datetime package: add BetweenSeconds, DayOfYear, IsWeekend.
- fileutil package: add WriteStringToFile, WriteBytesToFile.
- mathutil package: add Sin, Cos.
- strutil package: add ContainsAll, ContainsAny, HideString.
Fix:
- netutil package: fix body param bug in function HttpPost.
- datetime package: fix time format issue.
v1.3.9
Feature:
- datetime package: add AddYear, BetweenSeconds, DayOfYear, IsLeapYear, IsWeekend.
- fileutil package: add WriteStringToFile, WriteBytesToFile.
- mathutil package: add GCD, LCM, Sin, Cos.
- strutil package: add ContainsAll, ContainsAny, ReplaceWithMap, Trim, SplitAndTrim, HideString.
Fix:
- netutil package: fix bug in functions HttpPost, IsPingConnected.
- datetime package: fix time format issue.
v2.2.0
Feature:
-
convertor package: add ToInterface.
-
mathutil package: add GCD, LCM.
-
strutil package: add ReplaceWithMap, Trim, SplitAndTrim.
-
datetime package: add AddYear, IsLeapYear.
-
stream package: add FindLast.
Fix:
- netutil package: fix IsPingConnected failed in Win os.
- mathutil package: fix Percent logic bug.