Highland.js v2.8.0 Release Notes

  • ๐Ÿ›  Bugfix

    • A Highland Stream that wraps Readable now properly handles the case where the Readable emits the close event but not the end event (this can happen with an fs read stream when it encounters an error). It will also end the wrapper stream when it encounters an error (this happens when reading from a non-existent file). Before, such streams would simply never end. #479. Fixes #478.

    ๐Ÿ†• New additions

    • toCallback: method for returning the result of a stream to a nodejs-style callback function. #493. Fixes #484.

    ๐Ÿ‘Œ Improvements

    • A Highland Stream that wraps a bluebird promise can now handle bluebird cancellation. When the promise is cancelled the wrapper stream is empty. #487. Fixes #486.