v0.4.0
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_REGEXfrompublictoprivate
- Coding standards rules (
.php_cs.dist) - Applied minor optimizations
Removed
- Classes:
MessagePack\Exception\InvalidCodeException
- Methods:
MessagePack\Exception\InsufficientDataException::fromOffset()MessagePack\Exception\InvalidOptionException::fromValidOptions()