Upgrade to libvips v8.9.0-rc4, drop support for Node.js 8

This commit is contained in:
Lovell Fuller
2020-01-02 21:12:56 +00:00
parent 755a0caf3d
commit a216d2945b
26 changed files with 499 additions and 103 deletions

View File

@@ -32,6 +32,10 @@ sharp('rgb.jpg')
Returns **Sharp**
**Meta**
- **since**: 0.21.2
## extractChannel
Extract a single channel from a multi-channel image.

View File

@@ -61,6 +61,10 @@ sharp('input.png')
Returns **Sharp**
**Meta**
- **since**: 0.22.0
[1]: https://libvips.github.io/libvips/API/current/libvips-conversion.html#VipsBlendMode
[2]: https://www.cairographics.org/operators/

View File

@@ -287,6 +287,10 @@ sharp(input)
Returns **Sharp**
**Meta**
- **since**: 0.21.1
## modulate
Transforms the image using brightness, saturation and hue rotation.
@@ -322,6 +326,10 @@ sharp(input)
Returns **Sharp**
**Meta**
- **since**: 0.22.1
[1]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number
[2]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object

View File

@@ -268,6 +268,10 @@ Most versions of libheif support only the patent-encumbered HEVC compression for
Returns **Sharp**
**Meta**
- **since**: 0.23.0
## raw
Force output to be raw, uncompressed uint8 pixel data.

View File

@@ -1,14 +1,21 @@
# Changelog
### v0.24 - "*wit*"
Requires libvips v8.9.0.
#### v0.24.0 - TBD
* Drop support for Node.js 8.
[#1910](https://github.com/lovell/sharp/issues/1910)
* Ensure correct colour output for 16-bit, 2-channel PNG input with ICC profile.
[#2013](https://github.com/lovell/sharp/issues/2013)
### v0.23 - "*vision*"
Requires libvips v8.8.1.
#### v0.23.5 - TBD
* Ensure correct colour output for 16-bit, 2-channel PNG input with ICC profile.
[#2013](https://github.com/lovell/sharp/issues/2013)
#### v0.23.4 - 5<sup>th</sup> December 2019
* Handle zero-length Buffer objects when using Node.js v13.2.0+.

View File

@@ -17,7 +17,7 @@ As well as image resizing, operations such as
rotation, extraction, compositing and gamma correction are available.
Most modern 64-bit OS X, Windows and Linux systems running
Node versions 8, 10, 12 and 13
Node versions 10, 12 and 13
do not require any additional install or runtime dependencies.
[![Test Coverage](https://coveralls.io/repos/lovell/sharp/badge.png?branch=master)](https://coveralls.io/r/lovell/sharp?branch=master)

View File

@@ -10,12 +10,12 @@ yarn add sharp
## Prerequisites
* Node.js v8.5.0+
* Node.js v10.13.0+
### Building from source
Pre-compiled binaries for sharp are provided for use with
Node versions 8, 10, 12 and 13 on
Node versions 10, 12 and 13 on
64-bit Windows, OS X and Linux platforms.
Sharp will be built from source at install time when: