Skip to content

Releases: BooleanCat/go-functional

v2.0.0-beta.4

27 Jul 08:36
Compare
Choose a tag to compare

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

20 Jul 12:21
9e5dba8
Compare
Choose a tag to compare

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

19 Jul 13:42
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.0-beta.1...v2.0.0-beta.2

v2.0.0-beta.1

17 Jul 19:19
Compare
Choose a tag to compare

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 an io.Reader
  • Add Left and Right iterators "downcasting" from Seq2 to Seq
  • Add Find consumer
  • Fix various mistakes in docs
  • Do not allow negative limits on Drop and Take

Full Changelog: v2.0.0-alpha.5...v2.0.0-beta.1

v2.0.0-alpha.5

30 Jun 16:43
7f1e57f
Compare
Choose a tag to compare

Move iterator chaining to itx subpackage.

Full Changelog: v2.0.0-alpha.4...v2.0.0-alpha.5

v2.0.0-alpha.4

30 Jun 12:24
4ef7715
Compare
Choose a tag to compare

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

Full Changelog: v2.0.0-alpha.3...v2.0.0-alpha.4

v2.0.0-alpha.3

02 Jun 09:13
2647a46
Compare
Choose a tag to compare

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 to Values and moved to future shadow package slices (to be deleted when Go 1.23 is released)
  • Renamed LiftHashMap to All and moved to future shadow package maps (to be deleted when Go 1.23 is released)

v2.0.0-alpha.2

03 Feb 12:07
5d3d2aa
Compare
Choose a tag to compare

Migrate most functionality from v1 into v2.

v2.0.0-alpha.1

02 Feb 23:26
ea71631
Compare
Choose a tag to compare

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

28 Jan 22:59
fa73704
Compare
Choose a tag to compare

What's Changed

  • Support consistent Stringer for all iterators (@BooleanCat)

Full Changelog: v1.0.0...v1.1.0