Skip to content

Commit

Permalink
changelog icons fix
Browse files Browse the repository at this point in the history
  • Loading branch information
karczk-dnv committed Dec 11, 2023
1 parent 9a4250a commit c39870e
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Strictly follows [Semantic Versioning 2.0.0.](https://semver.org/)
## v1.14.0
`2023-12-11`\
\
:rocket: Features:
🚀 Features:
- support for `XCG` currency (future replacement for `ANG`): [`findIso4217Currency()`](DOCUMENTATION.md#findIso4217Currency) and [`findIso4217CurrencyForIso3166Country()`](DOCUMENTATION.md#findIso4217CurrencyForIso3166Country)

```typescript
Expand All @@ -29,21 +29,21 @@ Strictly follows [Semantic Versioning 2.0.0.](https://semver.org/)
## v1.13.0
`2023-02-21`\
\
:rocket: Features:
🚀 Features:
- [`getDayJsFormat()`](DOCUMENTATION.md#getDayJsFormat) - converts `Intl` current locale format to [`day.js`](https://day.js.org/) format; in practice the implementation is the same as in [`getMomentFormat()`](DOCUMENTATION.md#getMomentFormat) so `getDayJsFormat()` is an alias for `getMomentFormat()`
- [`findIso4217CurrencyForIso3166Country()`](DOCUMENTATION.md#findIso4217CurrencyForIso3166Country) - returns `ISO4217` currency for specific `ISO3166` country
```typescript
findIso4217CurrencyForIso3166Country(code: Iso3166Alpha2Code | Iso3166Alpha3Code | Iso3166NumericCode): Iso4217Currency | undefined
```

:page_facing_up: Documentation:
📄 Documentation:
- [`getMomentFormat()`](DOCUMENTATION.md#getMomentFormat) - AntD v5 example update
- [`getDateFnsFormat()`](DOCUMENTATION.md#getDateFnsFormat) - AntD v5 example update

## v1.12.0
`2022-12-22`\
\
:rocket: Features:
🚀 Features:
- [`getIso3166Countries()`](DOCUMENTATION.md#getIso3166Countries) - `"Turkey"` country name has been changed to `"Türkiye"`
```typescript
{
Expand All @@ -65,31 +65,31 @@ interface Iso4217Currency {
}
```

:wrench: Internal:
🔧 Internal:
- TypeScript upgrade `4.7.2` -> `4.9.4`

## v1.11.0
`2022-10-24`\
\
:rocket: Features:
🚀 Features:
- [`formatNumber()`](DOCUMENTATION.md#formatNumber) - new overload, accepts `NumberFormatIntl` options, that can be created using [`createNumberFormat()`](DOCUMENTATION.md#createNumberFormat). This new overload is dedicated when formatting is used many times (thousands, e.g. big tables with financial data). The source of the problems is creating `new Intl.NumberFormat`, which is expensive. Using [`createNumberFormat()`](DOCUMENTATION.md#createNumberFormat) it can be created only once and re-used.
```typescript
const options = createNumberFormat({ thousandsSeparator: false }, "de");
formatNumber(12486.4, options);
formatNumber(100, options);
```
:wrench: Internal:
🔧 Internal:
- renamed `createDateFormat()` -> `createDateFormatIntlObj()`
- renamed `createNumberFormat()` -> `createNumberFormatIntlObj()`

:page_facing_up: Documentation:
📄 Documentation:
- [`formatNumber()`](DOCUMENTATION.md#formatNumber) - performance results
- [`compareStringsFactory()`](DOCUMENTATION.md#compareStringsFactory) - performance results

## v1.10.0
`2022-10-06`\
\
:rocket: Features:
🚀 Features:
- [`formatNumber()`](DOCUMENTATION.md#formatNumber), [`formatNumberToFixed()`](DOCUMENTATION.md#formatNumberToFixed), [`formatMoney()`](DOCUMENTATION.md#formatMoney) - accepts `currency` as numeric representation (e.g. `USD = 840`).
```typescript
formatMoney(1.532, { precision: 2, currency: 840 }, "pl-PL")
Expand All @@ -106,7 +106,7 @@ getCurrencySymbol({ currency: "CAD", currencyDisplay: "narrowSymbol" }, "en")
## v1.9.0
`2022-10-05`\
\
:rocket: Features:
🚀 Features:
- [`formatNumber()`](DOCUMENTATION.md#formatNumber), [`formatNumberToFixed()`](DOCUMENTATION.md#formatNumberToFixed), [`formatMoney()`](DOCUMENTATION.md#formatMoney) - accepts new options `currency` and `currencyDisplay` (Safari >= `14.1`). Defaults: `currencyDisplay: "symbol"` when `currency` value is provided.
```typescript
{ currency: "USD", currencyDisplay: "code" }
Expand All @@ -115,22 +115,22 @@ getCurrencySymbol({ currency: "CAD", currencyDisplay: "narrowSymbol" }, "en")
## v1.8.0
`2022-10-04`\
\
:rocket: Features:
🚀 Features:
- [`getCurrencySymbol()`](DOCUMENTATION.md#getCurrencySymbol)
```typescript
getCurrencySymbol(): string
```

:bulb: Enhancements:
💡 Enhancements:
- [`parseNumber()`](DOCUMENTATION.md#parseNumber) - optimization (redundant NaN check)

:wrench: Internal:
🔧 Internal:
- TypeScript upgrade `4.7.2` -> `4.8.4`

## v1.7.0
`2022-05-27`\
\
:rocket: Features:
🚀 Features:
- [`getIso4217Currencies()`](DOCUMENTATION.md#getIso4217Currencies)
```typescript
getIso4217Currencies(): Iso4217Currency[]
Expand All @@ -148,13 +148,13 @@ isValidIso4217Code(code: Iso4217Alpha3Code | Iso4217NumericCode): boolean
formatCurrency(currency: Iso4217Alpha3Code | Iso4217NumericCode, locale?: Locale): string
```

:bulb: Enhancements:
💡 Enhancements:
- [`formatCountry()`](DOCUMENTATION.md#formatCountry) - ensured that invalid country code is handled without throwing an error (this case was previously undocumented); for invalid string code the same string is returned, but for invalid numeric code empty string is returned

## v1.6.0
`2022-05-25`\
\
:rocket: Features:
🚀 Features:
- [`getCountryCodeFromBic()`](DOCUMENTATION.md#getCountryCodeFromBic)
```typescript
getCountryCodeFromBic(bic: string): Iso3166Alpha2Code | "XK" | undefined
Expand All @@ -164,13 +164,13 @@ getCountryCodeFromBic(bic: string): Iso3166Alpha2Code | "XK" | undefined
getCountryCodeFromIban(iban: string): Iso3166Alpha2Code | "XK" | undefined
```

:wrench: Internal:
🔧 Internal:
- TypeScript upgrade `4.6.4` -> `4.7.2`

## v1.5.0
`2022-05-22`\
\
:rocket: Features:
🚀 Features:
- [`roundUsingHalfAwayFromZero()`](DOCUMENTATION.md#roundUsingHalfAwayFromZero)
```typescript
roundUsingHalfAwayFromZero(value: number, precision: number): number
Expand All @@ -181,14 +181,14 @@ formatNumber(-0.001, { maxPrecision: 2, negativeZero: false }, "en-US"); // retu
```
- [`roundUsingBankersMethod()`](DOCUMENTATION.md#roundUsingBankersMethod) - allow to use `Infinity` precision (returns the same number passed as the argument)

:bulb: Enhancements:
💡 Enhancements:
- [`roundUsingBankersMethod()`](DOCUMENTATION.md#roundUsingBankersMethod) - improved `precision` argument validation (`RangeError` is thrown for `precision < 0` or equal to `NaN`)
- [`roundUsingBankersMethod()`](DOCUMENTATION.md#roundUsingBankersMethod) - `precision` value is converted using `Math.trunc` to ensure that the value is an integer (without throwing an error)

## v1.4.0
`2022-04-25`\
\
:rocket: Features:
🚀 Features:
- [`formatMonth()`](DOCUMENTATION.md#formatMonth)
```typescript
formatMonth(month: number, monthFormat: MonthFormat, locale?: Locale): string
Expand All @@ -198,31 +198,31 @@ formatMonth(date: Date | DateIsoString, monthFormat: MonthFormat, locale?: Local
## v1.3.0
`2022-03-03`\
\
:rocket: Features:
🚀 Features:
- [`formatNumberToFixed()`](DOCUMENTATION.md#formatNumberToFixed) has simpler overload that accepts precision as number argument:
```typescript
formatNumberToFixed(value: number, precision?: number, locale?: Locale): string
```

:wrench: Internal:
🔧 Internal:
- TypeScript upgrade `4.5.2` -> `4.6.2`

## v1.2.0
`2021-11-22`\
\
:rocket: Features:
🚀 Features:
- [`formatCountry()`](DOCUMENTATION.md#formatCountry)
```typescript
formatCountry(country: Iso3166Alpha2Code | Iso3166Alpha3Code | Iso3166NumericCode, locale?: Locale): string
```

:wrench: Internal:
🔧 Internal:
- deprecated function `substr()` has been replaced by `substring()`

## v1.1.0
`2021-11-19`\
\
:rocket: Features:
🚀 Features:
- [`getStatesOfUsa()`](DOCUMENTATION.md#getStatesOfUsa)
```typescript
getStatesOfUsa(): StateOfUsa[]
Expand All @@ -236,7 +236,7 @@ Exactly the same as `v0.4.0` but major version was set to `1`. The reason is to
## v0.4.0
`2021-04-27`\
\
:rocket: Features:
🚀 Features:
- [`findIso3166Country()`](DOCUMENTATION.md#findIso3166Country)
- [`getIso3166Countries()`](DOCUMENTATION.md#getIso3166Countries)
- [`isEuropeanUnionMember()`](DOCUMENTATION.md#isEuropeanUnionMember)
Expand All @@ -245,24 +245,24 @@ Exactly the same as `v0.4.0` but major version was set to `1`. The reason is to
## v0.3.0
`2021-04-26`\
\
:rocket: Features:
🚀 Features:
- [`isBrowserCompatible()`](DOCUMENTATION.md#isBrowserCompatible)

## v0.2.0
`2021-04-20`\
\
:rocket: Features:
🚀 Features:
- [`formatDatePart()`](DOCUMENTATION.md#formatDatePart)

:bulb: Enhancements:
💡 Enhancements:
- [`sortBy()`](DOCUMENTATION.md#sortBy), [`sortByInplace()`](DOCUMENTATION.md#sortByInplace) - allow sorting by with same order for all selectors

## v0.1.0
`2021-04-13`\
\
Initial public release.

:rocket: Features:
🚀 Features:
- capitalizeFirstLetter()
- compareBooleans()
- compareDates()
Expand Down

0 comments on commit c39870e

Please sign in to comment.