Lovell Fuller
844deaf480
Release v0.31.3
v0.31.3
2022-12-21 15:57:10 +00:00
Lovell Fuller
efbb0c22fd
Docs: add image with examples of resize fit property
2022-12-21 15:47:39 +00:00
Lovell Fuller
da0b594900
Docs: update benchmarks for latest versions, add ARM64 results
2022-12-20 19:49:29 +00:00
Lovell Fuller
78dada9126
Tests: skip mapnik and tensorflow for Docker-run benchmarks
...
Maintainance of mapnik seems to have stalled, no ARM64 support
Memory requirements of Tensorflow too high, hangs/crashes on AMD64
2022-12-20 18:20:59 +00:00
Lovell Fuller
15f5cd4671
Tests: move mapnik to optional deps
...
It does not currently support ARM64
2022-12-19 19:47:46 +00:00
Lovell Fuller
9eb2e94404
Tests: update benchmark dependencies
2022-12-17 14:29:11 +00:00
Lovell Fuller
e40b068628
Tests: update leak suppresions for latest dependencies
2022-12-14 21:57:42 +00:00
Lovell Fuller
2c46528269
Docs refresh
2022-12-14 16:17:42 +00:00
Lovell Fuller
584807b4f5
Add runtime detection of V8 memory cage #3384
...
When using the V8 memory cage, Buffers cannot be wrapped and then
later freed via a callback. When the cage is detected via a throw,
instead fall back to copying Buffer contents to V8 memory.
This approach will be used by Electron 21+ and you should expect
reduced performance and increased memory consumption/fragmentation.
2022-12-14 16:06:04 +00:00
Lovell Fuller
a7fa7014ef
Add experimental support for JPEG-XL, requires libvips with libjxl
...
The prebuilt binaries do not include support for this format.
2022-12-13 21:55:17 +00:00
Lovell Fuller
f92e33fbff
Bump devDeps
2022-12-13 10:31:06 +00:00
Lovell Fuller
0f1e7ef6f6
Install: add support for Linux with glibc patch version #3423
2022-12-09 12:03:41 +00:00
Lennart
89e204d824
Docs: clarify failOn
property applies to decoding pixel values ( #3481 )
2022-12-08 16:13:18 +00:00
Lovell Fuller
2a71f1830f
Expand range of sharpen params to match libvips #3427
2022-12-07 09:28:01 +00:00
Lovell Fuller
def99a294a
Install: log proxy use, if any, to aid with debugging
2022-12-06 19:35:47 +00:00
Lovell Fuller
9d760f3958
Improve perf of ops that introduce non-opaque background #3465
2022-12-05 20:40:41 +00:00
Lovell Fuller
0265d305fe
Ensure integral output of linear op #3468
2022-12-04 21:41:15 +00:00
Lovell Fuller
a472aea025
Ignore sequentialRead option for stats #3462
2022-11-20 21:30:45 +00:00
Lovell Fuller
01ffa80338
Improve extractChannel support for 16-bit output #3453
2022-11-15 15:00:32 +00:00
Lovell Fuller
789d4851ea
Tests: remove flaky font assertions
...
Probably due to Windows CI env font discovery
2022-11-15 10:08:43 +00:00
Lovell Fuller
4490a93430
Tests: simplify beforeEach configuration
...
Remove legacy settings for previous CI providers/hardware
2022-11-15 09:54:29 +00:00
Ingvar Stepanyan
ac0dc10bd5
Tests: convert mocha hooks ( #3450 )
2022-11-15 08:58:09 +00:00
Lovell Fuller
5740f4545e
Expose GIF opts: interFrameMaxError, interPaletteMaxError #3401
2022-11-14 16:09:52 +00:00
Lovell Fuller
a9d692fb43
Reduce chance of race condition in test for... race condition
2022-11-13 10:16:47 +00:00
Lovell Fuller
df971207b8
Prevent possible race condition when reading metadata #3451
2022-11-13 10:04:55 +00:00
Ingvar Stepanyan
3a64a0529a
Tests: run in parallel, move settings to config file ( #3449 )
...
This allows to easily invoke Mocha alone via `npx mocha`, or for e.g. VSCode Test Explorer to find and run tests with the correct settings automatically.
2022-11-10 21:48:18 +00:00
Peter Whidden
76cda885fb
Docs: fix minor typo in resize properties ( #3444 )
2022-11-09 08:44:05 +00:00
Ingvar Stepanyan
1a563360c6
Fix errors for missing OpenJPEG ( #3442 )
...
Fixes couple of minor issues with JP2 errors:
1. The tests passed as false-positives even if regex is changed to arbitary pattern, because the promise returned from `assert.rejects` was ignored and the test ended prematurely. This is fixed by removing `{ ... }` around the test function body.
2. This, in turn, hid an issue with `toFile` not throwing the expected error message which was instead propagating `Error: VipsOperation: class "jp2ksave" not found` from libvips. This is now fixed by manually checking the extension before calling into libvips.
3. Pre-creating error instances like `errJp2Save` did is sometimes tempting, but is problematic for debugging because it hides the actual stacktrace of the error (the stacktrace is collected at the moment of `new Error` creation). This is now turned into a function that creates error with the right stack.
2022-11-08 19:53:14 +00:00
Lovell Fuller
ca22af203f
Docs: canvas on Windows uses MSVCRT, conflicts with UCRT
2022-11-07 21:14:51 +00:00
Lovell Fuller
9fa516e849
Release v0.31.2
v0.31.2
2022-11-04 09:44:37 +00:00
Lovell Fuller
12f472126d
CI: Only pin Python version on x64 macOS and Windows
...
See commit 18be09f
2022-11-03 14:49:12 +00:00
Lovell Fuller
18be09f1d7
CI: Pin Python to 3.10
...
Python 3.11 removes support for opening files in
'universal newline' mode (e.g. 'rU'), however older
versions of node-gyp such as v6 still use it.
2022-11-03 14:40:16 +00:00
Lovell Fuller
b3c3290f90
Upgrade to libvips v8.13.3
2022-11-03 14:09:23 +00:00
Lovell Fuller
123f95c85a
Bump devDeps
2022-11-03 12:50:58 +00:00
Lovell Fuller
5b0fba4c01
Ensure auto-rotate always works without resize #3422
2022-11-02 13:59:34 +00:00
Lovell Fuller
37f7ccfff4
CI: upgrade to checkout v3
2022-10-17 16:05:30 +01:00
Lovell Fuller
51811d06e2
Bump deps
2022-10-17 16:05:03 +01:00
Lovell Fuller
181731f8f4
Tests: increase timeout to 30s
...
Font discovery appears to be slooow on Windows
2022-10-17 15:54:43 +01:00
Gino Emiliozzi
ae79d26ead
Docs: help clarify 'fit' is option name, not value ( #3410 )
2022-10-17 15:26:59 +01:00
Lovell Fuller
eacb8337fa
Ensure manual flip, rotate, resize op order #3391
2022-10-01 11:55:29 +01:00
Lovell Fuller
99bf279de8
Release v0.31.1
v0.31.1
2022-09-29 14:51:45 +01:00
Lovell Fuller
1b0eb6ab53
Tests: add assertion to existing scenario #3357
2022-09-29 14:21:37 +01:00
Lovell Fuller
891cf67d0b
Upgrade to libvips v8.13.2
2022-09-29 14:19:58 +01:00
Lovell Fuller
eaf8a86bf2
Tests: increase timeout to 20s
...
Ignore unit coverage of fn used at install time
2022-09-27 14:25:34 +01:00
Lovell Fuller
3400976d61
Tests: ignore a branch for coverage check
2022-09-27 14:10:49 +01:00
Lovell Fuller
2d49f0e93e
Tests: require 100% branch coverage to pass
...
Remove old coverage tooling, coveralls
2022-09-27 13:49:42 +01:00
Lovell Fuller
b0c69f1ee9
CI: use clearer job names
2022-09-27 10:02:20 +01:00
Lovell Fuller
27d0c35a01
CI: use clearer job names
2022-09-27 09:23:30 +01:00
Alex
32a22b5420
CI: GitHub Workflows security hardening ( #3377 )
...
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-26 11:25:49 +01:00
Lovell Fuller
d1004eed02
Ensure greyscale images can be trimmed #3386
2022-09-26 10:15:25 +01:00