Releases: brick/money
Releases · brick/money
0.3.1
0.3.0
New methods:
CurrencyConversionException::getSourceCurrencyCode()
CurrencyConversionException::getTargetCurrencyCode()
This allows to programmatically get the failing currency pair when an exchange rate is not available.
Breaking change:
CurrencyConversionException
constructor signature changed
Although this is technically a breaking change and requires a version bump, your code is unlikely to be affected, unless you're creating CurrencyConversionException
instances manually (you shouldn't).