Releases: bitpay/bitpay-php-keyutils
Releases · bitpay/bitpay-php-keyutils
1.1.2
Overview
This is a small patch release which moves GMP to the suggested dependencies in Composer. The library is built to work with both GMP
and BCMath
, with GMP
being preferred. Having ext-gmp
as a requirement was preventing this library from functioning on systems with only BCMath
.
1.1.1
v1.1.0
Overview
Per the PHP documentation, Serializable is being deprecated as of PHP 8.1. To temporarily comply with the warning, we are implementing __serialize()
and __unserialize()
to function in the same manner as our serialize()
and unserialize()
function.
Warning
As of PHP 8.1.0, a class which implements Serializable without also implementing __serialize() and __unserialize() will generate a deprecation warning.
Errors
Deprecated: BitPayKeyUtils\Util\Point implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary)
Deprecated: BitPayKeyUtils\KeyHelper\PrivateKey implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary)
Deprecated: BitPayKeyUtils\KeyHelper\PublicKey implements the Serializable interface, which is deprecated.
Thanks
- Thank you to @AlexKarpan for this submission!