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

Latest commit

 

History

History
1370 lines (428 loc) · 45.1 KB

CHANGELOG.md

File metadata and controls

1370 lines (428 loc) · 45.1 KB

Change Log

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

9.2.0 (2021-07-24)

Bug Fixes

  • @formatjs/intl-relativetimeformat: refactor (7bfcc3e)

Features

  • @formatjs/intl-relativetimeformat: add supported locales check to should-polyfill, fix #3066 (ab90bf5)

9.1.7 (2021-06-26)

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

9.1.6 (2021-06-05)

Bug Fixes

  • @formatjs/intl-relativetimeformat: remove Intl check (cf95623)

9.1.5 (2021-06-05)

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

9.1.4 (2021-06-04)

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

9.1.3 (2021-06-01)

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

9.1.2 (2021-05-23)

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

9.1.1 (2021-05-20)

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

9.1.0 (2021-05-17)

Features

  • @formatjs/intl-relativetimeformat: upgrade unicode to v39 (5b743cb)

9.0.0 (2021-05-14)

Features

  • @formatjs/intl-relativetimeformat: stop aliasing en-US-POSIX to en-US (30a38ad)

BREAKING CHANGES

  • @formatjs/intl-relativetimeformat: Before we call en-US-POSIX as en-US but it has subtle pattern differences so it's misleading. If you were importing en-US earlier, use en instead since they're the same.

8.1.8 (2021-05-10)

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

8.1.7 (2021-05-02)

Bug Fixes

  • @formatjs/intl-relativetimeformat: add d.ts for locale files, fix #2850 (c7b7eba)

8.1.6 (2021-04-26)

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

8.1.5 (2021-04-12)

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

8.1.4 (2021-03-26)

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

8.1.3 (2021-03-15)

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

8.1.2 (2021-03-01)

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

8.1.1 (2021-02-25)

Bug Fixes

8.1.0 (2021-02-25)

Features

  • @formatjs/intl-relativetimeformat: support TS4.2 (6cd5718)

8.0.6 (2021-02-22)

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

8.0.5 (2021-02-21)

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

8.0.4 (2021-01-27)

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

8.0.3 (2021-01-05)

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

8.0.2 (2021-01-01)

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

8.0.1 (2020-12-16)

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

