Bump github.com/samber/lo from 1.52.0 to 1.53.0 #59

Closed
dependabot[bot] wants to merge 1 commit from dependabot/go_modules/github.com/samber/lo-1.53.0 into main
dependabot[bot] commented 2026-03-09 11:57:55 +00:00 (Migrated from github.com)

Bumps github.com/samber/lo from 1.52.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

Deprecation

Performance improvements

... (truncated)

Commits

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 been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps [github.com/samber/lo](https://github.com/samber/lo) from 1.52.0 to 1.53.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/samber/lo/releases">github.com/samber/lo's releases</a>.</em></p> <blockquote> <h2>v1.53.0</h2> <p>Announcing the latest release of <code>lo</code> with lots of good gifts! 🎁</p> <p>🌊 First, a big thanks to <a href="https://github.com/d-enk"><code>@​d-enk</code></a> for making lots of <strong>performance improvements</strong> in the recent weeks.</p> <p>🧪 Second, this release introduces a new <strong><code>simd</code> experimental package</strong>. If you run on an amd64 architecture and a recent CPU, you can perform very fast operations thanks to SIMD CPU instructions. -&gt; Documentation: <a href="https://lo.samber.dev/docs/experimental/simd">https://lo.samber.dev/docs/experimental/simd</a></p> <p>💥 Third, this version adds <strong><code>*Err</code> variants</strong> of many <code>lo</code> helpers (like <strong><code>MapErr</code>, <code>FlatMapErr</code>, <code>ReduceErr</code>, etc.</strong>) whose callbacks can return an error and short-circuit execution when one occurs.</p> <blockquote> <p>[!NOTE] The <code>simd</code> sub-package is considered <em>not stable</em>. We might break the initial API based on developers' feedback in the coming months.</p> </blockquote> <!-- raw HTML omitted --> <hr /> <h2>Features &amp; improvements</h2> <ul> <li>feat: adding SIMD helpers by <a href="https://github.com/samber"><code>@​samber</code></a> in <a href="https://redirect.github.com/samber/lo/pull/801">samber/lo#801</a></li> <li>feat: adding Error variants: MapErr, FlatMapErr, ReduceErr... by <a href="https://github.com/samber"><code>@​samber</code></a> in <a href="https://redirect.github.com/samber/lo/pull/823">samber/lo#823</a></li> <li>feat: support for buffer iterator by <a href="https://github.com/mimol91"><code>@​mimol91</code></a> in <a href="https://redirect.github.com/samber/lo/pull/824">samber/lo#824</a></li> <li>feat: add Take, TakeWhile, FilterTake, Window, and Sliding functions by <a href="https://github.com/juliazadorozhnaya"><code>@​juliazadorozhnaya</code></a> in <a href="https://redirect.github.com/samber/lo/pull/760">samber/lo#760</a></li> <li>feat: add a Concat slice function. by <a href="https://github.com/FGasper"><code>@​FGasper</code></a> in <a href="https://redirect.github.com/samber/lo/pull/714">samber/lo#714</a></li> <li>feat: add iterator slice helpers by <a href="https://github.com/juliazadorozhnaya"><code>@​juliazadorozhnaya</code></a> in <a href="https://redirect.github.com/samber/lo/pull/791">samber/lo#791</a></li> <li>feat(it): adding loit.Concat by <a href="https://github.com/samber"><code>@​samber</code></a> in <a href="https://redirect.github.com/samber/lo/pull/722">samber/lo#722</a></li> <li>feat: Allow Union/Intersect to take many lists by <a href="https://github.com/frankywahl"><code>@​frankywahl</code></a> in <a href="https://redirect.github.com/samber/lo/pull/181">samber/lo#181</a></li> <li>feat: Add Clone function to return shallow copy of slice collections by <a href="https://github.com/quexer"><code>@​quexer</code></a> in <a href="https://redirect.github.com/samber/lo/pull/732">samber/lo#732</a></li> <li>feat: IntersectBy by <a href="https://github.com/ghosx"><code>@​ghosx</code></a> in <a href="https://redirect.github.com/samber/lo/pull/653">samber/lo#653</a></li> <li>feat: Support Custom Assert by <a href="https://github.com/RelicOfTesla"><code>@​RelicOfTesla</code></a> in <a href="https://redirect.github.com/samber/lo/pull/755">samber/lo#755</a></li> <li>feat: Must support Custom error handler. by <a href="https://github.com/RelicOfTesla"><code>@​RelicOfTesla</code></a> in <a href="https://redirect.github.com/samber/lo/pull/752">samber/lo#752</a></li> <li>feat: WithoutNth handle non-comparable types by <a href="https://github.com/urisimchoni"><code>@​urisimchoni</code></a> in <a href="https://redirect.github.com/samber/lo/pull/774">samber/lo#774</a></li> <li>refactor: remove unnecessary type arguments in <code>NewThrottle</code> by <a href="https://github.com/d-enk"><code>@​d-enk</code></a> in <a href="https://redirect.github.com/samber/lo/pull/773">samber/lo#773</a></li> <li>refactor: lo.IntersectBy + adding loit.IntersectBy + adding doc by <a href="https://github.com/samber"><code>@​samber</code></a> in <a href="https://redirect.github.com/samber/lo/pull/739">samber/lo#739</a></li> <li>fix: rename IsSortedByKey to IsSortedBy by <a href="https://github.com/NathanBaulch"><code>@​NathanBaulch</code></a> in <a href="https://redirect.github.com/samber/lo/pull/735">samber/lo#735</a></li> <li>fix(iter/tuples): support break iteration over Zip[By] seq by <a href="https://github.com/d-enk"><code>@​d-enk</code></a> in <a href="https://redirect.github.com/samber/lo/pull/757">samber/lo#757</a></li> <li>fix(it.Mode): align behavior with lo.Mode and ensure consistent slice… by <a href="https://github.com/intojhanurag"><code>@​intojhanurag</code></a> in <a href="https://redirect.github.com/samber/lo/pull/711">samber/lo#711</a></li> <li>fix: improve Clone function to preserve nilness and avoid liveness issues by <a href="https://github.com/quexer"><code>@​quexer</code></a> in <a href="https://redirect.github.com/samber/lo/pull/740">samber/lo#740</a></li> <li>fix: reset n counter per iteration in it.Replace by <a href="https://github.com/LikimiaD"><code>@​LikimiaD</code></a> in <a href="https://redirect.github.com/samber/lo/pull/799">samber/lo#799</a></li> <li>fix: make Ellipsis operate on runes instead of bytes to prevent Unicode truncation by <a href="https://github.com/veeceey"><code>@​veeceey</code></a> in <a href="https://redirect.github.com/samber/lo/pull/796">samber/lo#796</a></li> <li>fix: correct <code>DropByIndex</code> handling of negative indices out of bounds by <a href="https://github.com/d-enk"><code>@​d-enk</code></a> in <a href="https://redirect.github.com/samber/lo/pull/778">samber/lo#778</a></li> </ul> <h2>Deprecation</h2> <ul> <li>refactor: remove helpers deprecated for more than 3y by <a href="https://github.com/samber"><code>@​samber</code></a> in <a href="https://redirect.github.com/samber/lo/pull/810">samber/lo#810</a></li> </ul> <h2>Performance improvements</h2> <ul> <li>feat: Optimize UniqMap to reduce unnecessary slice preallocation by <a href="https://github.com/ivolkoff"><code>@​ivolkoff</code></a> in <a href="https://redirect.github.com/samber/lo/pull/710">samber/lo#710</a></li> <li>refactor(it): simplify DropLast, TrimSuffix, TrimPrefix and use range loops by <a href="https://github.com/d-enk"><code>@​d-enk</code></a> in <a href="https://redirect.github.com/samber/lo/pull/782">samber/lo#782</a></li> <li>bench: fix iterators to actually iterate in benchmarks by <a href="https://github.com/d-enk"><code>@​d-enk</code></a> in <a href="https://redirect.github.com/samber/lo/pull/781">samber/lo#781</a></li> <li>refactor: simplify slice cut/trim prefix/suffix functions by <a href="https://github.com/d-enk"><code>@​d-enk</code></a> in <a href="https://redirect.github.com/samber/lo/pull/787">samber/lo#787</a></li> <li>perf: optimize Sliding by pre-allocating result capacity by <a href="https://github.com/d-enk"><code>@​d-enk</code></a> in <a href="https://redirect.github.com/samber/lo/pull/783">samber/lo#783</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/samber/lo/commit/cf6fb4f9b08c1d3d6e309581316f106dc30b458e"><code>cf6fb4f</code></a> bump v1.53.0</li> <li><a href="https://github.com/samber/lo/commit/56ef3beaf8adfea1908b094e49b3b639ea604aab"><code>56ef3be</code></a> feat: support for buffer iterator (<a href="https://redirect.github.com/samber/lo/issues/824">#824</a>)</li> <li><a href="https://github.com/samber/lo/commit/6a9f881ae1ff32a7c650464615d175ef4c26d833"><code>6a9f881</code></a> :lipstick:</li> <li><a href="https://github.com/samber/lo/commit/7f0c2e0297fc2fdffe9c69c254dee8d00f60c90a"><code>7f0c2e0</code></a> feat: adding UnzipByErrX helpers</li> <li><a href="https://github.com/samber/lo/commit/af46a13bfce4ae037193c23e05866df8d79cd163"><code>af46a13</code></a> feat: adding RejectErr helpers</li> <li><a href="https://github.com/samber/lo/commit/6f42e74a117ce59882e92a9d4a5b05520d5dee33"><code>6f42e74</code></a> doc: improve examples</li> <li><a href="https://github.com/samber/lo/commit/ff0e293ce3dbde1e80a1b1eb059078aa7d1442c4"><code>ff0e293</code></a> feat: adding FilterErr helpers</li> <li><a href="https://github.com/samber/lo/commit/4bb58fd2c6d86bf54eb9408b8247d056b8f4a006"><code>4bb58fd</code></a> feat: adding RepeatByErr helpers</li> <li><a href="https://github.com/samber/lo/commit/72a33aa3970554921210253dcce90540d6e34388"><code>72a33aa</code></a> feat: adding FilterKeysErr + FilterValuesErr helpers</li> <li><a href="https://github.com/samber/lo/commit/dd1d58e324c2277117dbdbfa86f409473eda5ece"><code>dd1d58e</code></a> feat: adding FindDuplicatesByErr helper</li> <li>Additional commits viewable in <a href="https://github.com/samber/lo/compare/v1.52.0...v1.53.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=github.com/samber/lo&package-manager=go_modules&previous-version=1.52.0&new-version=1.53.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 been made to it - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
dependabot[bot] commented 2026-03-26 23:05:42 +00:00 (Migrated from github.com)

Looks like github.com/samber/lo is up-to-date now, so this is no longer needed.

Looks like github.com/samber/lo is up-to-date now, so this is no longer needed.

Pull request closed

Sign in to join this conversation.
No description provided.