🚢 2.0.0 / 2019-11-09
💥 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 toencode
does no longer accept 16-bit, 32-bit, or float arrays. - The output from
decode
is now an instance ofImageData
, meaning thatdata
is anUint8ClampedArray
.
🐛 Fixes
- Hold references to buffers while working