npm sharp 0.35.6-rc.0

one hour ago

https://github.com/lovell/sharp-libvips/releases/tag/v1.3.5-rc.1

  • Fix potential memory leak when requesting transferable ArrayBuffer via toUint8Array.

  • Fix potential memory leak when extending animated images.

  • Fix potential memory leak when shrink-on-load fails to re-open a file.

  • Tighten withExif validation to ensure IFD-prefixed keys.

  • Ensure info for CMYK JPEG output contains correct channel count.

  • Improve pipelineColourspace ICC profile colour management.
    #4596
    @mertalev

  • Further improve gain map support for uncached rotate operations.
    #4606

  • Prevent possible corruption when retaining ICC profile.
    #4615
    @metsw24-max

  • Prevent memory leak when retaining gain map.
    #4617
    @metsw24-max

  • Ensure frame delay repeat count is clamped.
    #4618
    @metsw24-max

  • Prevent memory leak during error path when retaining ICC profile.
    #4620

  • Ensure HEVC compression defaults to SSIM tuning.
    #4621

  • Ensure null is not treated as an object during validation.
    #4630
    @lazerg

  • Add upper bounds check on withDensity and withMetadata density.
    #4631
    @metsw24-max

  • Keep animation properties when saving JPEG XL.
    #4632
    @janaz

  • Ensure sequentialRead option is honoured.
    #4633
    @cherenkov

  • Reject join.across and join.shim for animated joins.
    #4634
    @metsw24-max

  • Normalise rotate and tile angle modulo 360 to avoid 32-bit truncation.
    #4637
    @metsw24-max

  • Ensure all input options apply to joined images.
    #4643
    @metsw24-max

  • Ensure 16-bit P3 input is converted to sRGB for 8-bit output.
    #4652
    @lazerg

  • Return stats channel min and max as float rather than integer.
    #4657
    @metsw24-max

  • Fix possible race condition where stats and metadata could resolve rather than reject.
    #4660

  • Ensure metadata can be retained in JP2 output.
    #4661
    @chronikum

Don't miss a new sharp release

NewReleases is sending notifications on new releases.