Skip to content

Releases: samber/lo

v1.34.0

11 Nov 23:36
686821d

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

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

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

Choose a tag to compare

Adding:

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

v1.30.1

06 Oct 20:47
95f946d

Choose a tag to compare

Fix:

  • lo.Try1: remove generic type
  • lo.Validate: format error properly

v1.30.0

04 Oct 19:30
835fc01

Choose a tag to compare

Adding:

  • lo.TernaryF
  • lo.Validate

v1.29.0

02 Oct 22:15
bcb54cc

Choose a tag to compare

Adding:

  • lo.ErrorAs
  • lo.TryOr
  • lo.TryOrX

v1.28.2

15 Sep 08:28
459062d

Choose a tag to compare

Fix: func Slice[T comparable] to func Slice[T any]

v1.28.1

15 Sep 08:20
bfae21c

Choose a tag to compare

Optimized:

  • Flatten
  • Replaced
  • Chunk
  • Drop*

Also added some benchmarks.

v1.28.0

05 Sep 11:05
e4150b5

Choose a tag to compare

Adding:

  • lo.ChannelDispatcher with 6 dispatching strategies:
    • lo.DispatchingStrategyRoundRobin
    • lo.DispatchingStrategyRandom
    • lo.DispatchingStrategyWeightedRandom
    • lo.DispatchingStrategyFirst
    • lo.DispatchingStrategyLeast
    • lo.DispatchingStrategyMost