msgpack.php v0.7.0 Release Notes
Release Date: 2020-01-29 // over 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 useBufferUnpacker::release()
๐ Fixed
- ๐ Fixed the
BufferUnpacker
constructor to acceptUnpackOptions
instead ofPackOptions
- ๐ Fixed checking the buffer size required to unpack
Ext
(previously theExt
"type" byte wasn't taken into account which could result in a noticeUninitialized 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