mirror of
https://github.com/lovell/sharp.git
synced 2025-07-08 18:20:13 +02:00
Upgrade to libvips v8.17.1
This commit is contained in:
parent
8ee8d273ee
commit
2cd2f8430a
@ -4,11 +4,11 @@ title: Changelog
|
|||||||
|
|
||||||
## v0.34 - *hat*
|
## v0.34 - *hat*
|
||||||
|
|
||||||
Requires libvips v8.17.0
|
Requires libvips v8.17.1
|
||||||
|
|
||||||
### v0.34.3 - TBD
|
### v0.34.3 - TBD
|
||||||
|
|
||||||
* Upgrade to libvips v8.17.0 for upstream bug fixes.
|
* Upgrade to libvips v8.17.1 for upstream bug fixes.
|
||||||
|
|
||||||
* Add "Magic Kernel Sharp" (no relation) to resizing kernels.
|
* Add "Magic Kernel Sharp" (no relation) to resizing kernels.
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-libvips-darwin-arm64": "1.2.0-rc.3"
|
"@img/sharp-libvips-darwin-arm64": "1.2.0-rc.4"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"lib"
|
"lib"
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-libvips-darwin-x64": "1.2.0-rc.3"
|
"@img/sharp-libvips-darwin-x64": "1.2.0-rc.4"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"lib"
|
"lib"
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-libvips-linux-arm": "1.2.0-rc.3"
|
"@img/sharp-libvips-linux-arm": "1.2.0-rc.4"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"lib"
|
"lib"
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-libvips-linux-arm64": "1.2.0-rc.3"
|
"@img/sharp-libvips-linux-arm64": "1.2.0-rc.4"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"lib"
|
"lib"
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-libvips-linux-ppc64": "1.2.0-rc.3"
|
"@img/sharp-libvips-linux-ppc64": "1.2.0-rc.4"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"lib"
|
"lib"
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-libvips-linux-s390x": "1.2.0-rc.3"
|
"@img/sharp-libvips-linux-s390x": "1.2.0-rc.4"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"lib"
|
"lib"
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-libvips-linux-x64": "1.2.0-rc.3"
|
"@img/sharp-libvips-linux-x64": "1.2.0-rc.4"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"lib"
|
"lib"
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-libvips-linuxmusl-arm64": "1.2.0-rc.3"
|
"@img/sharp-libvips-linuxmusl-arm64": "1.2.0-rc.4"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"lib"
|
"lib"
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
},
|
},
|
||||||
"preferUnplugged": true,
|
"preferUnplugged": true,
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-libvips-linuxmusl-x64": "1.2.0-rc.3"
|
"@img/sharp-libvips-linuxmusl-x64": "1.2.0-rc.4"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"lib"
|
"lib"
|
||||||
|
30
package.json
30
package.json
@ -143,15 +143,15 @@
|
|||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-darwin-arm64": "0.34.3-rc.0",
|
"@img/sharp-darwin-arm64": "0.34.3-rc.0",
|
||||||
"@img/sharp-darwin-x64": "0.34.3-rc.0",
|
"@img/sharp-darwin-x64": "0.34.3-rc.0",
|
||||||
"@img/sharp-libvips-darwin-arm64": "1.2.0-rc.3",
|
"@img/sharp-libvips-darwin-arm64": "1.2.0-rc.4",
|
||||||
"@img/sharp-libvips-darwin-x64": "1.2.0-rc.3",
|
"@img/sharp-libvips-darwin-x64": "1.2.0-rc.4",
|
||||||
"@img/sharp-libvips-linux-arm": "1.2.0-rc.3",
|
"@img/sharp-libvips-linux-arm": "1.2.0-rc.4",
|
||||||
"@img/sharp-libvips-linux-arm64": "1.2.0-rc.3",
|
"@img/sharp-libvips-linux-arm64": "1.2.0-rc.4",
|
||||||
"@img/sharp-libvips-linux-ppc64": "1.2.0-rc.3",
|
"@img/sharp-libvips-linux-ppc64": "1.2.0-rc.4",
|
||||||
"@img/sharp-libvips-linux-s390x": "1.2.0-rc.3",
|
"@img/sharp-libvips-linux-s390x": "1.2.0-rc.4",
|
||||||
"@img/sharp-libvips-linux-x64": "1.2.0-rc.3",
|
"@img/sharp-libvips-linux-x64": "1.2.0-rc.4",
|
||||||
"@img/sharp-libvips-linuxmusl-arm64": "1.2.0-rc.3",
|
"@img/sharp-libvips-linuxmusl-arm64": "1.2.0-rc.4",
|
||||||
"@img/sharp-libvips-linuxmusl-x64": "1.2.0-rc.3",
|
"@img/sharp-libvips-linuxmusl-x64": "1.2.0-rc.4",
|
||||||
"@img/sharp-linux-arm": "0.34.3-rc.0",
|
"@img/sharp-linux-arm": "0.34.3-rc.0",
|
||||||
"@img/sharp-linux-arm64": "0.34.3-rc.0",
|
"@img/sharp-linux-arm64": "0.34.3-rc.0",
|
||||||
"@img/sharp-linux-ppc64": "0.34.3-rc.0",
|
"@img/sharp-linux-ppc64": "0.34.3-rc.0",
|
||||||
@ -166,11 +166,11 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@emnapi/runtime": "^1.4.3",
|
"@emnapi/runtime": "^1.4.3",
|
||||||
"@img/sharp-libvips-dev": "1.2.0-rc.3",
|
"@img/sharp-libvips-dev": "1.2.0-rc.4",
|
||||||
"@img/sharp-libvips-dev-wasm32": "1.2.0-rc.3",
|
"@img/sharp-libvips-dev-wasm32": "1.2.0-rc.4",
|
||||||
"@img/sharp-libvips-win32-arm64": "1.2.0-rc.3",
|
"@img/sharp-libvips-win32-arm64": "1.2.0-rc.4",
|
||||||
"@img/sharp-libvips-win32-ia32": "1.2.0-rc.3",
|
"@img/sharp-libvips-win32-ia32": "1.2.0-rc.4",
|
||||||
"@img/sharp-libvips-win32-x64": "1.2.0-rc.3",
|
"@img/sharp-libvips-win32-x64": "1.2.0-rc.4",
|
||||||
"@types/node": "*",
|
"@types/node": "*",
|
||||||
"cc": "^3.0.1",
|
"cc": "^3.0.1",
|
||||||
"emnapi": "^1.4.3",
|
"emnapi": "^1.4.3",
|
||||||
@ -192,7 +192,7 @@
|
|||||||
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
|
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"libvips": ">=8.17.0"
|
"libvips": ">=8.17.1"
|
||||||
},
|
},
|
||||||
"funding": {
|
"funding": {
|
||||||
"url": "https://opencollective.com/libvips"
|
"url": "https://opencollective.com/libvips"
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
|
|
||||||
#if (VIPS_MAJOR_VERSION < 8) || \
|
#if (VIPS_MAJOR_VERSION < 8) || \
|
||||||
(VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION < 17) || \
|
(VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION < 17) || \
|
||||||
(VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION == 17 && VIPS_MICRO_VERSION < 0)
|
(VIPS_MAJOR_VERSION == 8 && VIPS_MINOR_VERSION == 17 && VIPS_MICRO_VERSION < 1)
|
||||||
#error "libvips version 8.17.0+ is required - please see https://sharp.pixelplumbing.com/install"
|
#error "libvips version 8.17.1+ is required - please see https://sharp.pixelplumbing.com/install"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__has_include)
|
#if defined(__has_include)
|
||||||
|
@ -179,7 +179,7 @@ describe('libvips binaries', function () {
|
|||||||
process.env.npm_config_arch = 's390x';
|
process.env.npm_config_arch = 's390x';
|
||||||
process.env.npm_config_libc = '';
|
process.env.npm_config_libc = '';
|
||||||
const locatorHash = libvips.yarnLocator();
|
const locatorHash = libvips.yarnLocator();
|
||||||
assert.strictEqual(locatorHash, '20827701d8');
|
assert.strictEqual(locatorHash, '236db00005');
|
||||||
delete process.env.npm_config_platform;
|
delete process.env.npm_config_platform;
|
||||||
delete process.env.npm_config_arch;
|
delete process.env.npm_config_arch;
|
||||||
delete process.env.npm_config_libc;
|
delete process.env.npm_config_libc;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user