Skip to content

v0.7.0

Compare
Choose a tag to compare
@rybakit rybakit released this 29 Jan 09:22
· 60 commits to master since this release

Added

  • BufferUnpacker::getRemainingCount()
  • BufferUnpacker::hasRemaining()
  • BufferUnpacker::release()
  • UnpackOptions::BIGINT_AS_DEC

Removed

  • InsufficientDataException::unexpectedLength()
  • IntegerOverflowException
  • UnpackOptions::BIGINT_AS_EXCEPTION

Changed

  • BufferUnpacker::tryUnpack() no longer releases the read buffer, to release the buffer use BufferUnpacker::release()

Fixed

  • Fixed the BufferUnpacker constructor to accept UnpackOptions instead of PackOptions
  • Fixed checking the buffer size required to unpack Ext (previously the Ext "type" byte wasn't taken into account which could result in a notice Uninitialized string offset for extensions with zero-length data)
  • Forbade non-int/string map keys (previously they were silently cast to int/string which could result in a warning Illegal offset type)

Misc

  • Added a target file for PHP-Fuzzer
  • Added .gitattributes
  • Switched default PHP version in Docker to 7.4
  • Applied minor optimizations