Skip to content

v0.4.0

Choose a tag to compare

@rybakit rybakit released this 13 May 19:14
· 142 commits to master since this release
03152b2

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()