All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
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)