Brick\Money v0.5.2 Release Notes

Release Date: 2021-04-03 // 7 months ago
  • 🆕 ✨ New methods

    • Money::allocateWithRemainder()
    • Money::splitWithRemainder()

    These methods perform like their allocate() and split() counterparts, but append the remainder at the end of the returned array instead of spreading it over the first monies.

    Thanks @NCatalani!


Previous changes from v0.5.1

  • 👌 👌 Improvement

    BaseCurrencyProvider now always returns a BigNumber for convenience (#37). This is useful if you're using BaseCurrencyProvider on its own, not just in CurrencyConverter.

    Thanks @rdarcy1!