Skip to content

🚢 2.0.0 / 2019-11-09

Compare
Choose a tag to compare
@LinusU LinusU released this 09 Nov 21:45
· 7 commits to master since this release
ee76c58

💥 Breaking Changes

  • Drop support for Node.js <8

    Migration Guide:

    Upgrade to Node.js 8.0.0 or newer.

  • Build using N-API instead of NAN

    Migration Guide:

    • Upgrade to at least Node.js 8.6.0 for continued support.
    • The data parameter to encode does no longer accept 16-bit, 32-bit, or float arrays.
    • The output from decode is now an instance of ImageData, meaning that data is an Uint8ClampedArray.

🐛 Fixes

  • Hold references to buffers while working