v0.7.0
This project follows the semver rules of versioning. The major zero version is for initial development. Anything MAY change at any time. The public API SHOULD NOT be considered stable. This release introduces some breaking changes with the previous release.
💥 Breaking
- Breaking: The Iterator Protocol was changed slightly. The
Value()
function is not required to raise a panic error if there aren't any items left anymore or the first call toNext()
hasn't been made yet.
The upside of this change is that it allows to simplify the implementation of certain iterators. - Breaking The
StringIter
iterator structure was renamed toStringIterator
for consistency reasons. - Breaking The
RangeIter
iterator structure was renamed toRangeIterator
for consistency reasons. - Breaking The range family of functions
R
,From
andSteps
were renamed toRange
,RangeFrom
andRangeStep
for consistency reasons with the newCount
family of functions. - Breaking The
Channel
function was renamed toIn
for consistency reasons. It was a left-over from moving iterators into their own sub-packages.
✨ New Features
- Added new function
Head
andHeadOrElse
. - Added
PullFn
iterator to turn a function returning a value plus a boolean into an iterator. - Added
IterFn
iterator to turn other forms of stateful iterators into itkit compatible iterators. - Added
Count
,Count
From,CountStep
family of functions. - Added
Fill
iterator. - Added
Copies
iterator.
That's it! And thank you very much for your continued patronage.