New
v1.50.0
What's Changed
Here is the 50th minor version !! π₯π₯
New methods
- Implemented GroupByMap by @maryum375 in https://github.com/samber/lo/pull/443
- feat: Add NthOr and NthOrEmpty functions by @edvardsanta in https://github.com/samber/lo/pull/611
- feat: adding FilterMapToSlice by @samber in https://github.com/samber/lo/pull/623
- feat(mutable): adding Map, MapI, Filter, FilterI by @samber in https://github.com/samber/lo/pull/577
- Add ElementsMatch, ElementsMatchBy by @senago in https://github.com/samber/lo/pull/589
Improvements
- Perf(slice): Optimize iteration function parameters and add test cases by @shuqingzai in https://github.com/samber/lo/pull/587
- Preallocate result in FilterMap by @renbou in https://github.com/samber/lo/pull/622
Documentation
- docs: modify mutable.shuffle example code and Go Playground links by @ebina4yaka in https://github.com/samber/lo/pull/595
- fix: Issue 605 (README for Ternary() by @peterhoward42 in https://github.com/samber/lo/pull/606
- docs: add play link for ChunkEntries example in README by @oswaldom-code in https://github.com/samber/lo/pull/600