Skip to content

Releases: samber/lo

v1.39.0

02 Dec 13:54
Compare
Choose a tag to compare

Adding lo.IsNil helper

v1.38.1

21 Mar 03:41
Compare
Choose a tag to compare

Improvement:

  • Async and AsyncX: now returns <-chan T instead of chan T

v1.38.0

21 Mar 03:42
c1cc5a0
Compare
Choose a tag to compare

Adding:

  • lo.ValueOr
  • lo.DebounceBy
  • lo.EmptyableToPtr

Improvement:

  • Substring: add support for non-english chars

Fix:

  • Async: Fix goroutine leak

v1.37.0

15 Dec 17:39
Compare
Choose a tag to compare

Adding:

  • lo.PartialX
  • lo.Transaction

Improvement:

  • lo.Associate / lo.SliceToMap: faster memory allocation

Chore:

  • Remove *_test.go files from releases, in order to cleanup dev dependencies

v1.36.0

28 Nov 10:32
4c57f6b
Compare
Choose a tag to compare

Adding:

  • lo.AttemptWhile
  • lo.AttemptWhileWithDelay

v1.35.0

15 Nov 22:17
56a3ac6
Compare
Choose a tag to compare

Adding:

  • lo.RandomString
  • lo.BufferWithTimeout (alias to lo.BatchWithTimeout)
  • lo.Buffer (alias to lo.Batch)

Change:

  • lo.Slice: avoid panic caused by out-of-bounds

Deprecation:

  • lo.BatchWithTimeout
  • lo.Batch

v1.34.0

11 Nov 23:36
686821d
Compare
Choose a tag to compare

Improving:

  • lo.Union: faster and can receive more than 2 lists

Adding:

  • lo.FanIn (alias to lo.ChannelMerge)
  • lo.FanOut

Deprecation:

  • lo.ChannelMerge

v1.33.0

14 Oct 08:39
3d0a3f8
Compare
Choose a tag to compare

Adding:

  • lo.ChannelMerge

Improving:

  • helpers with callbacks/predicates/iteratee now have named arguments, for easier autocompletion

v1.32.0

10 Oct 21:32
a2c5202
Compare
Choose a tag to compare

Adding:

  • lo.ChannelToSlice
  • lo.CountValues
  • lo.CountValuesBy
  • lo.MapEntries
  • lo.Sum
  • lo.Interleave
  • TupleX.Unpack()

v1.31.0

06 Oct 22:37
0bd7b56
Compare
Choose a tag to compare

Adding:

  • lo.SliceToChannel
  • lo.Generator
  • lo.Batch
  • lo.BatchWithTimeout