Skip to content

go-linq v4#125

Merged
ahmetb merged 8 commits intomasterfrom
v4
Oct 19, 2025
Merged

go-linq v4#125
ahmetb merged 8 commits intomasterfrom
v4

Conversation

@kalaninja
Copy link
Collaborator

@kalaninja kalaninja commented Oct 13, 2025

go-linq v4 (major release)

This PR merges the v4 branch to master and publishes go‑linq v4.0.0.
v4 modernizes the library around Go’s standard iterator pattern, introduces typed constructors, adds context‑cancellable channel iteration, improves ToSlice capacity growth, and refreshes docs/examples.

Highlights

Breaking changes

  • Manual iteration API changed. Code that previously relied on custom iterator functions must switch to the new pattern. Example from the README shows the transformation and the new for … range ergonomics.

  • Removed: FromChannelT() in favor of FromChannel().

Minimum Go version

Go 1.23+ (due to use of the standard iter package).

@coveralls
Copy link

coveralls commented Oct 13, 2025

Coverage Status

coverage: 100.0%. remained the same
when pulling 74011d2 on v4
into 4325236 on master.

* feat: add `FromChannelWithTimeout()`

* feat: add `FromChannelWithContext`

* chore: update README.md

* fix: FromChannelWithContext args order

* feat: remove FromChannelWithTimeout in favor of FromChannelWithContext
@ahmetb ahmetb merged commit b945a41 into master Oct 19, 2025
2 checks passed
@kalaninja kalaninja deleted the v4 branch October 20, 2025 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants