Skip to content

Releases: wmde/Number

0.13.0

10 Dec 13:56
131964c
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.12.3...0.13.0

0.12.3

24 Oct 08:49
0e7e321
Compare
Choose a tag to compare
  • Allow use with data-values/common 1.1.0 and data-values/interfaces 1.x

0.12.2

24 Oct 08:29
99f46c6
Compare
Choose a tag to compare

(Actually released 2022-10-21.)

  • Fix QuantityValue and UnboundedQuantityValue hashes to be identical to version 0.11.1.

0.12.1

24 Oct 08:28
a81654e
Compare
Choose a tag to compare

(Actually released 2022-10-21.)

  • Allow use with data-values/data-values 3.1.0

0.12.0

21 Oct 15:01
e4d8eda
Compare
Choose a tag to compare
  • Improve compatibility with PHP 8.1; in particular, the new __serialize/__unserialize methods are implemented now (in addition to the still supported Serializable interface). Make sure to also use data-values/data-values version 3.1.0 (or later) to keep hashes stable.
  • Remove the DATAVALUES_NUMBER_VERSION constant.

0.11.1

31 Mar 13:18
3177a4e
Compare
Choose a tag to compare

Fix DecimalMath::productWithoutBC for products larger than 2^63-1 (the maximum value of a signed 64 bit integer).

0.11.0

16 Mar 08:30
bfedcbc
Compare
Choose a tag to compare
  • Drop support for php versions older than 7.2 and HHVM

0.10.2

15 Mar 14:00
524c0a0
Compare
Choose a tag to compare
  • 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

31 Oct 11:10
946fbaf
Compare
Choose a tag to compare
  • Allow installation together with DataValues 2.x
  • DecimalMath products now get rounded to 127 characters to avoid a fatal error

0.10.0

11 Apr 17:49
7dc2881
Compare
Choose a tag to compare
  • 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