<#7434 build(deps): bump github.com/samber/lo from...
# flyte-github
a
#7434 build(deps): bump github.com/samber/lo from 1.39.0 to 1.53.0 Pull request opened by dependabot[bot] Bumps github.com/samber/lo from 1.39.0 to 1.53.0. Release notes Sourced from github.com/samber/lo's releases.
v1.53.0
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.
---
Features & improvements
• feat: adding SIMD helpers by
@​samber
in samber/lo#801
• feat: adding Error variants: MapErr, FlatMapErr, ReduceErr... by
@​samber
in samber/lo#823
• feat: support for buffer iterator by
@​mimol91
in samber/lo#824
• feat: add Take, TakeWhile, FilterTake, Window, and Sliding functions by
@​juliazadorozhnaya
in samber/lo#760
• feat: add a Concat slice function. by
@​FGasper
in samber/lo#714
• feat: add iterator slice helpers by
@​juliazadorozhnaya
in samber/lo#791
• feat(it): adding loit.Concat by
@​samber
in samber/lo#722
• feat: Allow Union/Intersect to take many lists by
@​frankywahl
in samber/lo#181
• feat: Add Clone function to return shallow copy of slice collections by
@​quexer
in samber/lo#732
• feat: IntersectBy by
@​ghosx
in samber/lo#653
• feat: Support Custom Assert by
@​RelicOfTesla
in samber/lo#755
• feat: Must support Custom error handler. by
@​RelicOfTesla
in samber/lo#752
• feat: WithoutNth handle non-comparable types by
@​urisimchoni
in samber/lo#774
• refactor: remove unnecessary type arguments in
NewThrottle
by
@​d-enk
in samber/lo#773
• refactor: lo.IntersectBy + adding loit.IntersectBy + adding doc by
@​samber
in samber/lo#739
• fix: rename IsSortedByKey to IsSortedBy by
@​NathanBaulch
in samber/lo#735
• fix(iter/tuples): support break iteration over Zip[By] seq by
@​d-enk
in samber/lo#757
• fix(it.Mode): align behavior with lo.Mode and ensure consistent slice… by
@​intojhanurag
in samber/lo#711
• fix: improve Clone function to preserve nilness and avoid liveness issues by
@​quexer
in samber/lo#740
• fix: reset n counter per iteration in it.Replace by
@​LikimiaD
in samber/lo#799
• fix: make Ellipsis operate on runes instead of bytes to prevent Unicode truncation by
@​veeceey
in samber/lo#796
• fix: correct
DropByIndex
handling of negative indices out of bounds by
@​d-enk
in samber/lo#778
Deprecation
• refactor: remove helpers deprecated for more than 3y by
@​samber
in samber/lo#810
Performance improvements
• feat: Optimize UniqMap to reduce unnecessary slice preallocation by
@​ivolkoff
in samber/lo#710
• refactor(it): simplify DropLast, TrimSuffix, TrimPrefix and use range loops by
@​d-enk
in samber/lo#782
• bench: fix iterators to actually iterate in benchmarks by
@​d-enk
in samber/lo#781
• refactor: simplify slice cut/trim prefix/suffix functions by
@​d-enk
in samber/lo#787
• perf: optimize Sliding by pre-allocating result capacity by
@​d-enk
in samber/lo#783
... (truncated) Commits •
cf6fb4f
bump v1.53.0 •
56ef3be
feat: support for buffer iterator (#824) •
6a9f881
💄 •
7f0c2e0
feat: adding UnzipByErrX helpers •
af46a13
feat: adding RejectErr helpers •
6f42e74
doc: improve examples •
ff0e293
feat: adding FilterErr helpers •
4bb58fd
feat: adding RepeatByErr helpers •
72a33aa
feat: adding FilterKeysErr + FilterValuesErr helpers •
dd1d58e
feat: adding FindDuplicatesByErr helper • Additional commits viewable in compare view Dependabot compatibility score Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
. --- Dependabot commands and options You can trigger Dependabot actions by commenting on this PR: •
@dependabot rebase
will rebase this PR •
@dependabot recreate
will recreate this PR, overwriting any edits that have be… flyteorg/flyte