Skip to content

Releases: php-collective/decimal-object

1.2.1

07 Dec 13:57
45892c1
Compare
Choose a tag to compare

Fixes

Fixed numeric validation for Stringable input.

1.2.0

23 Nov 15:37
Compare
Choose a tag to compare

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

22 Nov 13:39
Compare
Choose a tag to compare

Changes

Cleanup of deprecated and dead code.

Full Changelog: 1.0.0...1.1.0

1.0.0

10 Oct 12:51
b075a65
Compare
Choose a tag to compare

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