Releases: samber/lo
Releases · samber/lo
v1.38.0
Adding:
lo.ValueOr
lo.DebounceBy
lo.EmptyableToPtr
Improvement:
Substring: add support for non-english chars
Fix:
Async: Fix goroutine leak
v1.37.0
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
Adding:
lo.AttemptWhile
lo.AttemptWhileWithDelay
v1.35.0
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
Improving:
lo.Union: faster and can receive more than 2 lists
Adding:
lo.FanIn (alias to lo.ChannelMerge)
lo.FanOut
Deprecation:
v1.33.0
Adding:
Improving:
helpers with callbacks/predicates/iteratee now have named arguments, for easier autocompletion
v1.32.0
Adding:
lo.ChannelToSlice
lo.CountValues
lo.CountValuesBy
lo.MapEntries
lo.Sum
lo.Interleave
TupleX.Unpack()
v1.31.0
Adding:
lo.SliceToChannel
lo.Generator
lo.Batch
lo.BatchWithTimeout
v1.30.1
Fix:
lo.Try1: remove generic type
lo.Validate: format error properly
You can’t perform that action at this time.