2320 Commits

Author SHA1 Message Date
Lovell Fuller
e1628d8ef5
Simplify ICC processing when retaining input profiles #4468
Takes advantage of libvips' improved ICC handling
2025-11-04 15:06:49 +00:00
Lovell Fuller
4f9f8179a6
Linter: apply all recommended biome settings
Enforces previously-skipped useArrowFunction check
2025-11-04 09:41:45 +00:00
Lovell Fuller
09d5aa8cfa Docs: update internal and libvips doc links 2025-11-02 14:38:22 +00:00
Lovell Fuller
040b73ca74 Upgrade to libvips v8.17.3 2025-11-01 12:23:32 +00:00
Lovell Fuller
1f2f33d9a7 Ensure licensing headers are retained by code bundlers 2025-10-31 11:52:41 +00:00
Kleis Auke Wolthuizen
69b2c45615
Tests: migrate text suite to async (#4466) 2025-10-27 16:21:37 +00:00
Lovell Fuller
9e4e184132 Add experimental support for prebuilt linux-riscv64 binaries 2025-10-19 11:56:45 +01:00
Lovell Fuller
206eb4a89a Limit colour strings to 200 chars, helps reduce effect of potential ReDoS 2025-10-18 14:52:17 +01:00
Lovell Fuller
c1c16ed3e6 Improve error messaging when only warnings issued #4465 2025-10-17 14:57:38 +01:00
Lovell Fuller
b7fda60a85 Bump deps 2025-10-17 14:56:17 +01:00
Lovell Fuller
1bbee519aa Separate build script from install script #4458
The --build-from-source flag is now deprecated and will soon
be removed along with the need to define an install script.

This will remove a whole category of package manager
warnings about install scripts and "built" dependencies.

Most people don't need to build sharp from source, but for
those that do, a suitable method is now something like:

$ npm install package-that-depends-on-sharp
$ npm explore sharp -- npm run build
2025-10-07 16:11:54 +01:00
Lovell Fuller
2324d75f7f CI: Upgrade to macOS 15 (Sequoia) 2025-10-05 11:28:58 +01:00
Lovell Fuller
5e72ad95fa Docs: changelog entry for #4459 2025-09-30 10:54:00 +01:00
throwbi
6b922b30d5
Add support for BigTIFF output (#4459) 2025-09-30 09:41:02 +01:00
Lovell Fuller
54722dd582 Modernise C++ linter using new @cpplint/cli tooling 2025-09-22 14:59:52 +01:00
Lovell Fuller
adb6275ae9 Remove licensing checker/linter
This tool appears to no longer be maintained, but more
importantly there are far fewer production dependencies now
than when first introduced, and all are known/trusted.
2025-09-21 12:11:02 +01:00
Lovell Fuller
f2978651f0 Migrate from mocha to Node.js native test runner
Includes coverage reports when using Node.js 22 onwards
2025-09-21 12:03:27 +01:00
Kleis Auke Wolthuizen
c446d743a2
Docs: libvips manages its own thread pool (#4455) 2025-09-20 13:03:38 +01:00
Lovell Fuller
3498eb63e3 Docs: partially-revert 3009957, fix link to glibc malloc tunables 2025-09-20 10:47:43 +01:00
Lovell Fuller
3009957120 Docs: Add note about libvips thread pool sizing 2025-09-19 13:13:53 +01:00
Lovell Fuller
b36237ddcb Switch linter from semistandard to biome
Uses the recommended rules apart from complexity/useArrowFunction,
which would affect about 1700 lines of code with little benefit
right now. This is something that can be addressed over time.
2025-09-18 21:18:31 +01:00
Lovell Fuller
a0af662d78 CI: Separate platform-independent linter tasks
Run these before platform-specific build/testing tasks
2025-09-18 13:21:03 +01:00
Lovell Fuller
ee437832e2 Release v0.34.4 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 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
Lovell Fuller
35d3f56c67 Ensure TIFF subifd and OpenSlide level are respected
Fixes regression introduced in 852c7f8
2025-09-16 08:44:08 +01:00
Lovell Fuller
9f4bace03b Prerelease v0.34.4-rc.3 v0.34.4-rc.3 2025-09-15 11:18:53 +01:00
Lovell Fuller
b507831a11 CI: Remove dry-run flag
This was temporary whilst setting up auto-publish
2025-09-15 11:18:00 +01:00
Lovell Fuller
905f69837e Prerelease v0.34.4-rc.2 v0.34.4-rc.2 2025-09-15 10:13:47 +01:00
Lovell Fuller
b0154ed83c Upgrade sharp-libvips to v1.2.2 2025-09-15 10:01:04 +01:00
Lovell Fuller
93b814f849 Upgrade to libvips v8.17.2 2025-09-14 12:23:16 +01:00
Lovell Fuller
6d4d44e2fa Docs: improve FreeBSD build-from-source install help 2025-09-13 13:37:35 +01:00
Lovell Fuller
d8686e7c64 Ensure Electron support for images with XMP metadata #4451 2025-09-12 12:33:59 +01:00
Lovell Fuller
23a0e81d98 Docs: changelog and credit for #4452 2025-09-12 11:50:16 +01:00
Maël Nison
43b579c903
Add sharp-libvips rpath for yarn v5 support (#4452)
This should future proof sharp against upcoming
changes in yarn's plug-n-play filesystem layout.
2025-09-12 11:15:04 +01:00
Lovell Fuller
45f8717900 Upgrade color to latest version via CommonJS wrapper package
Allows continued support of non-ESM runtimes - see #4450
2025-09-10 09:21:14 +01:00
Lovell Fuller
c270455007 Bump deps 2025-09-10 08:43:47 +01:00
Lovell Fuller
1835288ab8 Docs: remove frame clutter from code samples 2025-09-08 11:10:51 +01:00
Lovell Fuller
c1e33de33c CI: Automate npm publish-with-provenance
Temporarily flagged with dry-run for now
2025-09-01 12:37:16 +01:00
Lovell Fuller
0e4b648593 Ensure unlimited flag is passed to tiffload #4446 2025-08-29 23:29:24 +01:00
Kleis Auke Wolthuizen
40be212bba Use modern -s command line lists
See: emscripten-core/emscripten@bb615a9
2025-08-29 09:37:59 +01:00
Kleis Auke Wolthuizen
8ceeda9ae9 Remove -sNODEJS_CATCH_EXIT=0 linker flag
Disabled by default since Emscripten 3.1.65, see commit:
emscripten-core/emscripten@cd831e7
2025-08-29 09:37:59 +01:00
Kleis Auke Wolthuizen
16e248f93e Remove -sWASM_BIGINT linker flag
Enabled by default since Emscripten 4.0.0, see commit:
emscripten-core/emscripten@93d2f8d
2025-08-29 09:37:59 +01:00
Kleis Auke Wolthuizen
b77c97067a Remove -sTEXTDECODER=0 linker flag
See: emscripten-core/emscripten@b490c44
2025-08-29 09:37:59 +01:00
Lovell Fuller
660bbdb1c0 Docs: changelog for #4441 2025-08-22 20:01:46 +01:00
Lovell Fuller
4164705113 Bump devDeps 2025-08-22 20:01:18 +01:00
Bayan Bennett
c01e272db5
TypeScript: Ensure KernelEnum includes linear (#4441) 2025-08-21 09:35:41 +01:00
Lovell Fuller
8607ff2f4a Tests: remove extraneous use of toColourspace 2025-08-18 10:33:32 +01:00