Highland.js v2.5.0 Release Notes

  • ๐Ÿ†• New additions

    • drop: Ignores the first n values of a stream and then emits the rest. #75 #244
    • done: Calls the supplied function once the stream has ended. #161
    • sort: Collects all values together then emits each value individually but in sorted order. #169 #245
    • streamifyAll: Takes an object or a constructor function and returns that object or constructor with streamified versions of its function properties. #226
    • ๐Ÿ’… Iterator Support: ECMA2015 (aka ES6) style iterators can now be passed to the Highland constructor function. #235
    • slice: Creates a new stream with the values from the source in the range of specified in thestart and end parameters. #250
    • batchWithTimeOrCount: Takes one Stream and batches incoming data within a maximum time frame into arrays of a maximum length. #284

    ๐Ÿ‘Œ Improvements

    • each now returns an empty stream rather than nothing. #161.
    • Ensure through propagates Node stream errors. #240
    • Preserve this context of wrapped function when using wrapCallback. #248
    • โšก๏ธ Update tranduce to use latest version of transformer protocol. #261