duke-git/lancet
 Watch   
 Star   
 Fork   
2024-12-04 11:26:49
lancet

v2.3.4

What's Changed

New Contributors

Full Changelog: https://github.com/duke-git/lancet/compare/v2.3.3...v2.3.4

2024-10-09 15:20:30
lancet

v2.3.3

What's Changed

New Contributors

Full Changelog: https://github.com/duke-git/lancet/compare/v2.3.2...v2.3.3

2024-07-18 10:52:54
lancet

v2.3.2

What's Changed

New Contributors

Full Changelog: https://github.com/duke-git/lancet/compare/v2.3.1...v2.3.2

2024-05-14 10:47:27
lancet

v2.3.1

What's Changed

New Contributors

Full Changelog: https://github.com/duke-git/lancet/compare/v2.3.0...v2.3.1

2024-03-05 14:57:16
lancet

v2.3.0

Feature:

  1. convertor package: add ToStdBase64, ToUrlBase64, ToRawStdBase64, ToRawUrlBase64 functions.
  2. datastructure package: add Optional datastructure, add Reset and refact itertor logic. add FilterByValue for HashMap.
  3. function package: add predicate function logic (Or, And, Nor...), add AcceptIf function.
  4. fileutil package: add CopyDir, ParallelChunkRead functions.
  5. mathutil package: add CeilToFloat,CeilToString,FloorToFloat,FloorToString functions.
  6. strutil package: add SubInBetween, HammingDistance functions.
  7. slice package: add SetToDefaultIf functions.

Fix:

  1. maputil package: fix bug of MapTo(issue #169).
  2. strutil package: fix bug of After and Before function(issue #168).
  3. random package: fix MAXIMUM_CAPACITY bug (issue #166)

Break Change:

  1. retry package: Add retry backoff policy.
  2. datastructure pacakge: rename constructor of Set (NewSet->New, NewSetFromSlice->FromSlice),add ToSlice function for Set.
  3. mathutil package: refact RoundToFloat, TruncRound, TruncRound.

Thanks @donutloop, @cannian1 , @coloraven to contribute high quality code!

2024-03-05 14:53:54
lancet

v1.4.3

Feature:

  1. convertor package: add MapToStruct,ToStdBase64, ToUrlBase64, ToRawStdBase64, ToRawUrlBase64 functions.
  2. fileutil package: add WriteMapsToCsv, CopyDir, ChunkRead, ParallelChunkRead functions.
  3. mathutil package: add CeilToFloat,CeilToString,FloorToFloat,FloorToString functions
  4. strutil package: add SubInBetween, HammingDistance functions.

Fix:

  1. strutil package: fix bug of After and Before function(issue #168).
2024-02-01 10:03:26
lancet

v2.2.9

Feature:

  1. fileutil package: add WriteMapsToCsv function. Support delimiter param in ReadCsvFile and WriteCsvFile.
  2. slice package: add DeleteAt and add DeleteRange function.

Fix:

  1. math package: fix bug of Cos function.
  2. structs package: fix bug of ToMap function.

Refactor:

  1. random package: improve the performance of random function.