Version 1.0.0 of brick/math has been released today.
After more than a decade, 804 commits, 79 beta releases, and 590 million downloads, the API is now considered stable. By semantic versioning rules, future breaking changes will require a new major version.
brick/math is an arbitrary-precision arithmetic library for PHP. It provides BigInteger, BigDecimal, and BigRational classes for exact calculations with unlimited digits. It is a dependency of Laravel and ramsey/uuid, so chances are it's already in your vendor folder.
The last few months were spent polishing everything for this milestone: ironing out inconsistencies, cleaning up exception messages, and hardening the parser against untrusted input.
Thanks to everyone who reported bugs, sent PRs, and trusted a 0.x library in production all these years.
Next step: bringing more Brick libraries to 1.0.0 over the coming months!
[link] [留言]
