Releases: wmde/Number
Releases · wmde/Number
0.13.0
0.12.3
- Allow use with data-values/common 1.1.0 and data-values/interfaces 1.x
0.12.2
(Actually released 2022-10-21.)
- Fix
QuantityValue
andUnboundedQuantityValue
hashes to be identical to version 0.11.1.
0.12.1
(Actually released 2022-10-21.)
- Allow use with data-values/data-values 3.1.0
0.12.0
- Improve compatibility with PHP 8.1; in particular, the new
__serialize
/__unserialize
methods are implemented now (in addition to the still supportedSerializable
interface). Make sure to also usedata-values/data-values
version 3.1.0 (or later) to keep hashes stable. - Remove the
DATAVALUES_NUMBER_VERSION
constant.
0.11.1
0.11.0
- Drop support for php versions older than 7.2 and HHVM
0.10.2
- Allow use with data-values/common 1.0.0
- Allow use with data-values/interfaces 1.0.0
- Allow use with data-values/data-values 3.0.0
0.10.1
- Allow installation together with DataValues 2.x
DecimalMath
products now get rounded to 127 characters to avoid a fatal error
0.10.0
- Changed the float to string conversion algorithm for
DecimalValue
,QuantityValue
, and
UnboundedQuantityValue
. Instead of a hundred mostly irrelevant decimal places it now uses PHP's
"serialize_precision" default of 17 significant digits. - Drop compatibility with data-values/interfaces 0.1 and data-values/common 0.2