Skip to content

fix(deps): update module github.com/samber/lo to v1.53.0#16

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/github.com-samber-lo-1.x
Open

fix(deps): update module github.com/samber/lo to v1.53.0#16
renovate[bot] wants to merge 1 commit intomainfrom
renovate/github.com-samber-lo-1.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 12, 2025

This PR contains the following updates:

Package Change Age Confidence
github.com/samber/lo v1.47.0v1.53.0 age confidence

Release Notes

samber/lo (github.com/samber/lo)

v1.53.0

Compare Source

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.

moto-gopher2

Features & improvements

Deprecation

Performance improvements

  • feat: Optimize UniqMap to reduce unnecessary slice preallocation by @​ivolkoff in #​710
  • refactor(it): simplify DropLast, TrimSuffix, TrimPrefix and use range loops by @​d-enk in #​782
  • bench: fix iterators to actually iterate in benchmarks by @​d-enk in #​781
  • refactor: simplify slice cut/trim prefix/suffix functions by @​d-enk in #​787
  • perf: optimize Sliding by pre-allocating result capacity by @​d-enk in #​783
  • refactor: improve SamplesBy performance and revert non-panic behavior for negative count by @​d-enk in #​786
  • feat(perf): speed up some functions with linear complexity O=n2 -> O=2n by @​samber in #​726
  • perf: only allocate a single map in Intersect by @​NathanBaulch in #​736
  • perf: preallocate Words string buffer by @​NathanBaulch in #​728
  • refactor: improve lo[it].Intersect[By] readability and performance by @​d-enk in #​756
  • perf: preallocate result slice in SamplesBy by @​d-enk in #​766
  • perf: optimize PartitionBy by eliminating redundant append by @​d-enk in #​765
  • perf: correct prealloc of the result in FindUniques/Duplicates[By] by @​d-enk in #​764
  • perf: use Ternary() instead If().Else() in Range/RangeFrom by @​d-enk in #​770
  • perf: optimize it.Trim to use DropLastWhile(DropWhile(...)) by @​d-enk in #​780
  • perf: replace Min/Max(Range) with Min/MaxIndexBy in DispatchingStrategy by @​d-enk in #​779
  • perf: preallocate result slice in RangeWithSteps by @​d-enk in #​820
  • perf: avoid unnecessary error allocation in NthOr, NthOrEmpty by @​d-enk in #​817
  • perf: optimize Zip and ZipBy functions by @​d-enk in #​818
  • perf: lazy it.Reverse iteration instead of in-place mutation by @​d-enk in #​814
  • perf: optimize Substring to work directly with strings instead of converting to runes by @​d-enk in #​822
  • perf: optimize it.CountBy by removing Filter iterator chain by @​d-enk in #​813
  • perf: optimize it.Find to avoid unnecessary allocations by @​d-enk in #​811
  • perf: optimize it.ContainsBy/EveryBy/SomeBy/NoneBy to avoid unnecessary allocations by @​d-enk in #​812
  • refactor: simplify for loop by @​d-enk in #​772
  • refactor: remove some redundant checks by @​d-enk in #​771
  • refactor: simplify it.HasSuffix implementation by @​d-enk in #​767
  • refactor: improve Slice logic and fix docstring by @​d-enk in #​785

Thanks @​d-enk !!

Other (doc, tests, style...)

Dependencies

New Contributors

Full Changelog: samber/lo@v1.52.0...v1.53.0

v1.52.0

Compare Source

Thrilled to announce the latest release of samber/lo!

This version brings major improvements:

  • A new 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 new documentation -> lo.samber.dev
  • Lots of micro fixes and performance improvements
  • Better code quality with many more linters

✨ A good introduction to streams in Go !

Pasted Graphic 63

What's Changed

Tests

Style

Documentation

Other

New Contributors

Full Changelog: samber/lo@v1.51.0...v1.52.0

v1.51.0

Compare Source

What's Changed

Doc

Dependencies

New Contributors

Full Changelog: samber/lo@v1.50.0...v1.51.0

v1.50.0

Compare Source

What's Changed

Here is the 50th minor version !! 🔥🥂

New methods
Improvements
Documentation
Dependencies

New Contributors

Full Changelog: samber/lo@v1.49.1...v1.50.0

v1.49.1

Compare Source

What's Changed

Full Changelog: samber/lo@v1.49.0...v1.49.1

v1.49.0

Compare Source

What's Changed

New Contributors

Full Changelog: samber/lo@v1.48.0...v1.49.0

v1.48.0

Compare Source

What's Changed

Feature
Fix
Refactor

New Contributors

Full Changelog: samber/lo@v1.47.0...v1.48.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Jul 12, 2025

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 2 additional dependencies were updated

Details:

Package Change
golang.org/x/sync v0.10.0 -> v0.11.0
golang.org/x/text v0.21.0 -> v0.22.0

@renovate renovate bot force-pushed the renovate/github.com-samber-lo-1.x branch from 18d99b0 to 7ac8930 Compare October 8, 2025 22:54
@renovate renovate bot changed the title fix(deps): update module github.com/samber/lo to v1.51.0 fix(deps): update module github.com/samber/lo to v1.52.0 Oct 8, 2025
@renovate
Copy link
Contributor Author

renovate bot commented Dec 16, 2025

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 2 additional dependencies were updated

Details:

Package Change
golang.org/x/sync v0.10.0 -> v0.11.0
golang.org/x/text v0.21.0 -> v0.22.0

@renovate renovate bot changed the title fix(deps): update module github.com/samber/lo to v1.52.0 fix(deps): update module github.com/samber/lo to v1.53.0 Mar 8, 2026
@renovate renovate bot force-pushed the renovate/github.com-samber-lo-1.x branch from 7ac8930 to b306453 Compare March 8, 2026 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants