Compare commits

...

5 Commits

Author SHA1 Message Date
Lovell Fuller
ee437832e2 Release v0.34.4 2025-09-17 13:57:10 +01:00
Lovell Fuller
529901177b CI/Docs: Deno v2 support 2025-09-17 13:56:49 +01:00
Lovell Fuller
4710092b2a Prerelease v0.34.4-rc.4 2025-09-17 12:53:47 +01:00
Lovell Fuller
ed1ac43e55 CI: Upgrade packaging test dependencies 2025-09-17 12:11:06 +01:00
Lovell Fuller
dfcbceee4b Upgrade sharp-libvips to v1.2.3 2025-09-17 12:10:36 +01:00
19 changed files with 64 additions and 61 deletions

View File

@ -96,7 +96,7 @@ jobs:
steps:
- name: Install Node.js
if: ${{ matrix.runtime == 'node' }}
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: 20
- name: Install pnpm
@ -106,9 +106,9 @@ jobs:
version: 8
- name: Install Deno
if: ${{ matrix.runtime == 'deno' }}
uses: denoland/setup-deno@v1
uses: denoland/setup-deno@v2
with:
deno-version: v1.x
deno-version: v2.x
- name: Install Bun
if: ${{ matrix.runtime == 'bun' }}
uses: oven-sh/setup-bun@v2
@ -117,7 +117,7 @@ jobs:
- name: Version
id: version
uses: actions/github-script@v7
uses: actions/github-script@v8
with:
script: |
core.setOutput('semver', context.ref.replace('refs/tags/v',''))
@ -185,7 +185,9 @@ jobs:
- name: Run with Deno
if: ${{ matrix.runtime == 'deno' }}
run: deno run --allow-read --allow-ffi release.mjs
run: |
deno install
deno run --allow-env --allow-ffi --allow-read --allow-sys release.mjs
- name: Run with Bun
if: ${{ matrix.runtime == 'bun' }}

View File

@ -1,5 +1,5 @@
---
title: v0.34.4 - TBD
title: v0.34.4 - 17th September 2025
slug: changelog/v0.34.4
---

View File

@ -20,7 +20,7 @@ npm install sharp
pnpm add sharp
```
When using `pnpm`, you may need to add `sharp` to
When using `pnpm`, add `sharp` to
[ignoredBuiltDependencies](https://pnpm.io/settings#ignoredbuiltdependencies)
to silence warnings.
@ -33,7 +33,8 @@ bun add sharp
```
```sh frame="none"
deno run --allow-ffi ...
deno add --quiet npm:sharp
deno run --allow-env --allow-ffi --allow-read --allow-sys ...
```
## Prerequisites

View File

