From c39870e3d7eb0def08587bdb19246ac0d1546f9a Mon Sep 17 00:00:00 2001 From: Krystian Karczewski Date: Mon, 11 Dec 2023 16:23:34 +0100 Subject: [PATCH] changelog icons fix --- CHANGELOG.md | 60 ++++++++++++++++++++++++++-------------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c590a6a..8a65a63 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 @@ -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 { @@ -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") @@ -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" } @@ -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[] @@ -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 @@ -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 @@ -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 @@ -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[] @@ -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) @@ -245,16 +245,16 @@ 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 @@ -262,7 +262,7 @@ Exactly the same as `v0.4.0` but major version was set to `1`. The reason is to \ Initial public release. -:rocket: Features: +πŸš€ Features: - capitalizeFirstLetter() - compareBooleans() - compareDates()