v0.33.0 - 29th November 2023
-
Drop support for Node.js 14 and 16, now requires Node.js ^18.17.0 or >= 20.3.0
-
Prebuilt binaries distributed via npm registry and installed via package manager.
-
Building from source requires dependency on
node-addon-api
. -
Remove
sharp.vendor
. -
Partially deprecate
withMetadata()
, usewithExif()
andwithIccProfile()
. -
Add experimental support for WebAssembly-based runtimes. @RReverser
-
Options for
trim
operation must be an Object, add newlineArt
option. #2363 -
Improve luminance of
tint
operation with weighting function. #3338 @jcupitt -
Ensure all
Error
objects contain astack
property. #3653 -
Make
compression
option ofheif
mandatory to help reduce HEIF vs HEIC confusion. #3740 -
Ensure correct interpretation of 16-bit raw input. #3808
-
Add support for
miniswhite
when using TIFF output. #3812 @dnsbty -
TypeScript: add missing definition for
withMetadata
boolean. #3823 @uhthomas -
Add more fine-grained control over output metadata. #3824
-
Ensure multi-page extract remains sequential. #3837