Sharp Changelog
Overview
This is the complete changelog for the Sharp image processing library, documenting all important changes from v0.10 to the latest version, including new features, bug fixes, performance improvements, and breaking changes.
v0.34 - hat
需要 libvips v8.17.1
v0.34.3 - July 10, 2025
- 升级到 libvips v8.17.1 以修复上游错误。
- Add "Magic Kernel Sharp" (unrelated) to resize kernels.
- Deprecate top-level, format-specific constructor parameters, such as
subifdbecomingtiff.subifd. - Expose
stylesheetandhighBitdepthSVG input parameters. - Expose
keepDuplicateFramesGIF output parameters. - Add support for RAW digital camera image input. Requires libvips to support libraw.
- Provide XMP metadata as strings and Buffers where possible.
- Add
pageHeightoption tocreateandrawinput for animated images. - Expose JPEG 2000
oneshotdecoder option. - Support composite operations for non-sRGB pipeline color spaces.
- Add
keepXmpandwithXmpfor controlling output XMP metadata.
v0.34.2 - May 20, 2025
- Ensure animation GIF to WebP conversion preserves loop (regression in 0.34.0).
- Ensure
pdfBackgroundconstructor property is used. - Add experimental support for pre-built Windows ARM64 binaries.
- Ensure
fitresize withcontainsupports multiple alpha channels. - TypeScript: Ensure
metadataresponse is closer to reality. - TypeScript: Ensure
smartDeblockproperty is included in WebP definition. - Ensure support for wide character file names on Windows (regression in 0.34.0).
v0.34.1 - April 7, 2025
- TypeScript: Ensure new
autoOrientproperty is optional.
v0.34.0 - April 4, 2025
- Breaking change: Support input image arrays to be connected or animated.
- Breaking change: Ensure
removeAlpharemoves all alpha channels. - Breaking change: Non-animated GIF output defaults to no loop instead of permanent loop.
- Breaking change: Support
info.sizeon wide character systems by upgrading to C++17. - Breaking change: Ensure
backgroundmetadata can be parsed bycolorpackage. - Add
isPaletteandbitsPerSampleto metadata, deprecatepaletteBitDepth. - Expose WebP
smartDeblockoutput option. - Prevent use of linux-x64 binaries with v1 microarchitecture.
- Add
autoOrientoperation and constructor options. - TypeScript:确保通道计数使用正确的范围。
- Improve support for ppc64le architecture.
- Add
pdfBackgroundconstructor property. - Expose erode and dilate operations.
- Add support for RGBE images. Requires libvips to support radiance.
- Allow output of wide color gamut HEIF at higher bit depths.
v0.33 - gauge
Requires libvips v8.15.3
v0.33.5 - August 16, 2024
- Upgrade to libvips v8.15.3 to fix upstream errors.
- Add
pageHeightandpagesto multi-page output response. - Ensure options for globally installed libvips work correctly.
- Minimize use of
enginesproperty to improve yarn v1 support. - Ensure
sharp.format.heifonly includes AVIF when using pre-built binaries. - Add support for 4x4 matrix in recomb operation.
- Expose PNG text blocks as
commentsmetadata. - Expose optional
precisionandminAmplitudeparameters forbluroperation. - Ensure
keepIccProfileavoids color conversion where possible. - TypeScript:
chromaSubsamplingmetadata is optional.
v0.33.4 - May 16, 2024
- Remove experimental status of
pipelineColourspace. - Reduce default concurrency when musl thread oversubscription is detected.
- TypeScript: Add missing
OverlayOptionsdefinition. - Installation: Add advanced option to force use of globally installed libvips.
- Expose
bilinearresize kernel (and interpolator). - Ensure
extendoperation maintains order for multi-page TIFF (regression in 0.32.0). - Tighten validation of integer properties in constructor
text. - Simplify internal StaySequential logic.
- Ensure negation operation occurs after configuration file conversion.
v0.33.3 - March 23, 2024
- Upgrade to libvips v8.15.2 to fix upstream errors.
- Ensure
keepIccProfilepreserves P3 and CMK input profiles. - Ensure
text.wrapproperty acceptsword-charas a value. - Ensure
cloneperforms deep copy of existing options. - Add
bitdepthoption forheifoutput (pre-built binaries only support 8-bit).
v0.33.2 - January 12, 2024
- Upgrade to libvips v8.15.1 to fix upstream errors.
- TypeScript: Add
keepMetadatadefinition. - Ensure
extendoperation maintains order when copying (regression in 0.32.0). - Improve error handling for unsupported multi-page rotation.
v0.33.1 - 2023年12月17日
- Add support for Yarn Plug'n'Play file system layout.
- Warn when attempting to use invalid ICC configuration files.
- Ensure respect for
VIPS_NOVECTORenvironment variable.
v0.33.0 - 2023年11月29日
- Drop support for Node.js 14 and 16, now requires Node.js ^18.17.0 or >= 20.3.0
- Pre-built binaries distributed through npm registry and installable via package manager.
- From source code build requires
node-addon-api. - Remove
sharp.vendor. - Partially deprecate
withMetadata(), usewithExif()andwithIccProfile(). - Add experimental support for WebAssembly runtime.
- Make
trimoperation's options must be an object, add newlineArtoption. - Use weighted functions to improve brightness of
tintoperation. - Ensure all
Errorobjects containstackproperty. - Make
compressionoption forheifrequired to help reduce HEIF vs HEIC confusion. - Ensure correct interpretation of 16-bit raw input.
- Add support for
miniswhitewhen using TIFF output. - TypeScript: Add missing
withMetadataboolean definition. - Add more fine-grained control over output metadata.
- Ensure multi-page extraction maintains order.
v0.32 - flow
Requires libvips v8.14.5
v0.32.6 - September 18, 2023
- Upgrade to libvips v8.14.5 to fix upstream errors.
- Ensure tiled compositing images are fully decoded (regression in 0.32.0).
- Ensure
withMetadatacan add ICC configuration files to RGB16 output. - Ensure
withMetadatadoes not reduce 16-bit images to 8-bit (regression in 0.32.5). - TypeScript: Add definitions for block and unblock.
v0.32.5 - August 15, 2023
- Upgrade to libvips v8.14.4 to fix upstream errors.
- TypeScript: Add missing
WebpPresetEnumdefinition. - Ensure compilation using musl v1.2.4.
- Ensure
fitresize respects 90/270 degree rotation when usinginside. - TypeScript: Ensure
WebpOptions'sminSizeproperty is a boolean. - Ensure
withMetadataadds default sRGB configuration file.
v0.32.4 - July 21, 2023
- Upgrade to libvips v8.14.3 to fix upstream errors.
- Expose ability to block low-level libvips operations by name.
- Pre-built binaries: restore support for tiled output.
早期版本
v0.31 - eagle
Requires libvips v8.13.3
v0.30 - dresser
Requires libvips v8.12.2
v0.29 - circle
Requires libvips v8.11.4
v0.28 - bijou
Requires libvips v8.10.6
v0.27 - avif
Requires libvips v8.9.2
v0.26 - zoom
Requires libvips v8.8.3
v0.25 - yield
Requires libvips v8.7.4
v0.24 - "wit"
Requires libvips v8.6.3
v0.23 - "vision"
Requires libvips v8.5.2
v0.22 - "uptake"
Requires libvips v8.4.5
v0.21 - "teeth"
Requires libvips v8.3.3
v0.20 - "prebuild"
Requires libvips v8.2.2
v0.19 - "suit"
Requires libvips v8.1.2
v0.18 - "ridge"
Requires libvips v8.0.2
v0.17 - "quill"
Requires libvips v7.1.0
v0.16 - "pencil"
Requires libvips v7.0.0
v0.15 - "outfit"
Requires libvips v6.1.0
v0.14 - "needle"
Requires libvips v6.0.0
v0.13 - "mind"
Requires libvips v5.0.0
v0.12 - "look"
Requires libvips v4.0.0
v0.11 - "knife"
Requires libvips v3.0.0
v0.10 - "judgment"
Requires libvips v2.0.0
This changelog records all important changes from Sharp library from v0.10 to the latest version, including new features, bug fixes, performance improvements, and breaking changes.