Skip to content

Commit 5ededc4

Browse files
committed
Group new methods in CHANGELOG
1 parent e3c714b commit 5ededc4

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,13 @@
2626

2727
- **Support for historical currencies** in `Money::of()`, `Currency::of()`, etc. (#104 by @survik1)
2828
- New enum: `CurrencyType`
29-
- New method: `Currency::getCurrencyType()` returns the type of the currency
30-
- New method: `Currency::ofNumericCode()` returns a currency by its numeric ISO 4217 code
31-
- New method: `ISOCurrencyProvider::getCurrencyByNumericCode()` returns a currency by its numeric code
32-
- New method: `ISOCurrencyProvider::getHistoricalCurrenciesForCountry()` returns historical currencies for a country
33-
- New method: `MoneyBag::getMoney()` returns the contained amount in a given currency (replaces `getAmount()`)
34-
- New method: `MoneyBag::getMonies()` returns the contained monies (replaces `getAmounts()`)
29+
- New methods:
30+
- `Currency::getCurrencyType()` returns the type of the currency
31+
- `Currency::ofNumericCode()` returns a currency by its numeric ISO 4217 code
32+
- `ISOCurrencyProvider::getCurrencyByNumericCode()` returns a currency by its numeric code
33+
- `ISOCurrencyProvider::getHistoricalCurrenciesForCountry()` returns historical currencies for a country
34+
- `MoneyBag::getMoney()` returns the contained amount in a given currency (replaces `getAmount()`)
35+
- `MoneyBag::getMonies()` returns the contained monies (replaces `getAmounts()`)
3536
- New interface: `Monetary` (replaces `MoneyContainer`)
3637

3738
👌 **Improvements**
@@ -290,7 +291,7 @@ New method: `CustomContext::getScale()`
290291

291292
Backports from 0.2.x:
292293

293-
- New method: `CustomContext::getScale()`
294+
- `CustomContext::getScale()`
294295
- `Money::formatTo()` now always respects the scale of the Money
295296
- Bug fix: `Money::allocate()` incorrectly allocated negative monies
296297

0 commit comments

Comments
 (0)