Skip to content

Releases: samber/lo

v1.44.0

30 Jun 01:57
Compare
Choose a tag to compare

What's Changed

  • feat: Add slice Splice an element or multiple elements at index i. by @wenlingang in #371
  • feat: Make Filter() preserve type. by @FGasper in #365
  • feat: Added DropByIndex helper for slice by @phith0n in #398
  • feat: upgrade to math/rand/v2 by @samber in #483
  • chore: remove golang.org/x/exp since it doesn't follow go 1 compatibility promise by @trim21 in #478

New Contributors

Full Changelog: v1.43.0...v1.44.0

v1.43.0

28 Jun 20:01
Compare
Choose a tag to compare

What's Changed

  • feat: adding HasKey by @samber in #477
  • feat: adding lo.WaitFor by @samber in #269
  • improvement: Optimize the performance of union method, avoid repeated expansion by @cwb2819259 in #397

New Contributors

Full Changelog: v1.42.0...v1.43.0

v1.42.0

27 Jun 23:38
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.41.0...v1.42.0

v1.41.0

27 Jun 14:19
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.34.0...v1.41.0

v1.40.0

27 Jun 12:14
Compare
Choose a tag to compare

What's Changed

Improvements

Doc & style

CI

New Contributors

Full Changelog: v1.39.0...v1.40.0

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