Releases: php-collective/decimal-object
Releases · php-collective/decimal-object
1.2.1
1.2.0
Improvements
Any object that implements Stringable can now be converted into Decimal.
Please note: This value object does not expect to be extended directly or serialized in a non-JSON way.
If you did, please make sure to manually upgrade for it to be safe.
Full Changelog: 1.1.0...1.2.0
1.1.0
1.0.0
Initial Release
This aims to provide similar API and easy upgrade path from spryker/decimal-object.
It is now PHP 8.1+, however.
Main advantages and features now:
- Strictly typed were feasible
- Stringable interface added for easier and cleaner "as string" usage
- Supports any Stringable object as input, as well