Repository navigation
Releases
v8.5.2
A bug fix release. Decimals from 0 to 100 format exactly as in 8.5.1.
Fixed
$decimalsabove 100 throwsInvalidArgumentExceptioninNumber::format(),Number::compact(),Number::percentage(),Bytes::format(),Money::format()andMoney::compact(). Very large values used to exhaust memory with a fatal error, or return wrong digits with a locale:Number::format(1.5, 100000000, false, 'en_US')returned"0".- Exception messages quote at most 50 bytes of the value they reject, so a huge input no longer ends up whole in a message or a log.
Compatibility
- Decimals from 0 to 100 format exactly as before.
Full Changelog: 8.5.1...8.5.2
v8.5.1
A tooling and README patch release. Output is identical to 8.5.0.
Changed
- The development tooling moved to Pest, Pint and PHPStan at level
max.composer checknow validatescomposer.json, checks the code style, runs static analysis and the tests, and audits the dependencies. The library's output is unchanged.
Full Changelog: 8.5.0...8.5.1
v8.4.2
A bug fix release. Decimals from 0 to 100 format exactly as in 8.4.1.
Fixed
$decimalsabove 100 throwsInvalidArgumentExceptioninNumber::format(),Number::compact(),Number::percentage(),Bytes::format(),Money::format()andMoney::compact(). Very large values used to exhaust memory with a fatal error, or return wrong digits with a locale:Number::format(1.5, 100000000, false, 'en_US')returned"0".- Exception messages quote at most 50 bytes of the value they reject, so a huge input no longer ends up whole in a message or a log.
Compatibility
- Decimals from 0 to 100 format exactly as before.
Full Changelog: 8.4.1...8.4.2
v8.4.1
A tooling and README patch release. Output is identical to 8.4.0.
Changed
- The development tooling moved to Pest, Pint and PHPStan at level
max.composer checknow validatescomposer.json, checks the code style, runs static analysis and the tests, and audits the dependencies. The library's output is unchanged.
Full Changelog: 8.4.0...8.4.1
v8.3.2
A bug fix release. Decimals from 0 to 100 format exactly as in 8.3.1.
Fixed
$decimalsabove 100 throwsInvalidArgumentExceptioninNumber::format(),Number::compact(),Number::percentage(),Bytes::format(),Money::format()andMoney::compact(). Very large values used to exhaust memory with a fatal error, or return wrong digits with a locale:Number::format(1.5, 100000000, false, 'en_US')returned"0".- Exception messages quote at most 50 bytes of the value they reject, so a huge input no longer ends up whole in a message or a log.
Compatibility
- Decimals from 0 to 100 format exactly as before.
Full Changelog: 8.3.1...8.3.2
v8.3.1
A tooling and README patch release. Output is identical to 8.3.0.
Changed
- The development tooling moved to Pest, Pint and PHPStan at level
max.composer checknow validatescomposer.json, checks the code style, runs static analysis and the tests, and audits the dependencies. The library's output is unchanged.
Full Changelog: 8.3.0...8.3.1
v8.2.2
A bug fix release. Decimals from 0 to 100 format exactly as in 8.2.1.
Fixed
$decimalsabove 100 throwsInvalidArgumentExceptioninNumber::format(),Number::compact(),Number::percentage(),Bytes::format(),Money::format()andMoney::compact(). Very large values used to exhaust memory with a fatal error, or return wrong digits with a locale:Number::format(1.5, 100000000, false, 'en_US')returned"0".- Exception messages quote at most 50 bytes of the value they reject, so a huge input no longer ends up whole in a message or a log.
Compatibility
- Decimals from 0 to 100 format exactly as before.
Full Changelog: 8.2.1...8.2.2
v8.2.1
A tooling and README patch release. Output is identical to 8.2.0.
Changed
- The development tooling moved to Pest, Pint and PHPStan at level
max.composer checknow validatescomposer.json, checks the code style, runs static analysis and the tests, and audits the dependencies. The library's output is unchanged.
Full Changelog: 8.2.0...8.2.1
v8.1.2
A bug fix release. Decimals from 0 to 100 format exactly as in 8.1.1.
Fixed
$decimalsabove 100 throwsInvalidArgumentExceptioninNumber::format(),Number::compact(),Number::percentage(),Bytes::format(),Money::format()andMoney::compact(). Very large values used to exhaust memory with a fatal error, or return wrong digits with a locale:Number::format(1.5, 100000000, false, 'en_US')returned"0".- Exception messages quote at most 50 bytes of the value they reject, so a huge input no longer ends up whole in a message or a log.
Compatibility
- Decimals from 0 to 100 format exactly as before.
Full Changelog: 8.1.1...8.1.2
v8.1.1
A tooling and README patch release. Output is identical to 8.1.0.
Changed
- The development tooling moved to Pest, Pint and PHPStan at level
max.composer checknow validatescomposer.json, checks the code style, runs static analysis and the tests, and audits the dependencies. The library's output is unchanged.
Full Changelog: 8.1.0...8.1.1