Skip to content

Releases: duke-git/lancet

v2.3.4

04 Dec 03:31
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.3.3...v2.3.4

v1.4.6

04 Dec 11:12
Compare
Choose a tag to compare

Full Changelog: v1.4.5...v1.4.6

v1.4.5

04 Dec 03:28
Compare
Choose a tag to compare

Full Changelog: v1.4.4...v1.4.5

v2.3.3

09 Oct 07:26
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.3.2...v2.3.3

v1.4.4

09 Oct 07:18
Compare
Choose a tag to compare

Full Changelog: v1.4.4...v1.4.4

v2.3.2

18 Jul 03:13
Compare
Choose a tag to compare

What's Changed

  • feat(slice): add UniqueByField.
  • feat(maputil): add GetOrSet.
  • perf(validator): check Ipv4、Ipv6 by more graceful method by @cannian1 in #220
  • perf(slice): Concat() make a clearer panic description, like standard library by @cannian1 in #223
  • 🐛 Fixing bug. about pointer package function, #227 #228 by @aide-cloud in #230

New Contributors

Full Changelog: v2.3.1...v2.3.2

v2.3.1

14 May 02:51
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.3.0...v2.3.1

v2.3.0

05 Mar 07:05
Compare
Choose a tag to compare

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!

v1.4.3

05 Mar 06:56
Compare
Choose a tag to compare

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).

v2.2.9

01 Feb 02:06
Compare
Choose a tag to compare

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.