Skip to content

0.2.0

Latest

Choose a tag to compare

@deminy deminy released this 05 May 17:55
v0.2.0
15fd270

Changed

  • Use emalloc/efree (via wrapper function pointers) for all internal bsdiff/bspatch allocations instead of libc malloc/free, so allocations respect memory_limit and are visible to PHP's leak detector and memory_get_peak_usage().
  • Replace POSIX file I/O with PHP streams and consolidate cleanup.
  • Open diff files with explicit "wb"/"rb" mode flags to ensure binary-mode I/O on Windows regardless of the host's _fmode global.
  • Improve BZip2 auto-detection in config.m4: search common Homebrew and system paths, and emit clearer error messages when headers or libraries are not found.

Added

  • PHP 8.3, 8.4, and 8.5 added to the CI matrix (Linux, macOS, Windows).