Sharp is a high performance Node-API module for image processing in JavaScript runtimes like Node.js, Deno, and Bun. It is used to quickly resize and convert large images (JPEG, PNG, WebP, AVIF, TIFF, and more) to smaller, web-friendly formats, leveraging the libvips library and supporting operations like rotation, cropping, compositing, and gamma correction.
Project status
- The repository (lovell/sharp) shows recent activity, with an upstream push on 2026-05-21 and multiple release-candidate tags in April 2026, suggesting active maintenance rather than a frozen state.
- The update cadence appears fairly rapid during the 0.35.0-rc cycle (rc.3 and rc.4 on 2026-04-19, rc.5 on 2026-04-21), though additional evidence between 0.35.0-rc.5 and the 2026-05-21 push is not provided here.
AI summary generated Today
Recent updates
v0.35.0-rc.5
1 month agov0.35.0-rc.5 is primarily a breaking release that raises the minimum Node.js version to 20.9.0, removes legacy/experimental pathways (like the `install` script, deprecated options, and wasm experimental status), and tunes image processing behavior for formats like AVIF/HEIF. It also adds several new image-processing options (for quality metrics, HDR gain maps, trimming density, and more) plus ESM support and prebuilt binary changes.
BreakingFeaturesv0.35.0-rc.4
1 month agoRelease v0.35.0-rc.4 is presented as a major breaking release with extensive API and behavior changes. However, the provided code diff for this tag only shows packaging and CI workflow adjustments plus workspace version pin updates, with no visible implementation changes corresponding to the listed API breakages.
BreakingFeaturesv0.35.0-rc.3
1 month agov0.35.0-rc.3 focuses on breaking changes for runtime requirements and API cleanup, plus several new image processing options and metadata enhancements. A major internal change is also present in the code diff, migrating key modules and entrypoints from CommonJS (.js) to ESM (.mjs), alongside updated loading logic for the native bindings and prebuilt binaries.
BreakingFeaturesv0.35.0-rc.2
1 month agoRelease v0.35.0-rc.2 primarily updates package version references across the sharp npm workspace and its platform-specific prebuilt artifacts. The provided code diff, however, does not include the core library or API implementation changes that the release notes describe.
BreakingFeaturesv0.35.0-rc.1
1 month agosharp v0.35.0-rc.1 drops Node.js 18 support, introduces multiple documented API breaking changes, and upgrades libvips to 8.18.2. It adds new processing APIs like `withDensity`, `keepGainMap`, and HEIF/AVIF `tune`, and expands packaging to include WebAssembly-related prebuilt binaries (including FreeBSD).
BreakingFeaturesv0.35.0-rc.0
5 months agoThis release (v0.35.0-rc.0) updates Sharp to require Node.js >= 20.9.0 and drops multiple deprecated APIs, including constructor/input options and parts of the sharpen API. It also adds new capabilities such as AVIF/HEIF quality metric tuning, HDR gain map processing, a new toUint8Array output method, and additional image operation options.
BreakingFeaturesv0.34.5
6 months agoRelease v0.34.5 documents updates primarily around libvips, new platform binary support, and additional output and processing capabilities. However, the provided code diff for this release only shows package metadata and version changes (rc to stable), not the actual sharp/libvips implementation changes described in the release notes.
Featuresv0.34.5-rc.1
6 months agoRelease v0.34.5-rc.1 claims several Sharp capability updates, including a libvips upgrade, experimental prebuilt Linux RISC-V 64-bit binaries, BigTIFF output, and improvements to error and ICC handling. From the provided code diff, the material changes we can verify are primarily packaging/version bumps and TypeScript declaration updates related to output options typing.
Featuresv0.34.5-rc.0
6 months agoThis release updates sharp to libvips 8.17.3, adds experimental prebuilt Linux RISC-V 64-bit binaries, and introduces BigTIFF output support via a new `bigtiff` TIFF option. It also includes improvements around error messaging and ICC handling, plus guidance changes for building from source with newer npm versions.
Featuresv0.34.4
8 months agoThis release notes v0.34.4 primarily describe image-processing behavior fixes (TIFF subifd, OpenSlide level, autoOrient ordering and metadata removal), plus a libvips upgrade. However, the provided code diff for v0.34.4 (vs v0.34.4-rc.4) shows only packaging, documentation, and CI workflow command/version updates, with no observable changes to the image processing code paths.