All Versions
12
Latest Version
Avg Release Cycle
87 days
Latest Release
321 days ago

Changelog History
Page 1

  • v0.7.1 Changes

    December 04, 2020
    • โž• Added PHP 8 support
    • โž• Added MessagePack\TypeTransformer\StreamTransformer to pack stream resources into MP_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 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
  • v0.6.1 Changes

    October 02, 2019

    Gave 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 accepts Extension[] $extensions as the third argument
    • Packer::__construct() now accepts CanPack[] $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
  • 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 from MessagePack\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
  • 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