@ -1,6 +1,6 @@
{
"name": "@img/sharp-darwin-arm64",
"version": "0.34.4-rc.3",
"version": "0.34.4",
"description": "Prebuilt sharp for use with macOS 64-bit ARM",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",
@ -15,7 +15,7 @@
},
"preferUnplugged": true,
"optionalDependencies": {
"@img/sharp-libvips-darwin-arm64": "1.2.2"
"@img/sharp-libvips-darwin-arm64": "1.2.3"
},
"files": [
"lib"

View File

@ -1,6 +1,6 @@
{
"name": "@img/sharp-darwin-x64",
"version": "0.34.4-rc.3",
"version": "0.34.4",
"description": "Prebuilt sharp for use with macOS x64",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",
@ -15,7 +15,7 @@
},
"preferUnplugged": true,
"optionalDependencies": {
"@img/sharp-libvips-darwin-x64": "1.2.2"
"@img/sharp-libvips-darwin-x64": "1.2.3"
},
"files": [
"lib"

View File

@ -1,6 +1,6 @@
{
"name": "@img/sharp-linux-arm",
"version": "0.34.4-rc.3",
"version": "0.34.4",
"description": "Prebuilt sharp for use with Linux (glibc) ARM (32-bit)",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",
@ -15,7 +15,7 @@
},
"preferUnplugged": true,
"optionalDependencies": {
"@img/sharp-libvips-linux-arm": "1.2.2"
"@img/sharp-libvips-linux-arm": "1.2.3"
},
"files": [
"lib"

View File

@ -1,6 +1,6 @@
{
"name": "@img/sharp-linux-arm64",
"version": "0.34.4-rc.3",
"version": "0.34.4",
"description": "Prebuilt sharp for use with Linux (glibc) 64-bit ARM",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",
@ -15,7 +15,7 @@
},
"preferUnplugged": true,
"optionalDependencies": {
"@img/sharp-libvips-linux-arm64": "1.2.2"
"@img/sharp-libvips-linux-arm64": "1.2.3"
},
"files": [
"lib"

View File

@ -1,6 +1,6 @@
{
"name": "@img/sharp-linux-ppc64",
"version": "0.34.4-rc.3",
"version": "0.34.4",
"description": "Prebuilt sharp for use with Linux (glibc) ppc64",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",
@ -15,7 +15,7 @@
},
"preferUnplugged": true,
"optionalDependencies": {
"@img/sharp-libvips-linux-ppc64": "1.2.2"
"@img/sharp-libvips-linux-ppc64": "1.2.3"
},
"files": [
"lib"

View File

@ -1,6 +1,6 @@
{
"name": "@img/sharp-linux-s390x",
"version": "0.34.4-rc.3",
"version": "0.34.4",
"description": "Prebuilt sharp for use with Linux (glibc) s390x",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",
@ -15,7 +15,7 @@
},
"preferUnplugged": true,
"optionalDependencies": {
"@img/sharp-libvips-linux-s390x": "1.2.2"
"@img/sharp-libvips-linux-s390x": "1.2.3"
},
"files": [
"lib"

View File

@ -1,6 +1,6 @@
{
"name": "@img/sharp-linux-x64",
"version": "0.34.4-rc.3",
"version": "0.34.4",
"description": "Prebuilt sharp for use with Linux (glibc) x64",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",
@ -15,7 +15,7 @@
},
"preferUnplugged": true,
"optionalDependencies": {
"@img/sharp-libvips-linux-x64": "1.2.2"
"@img/sharp-libvips-linux-x64": "1.2.3"
},
"files": [
"lib"

View File

@ -1,6 +1,6 @@
{
"name": "@img/sharp-linuxmusl-arm64",
"version": "0.34.4-rc.3",
"version": "0.34.4",
"description": "Prebuilt sharp for use with Linux (musl) 64-bit ARM",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",
@ -15,7 +15,7 @@
},
"preferUnplugged": true,
"optionalDependencies": {
"@img/sharp-libvips-linuxmusl-arm64": "1.2.2"
"@img/sharp-libvips-linuxmusl-arm64": "1.2.3"
},
"files": [
"lib"

View File

@ -1,6 +1,6 @@
{
"name": "@img/sharp-linuxmusl-x64",
"version": "0.34.4-rc.3",
"version": "0.34.4",
"description": "Prebuilt sharp for use with Linux (musl) x64",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",
@ -15,7 +15,7 @@
},
"preferUnplugged": true,
"optionalDependencies": {
"@img/sharp-libvips-linuxmusl-x64": "1.2.2"
"@img/sharp-libvips-linuxmusl-x64": "1.2.3"
},
"files": [
"lib"

View File

@ -1,6 +1,6 @@
{
"name": "@img/sharp",
"version": "0.34.4-rc.3",
"version": "0.34.4",
"private": "true",
"workspaces": [
"darwin-arm64",

View File

@ -1,6 +1,6 @@
{
"name": "@img/sharp-wasm32",
"version": "0.34.4-rc.3",
"version": "0.34.4",
"description": "Prebuilt sharp for use with wasm32",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",

View File

@ -1,6 +1,6 @@
{
"name": "@img/sharp-win32-arm64",
"version": "0.34.4-rc.3",
"version": "0.34.4",
"description": "Prebuilt sharp for use with Windows 64-bit ARM",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",

View File

@ -1,6 +1,6 @@
{
"name": "@img/sharp-win32-ia32",
"version": "0.34.4-rc.3",
"version": "0.34.4",
"description": "Prebuilt sharp for use with Windows x86 (32-bit)",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",

View File

@ -1,6 +1,6 @@
{
"name": "@img/sharp-win32-x64",
"version": "0.34.4-rc.3",
"version": "0.34.4",
"description": "Prebuilt sharp for use with Windows x64",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",

View File

@ -1,7 +1,7 @@
{
"name": "sharp",
"description": "High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, GIF, AVIF and TIFF images",
"version": "0.34.4-rc.3",
"version": "0.34.4",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",
"contributors": [
@ -142,36 +142,36 @@
"semver": "^7.7.2"
},
"optionalDependencies": {
"@img/sharp-darwin-arm64": "0.34.4-rc.3",
"@img/sharp-darwin-x64": "0.34.4-rc.3",
"@img/sharp-libvips-darwin-arm64": "1.2.2",
"@img/sharp-libvips-darwin-x64": "1.2.2",
"@img/sharp-libvips-linux-arm": "1.2.2",
"@img/sharp-libvips-linux-arm64": "1.2.2",
"@img/sharp-libvips-linux-ppc64": "1.2.2",
"@img/sharp-libvips-linux-s390x": "1.2.2",
"@img/sharp-libvips-linux-x64": "1.2.2",
"@img/sharp-libvips-linuxmusl-arm64": "1.2.2",
"@img/sharp-libvips-linuxmusl-x64": "1.2.2",
"@img/sharp-linux-arm": "0.34.4-rc.3",
"@img/sharp-linux-arm64": "0.34.4-rc.3",
"@img/sharp-linux-ppc64": "0.34.4-rc.3",
"@img/sharp-linux-s390x": "0.34.4-rc.3",
"@img/sharp-linux-x64": "0.34.4-rc.3",
"@img/sharp-linuxmusl-arm64": "0.34.4-rc.3",
"@img/sharp-linuxmusl-x64": "0.34.4-rc.3",
"@img/sharp-wasm32": "0.34.4-rc.3",
"@img/sharp-win32-arm64": "0.34.4-rc.3",
"@img/sharp-win32-ia32": "0.34.4-rc.3",
"@img/sharp-win32-x64": "0.34.4-rc.3"
"@img/sharp-darwin-arm64": "0.34.4",
"@img/sharp-darwin-x64": "0.34.4",
"@img/sharp-libvips-darwin-arm64": "1.2.3",
"@img/sharp-libvips-darwin-x64": "1.2.3",
"@img/sharp-libvips-linux-arm": "1.2.3",
"@img/sharp-libvips-linux-arm64": "1.2.3",
"@img/sharp-libvips-linux-ppc64": "1.2.3",
"@img/sharp-libvips-linux-s390x": "1.2.3",
"@img/sharp-libvips-linux-x64": "1.2.3",
"@img/sharp-libvips-linuxmusl-arm64": "1.2.3",
"@img/sharp-libvips-linuxmusl-x64": "1.2.3",
"@img/sharp-linux-arm": "0.34.4",
"@img/sharp-linux-arm64": "0.34.4",
"@img/sharp-linux-ppc64": "0.34.4",
"@img/sharp-linux-s390x": "0.34.4",
"@img/sharp-linux-x64": "0.34.4",
"@img/sharp-linuxmusl-arm64": "0.34.4",
"@img/sharp-linuxmusl-x64": "0.34.4",
"@img/sharp-wasm32": "0.34.4",
"@img/sharp-win32-arm64": "0.34.4",
"@img/sharp-win32-ia32": "0.34.4",
"@img/sharp-win32-x64": "0.34.4"
},
"devDependencies": {
"@emnapi/runtime": "^1.5.0",
"@img/sharp-libvips-dev": "1.2.2",
"@img/sharp-libvips-dev-wasm32": "1.2.2",
"@img/sharp-libvips-win32-arm64": "1.2.2",
"@img/sharp-libvips-win32-ia32": "1.2.2",
"@img/sharp-libvips-win32-x64": "1.2.2",
"@img/sharp-libvips-dev": "1.2.3",
"@img/sharp-libvips-dev-wasm32": "1.2.3",
"@img/sharp-libvips-win32-arm64": "1.2.3",
"@img/sharp-libvips-win32-ia32": "1.2.3",
"@img/sharp-libvips-win32-x64": "1.2.3",
"@types/node": "*",
"cc": "^3.0.1",
"emnapi": "^1.5.0",
@ -185,7 +185,7 @@
"node-gyp": "^11.4.2",
"nyc": "^17.1.0",
"semistandard": "^17.0.0",
"tar-fs": "^3.1.0",
"tar-fs": "^3.1.1",
"tsd": "^0.33.0"
},
"license": "Apache-2.0",

View File

@ -179,7 +179,7 @@ describe('libvips binaries', function () {
process.env.npm_config_arch = 's390x';
process.env.npm_config_libc = '';
const locatorHash = libvips.yarnLocator();
assert.strictEqual(locatorHash, '9773928ef2');
assert.strictEqual(locatorHash, '7c141893d6');
delete process.env.npm_config_platform;
delete process.env.npm_config_arch;
delete process.env.npm_config_libc;