All notable changes to wasm-vips will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
v0.0.12 - TBD
Uses libvips v8.16.0, compiled with Emscripten v3.1.74.
- Prevent use of the
/tmp
directory for Node.js on Windows. #84
v0.0.11 - 2024-10-31
Uses libvips v8.16.0, compiled with Emscripten v3.1.70.
- Avoid pointer arguments in
SourceCustom.onRead
andTargetCustom.onWrite
callbacks. #74 - Update methods/enums for libvips 8.16.
- Fix Deno compatibility (regression in 0.0.9). #81
- Remove redundant
vips.bigintToI53Checked()
helper.
v0.0.10 - 2024-08-14
Uses libvips v8.15.3, compiled with Emscripten v3.1.64.
- Add
preventAutoDelete()
method to ensure an object is not automatically deleted whensetAutoDeleteLater(true)
is used. #70 @marcosc90 - Add
*.wasm
files to theexports
section ofpackage.json
.
v0.0.9 - 2024-06-01
Uses libvips v8.15.2, compiled with Emscripten v3.1.60.
- Add
image.pageHeight
property for retrieving the page height in multi-page images.
- Inline worker script (
.worker.js
) into the main output file. emscripten-core/emscripten#21701
v0.0.8 - 2024-03-17
Uses libvips v8.15.2, compiled with Emscripten v3.1.56.
- Add
image.onProgress
callback for progress feedback. #63 - Add
image.kill
property accessor to block evaluation.
- Switch memory allocator from dlmalloc to mimalloc.
v0.0.7 - 2023-11-12
Uses libvips v8.15.0, compiled with Emscripten v3.1.48.
- Avoid linking to libc++ in side modules (regression in 0.0.6).
v0.0.6 - 2023-11-11
Uses libvips v8.15.0, compiled with Emscripten v3.1.48.
- Enable optimized SIMD paths in libvips (using Highway).
- Update methods/enums for libvips 8.15.
v0.0.5 - 2023-04-27
Uses libvips v8.14.2, compiled with Emscripten v3.1.37.
- Support for AVIF images. #36 @RReverser
- Support for dynamic modules on Deno.
- Support for loading SVG images. #40 @RReverser
- Make
vips.shutdown()
optional on Node.js. #29 @RReverser - Make CORS workaround opt-in. #35
- Allow overriding the
print
andprintErr
callbacks on Node.js. #23
- Use a stack size of 256kb for both main and newly created threads. Previously, this was configured at 5mb and 2mb, respectively.
- Update methods/enums for libvips 8.14.
v0.0.4 - 2022-11-03
Uses libvips v8.13.3, compiled with Emscripten v3.1.24.
- Support for JPEG XL images. #21 @atjn
- Add
vips.blockUntrusted()
andvips.operationBlock()
for blocking operations at runtime. #24 @atjn
v0.0.3 - 2022-07-25
Uses libvips v8.13.0, compiled with Emscripten v3.1.17.
- Add type definition for
mainScriptUrlOrBlob
setting. #16 @bentron2000 - Add type definitions for Embind methods.
- Add type definition for
instantiateWasm
callback.
- Include web-specific package exports in
package.json
. - Ensure type definitions are exported. #14
- Update methods/enums for libvips 8.13.
v0.0.2 - 2022-04-04
Uses libvips v8.12.2, compiled with Emscripten v3.1.8.
- Add
vips.shutdown()
helper for Node.js. - Add
vips.emscriptenVersion()
for identifying the Emscripten version. - Support for loading GIF images with vendored
libnsgif
. - Support for saving GIF images with
cgif
andlibimagequant
. - Add support for Deno.
- Don't intercept errors in Node.js.
- Distribute the web variant within the NPM package. #4
- Ensure that deprecated args are not listed in
vips.d.ts
. - Workaround CORS issue for externally hosted JS. #12
- Fix memory leak during buffer/memory write. #13
- Split utilities to separate classes/functions.
- Enable shipped WebAssembly features by default (i.e. the fixed-width SIMD and JS-BigInt-integration proposals).
- Build a dual CommonJS/ES6 module package for Node.js.
- Enable Closure Compiler to minify Emscripten-generated code.
- Update methods/enums for libvips 8.12.
image.writeToBuffer()
tries to use the new target API first.
v0.0.1 - 2020-09-01
Uses libvips v8.10.0, compiled with Emscripten v2.0.0.
- Initial release.