Skip to content

Releases: samber/lo

v1.47.0

13 Aug 13:23
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.46.0...v1.47.0

v1.46.0

15 Jul 17:40
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.45.0...v1.46.0

v1.45.0

13 Jul 14:42
Compare
Choose a tag to compare

What's Changed

  • perf: preallocate in Assign by @pmalek in #484
  • feat: adding EarliestBy and LatestBy functions by @timych in #489

New Contributors

Full Changelog: v1.44.0...v1.45.0

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

Breaking change

  • lo.Last() now returns (T, bool) instead of (T, error)

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