0.12.0
💥 Breaking changes
- Minimum PHP version is now 8.1
RoundingMode
is now anenum
; if you're type-hinting rounding modes, you need to type-hint againstRoundingMode
instead ofint
nowBigNumber
classes do not implement theSerializable
interface anymore (they use the new custom object serialization mechanism)- The following breaking changes only affect you if you're creating your own
BigNumber
subclasses:- the return type of
BigNumber::of()
is nowstatic
BigNumber
has a new abstract methodfrom()
- all
public
andprotected
functions ofBigNumber
are nowfinal
- the return type of