Releases: jajaperson/iterable-utilities
Releases · jajaperson/iterable-utilities
Stdlib testing dependency version bump
lint and format CHANGELOG.md
Changed
- lint and format CHANGELOG.md
Fix npm releases due to stale version string
Changed
- bumped version to fix NPM release
`takeWhile` , `dropWhile`, and more!
Added
Many equivalents to Kotlin standard library were added 🎉
- Reducers
iter.average()
(inspired by Kotlin'ssequences.average
)
- Transformers
iter.takeWhile()
(inspired by Kotlin'ssequences.takeWhile
)iter.drop()
(inspired by Kotlin'ssequences.drop
)iter.dropUntil()
(likeiter.until()
but drops til given predicate is true)iter.dropWhile()
(inspired by Kotlin'ssequences.takeWhile
)
Changed
- added tests for NaN checks in
iter.sum()
anditer.product()
. - Simplified
deno.json
again using the new [global-exclude][global-exclude]
feature.
`flatMap` and fixed `chunkify`
Added
- Added
iter.flatMap()
🎉 (likeArray.prototype.flatMap
)
Changed
- Flattened
deno.json
- Chunkify actually works as intended
Breaking spelling correction
Added
- Curried exports of all functions (I've been forgetting to update these, so I
also added a test to remind me to do so) - Alternate npm entry point for fp.
- Testing now includes
copb
compatibility
(including the npm version).
Changed
- (:warning: breaking) Fixed typo in
iter.remember()
(originally
iter.rememeber()
) - Point docs to deno.land rather than
doc.deno.land
Peekable iterators
Added
iter.peekable()
inspired by Rust'sstd::iter::Peekable
.
Changed
- (docs) Added special note on the inclusivity of
create.range()
.
Create iterators over character units & codes!
Added
iter.create.fromChars()
anditer.create.fromCharCodes()
for iterating over UTF-16 character units and codes respectively.
v2.4.2
Changed
- Another attempt to fix the NPM release
(debugging actions can be awful sometimes).
Fix NPM release action
Changed
- Fixed NPM release action. 🚧