Skip to content
This repository has been archived by the owner on Jan 5, 2022. It is now read-only.

Latest commit

 

History

History
1086 lines (337 loc) · 36.2 KB

CHANGELOG.md

File metadata and controls

1086 lines (337 loc) · 36.2 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

1.9.5 (2021-07-24)

Bug Fixes

  • @formatjs/ecma402-abstract: refactoring (bb01687)

1.9.4 (2021-06-26)

Bug Fixes

  • @formatjs/ecma402-abstract: rm json import to be more ESM-friendly, fix #2961 (2bfedbb)

1.9.3 (2021-06-05)

Bug Fixes

  • @formatjs/ecma402-abstract: fix IsValidTimeZoneName to include target zone from backward, fix #2951 (c18ee8b)

1.9.2 (2021-06-01)

Note: Version bump only for package @formatjs/ecma402-abstract

1.9.1 (2021-05-23)

Bug Fixes

  • @formatjs/intl-datetimeformat: fix crash in #2909 (495d1b8)

1.9.0 (2021-05-20)

Features

  • @formatjs/ecma-376: new package that generate ecma-376 numFmt pattern (2a57d16), closes #2885

1.8.0 (2021-05-17)

Features

  • @formatjs/ecma402-abstract: upgrade symbol regex to unicode 13 (c991b8c)

1.7.1 (2021-05-10)

Note: Version bump only for package @formatjs/ecma402-abstract

1.7.0 (2021-04-26)

Features

  • @formatjs/ecma402-abstract: add abstract ops for fractionalSecondDigits (5b1b1d1)

1.6.5 (2021-04-12)

