Releases: deminy/php-bsdiff
Releases · deminy/php-bsdiff
0.2.0
Changed
- Use
emalloc/efree(via wrapper function pointers) for all internal bsdiff/bspatch allocations instead of libcmalloc/free, so allocations respectmemory_limitand are visible to PHP's leak detector andmemory_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_fmodeglobal. - 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).