Skip to content

Latest commit

 

History

History
228 lines (152 loc) · 6.77 KB

CHANGELOG.md

File metadata and controls

228 lines (152 loc) · 6.77 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.12 - TBD

Uses libvips v8.16.0, compiled with Emscripten v3.1.74.

Fixed

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

Changed

  • Avoid pointer arguments in SourceCustom.onRead and TargetCustom.onWrite callbacks. #74
  • Update methods/enums for libvips 8.16.

Fixed

  • Fix Deno compatibility (regression in 0.0.9). #81

Removed

  • Remove redundant vips.bigintToI53Checked() helper.

v0.0.10 - 2024-08-14

Uses libvips v8.15.3, compiled with Emscripten v3.1.64.

Added

  • Add preventAutoDelete() method to ensure an object is not automatically deleted when setAutoDeleteLater(true) is used. #70 @marcosc90
  • Add *.wasm files to the exports section of package.json.

Changed

  • Reduce concurrency by default to 1 on the web. #69 #71

v0.0.9 - 2024-06-01

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

Added

  • Add image.pageHeight property for retrieving the page height in multi-page images.

Changed

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.