msgpack.php v0.7.0 Release Notes

Release Date: 2020-01-29 // about 4 years ago
  • โž• 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