lovell/sharp
 Watch   
 Star   
 Fork   
9 hours ago
sharp

v0.35.4

:::note[Dependency versions] https://github.com/lovell/sharp-libvips/releases/tag/v1.3.3 :::

  • Bound resize dimensions to coordinate limit.

  • Bound composite left and top to coordinate limit. #4564 @metsw24-max

  • Round palette bit depth up for png and gif colours. #4569 @metsw24-max

  • Ensure tiff.subifd input option is used. #4572 @metsw24-max

  • Ensure info.pages is correct when limiting input page range. #4578 @metsw24-max

  • Improve support for input Streams finishing before output is requested. #4584 @Jaybhade

20 hours ago
sharp

v0.35.4-rc.0

  • Upgrade to libvips v8.18.6 for upstream bug fixes.

  • Bound resize dimensions to coordinate limit.

  • Bound composite left and top to coordinate limit. #4564 @metsw24-max

  • Round palette bit depth up for png and gif colours. #4569 @metsw24-max

  • Ensure tiff.subifd input option is used. #4572 @metsw24-max

  • Ensure info.pages is correct when limiting input page range. #4578 @metsw24-max

  • Improve support for input Streams finishing before output is requested. #4584 @Jaybhade

2026-07-01 19:15:11
sharp

v0.35.3

  • Tighten verification of text dimensions, TIFF tile dimensions and extend values.

  • Improve code bundler support by resolving path to libvips binary.

  • Increase default concurrency when use of MALLOC_ARENA_MAX is detected.

  • Emit warning about binaries provided by Electron for use on Linux.

  • Add hasAlpha property to output info. #4500

  • TypeScript: Return more precise Buffer<ArrayBuffer> from toBuffer. #4520 @Andarist

  • Bound clahe width and height to avoid signed overflow. #4551 @metsw24-max

  • Bound trim margin to avoid signed overflow. #4552 @metsw24-max

  • Reject infinite values when validating numbers. #4553 @metsw24-max

  • Bound extract region to libvips coordinate limit. #4555 @metsw24-max

  • Verify background colour values are numbers. #4556 @metsw24-max

  • Bound create and raw input dimensions to coordinate limit. #4558 @metsw24-max

  • Tighten recomb and affine matrix verification. #4560 @chatman-media

  • Verify cache memory limit to avoid overflow. #4561 @metsw24-max

2026-06-30 19:48:47
sharp

v0.35.3-rc.2

  • Tighten verification of text dimensions, TIFF tile dimensions and extend values.

  • Improve code bundler support by resolving path to libvips binary.

  • Increase default concurrency when use of MALLOC_ARENA_MAX is detected.

  • Emit warning about binaries provided by Electron for use on Linux.

  • Add hasAlpha property to output info. #4500

  • TypeScript: Return more precise Buffer<ArrayBuffer> from toBuffer. #4520 @Andarist

  • Bound clahe width and height to avoid signed overflow. #4551 @metsw24-max

  • Bound trim margin to avoid signed overflow. #4552 @metsw24-max

  • Reject infinite values when validating numbers. #4553 @metsw24-max

  • Bound extract region to libvips coordinate limit. #4555 @metsw24-max

  • Verify background colour values are numbers. #4556 @metsw24-max

  • Bound create and raw input dimensions to coordinate limit. #4558 @metsw24-max

  • Tighten recomb and affine matrix verification. #4560 @chatman-media

  • Verify cache memory limit to avoid overflow. #4561 @metsw24-max

2026-06-27 20:01:40
sharp

v0.35.3-rc.1

  • Tighten verification of text dimensions, TIFF tile dimensions and extend values.

  • Improve code bundler support by resolving path to libvips binary.

  • Increase default concurrency when use of MALLOC_ARENA_MAX is detected.

  • Emit warning about binaries provided by Electron for use on Linux.

  • Add hasAlpha property to output info. #4500

  • Bound clahe width and height to avoid signed overflow. #4551 @metsw24-max

  • Bound trim margin to avoid signed overflow. #4552 @metsw24-max

  • Reject infinite values when validating numbers. #4553 @metsw24-max

  • Bound extract region to libvips coordinate limit. #4555 @metsw24-max

  • Verify background colour values are numbers. #4556 @metsw24-max

  • Bound create and raw input dimensions to coordinate limit. #4558 @metsw24-max

  • Tighten recomb and affine matrix verification. #4560 @chatman-media

  • Verify cache memory limit to avoid overflow. #4561 @metsw24-max

2026-06-19 21:30:40
sharp

v0.35.2

  • TypeScript: Add mediaType to metadata response. #4492

  • Improve WebAssembly fallback detection. #4513

  • Improve code bundler support with stub binaries. #4543

  • Verify GIF effort option is an integer. #4544 @metsw24-max

  • Verify recomb matrix entries are numbers. #4545 @metsw24-max

  • TypeScript: Replace namespace with named exports for ESM. #4546

  • Bound dilate and erode width to avoid mask-size overflow. #4548 @metsw24-max

  • Verify convolve kernel values are numbers. #4549 @metsw24-max

2026-06-18 18:02:27
sharp

v0.35.2-rc.2

  • TypeScript: Add mediaType to metadata response. #4492

  • Improve WebAssembly fallback detection. #4513

  • Improve code bundler support with stub binaries. #4543

  • Verify GIF effort option is an integer. #4544 @metsw24-max

  • Verify recomb matrix entries are numbers. #4545 @metsw24-max

  • TypeScript: Replace namespace with named exports for ESM. #4546

  • Bound dilate and erode width to avoid mask-size overflow. #4548 @metsw24-max

2026-06-18 16:55:29
sharp

v0.35.2-rc.1

  • TypeScript: Add mediaType to metadata response. #4492

  • Improve WebAssembly fallback detection. #4513

  • Improve code bundler support with stub binaries. #4543

  • Verify GIF effort option is an integer. #4544 @metsw24-max

  • Verify recomb matrix entries are numbers. #4545 @metsw24-max

  • TypeScript: Replace namespace with named exports for ESM. #4546

  • Bound dilate and erode width to avoid mask-size overflow. #4548 @metsw24-max

2026-06-16 23:56:44
sharp

v0.35.2-rc.0

  • TypeScript: Add mediaType to metadata response. #4492

  • Improve WebAssembly fallback detection. #4513

  • Verify GIF effort option is an integer. #4544 @metsw24-max

  • Verify recomb matrix entries are numbers. #4545 @metsw24-max

  • TypeScript: Replace namespace with named exports for ESM. #4546

2026-06-12 00:57:35
sharp

v0.35.1

  • TypeScript: Ensure type definitions are published for both ESM and CJS. #4537

  • WebAssembly: Ensure wrapper file is published. #4538