All Versions
12
Latest Version
Avg Release Cycle
87 days
Latest Release
1232 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v0.7.1 Changes
December 04, 2020- โ Added PHP 8 support
- โ Added
MessagePack\TypeTransformer\StreamTransformer
to pack stream resources intoMP_BIN
- โ Removed trailing dot from error messages
-
v0.7.0 Changes
January 29, 2020โ 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
-
v0.6.1 Changes
October 02, 2019Gave transformers a higher priority than raw extensions while packing
-
v0.6.0 Changes
October 01, 2019โ Added
- Methods:
BufferUnpacker::extendWith()
BufferUnpacker::withBuffer()
BufferUnpacker::read()
Packer::extendWith()
- Interfaces:
TypeTransformer\Extension
- Classes:
Tests\Perf\Benchmark\PausableBenchmark
๐ Renamed
Type\Binary
โType\Bin
TypeTransformer\BinaryTransformer
โTypeTransformer\BinTransformer
TypeTransformer\Packable
โTypeTransformer\CanPack
๐ Changed
BufferUnpacker::__construct()
now acceptsExtension[] $extensions
as the third argumentPacker::__construct()
now acceptsCanPack[] $transformers
as the second argument
โ Removed
- Methods:
BufferUnpacker::__clone()
Cloning a BufferUnpacker object no longer resets the internal buffer, to get the old behavior
๐ use$unpacker = $unpacker->withBuffer('')
BufferUnpacker::registerTransformer()
Packer::registerTransformer()
- Interfaces:
TypeTransformer\Unpackable
- Methods:
-
v0.5.4 Changes
January 01, 2019๐ Changed
- โก๏ธ Optimized unpacking fixed maps and arrays
- ๐ Tweaked examples and README
- โ Removed HHVM from the build matrix, added php 7.3
-
v0.5.3 Changes
June 15, 2018โ Added
MessagePack\BufferUnpacker::skip()
๐ Changed
- ๐ The second argument (
$whence
) was removed fromMessagePack\BufferUnpacker::seek()
-
v0.5.2 Changes
June 15, 2018โ Added
- ๐
MessagePack\BufferUnpacker::seek()
- ๐
-
v0.5.1 Changes
May 24, 2018๐ Fixed
- Maps detection optimization that was introduced in v0.4.1 (7af790b)
-
v0.5.0 Changes
May 22, 2018โ Added
- The
MessagePack\TypeTransformer\Unpackable
interface - โ Tests for example scripts
โ Removed
- The
MessagePack\TypeTransformer\Extension
interface
- The
-
v0.4.1 Changes
May 18, 2018โ Added
- Methods:
MessagePack\PackOptions::isForceBinMode()
MessagePack\PackOptions::isForceMapMode()
MessagePack\UnpackOptions::isBigIntAsExceptionMode()
๐ Changed
- โก๏ธ Optimized the detection of maps during packing
- Methods: