Releases: BooleanCat/go-functional
Releases · BooleanCat/go-functional
v2.0.0-beta.4
What's Changed
- Add TryCollect and Collect2 consumers and remove CollectErr by @BooleanCat in #130
- Add
Len
consumer to return the number of items yielded
Full Changelog: v2.0.0-beta.3...v2.0.0-beta.4
v2.0.0-beta.3
Add itx.Map
to allow a limited form of chaining on Map
.
Full Changelog: v2.0.0-beta.2...v2.0.0-beta.3
v2.0.0-beta.2
What's Changed
- Support FromSlice and FromMap helpers in itx by @BooleanCat in #127
- Remove Unzip by @BooleanCat in #128
- Add CollectErr consumer by @BooleanCat in #125
- Add Transform iter to itx by @BooleanCat in #129
Full Changelog: v2.0.0-beta.1...v2.0.0-beta.2
v2.0.0-beta.1
What's Changed
- Add Max and Min consumers by @BooleanCat in #124
- Improve performance of Filter iterators
- Add
Once
iterator - Add
Lines
iterator for iterating over anio.Reader
- Add
Left
andRight
iterators "downcasting" fromSeq2
toSeq
- Add
Find
consumer - Fix various mistakes in docs
- Do not allow negative limits on
Drop
andTake
Full Changelog: v2.0.0-alpha.5...v2.0.0-beta.1
v2.0.0-alpha.5
Move iterator chaining to itx
subpackage.
Full Changelog: v2.0.0-alpha.4...v2.0.0-alpha.5
v2.0.0-alpha.4
What's Changed
- Support To/FromChannel by @BooleanCat in #109
- rename iter package to it by @jlc-christie in #123
- Add repeat2 iter
- Add repeat iter
- Add Cycle iterator
- Add Exhausted iterator
- Add Chain iterator
New Contributors
- @jlc-christie made their first contribution in #121
Full Changelog: v2.0.0-alpha.3...v2.0.0-alpha.4
v2.0.0-alpha.3
Adapt project to current 1.23 iter API
- All iterators now natively return and use the
Seq
types rather than this projects type alias, favouring compatibility with the standard library over convenience features like chaining. - Added iterators for the
Seq2
variants of existing iterators - Renamed
Lift
toValues
and moved to future shadow packageslices
(to be deleted when Go 1.23 is released) - Renamed
LiftHashMap
toAll
and moved to future shadow packagemaps
(to be deleted when Go 1.23 is released)
v2.0.0-alpha.2
Migrate most functionality from v1 into v2.
v2.0.0-alpha.1
V2 of go-functional may leverage Go 1.22's rangefunc feature. In this first pre-release Take
, Count
, Lift
and Collect
are re-implemented using rangefunc.
v1.1.0
What's Changed
- Support consistent Stringer for all iterators (@BooleanCat)
Full Changelog: v1.0.0...v1.1.0