Bug Fixes

  • @formatjs/ecma402-abstract: modify the constant in function TimeClip (#2805) (4324002)
  • @formatjs/ecma402-abstract: swap out some impls with native Date, 2x speed, #2813 (463420c)

1.6.4 (2021-03-26)

Note: Version bump only for package @formatjs/ecma402-abstract

1.6.3 (2021-03-15)

Note: Version bump only for package @formatjs/ecma402-abstract

1.6.2 (2021-03-01)

Note: Version bump only for package @formatjs/ecma402-abstract

1.6.1 (2021-02-25)

Bug Fixes

1.6.0 (2021-02-25)

Bug Fixes

  • @formatjs/intl-numberformat: switch instanceof to OrdinaryHasInstance per new spec (c40fd87)

Features

  • @formatjs/ecma402-abstract: support TS4.2 (a161685)

1.5.4 (2021-02-22)

Bug Fixes

  • @formatjs/intl-displaynames: fix script canonicalization, fix #2622 (be07282)

1.5.3 (2021-02-21)

Bug Fixes

  • @formatjs/ecma402-abstract: limit accepted calendar values to 'gregory' (#2618) (fb3e462)

1.5.2 (2021-01-27)

Bug Fixes

  • @formatjs/ecma402-abstract: make Set usage IE11-safe, fix #2529 (2ebe21c)

1.5.1 (2021-01-05)

Bug Fixes

  • @formatjs/intl-datetimeformat: fix default range pattern fallback, fix #2474 (2a618a1)

1.5.0 (2020-11-20)

Features

  • @formatjs/ecma402-abstract: improve best fit locale negotiation (7ab3e46)
  • @formatjs/ecma402-abstract: remove unpackData (18cd5ae)

1.4.0 (2020-11-12)

Features

  • @formatjs/ecma402-abstract: Move files around (5ba9502)

1.3.2 (2020-11-09)

Bug Fixes

  • @formatjs/intl-datetimeformat: fix hourCycle setting, fix #2291 (1915595)

1.3.1 (2020-11-09)

Bug Fixes

  • @formatjs/ecma402-abstract: remove labelled tuple element usage (8ff1230)

1.3.0 (2020-11-04)

Features

  • @formatjs/intl-datetimeformat: add Intl.DateTimeFormat.formatRange, fix #2129 (#2281) (a5290ad)

1.2.6 (2020-10-25)

Bug Fixes

  • @formatjs/intl-datetimeformat: fix h/K pattern, fix #2236 (23257c6)

1.2.5 (2020-10-10)

Bug Fixes

  • @formatjs/ecma402-abstract: fix err message for missing locale data, fix #2203 (e2fb8a3)

1.2.4 (2020-10-08)

Bug Fixes

  • @formatjs/intl-datetimeformat: hour off by one at the exact time that DST starts or ends. (#2173) (b6601da), closes #2170

1.2.3 (2020-10-01)

Bug Fixes

  • @formatjs/intl-datetimeformat: throw err when calendar is not gregory, part of #2145 (1b75c10)

1.2.2 (2020-09-18)

Bug Fixes

  • @formatjs/intl-datetimeformat: fix am/pm logic, fix #2106 (a36567b)

1.2.1 (2020-09-09)

Bug Fixes

  • @formatjs/intl-numberformat: determine plurality using rounded number value (#2065) (4f7f791)

1.2.0 (2020-08-28)

Features

  • @formatjs/ecma402-abstract: add CanonicalCodeForDisplayNames (89e19d4)

1.1.0 (2020-08-25)

Features

  • @formatjs/ecma402-abstract: add DateTimeFormat ops (9ad59b6)
  • @formatjs/ecma402-abstract: add more PluralRules abstract opts (c18c107)
  • @formatjs/ecma402-abstract: add RelativeTimeFormat abstract ops (73325d6)

1.0.3 (2020-08-21)

Note: Version bump only for package @formatjs/ecma402-abstract

1.0.2 (2020-08-19)

Bug Fixes

  • @formatjs/ecma402-abstract: force republish (b308632)

1.0.1 (2020-08-19)

Note: Version bump only for package @formatjs/ecma402-abstract

3.8.4 (2020-08-17)

Bug Fixes

  • @formatjs/intl-numberformat: use grouping data from CLDR (#1985) (8edc4ae), closes #1949

3.8.3 (2020-08-14)

Note: Version bump only for package @formatjs/intl-utils

3.8.2 (2020-07-24)

Note: Version bump only for package @formatjs/intl-utils

3.8.1 (2020-07-16)

Reverts

  • Revert "feat(@formatjs/intl-utils): remove custom LDMLPluralRuleType and use TS3.9 type" (1a6eeac)

3.8.0 (2020-07-14)

Bug Fixes

  • @formatjs/intl-displaynames: rm files restriction from package.json (b89a780)

Features

  • @formatjs/intl-utils: remove custom LDMLPluralRuleType and use TS3.9 type (8e433d5)

3.7.0 (2020-07-14)

Bug Fixes

  • @formatjs/intl-utils: fix duplicate exports (a195730)

Features

3.6.1 (2020-07-09)

Note: Version bump only for package @formatjs/intl-utils

3.6.0 (2020-07-03)

Features

  • @formatjs/intl-utils: export SANCTIONED_UNITS (7719e90)

3.5.0 (2020-07-01)

Features

  • @formatjs/ts-transformer: move interpolate-name here (232d190)

3.4.1 (2020-06-23)

Bug Fixes

  • @formatjs/intl-utils: just bumping version so we can republish (39caec0)

3.4.0 (2020-06-20)

Features

  • @formatjs/intl-datetimeformat: start the polyfill (#1702) (53f8149)

3.3.1 (2020-06-04)

Bug Fixes

  • @formatjs/intl-utils: don't export interpolateName from index (72f1566), closes #1700

3.3.0 (2020-06-04)

Bug Fixes

  • @formatjs/intl-utils: fix default params for hash (1d48c95)

Features

  • @formatjs/intl-utils: Add interpolateName (4d09912)

3.2.0 (2020-06-03)

Bug Fixes

  • @formatjs/intl-utils: fix toRawPrecision (round up) and toRawFixed (with huge numbers) (#1696) (df68427), closes #1692

Features

  • @formatjs/intl-utils: Move extractor from formatjs-extract-cldr-data here (11d1a26)
  • @formatjs/intl-utils: rm extractor stuff, rm redudant deps (bfd5732)
  • formatjs-extract-cldr-data: rm this package (62bdd32)

3.1.0 (2020-05-25)

Features

  • @formatjs/intl-utils: Remove aliases and parentLocales (e0e9370)

3.0.1 (2020-05-23)

Note: Version bump only for package @formatjs/intl-utils

3.0.0 (2020-05-23)

Features

  • @formatjs/intl-utils: Use native Intl.getCanonicalLocales (b6ff8fb)

BREAKING CHANGES

  • @formatjs/intl-utils: This requires @formatjs/intl-getcanonicallocales for IE11 and below

  • Most of NumberFormat public and internal types are moved out of this package.

2.3.0 (2020-05-16)

Bug Fixes

  • @formatjs/intl-utils: dont default locales to empty string (7f50edc)

Features

  • eslint-plugin-formatjs: add rule for no-id (d7d8159)

2.2.5 (2020-05-05)

Note: Version bump only for package @formatjs/intl-utils

2.2.4 (2020-04-28)

Note: Version bump only for package @formatjs/intl-utils

2.2.3 (2020-04-24)

Bug Fixes

  • eslint-plugin-formatjs: add missing dep (776390e)

2.2.2 (2020-04-14)

Bug Fixes

  • clean up tsbuildinfo before full build (c301ca0)

2.2.1 (2020-03-30)

Bug Fixes

  • intl-utils: prevent infinite recursion loop of getCanonicalRules (#591) (86e087d)

2.2.0 (2020-01-27)

Features

  • @formatjs/intl-utils: Add intl-unified-numberformat option types (e6a32d6)

2.1.0 (2020-01-22)

Bug Fixes

  • @formatjs/intl-unified-numberformat: fix moar test262 cases (#464) (c3bec6e)
  • @formatjs/intl-unified-numberformat: fix some 262 test cases (3e8e931)

Features

  • @formatjs/intl-displaynames: initial commit (#469) (137b994)

2.0.4 (2020-01-09)

Bug Fixes

  • @formatjs/intl-utils: fix setNumberFormatDigitOptions (cb21c1f)

2.0.3 (2020-01-08)

Note: Version bump only for package @formatjs/intl-utils

2.0.2 (2020-01-06)

Bug Fixes

  • @formatjs/intl-unified-numberformat: account for DecimalFormatNum in internal slots (dc26b43)
  • @formatjs/intl-unified-numberformat: fix cases where {number} or {0} is in the middle of the pattern (3ca49d8)
  • @formatjs/intl-utils: fix getInternalSlot to prevent Object.prototype taint (334441b)

2.0.1 (2019-12-27)

Bug Fixes

  • @formatjs/cli: allow optionalChaining parser, fix #404 (1af4607)

2.0.0 (2019-12-26)

Bug Fixes

  • @formatjs/intl-unified-numberformat: add back unpackData so we get the correct locale hierarchy (c778e19)
  • @formatjs/intl-unified-numberformat: add more tests (5122cdc)
  • @formatjs/intl-unified-numberformat: add some currency support, update test snapshots (d603a3c)
  • @formatjs/intl-unified-numberformat: fix -0 case (c9351c5)
  • @formatjs/intl-unified-numberformat: fix scientific notation for numbers < 1 (8c71872)
  • @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)

Features

  • @formatjs/intl-unified-numberformat: add currency support and currency matching algo (786858d)
  • @formatjs/intl-unified-numberformat: initial work on adding more stage 3 functionalities (fc09006)
  • @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: more work on stage-3 APIs (a727599)
  • @formatjs/intl-utils: add InternalSlotToken enum (dab275a)
  • formatjs-extract-cldr-data: extract raw numbers (6fa5f3f)

BREAKING CHANGES

  • @formatjs/intl-unified-numberformat: Although API remains the same, the CLDR distributed data has changed

1.6.0 (2019-12-02)

Features

  • @formatjs/intl-unified-numberformat: add currencyDisplay… (#332) (0cf8629)

1.5.0 (2019-12-01)

Features

  • @formatjs/intl-utils: add PartitionPattern abstract operation (#317) (5731fcf)

1.4.4 (2019-11-26)

Note: Version bump only for package @formatjs/intl-utils

1.4.3 (2019-11-25)

Bug Fixes

  • @formatjs/intl-unified-numberformat: fix crash in numberformat (e3115e2), closes #293

1.4.2 (2019-11-21)

Bug Fixes

  • @formatjs/intl-relativetimeformat: use api-extractor to combine d.ts (bd803dd)
  • @formatjs/intl-utils: use api-extractor to combine d.ts (a4b16b5)

1.4.1 (2019-11-20)

Bug Fixes

  • lint: fix lint config and rerun (041eb99)

1.4.0 (2019-10-01)

Features

  • @formatjs/intl-utils: add IE11-safe getCanonicalLocales, (b5f37c4), closes #200

1.3.0 (2019-09-27)

Features

  • @formatjs/intl-listformat: add Intl.ListFormat polyfill (6e5d476)
  • @formatjs/intl-utils: add list-format types (066d95b)

1.2.0 (2019-09-20)

Features

  • @formatjs/intl-utils: mark the package as side-effects free (d442765)

1.1.1 (2019-09-15)

Note: Version bump only for package @formatjs/intl-utils

1.1.0 (2019-09-13)

Bug Fixes

  • @formatjs/intl-utils: consolidate parent lookup (bac2eae)
  • @formatjs/intl-utils: fix lookup case sensitivity (52fb192)

Features

  • @formatjs/intl-utils: add parent locale lookup (db94095)
  • formatjs-extract-cldr-data: even smaller locale data (66a0313)

1.0.1 (2019-09-03)

Note: Version bump only for package @formatjs/intl-utils

1.0.0 (2019-09-03)

Bug Fixes

  • @formatjs/intl-utils: add polyfill-utils like getOption/toObject (7cf1cc4)

Features

  • @formatjs/intl-relativetimeformat: use aliases from @formatjs/intl-utils (e430944)
  • @formatjs/intl-utils: add lang aliases to locale lookup (5e74792)

BREAKING CHANGES

  • @formatjs/intl-relativetimeformat: Language aliases are now built in so there is no need to explicitly include it. This provides correctness across our polyfills

0.7.0 (2019-08-29)

Features

  • @formatjs/intl-utils: modify diff calculation (224ac73)

0.6.1 (2019-08-21)

Bug Fixes

  • intl-utils: upgrade date-fns to v2 (3758c52)

0.6.0 (2019-08-19)

Bug Fixes

  • @formatjs/intl-utils: change default quarter to false in selectUnit (dadab10)
  • @formatjs/intl-utils: rm dependency on @formatjs/intl-relativetimeformat (1cd6e93)

Features

  • @formatjs/intl-untils: add locale-lookup (5886f16)
  • formatjs-extract-cldr-data: fix unit extraction (7e54a0b)

0.5.7 (2019-08-16)

Note: Version bump only for package @formatjs/intl-utils

0.5.6 (2019-08-16)

Note: Version bump only for package @formatjs/intl-utils

0.5.5 (2019-08-12)

Note: Version bump only for package @formatjs/intl-utils

0.5.4 (2019-08-11)

Bug Fixes

  • generate lib instead of mjs (05e63b3)

0.5.3 (2019-08-10)

Note: Version bump only for package @formatjs/intl-utils

0.5.2 (2019-08-09)

Note: Version bump only for package @formatjs/intl-utils

0.5.1 (2019-08-06)

Bug Fixes

  • generate .mjs instead of lib (0c34ee4)

0.5.0 (2019-08-02)

Features

  • @formatjs/intl-utils: allow passing in partial thresholds to selectUnit (6b5e556)
  • @formatjs/intl-utils: support intl-utils toggle quarter selection (#138) (cdf3ffe)

0.4.4 (2019-07-29)

Note: Version bump only for package @formatjs/intl-utils

0.4.3 (2019-07-25)

Note: Version bump only for package @formatjs/intl-utils

0.4.2 (2019-07-23)

Note: Version bump only for package @formatjs/intl-utils

0.4.1 (2019-07-12)

Note: Version bump only for package @formatjs/intl-utils

0.4.0 (2019-07-12)

Features

  • intl-messageformat-parser: add printer to print AST to string (ec0eaa2)

0.3.4 (2019-07-09)

Note: Version bump only for package @formatjs/intl-utils

0.3.3 (2019-07-08)

Note: Version bump only for package @formatjs/intl-utils

0.3.2 (2019-06-28)

Note: Version bump only for package @formatjs/intl-utils

0.3.1 (2019-07-02)

Note: Version bump only for package @formatjs/intl-utils

0.3.0 (2019-06-27)

Features

  • intl-messageformat: allow passing in formatters (#107) (3605693)

0.2.1 (2019-06-26)

Note: Version bump only for package @formatjs/intl-utils

0.2.0 (2019-06-27)

Features