Skip to content

Releases: samber/lo

v1.51.0

11 Jun 07:56
Compare
Choose a tag to compare

What's Changed

  • Fixed the error in the usage example of lo.Latest in readme.md by @ghosx in #627
  • feat(assertions): add Assert and Assertf by @your-diary in #638

Doc

  • docs: Add a more precise description to the Ellipsis function by @mengxunQAQ in #635
  • docs: Fix description for LastOrEmpty and LastOr by @vaihtovirta in #636
  • docs: fix wrong variable name for mutable map example by @sunjayaali in #637

Dependencies

  • fix(ci): correct cleanup deps - remove all *_test.go files using find by @d-enk in #630
  • Revert "chore(deps): bump golang.org/x/text from 0.22.0 to 0.24.0" by @samber in #626
  • chore(deps): bump golang.org/x/text from 0.22.0 to 0.24.0 by @dependabot in #625
  • chore(deps): bump golangci/golangci-lint-action from 7 to 8 by @dependabot in #628

New Contributors

Full Changelog: v1.50.0...v1.51.0

v1.50.0

26 Apr 17:26
Compare
Choose a tag to compare

What's Changed

Here is the 50th minor version !! 🔥🥂

New methods

Improvements

  • Perf(slice): Optimize iteration function parameters and add test cases by @shuqingzai in #587
  • Preallocate result in FilterMap by @renbou in #622

Documentation

Dependencies

  • chore(deps): bump golang.org/x/text from 0.21.0 to 0.22.0 by @dependabot in #590
  • chore(deps): bump golang.org/x/text from 0.22.0 to 0.24.0 by @dependabot in #618
  • chore(deps): bump golangci/golangci-lint-action from 6 to 7 by @dependabot in #616

New Contributors

Full Changelog: v1.49.1...v1.50.0

v1.49.1

28 Jan 11:35
Compare
Choose a tag to compare

What's Changed

  • fix(product + productby): fix empty slice behavior by @samber in #584

Full Changelog: v1.49.0...v1.49.1

v1.49.0

27 Jan 00:17
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.48.0...v1.49.0

v1.48.0

25 Jan 23:17
Compare
Choose a tag to compare

What's Changed

Feature

Fix

  • fix: change examples for MapKeys and MapValues by @luxcgo in #341
  • fix: order of GroupBy and PartitionBy by @liyishuai in #572

Refactor

New Contributors

Full Changelog: v1.47.0...v1.48.0

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