sharp v0.35.3 Release Notes

Release Date: 2026-07-01 // 5 months ago
    • 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


Previous changes from 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