NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules · #143 by repository stars
Last release 7 days ago
01 Oct 2026
Ships on a steady schedule
a new release about every 2 weeks
Rarely documented
notes for 10 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
321 releases · first in 2022
One column per quarter.
refactor: remove helpers deprecated for more than 3y by @samber in #810
Announcing the latest release of lo with lots of good gifts! 🎁
🌊 First, a big thanks to @d-enk for making lots of performance improvements in the recent weeks.
🧪 Second, this release introduces a new simd experimental package. If you run on an amd64 architecture and a recent CPU, you can perform very fast operations thanks to SIMD CPU instructions.
-> Documentation: https://lo.samber.dev/docs/experimental/simd
💥 Third, this version adds *Err variants of many lo helpers (like MapErr, FlatMapErr, ReduceErr, etc.) whose callbacks can return an error and short-circuit execution when one occurs.
Note
The simd sub-package is considered not stable. We might break the initial API based on developers' feedback in the coming months.
NewThrottle by @d-enk in #773DropByIndex handling of negative indices out of bounds by @d-enk in #778SamplesBy by @d-enk in #766PartitionBy by eliminating redundant append by @d-enk in #765FindUniques/Duplicates[By] by @d-enk in #764Ternary() instead If().Else() in Range/RangeFrom by @d-enk in #770it.HasSuffix implementation by @d-enk in #767Thanks @d-enk !!
Full Changelog: v1.52.0...v1.53.0
feat(generator): deprecate lo.Generator in favor of go "iter" package by @samber in #700
Thrilled to announce the latest release of samber/lo!
This version brings major improvements:
it/ sub-package for everything related to the iter package added in Go 1.23. Big up to @NathanBaulch for its help on this✨ A good introduction to streams in Go !
Full Changelog: v1.51.0...v1.52.0
Fixed the error in the usage example of lo.Latest in readme.md by @ghosx in #627
Assert and Assertf by @your-diary in #638Full Changelog: v1.50.0...v1.51.0
Here is the 50th minor version !! 🔥🥂
Here is the 50th minor version !! 🔥🥂
Full Changelog: v1.49.1...v1.50.0
fix(product + productby): fix empty slice behavior by @samber in #584
Full Changelog: v1.49.0...v1.49.1
feat: add SampleBy and SamplesBy by @bramvandewalle in #516
Product and ProductBy functions by @JohnDevitt in #566Full Changelog: v1.48.0...v1.49.0
feat: deprecate lo.Reverse and move it to lom.Reverse by @samber in #576
Full Changelog: v1.47.0...v1.48.0
feat: Improve Substring by @liujundezhanghao in #496
Full Changelog: v1.46.0...v1.47.0
fix: chunk memory leak, bug fix by @mihir20 in #491
Full Changelog: v1.45.0...v1.46.0
perf: preallocate in Assign by @pmalek in #484
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →