All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
8.7.0 (2023-06-12)
- @formatjs/intl,@formatjs/fast-memoize,@formatjs/icu-messageformat-parser,@formatjs/intl-displaynames,@formatjs/intl-listformat,intl-messageformat,@formatjs/ecma402-abstract,@formatjs/intl-numberformat,@formatjs/icu-skeleton-parser: Revert esm conditional exports (#4129) (78edf46), closes #4128 #4127 #4126
8.6.0 (2023-06-06)
- @formatjs/intl,@formatjs/fast-memoize,@formatjs/icu-messageformat-parser,@formatjs/intl-displaynames,@formatjs/intl-listformat,intl-messageformat,@formatjs/ecma402-abstract,@formatjs/intl-numberformat,@formatjs/icu-skeleton-parser: esm conditional exports (#4109) (e0d593c), closes #4013
8.5.0 (2023-05-01)
- @formatjs/intl-datetimeformat: updated
tzdata
to2023c
and fixed missing and changed TimeZone (1b4856b)
8.4.1 (2023-04-19)
Note: Version bump only for package @formatjs/intl-numberformat
8.4.0 (2023-04-17)
- upgrade TS support to v5 (2c43dc1)
8.3.5 (2023-02-20)
Note: Version bump only for package @formatjs/intl-numberformat
8.3.4 (2023-02-20)
Note: Version bump only for package @formatjs/intl-numberformat
8.3.3 (2022-12-02)
Note: Version bump only for package @formatjs/intl-numberformat
8.3.2 (2022-12-01)
Note: Version bump only for package @formatjs/intl-numberformat
8.3.1 (2022-12-01)
Note: Version bump only for package @formatjs/intl-numberformat
8.3.0 (2022-11-29)
- @formatjs/intl-numberformat: implemented formatNumericRange and formatNumericRangeToParts (#3860) (113a169)
8.2.0 (2022-10-13)
8.1.3 (2022-08-27)
Note: Version bump only for package @formatjs/intl-numberformat
8.1.2 (2022-08-21)
Note: Version bump only for package @formatjs/intl-numberformat
8.1.1 (2022-08-21)
Note: Version bump only for package @formatjs/intl-numberformat
8.1.0 (2022-08-18)
8.0.4 (2022-07-11)
- @formatjs/intl-enumerator: fix intl-enumerator build (a1d95e1)
8.0.3 (2022-07-04)
Note: Version bump only for package @formatjs/intl-numberformat
8.0.2 (2022-06-06)
Note: Version bump only for package @formatjs/intl-numberformat
8.0.1 (2022-05-19)
Note: Version bump only for package @formatjs/intl-numberformat
8.0.0 (2022-05-19)
- @formatjs/cli: we push @vue/compiler-core out to
peerDependencies
so if u use vue u should pull this in manuallywip on packaging cli.
7.4.3 (2022-03-26)
Note: Version bump only for package @formatjs/intl-numberformat
7.4.2 (2022-02-06)
Note: Version bump only for package @formatjs/intl-numberformat
7.4.1 (2022-01-24)
Note: Version bump only for package @formatjs/intl-numberformat
7.4.0 (2022-01-09)
- @formatjs/intl-numberformat: upgrade cldr to v40 (843fa51)
7.3.1 (2022-01-03)
Note: Version bump only for package @formatjs/intl-numberformat
7.3.0 (2021-12-20)
- change should-polyfill return value to 1 of the supported locales of the polyfill, fix #3255 (eb589db)
7.2.6 (2021-12-01)
Note: Version bump only for package @formatjs/intl-numberformat
7.2.5 (2021-10-17)
Note: Version bump only for package @formatjs/intl-numberformat
7.2.4 (2021-09-27)
Note: Version bump only for package @formatjs/intl-numberformat
7.2.3 (2021-08-21)
Note: Version bump only for package @formatjs/intl-numberformat
7.2.2 (2021-08-15)
Note: Version bump only for package @formatjs/intl-numberformat
7.2.1 (2021-08-06)
Note: Version bump only for package @formatjs/intl-numberformat
7.2.0 (2021-07-24)
7.1.5 (2021-06-26)
7.1.4 (2021-06-05)
Note: Version bump only for package @formatjs/intl-numberformat
7.1.3 (2021-06-01)
Note: Version bump only for package @formatjs/intl-numberformat
7.1.2 (2021-05-23)
Note: Version bump only for package @formatjs/intl-numberformat
7.1.1 (2021-05-20)
Note: Version bump only for package @formatjs/intl-numberformat
7.1.0 (2021-05-17)
- @formatjs/intl-numberformat: upgrade unicode to v39 (55aa4e3)
7.0.0 (2021-05-14)
- @formatjs/intl-numberformat: Before we call
en-US-POSIX
asen-US
but it has subtle pattern differences so it's misleading. If you were importingen-US
earlier, useen
instead since they're the same.
6.2.10 (2021-05-10)
Note: Version bump only for package @formatjs/intl-numberformat
6.2.9 (2021-05-02)
6.2.8 (2021-04-26)
6.2.7 (2021-04-26)
- @formatjs/intl-numberformat: add node without ICU detection (70ce128)
6.2.6 (2021-04-12)
Note: Version bump only for package @formatjs/intl-numberformat
6.2.5 (2021-03-26)
Note: Version bump only for package @formatjs/intl-numberformat
6.2.4 (2021-03-18)
6.2.3 (2021-03-15)
Note: Version bump only for package @formatjs/intl-numberformat
6.2.2 (2021-03-01)
Note: Version bump only for package @formatjs/intl-numberformat
6.2.1 (2021-02-25)
6.2.0 (2021-02-25)
- @formatjs/intl-numberformat: switch instanceof to OrdinaryHasInstance per new spec (c40fd87)
- @formatjs/intl-numberformat: support TS4.2 (ea86c52)
6.1.6 (2021-02-22)
Note: Version bump only for package @formatjs/intl-numberformat
6.1.5 (2021-02-21)
Note: Version bump only for package @formatjs/intl-numberformat
6.1.4 (2021-01-27)
Note: Version bump only for package @formatjs/intl-numberformat
6.1.3 (2021-01-05)
Note: Version bump only for package @formatjs/intl-numberformat
6.1.2 (2021-01-01)
Note: Version bump only for package @formatjs/intl-numberformat
6.1.1 (2020-12-18)
6.1.0 (2020-12-16)
6.0.1 (2020-12-01)
- @formatjs/intl-numberformat: add index file (8ffb7a3)
6.0.0 (2020-11-20)
- @formatjs/ecma402-abstract: remove unpackData (18cd5ae)
- @formatjs/intl-numberformat: enhance best fit locale negotiation (08f9606)
- @formatjs/intl-numberformat: This polyfill now requires Intl.Locale, or @formatjs/intl-locale polyfill
5.7.6 (2020-11-12)
Note: Version bump only for package @formatjs/intl-numberformat
5.7.5 (2020-11-09)
Note: Version bump only for package @formatjs/intl-numberformat
5.7.4 (2020-11-09)
Note: Version bump only for package @formatjs/intl-numberformat
5.7.3 (2020-11-05)
- @formatjs/intl-numberformat: fix legacy constructor handling (8c561f8)
- @formatjs/intl-numberformat: lock down monorepo dep version (a440940)
5.7.2 (2020-11-04)
Note: Version bump only for package @formatjs/intl-numberformat
5.7.1 (2020-10-26)
- @formatjs/intl-numberformat: fix UMD bundle (bc8f573)
5.7.0 (2020-10-25)
- @formatjs/intl-numberformat: upgrade cldr to v37 (3e6d0ce)
5.6.5 (2020-10-10)
5.6.4 (2020-10-08)
Note: Version bump only for package @formatjs/intl-numberformat
5.6.3 (2020-10-01)
Note: Version bump only for package @formatjs/intl-numberformat
5.6.2 (2020-09-18)
Note: Version bump only for package @formatjs/intl-numberformat
5.6.1 (2020-09-09)
5.6.0 (2020-08-30)
- @formatjs/intl-numberformat: TS to 4.0 (d77b58d)
5.5.6 (2020-08-28)
Note: Version bump only for package @formatjs/intl-numberformat
5.5.5 (2020-08-25)
Note: Version bump only for package @formatjs/intl-numberformat
5.5.4 (2020-08-22)
Note: Version bump only for package @formatjs/intl-numberformat
5.5.3 (2020-08-21)
5.5.2 (2020-08-19)
Note: Version bump only for package @formatjs/intl-numberformat
5.5.1 (2020-08-19)
Note: Version bump only for package @formatjs/intl-numberformat
5.5.0 (2020-08-18)
- @formatjs/intl-numberformat: expose shouldPolyfill to detect if platform needs our polyfill (f12bde6)
5.4.2 (2020-08-17)
5.4.1 (2020-08-14)
Note: Version bump only for package @formatjs/intl-numberformat
5.4.0 (2020-08-13)
- @formatjs/cli: switch from glob to fast-glob (6fc7bfb)
5.3.3 (2020-07-24)
Note: Version bump only for package @formatjs/intl-numberformat
5.3.2 (2020-07-21)
Note: Version bump only for package @formatjs/intl-numberformat
5.3.1 (2020-07-16)
- Revert "feat(@formatjs/intl-utils): remove custom LDMLPluralRuleType and use TS3.9 type" (1a6eeac)
5.3.0 (2020-07-14)
- react-intl: fix rollup'ed type def file (bddb88e)
5.2.1 (2020-07-14)
- react-intl: fix rollup'ed type def file (bddb88e)
5.2.0 (2020-07-14)
- @formatjs/intl-utils: remove custom LDMLPluralRuleType and use TS3.9 type (8e433d5)
5.1.0 (2020-07-14)
- publish (b6e3465)
5.0.3 (2020-07-09)
Note: Version bump only for package @formatjs/intl-numberformat
5.0.2 (2020-07-03)
Note: Version bump only for package @formatjs/intl-numberformat
5.0.1 (2020-07-03)
Note: Version bump only for package @formatjs/intl-numberformat
5.0.0 (2020-07-03)
- add locale-data to package.json files (52a1481)
- @formatjs/intl-numberformat: restructure locale-data output (4086a49)
- @formatjs/intl-numberformat: Remove ponyfill mechanism. Our polyfill mechanism also detects buggy native implementation so we can override.
- @formatjs/intl-numberformat: Move locale-data outside of
dist
. This means new locale-data path would be@formatjs/intl-numberformat/locale-data
instead of@formatjs/intl-numberformat/dist/locale-data
4.2.11 (2020-07-01)
Note: Version bump only for package @formatjs/intl-numberformat
4.2.10 (2020-06-26)
- @formatjs/intl-numberformat: fix @@toStringTag to be spec compliant (#1745) (58a4e28)
- react-intl: fix d.ts rollup (#1741) (cb95b4a)
4.2.9 (2020-06-23)
Note: Version bump only for package @formatjs/intl-numberformat
4.2.8 (2020-06-23)
Note: Version bump only for package @formatjs/intl-numberformat
4.2.7 (2020-06-20)
Note: Version bump only for package @formatjs/intl-numberformat
4.2.6 (2020-06-06)
Note: Version bump only for package @formatjs/intl-numberformat
4.2.5 (2020-06-06)
Note: Version bump only for package @formatjs/intl-numberformat
4.2.4 (2020-06-04)
Note: Version bump only for package @formatjs/intl-numberformat
4.2.3 (2020-06-04)
Note: Version bump only for package @formatjs/intl-numberformat
4.2.2 (2020-06-03)
- @formatjs/intl-utils: fix toRawPrecision (round up) and toRawFixed (with huge numbers) (#1696) (df68427), closes #1692
4.2.1 (2020-05-28)
Note: Version bump only for package @formatjs/intl-numberformat
4.2.0 (2020-05-27)
- @formatjs/intl-numberformat: fix defineProperty issue in older browsers, fix karma tests (c3365e2)
- website: editorial fixes of Intl.NumberFormat links (#1690) (1b4a248)
- formatjs-extract-cldr-data: rm this package (62bdd32)
4.1.0 (2020-05-25)
- @formatjs/intl-numberformat: reduce asset size since we use Intl.getCanonicalLocales (3ae64b2)
4.0.1 (2020-05-23)
Note: Version bump only for package @formatjs/intl-numberformat
4.0.0 (2020-05-23)
- @formatjs/intl-numberformat: Use native Intl.getCanonicalLocales (54cea38)
This is a rewrite of Intl.NumberFormat polyfill:
- Feature compatible with ES2020 spec.
- Pass most of Intl.NumberFormat test262 cases.
- New version is 3 to 4 times faster in the benchmark of instantiating NumberFormat object + formatting numbers in currency or unit styles. It is almost 2 times faster in the benchmark variant that reuses the NumberFormat object.
- Slightly reduce locale data JSON size.
- Support compound unit like
kilometer-per-second
, wherekilometer
andsecond
can be any simple unit whitelisted in [IsSanctionedSimpleUnitIdentifier][]. - Polyfill for
NumberFormat.prototype.toLocaleString
. - Drop
Unified
prefix from the type definitions. - Reorganized source module structure.
- @formatjs/intl-numberformat: This requires @formatjs/intl-getcanonicallocales for IE11 and below
- @formatjs/intl-numberformat: rename intl-unified-numberformat to intl-numberformat (8f183d3)
3.3.7 (2020-05-16)
Note: Version bump only for package @formatjs/intl-unified-numberformat
3.3.6 (2020-05-05)
Note: Version bump only for package @formatjs/intl-unified-numberformat
Note: Version bump only for package @formatjs/intl-unified-numberformat
3.3.4 (2020-04-24)
- eslint-plugin-formatjs: add missing dep (776390e)
3.3.3 (2020-04-14)
- clean up tsbuildinfo before full build (c301ca0)
3.3.2 (2020-04-12)
3.3.1 (2020-03-30)
Note: Version bump only for package @formatjs/intl-unified-numberformat
3.3.0 (2020-03-18)
- @formatjs/intl-unified-numberformat: reduce install size by dropping unicode-12.1.0 dependency (#497) (b84ddc2)
- @formatjs/intl-utils: Add intl-unified-numberformat option types (e6a32d6)
3.2.0 (2020-01-27)
- @formatjs/intl-unified-numberformat: reduce install size by dropping unicode-12.1.0 dependency (#497) (b84ddc2)
- @formatjs/intl-utils: Add intl-unified-numberformat option types (e6a32d6)
3.1.0 (2020-01-22)
- @formatjs/intl-unified-numberformat: fix moar test262 cases (#464) (c3bec6e)
- @formatjs/intl-unified-numberformat: fix some 262 test cases (3e8e931)
3.0.4 (2020-01-09)
- @formatjs/intl-unified-numberformat: address min2 grouping strategy for compact (fd1b22d)
- @formatjs/intl-unified-numberformat: fix compact grouping regression (9a02dcb)
- @formatjs/intl-utils: fix setNumberFormatDigitOptions (cb21c1f)
3.0.3 (2020-01-08)
Note: Version bump only for package @formatjs/intl-unified-numberformat
3.0.2 (2020-01-06)
- @formatjs/intl-listformat: don’t treat en-US-POSIX as en-US because they are different (a37b091)
- @formatjs/intl-unified-numberformat: account for DecimalFormatNum in internal slots (dc26b43)
- @formatjs/intl-unified-numberformat: default to decimal symbol instead of currency (9a99e91)
- @formatjs/intl-unified-numberformat: fix apostrophe escape in ILD extraction (de1eb0a)
- @formatjs/intl-unified-numberformat: fix cases where {number} or {0} is in the middle of the pattern (3ca49d8)
- @formatjs/intl-unified-numberformat: fix cases with compact for ko & zh (eb3c3ac)
- @formatjs/intl-unified-numberformat: fix currency compact form having special plural rules (b0a6d4f)
- @formatjs/intl-unified-numberformat: fix decimal tests (7cc56d0)
- @formatjs/intl-unified-numberformat: fix ILD lookup for currency name in compact mode (76e8e5f)
- @formatjs/intl-unified-numberformat: initialize PluralRules with the same opts as NumberFormat (cd8a67c)
- @formatjs/intl-unified-numberformat: refactor + fix apostrophe-escaped issue in pattern (e45bc89)
- @formatjs/intl-utils: fix getInternalSlot to prevent Object.prototype taint (334441b)
3.0.1 (2019-12-27)
Note: Version bump only for package @formatjs/intl-unified-numberformat
3.0.0 (2019-12-26)
- @formatjs/intl-unified-numberformat: add back unpackData so we get the correct locale hierarchy (c778e19)
- @formatjs/intl-unified-numberformat: add more tests (5bb5924)
- @formatjs/intl-unified-numberformat: add more tests (5122cdc)
- @formatjs/intl-unified-numberformat: add more tests for compact notation (0a5a180)
- @formatjs/intl-unified-numberformat: add some currency support, update test snapshots (d603a3c)
- @formatjs/intl-unified-numberformat: bound format/formatToParts, fix test262 case (a3a29e7)
- @formatjs/intl-unified-numberformat: fix -0 case (c9351c5)
- @formatjs/intl-unified-numberformat: fix #376 (4b7e10a)
- @formatjs/intl-unified-numberformat: fix base log 10 and implement compact, fix #370 (2a7f478)
- @formatjs/intl-unified-numberformat: fix currency digits (b624d54)
- @formatjs/intl-unified-numberformat: fix more test262 cases (0da0657)
- @formatjs/intl-unified-numberformat: fix more things (ad046f3)
- @formatjs/intl-unified-numberformat: fix more things for test262 (35c3c5a)
- @formatjs/intl-unified-numberformat: fix resolvedOptions (8b3af26)
- @formatjs/intl-unified-numberformat: fix scientific notation for numbers < 1 (8c71872)
- @formatjs/intl-unified-numberformat: fix scientific pattern for decimal (a0edba5)
- @formatjs/intl-unified-numberformat: fix unit issue (8feb8e7)
- @formatjs/intl-unified-numberformat: more currency fixes for scientific notation (6835bb4)
- @formatjs/intl-unified-numberformat: more work on currency formatting (5a5b8e6)
- @formatjs/intl-unified-numberformat: more work on fixing currency pattern (6cb0d67)
- @formatjs/intl-unified-numberformat: move currency processing to lazy (6e1d621)
- @formatjs/intl-unified-numberformat: pass tests for
unit
(a9bbc74) - @formatjs/intl-unified-numberformat: update snapshots (917aa7e)
- @formatjs/intl-unified-numberformat: use CLDR symbol instead of ISO code for currencySymbol (4db663d)
- @formatjs/intl-unified-numberformat: validate currency code, fix #371 (03f8ee6)
- @formatjs/intl-unified-numberformat: validate unit, fix #372 (a93c324)
- @formatjs/intl-unified-numberformat: add currency support and currency matching algo (786858d)
- @formatjs/intl-unified-numberformat: add currency-digits extractions (8261383)
- @formatjs/intl-unified-numberformat: initial work on currency narrowSymbol (e379236)
- @formatjs/intl-unified-numberformat: more work on stage-3 APIs (3f510ca)
- @formatjs/intl-unified-numberformat: more work on stage-3 APIs (2ebf471)
- @formatjs/intl-unified-numberformat: Update README with more examples, disable some tests (35dd2f0)
- formatjs-extract-cldr-data: extract raw numbers (6fa5f3f)
- @formatjs/intl-unified-numberformat: Although API remains the same, the CLDR distributed data has changed
2.2.0 (2019-12-02)
2.1.8 (2019-12-01)
Note: Version bump only for package @formatjs/intl-unified-numberformat
2.1.7 (2019-11-26)
Note: Version bump only for package @formatjs/intl-unified-numberformat
2.1.6 (2019-11-25)
2.1.5 (2019-11-23)
Note: Version bump only for package @formatjs/intl-unified-numberformat
2.1.4 (2019-11-21)
- @formatjs/intl-relativetimeformat: use api-extractor to combine d.ts (bd803dd)
- intl-messageformat: use api-extractor to combine type definitions (6c6af9d)
2.1.3 (2019-11-20)
Note: Version bump only for package @formatjs/intl-unified-numberformat
2.1.2 (2019-11-11)
Note: Version bump only for package @formatjs/intl-unified-numberformat
2.1.1 (2019-11-10)
Note: Version bump only for package @formatjs/intl-unified-numberformat
2.1.0 (2019-10-23)
- @formatjs/intl-unified-numberformat: add correct typings to UnifiedNumberFormatOptions (70b8baa)
2.0.1 (2019-10-23)
Note: Version bump only for package @formatjs/intl-unified-numberformat
2.0.0 (2019-10-01)
- @formatjs/intl-unified-numberformat: rename __addUnitLocaleData to __addLocaleData (d251733)
- @formatjs/intl-utils: add IE11-safe getCanonicalLocales, (b5f37c4), closes #200
- @formatjs/intl-unified-numberformat: rename __addUnitLocaleData to __addLocaleData for consistency with other polyfills
1.0.1 (2019-09-27)
Note: Version bump only for package @formatjs/intl-unified-numberformat
1.0.0 (2019-09-20)
- @formatjs/intl-relativetimeformat: add more side-effectful files (03d2a10)
- @formatjs/intl-unified-numberformat: rm side effects array due to build complication (499df4f)
- @formatjs/intl-unified-numberformat: mark the package as side-effects free (d05c293)
- @formatjs/intl-unified-numberformat: This package no longer comes with
en
by default
0.5.2 (2019-09-17)
Note: Version bump only for package @formatjs/intl-unified-numberformat
0.5.1 (2019-09-15)
Note: Version bump only for package @formatjs/intl-unified-numberformat
0.5.0 (2019-09-13)
- @formatjs/intl-utils: consolidate parent lookup (bac2eae)
- formatjs-extract-cldr-data: dedupe relative data, reduce relative time data by 40% (db12bf3)
- formatjs-extract-cldr-data: even smaller locale data (66a0313)
0.4.9 (2019-09-03)
Note: Version bump only for package @formatjs/intl-unified-numberformat
0.4.8 (2019-09-03)
Note: Version bump only for package @formatjs/intl-unified-numberformat
0.4.7 (2019-09-03)
- @formatjs/intl-relativetimeformat: pass in raw locales to lookup (9c2af2a)
- @formatjs/intl-unified-numberformat: memoize Intl.PluralRules (429a7db)
- @formatjs/intl-unified-numberformat: pass in raw locales to lookup (719c6f2)
- @formatjs/intl-unified-numberformat: rely on Intl.PluralRules supported locales instead of both PL & NumberFormat (8c8578d)
0.4.6 (2019-08-29)
Note: Version bump only for package @formatjs/intl-unified-numberformat
0.4.5 (2019-08-30)
- @formatjs/intl-unified-numberformat: fix cldr build (3cb5dae)
0.4.4 (2019-08-30)
- @formatjs/intl-unified-numberformat: export types as well (99b886b)
0.4.3 (2019-08-29)
- @formatjs/intl-unified-numberformat: fix package.json (5940281)
0.4.2 (2019-08-29)
- @formatjs/intl-unified-numberformat: add .npmignore (3ebb117)
0.4.1 (2019-08-21)
- @formatjs/intl-unified-numberformat: add DEFAULT_LOCALE in locale lookup (1f25453)
- @formatjs/intl-unified-numberformat: dist polyfill with all locales (f4c494a)
- @formatjs/intl-unified-numberformat: use locale-lookup from intl-utils (7f5eb9e)
- intl-unified-numberformat: dist UMD (f568cdc), closes #159
0.4.0 (2019-08-19)
- @formatjs/intl-utils: change default quarter to false in selectUnit (dadab10)
- @formatjs/intl-unified-numberformat: add polyfill option (4c1d692)
- formatjs-extract-cldr-data: fix unit extraction (7e54a0b)
- formatjs-extract-cldr-data: polyfill units (e291eeb)