Skip to content

1.4.0

Compare
Choose a tag to compare
@winterbe winterbe released this 12 Jun 08:19
· 57 commits to master since this release

This release is focused around new intermediate operations, which are well known in other languages like Haskell and Scala but not yet available in the Java 8 Streams API. The following new methods are now available in Stream.js: shuffle(), reverse(), slice(), takeWhile() and dropWhile(). See APIDOC for further information.
Another important change is handling of null and undefined inputs. From now on those inputs are treated as empty collections, so you don't have to check your input for existence before creating streams: Stream(undefined).toArray(); // => []. Here's the full list of changes for this release.