8.0.0 (2020-11-20)

  • feat(@formatjs/intl-relativetimeformat: enhance best fit locale negotiation (bb9485f)

Features

  • @formatjs/ecma402-abstract: remove unpackData (18cd5ae)

BREAKING CHANGES

  • This polyfill now requires Intl.Locale, or @formatjs/intl-locale polyfill

7.3.6 (2020-11-12)

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

7.3.5 (2020-11-09)

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

7.3.4 (2020-11-09)

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

7.3.3 (2020-11-05)

Bug Fixes

  • @formatjs/intl-relativetimeformat: lock down monorepo dep version (196d28a)

7.3.2 (2020-11-04)

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

7.3.1 (2020-10-26)

Bug Fixes

  • @formatjs/intl-relativetimeformat: fix UMD bundle (b996965)

7.3.0 (2020-10-25)

Features

  • @formatjs/intl-datetimeformat: upgrade CLDR to v37 (d1b0514)

7.2.10 (2020-10-10)

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

7.2.9 (2020-10-08)

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

7.2.8 (2020-10-01)

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

7.2.7 (2020-09-18)

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

7.2.6 (2020-09-09)

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

7.2.5 (2020-08-28)

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

7.2.4 (2020-08-25)

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

7.2.3 (2020-08-21)

Bug Fixes

7.2.2 (2020-08-19)

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

7.2.1 (2020-08-19)

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

7.2.0 (2020-08-18)

Features

  • @formatjs/intl-relativetimeformat: expose shouldPolyfill to detect if platform needs our polyfill (391e1af)

7.1.2 (2020-08-17)

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

7.1.1 (2020-08-14)

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

7.1.0 (2020-08-13)

Features

  • @formatjs/cli: switch from glob to fast-glob (6fc7bfb)

7.0.0 (2020-07-24)

Features

  • @formatjs/intl-relativetimeformat: stop aggregating locale-data into languages (8ad38e8)

BREAKING CHANGES

  • @formatjs/intl-relativetimeformat: In this release we no longer bundle locale data of the same language into a single file. This serves a couple of purposes:
  1. Reduce size of the locale-data and normalize them to around 3 - 6KB each. This tremendously helps popular languages like en or zh where previous locale-data was around 20K.
  2. Normalize our CLDR processing pipeline.
  3. Get rid of runtime data unpacking which helps runtime performance.

6.2.4 (2020-07-21)

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

6.2.3 (2020-07-16)

Reverts

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

6.2.2 (2020-07-14)

Bug Fixes

  • react-intl: fix rollup'ed type def file (bddb88e)

6.2.1 (2020-07-14)

Bug Fixes

  • react-intl: fix rollup'ed type def file (bddb88e)

6.2.0 (2020-07-14)

Features

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

6.1.0 (2020-07-14)

Bug Fixes

  • @formatjs/intl-relativetimeformat: fix plural unit issue, fix #1721 (4c7a174)

Features

6.0.3 (2020-07-09)

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

6.0.2 (2020-07-03)

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

6.0.1 (2020-07-03)

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

6.0.0 (2020-07-03)

Bug Fixes

  • add locale-data to package.json files (52a1481)

Features

  • @formatjs/intl-relativetimeformat: restructure locale-data output (4b21463)

BREAKING CHANGES

  • @formatjs/intl-relativetimeformat: Remove ponyfill mechanism. Our polyfill mechanism also detects buggy native implementation so we can override.
  • @formatjs/intl-relativetimeformat: Move locale-data outside of dist. This means new locale-data path would be @formatjs/intl-relativetimeformat/locale-data instead of @formatjs/intl-relativetimeformat/dist/locale-data

5.2.11 (2020-07-01)

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

5.2.10 (2020-06-26)

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

5.2.9 (2020-06-23)

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

5.2.8 (2020-06-23)

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

5.2.7 (2020-06-20)

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

5.2.6 (2020-06-06)

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

5.2.5 (2020-06-06)

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

5.2.4 (2020-06-04)

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

5.2.3 (2020-06-04)

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

5.2.2 (2020-06-03)

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

5.2.1 (2020-05-28)

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

5.2.0 (2020-05-27)

Features

  • formatjs-extract-cldr-data: rm this package (62bdd32)

5.1.0 (2020-05-25)

Features

  • @formatjs/intl-relativetimeformat: reduce asset size since we use Intl.getCanonicalLocales (ac77c42)

5.0.1 (2020-05-23)

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

5.0.0 (2020-05-23)

Features

  • @formatjs/intl-relativetimeformat: Use native (c4b719c)

BREAKING CHANGES

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

4.5.16 (2020-05-16)

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

4.5.15 (2020-05-05)

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

4.5.14 (2020-04-28)

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

4.5.13 (2020-04-24)

Bug Fixes

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

4.5.12 (2020-04-14)

Bug Fixes

  • clean up tsbuildinfo before full build (c301ca0)

4.5.11 (2020-03-30)

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

4.5.10 (2020-03-18)

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

4.5.9 (2020-01-27)

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

4.5.8 (2020-01-22)

Bug Fixes

  • @formatjs/intl-relativetimeformat: Fix numberingSystem option regex of intl-relativetimeformat (d619614), closes #471

4.5.7 (2020-01-09)

Bug Fixes

  • @formatjs/intl-listformat: fix locale lookup regression for en-US (21e8219)

4.5.6 (2020-01-08)

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

4.5.5 (2020-01-06)

Bug Fixes

  • @formatjs/intl-listformat: don’t treat en-US-POSIX as en-US because they are different (a37b091)

4.5.4 (2019-12-27)

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

4.5.3 (2019-12-27)

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

4.5.2 (2019-12-26)

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

4.5.1 (2019-12-02)

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

4.5.0 (2019-12-01)

Features

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

4.4.6 (2019-11-26)

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

4.4.5 (2019-11-25)

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

4.4.4 (2019-11-23)

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

4.4.3 (2019-11-21)

Bug Fixes

  • @formatjs/intl-pluralrules: use api-extractor to combine d.ts (65adff2)
  • @formatjs/intl-relativetimeformat: use api-extractor to combine d.ts (bd803dd)

4.4.2 (2019-11-20)

Bug Fixes

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

4.4.1 (2019-11-10)

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

4.4.0 (2019-10-30)

Features

4.3.0 (2019-10-30)

Features

4.2.1 (2019-10-23)

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

4.2.0 (2019-10-01)

Features

  • @formatjs/intl-relativetimeformat: dist out raw json data for ponyfill, fix #201 (cda3cf2)
  • @formatjs/intl-utils: add IE11-safe getCanonicalLocales, (b5f37c4), closes #200

4.1.1 (2019-09-27)

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

4.1.0 (2019-09-20)

Bug Fixes

  • @formatjs/intl-relativetimeformat: add locale-data as side-effectful (7e3dc27)
  • @formatjs/intl-relativetimeformat: add more side-effectful files (03d2a10)
  • @formatjs/intl-relativetimeformat: rm side effects array due to build complication (7497c87)

Features

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

4.0.1 (2019-09-17)

Bug Fixes

  • @formatjs/intl-pluralrules: merge fix meta into core (0b10309)
  • @formatjs/intl-relativetimeformat: fix type definition for Intl.RelativeTimeFormat (a16a352)
  • @formatjs/intl-relativetimeformat: remove global type mod for RelativeTimeFormat (4c0b918)
  • @formatjs/intl-relativetimeformat: remove unnecessary meta fix (5b087bf)

4.0.0 (2019-09-15)

Features

  • @formatjs/intl-relativetimeformat: dont bundle en by default (d9a0a66)

BREAKING CHANGES

  • @formatjs/intl-relativetimeformat: en locale data is no longer bundled by default with the polyfill

3.1.0 (2019-09-13)

Bug Fixes

  • @formatjs/intl-utils: consolidate parent lookup (bac2eae)

Features

  • @formatjs/intl-relativetimeformat: use common parentLocale from @formatjs/intl-utils (38bf476)
  • formatjs-extract-cldr-data: dedupe relative data, reduce relative time data by 40% (db12bf3)
  • formatjs-extract-cldr-data: dont embed parentLocale everywhere (10bca2f)
  • formatjs-extract-cldr-data: even smaller locale data (66a0313)

3.0.2 (2019-09-03)

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

3.0.1 (2019-09-03)

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

3.0.0 (2019-09-03)

Bug Fixes

  • @formatjs/intl-relativetimeformat: fix test262 (025dfe3)
  • @formatjs/intl-relativetimeformat: pass in raw locales to lookup (9c2af2a)
  • @formatjs/intl-relativetimeformat: rely on Intl.PluralRules supported locales instead of both PL & NumberFormat (cc3c05b)
  • @formatjs/intl-unified-numberformat: pass in raw locales to lookup (719c6f2)
  • @formatjs/intl-utils: add polyfill-utils like getOption/toObject (7cf1cc4)

Features

  • @formatjs/intl-relativetimeformat: use aliases from @formatjs/intl-utils (e430944)

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

2.8.3 (2019-08-29)

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

2.8.2 (2019-08-19)

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

2.8.1 (2019-08-21)

Bug Fixes

  • @formatjs/intl-relativetimeformat: use locale-lookup from intl-utils (6146194)

2.8.0 (2019-08-19)

Bug Fixes

  • @formatjs/intl-utils: change default quarter to false in selectUnit (dadab10)

Features

  • @formatjs/intl-unified-numberformat: add polyfill option (4c1d692)
  • formatjs-extract-cldr-data: fix unit extraction (7e54a0b)

2.7.0 (2019-08-16)

Features

  • formatjs-extract-cldr-data: polyfill units (e291eeb)

2.6.4 (2019-08-16)

Bug Fixes

  • @formatjs/intl-relativetimeformat: make supportedLocalesOf reflect data we have loaded, fix #157 (58693be)

2.6.3 (2019-08-12)

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

2.6.2 (2019-08-11)

Bug Fixes

  • generate lib instead of mjs (05e63b3)

2.6.1 (2019-08-10)

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

2.6.0 (2019-08-09)

Features

  • @formatjs/intl-relativetimeformat: add aliases support (a2aec8c)

2.5.2 (2019-08-06)

Bug Fixes

  • generate .mjs instead of lib (0c34ee4)

2.5.1 (2019-08-02)

Bug Fixes

  • @formatjs/intl-relativetimeformat: rm locale-data import core module (3946600)

2.5.0 (2019-07-29)

Features

  • intl-messageformat-parser: add parser for number skeleton and date skeleton (#131) (dbe6799)

2.4.3 (2019-07-25)

Bug Fixes

  • @formatjs/intl-relativetimeformat: Ignore error when setting name function properties on iOS 9 (#129) (62d4b06), closes #128

2.4.2 (2019-07-23)

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

2.4.1 (2019-07-12)

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

2.4.0 (2019-07-12)

Features

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

2.3.4 (2019-07-09)

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

2.3.3 (2019-07-08)

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

2.3.2 (2019-06-28)

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

2.3.1 (2019-07-02)

Bug Fixes

  • @formatjs/intl-relativetimeformat: fix polyfill import (#110) (3adffc8)

2.3.0 (2019-06-27)

Features

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

2.2.0 (2019-06-26)

Features

  • intl-relativetimeformat: update LICENSE & README (#100) (3b1d11b)

2.1.0 (2019-06-27)

Features

  • intl-relativetimeformat: make intl-relativetimeformat test262-compliant (#95) (91669a3)
  • intl-utils: Add intl-utils (#98) (2329c57)

2.0.2 (2019-06-18)

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

2.0.1 (2019-06-18)

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

2.0.0 (2019-06-18)

Features

  • formatjs-extract-cldr-data: migrate to TS (#91) (c012d6e)
  • intl-format-cache: fix TS definition (71ae9eb)

BREAKING CHANGES

  • formatjs-extract-cldr-data: Export main function via default in index file. If you're using require('formatjs-extract-cldr-data'), change it to require('formatjs-extract-cldr-data').default.

1.0.1 (2019-06-12)

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

1.0.0 (2019-06-05)

Features

  • add package intl-relativetimeformat (#51) (48c0f43)
  • intl-messageformat: rm bundled intl-pluralrules (a8526c3)
  • intl-relativeformat: Use Intl.RelativeTimeFormat (c014ce0)
  • intl-relativetimeformat: rename due to npm squatting (b4476e0)

BREAKING CHANGES

  • intl-messageformat: We no longer include intl-pluralrules in our main index file. Consumer should polyfill accordingly.
  • intl-relativeformat: We now use Intl.RelativeTimeFormat in intl-relativeformat so consuming env should polyfill this accordingly

1.0.0 (2019-06-05)

Features

  • add package intl-relativetimeformat (#51) (48c0f43)
  • intl-messageformat: rm bundled intl-pluralrules (a8526c3)
  • intl-relativeformat: Use Intl.RelativeTimeFormat (c014ce0)

BREAKING CHANGES

  • intl-messageformat: We no longer include intl-pluralrules in our main index file. Consumer should polyfill accordingly.
  • intl-relativeformat: We now use Intl.RelativeTimeFormat in intl-relativeformat so consuming env should polyfill this accordingly

3.1.0 (2019-05-31)

Features

  • intl-relativeformat: expose es6 entry point in package.json (baf36b5)

3.0.1 (2019-05-31)

Note: Version bump only for package intl-relativeformat

2.2.0 (2019-05-29)

Features

  • intl-relativeformat: Improve day diffing (#45) (8f2c649)

2.1.3 (2019-05-28)

Note: Version bump only for package intl-relativeformat

2.1.2 (2019-05-28)

Note: Version bump only for package intl-relativeformat

2.1.1 (2019-05-28)

Note: Version bump only for package intl-relativeformat

2.1.0 (2019-05-28)