github kjdev/php-ext-zstd 0.16.0

8 hours ago

✨ Added

  • PHP 8.5 support (f82e17a, d6d26eb)
    • Added testing for PHP 8.5 on Linux
    • Windows build support for PHP 8.5
  • Configurable compression level for APCu serializer via the zstd.apcu_compression_level INI setting (#96, 02f264a)

🐛 Fixed

  • Fix UBSAN-detected undefined behavior in zstd_uncompress_add() by switching to the smart_str API (#95, 05f5d05)
    • Previously, a NULL smart_string.c (on decoder failure or empty output) was passed to zend_string_init(), triggering undefined behavior in the subsequent memcpy()
    • As a side benefit, smart_str avoids reallocation, making the new code slightly faster
  • Fix build on PHP 8.6+ (698b938)

📈 Improved

  • CI/CD enhancements (29551a3, edb7d4b, cf4c2dd, c918178)
    • Updated BIN_SDK_VER from 2.3.0 to 2.5.0 in Windows workflow
    • Fixed APCu installation in CI by removing quotes from PHP ini path parsing
    • Pinned GitHub Actions to commit SHA and switched to native submodule checkout
    • Switched the Linux workflow to shivammathur/setup-php on the ubuntu runner

New Contributors

Full Changelog: 0.15.2...0.16.0

Don't miss a new php-ext-zstd release

NewReleases is sending notifications on new releases.