msgpack.php v0.4.0 Release Notes

Release Date: 2018-05-13 // almost 6 years ago
  • This release drops support for old PHP versions and HHVM. The minimum PHP version requirement is 7.1.1.

    โž• Added

    • Methods:
      • MessagePack\Exception\InsufficientDataException::unexpectedLength()
      • MessagePack\Exception\InvalidOptionException::outOfRange()
      • MessagePack\Exception\PackingFailedException::unsupportedType()
      • MessagePack\Exception\UnpackingFailedException::unknownCode()
      • MessagePack\Exception\UnpackingFailedException::unexpectedCode()
      • MessagePack\PackOptions::fromDefaults()
      • MessagePack\UnpackOptions::fromDefaults()
    • Typehits
    • โœ… More tests
    • More examples

    ๐Ÿ”„ Changed

    • Method signatures:
      • MessagePack\Exception\IntegerOverflowException::__construct()
      • MessagePack\Exception\PackingFailedException::__construct()
      • MessagePack\Tests\Perf\Runner::__construct()
      • MessagePack\Tests\Perf\Runner::run()
    • Visibility:
      • MessagePack\Packer::UTF8_REGEX from public to private
    • Coding standards rules (.php_cs.dist)
    • Applied minor optimizations

    โœ‚ Removed

    • Classes:
      • MessagePack\Exception\InvalidCodeException
    • Methods:
      • MessagePack\Exception\InsufficientDataException::fromOffset()
      • MessagePack\Exception\InvalidOptionException::fromValidOptions()