Skip to content

Latest commit

 

History

History
163 lines (111 loc) · 4.9 KB

CHANGELOG.md

File metadata and controls

163 lines (111 loc) · 4.9 KB

Changelog

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.8 - 2024-03-17

Uses libvips v8.15.2, compiled with Emscripten v3.1.56.

Added

  • Add image.onProgress callback for progress feedback. #63
  • Add image.kill property accessor to block evaluation.

Changed

  • Switch memory allocator from dlmalloc to mimalloc.

v0.0.7 - 2023-11-12

Uses libvips v8.15.0, compiled with Emscripten v3.1.48.

Fixed

  • 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.

Added

  • Enable optimized SIMD paths in libvips (using Highway).

Changed

  • Update methods/enums for libvips 8.15.

v0.0.5 - 2023-04-27

Uses libvips v8.14.2, compiled with Emscripten v3.1.37.

Added

Fixed

  • Make vips.shutdown() optional on Node.js. #29 @RReverser
  • Make CORS workaround opt-in. #35
  • Allow overriding the print and printErr callbacks on Node.js. #23

Changed

  • 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.

Added

  • Support for JPEG XL images. #21 @atjn
  • Add vips.blockUntrusted() and vips.operationBlock() for blocking operations at runtime. #24 @atjn

Changed

  • Switch from libjpeg-turbo to mozjpeg. #20 @atjn

v0.0.3 - 2022-07-25

Uses libvips v8.13.0, compiled with Emscripten v3.1.17.

Added

  • Add type definition for mainScriptUrlOrBlob setting. #16 @bentron2000
  • Add type definitions for Embind methods.
  • Add type definition for instantiateWasm callback.

Fixed

  • Include web-specific package exports in package.json.
  • Ensure type definitions are exported. #14

Changed

  • Update methods/enums for libvips 8.13.

v0.0.2 - 2022-04-04

Uses libvips v8.12.2, compiled with Emscripten v3.1.8.

Added

  • 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 and libimagequant.
  • Add support for Deno.

Fixed

  • 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

Changed

  • 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.

Added

  • Initial release.