Skip to content

Releases: iLib-js/iLib

v14.21.0

22 Dec 00:31
ea1785c
Compare
Choose a tag to compare

Release Notes for v14.21.0

  • Fix wrong option name in DateFmt test files (timelength --> length)
  • Fix typos and wrong test case
  • Update config.yml to run the test on node v20
  • Update config.yml for circleci
  • Updated all locale data to CLDR 46 and UCD 16.0.0

Full Changelog: v14.20.0...v14.21.0

Release notes for v14.20.0

23 Feb 22:34
f8ece57
Compare
Choose a tag to compare

New Features:

  • Update to CLDR v44.1 data
  • Update to Unicode Character Database (UCD) version 15.1.0
  • Updated to detect the webOS Platform with webOSSystem value. The previous PalmSystem has been renamed.

Bug Fixes:

  • Updated timezone info to 2024a

Release notes for v14.19.0

21 Nov 15:09
8b71479
Compare
Choose a tag to compare

New Features:

  • Update to CLDR v43.1 data
  • Added new getCLDRVersion() API to know the cldr version that the currently adoped on.

Bug Fixes:

  • Removed docs/localeSpecDoc/ directory which is not maintained.
  • Added safety code to avoid Uncaught TypeError problems when accessing the
    Intl object on a js engine that is modern enough to have an Intl object,
    but not modern enough to have everything we need on that Intl object
  • Updated dependencies

Release notes for v14.18.0

26 Jul 17:24
68cd4c8
Compare
Choose a tag to compare

New Features:

  • Updated pseudo strings to be encapsulated with square brackets so that you can tell when the resource string starts and ends.
  • Added more pseudomap data for use in testing different fonts using pseudo locales.
    • Added a "tall" property in some pseudomap.json files which gives the tallest glyph in the script.
      This tallest glyph is included at the beginning of a pseudo localized string in order to test
      if there is enough room for the height of text in each UI element.

Bug Fixes:

  • Updated to IANA time zone data version 2023b and then 2023c

Release notes for v14.17.0

06 Mar 06:15
8cfcd81
Compare
Choose a tag to compare

New Features:

  • Update to CLDR v42 data

Bug Fixes:

  • Fixed to publish js apidoc with applying style properly.
  • Fixed the case of setting the root path incorrectly in ilib-web.js.
  • Fixed many unit test failures on chrome v110+

Release notes for v14.16.0

25 Jan 07:23
70c79db
Compare
Choose a tag to compare

New Features:

  • Update to Unicode Character Database (UCD) version 15.0.0
    • updated character properties
    • added scripts support
    • updated normalization data, especially for Cyrillic characters

Bug Fixes:

  • Updated to IANA time zone data version 2022g
  • Updated package dependencies
  • Fixed the locale info for zh-TW, zh-MO, and zh-HK
    • It was returning different info than zh-Hant-TW, etc., but it
      should have been the same

Release notes for v14.15.1

21 Sep 23:23
83c5e74
Compare
Choose a tag to compare

Bug fixes:

  • Fixed isomorphic test failures in Enact build by adding a value check

Release notes for v14.15.0

02 Sep 08:02
e23f73a
Compare
Choose a tag to compare

New Features:

  • Update to CLDR v41 data
  • Update to the latest ISO-14924 data (writing script information)
  • Added useIntl option in DateFmt to choose whether to use Intl.DateTimeFormat
    • When it is set to true, the Intl object is available, it supports the requested locale, and the parameters can be converted to equivalent parameters for the Intl.DateTimeFormat object, then it will format the date relatively quickly using Intl.
    • When they cannot be converted, the Intl object is not available, or the Intl object does not support the requested locale, it will perform the relatively slow formatting using regular ilib code written in Javascript.
    • The code will often return different results depending on the platform and version of the Javascript engine and which version of CLDR it supports. If you need consistency across versions and platforms, do not use the useIntl flag. Just stick with the regular ilib formatting code.
  • Added the ability to use Intl.PluralRules in IString get the plural category with the number.

Bug Fixes:

  • Fixed a bug where the DateFmt.formatRelative() does not represent correct result in certain case.
  • Updated locale data to have a consistently sorted order by rerunning cldr tool code.
  • Fixed a bug which a default script for uz should be Latin instead of Arabic.
  • Updated hardcoded locales for LocaleMatcher. (bn-IN, en-KR, hr-HU, ka-IR, ko-US, ku-IQ, ps-PK, pt-MO)
  • Fixed to generate plurals.json files even when the rule only has other.
  • Updated to load plurals.json in ResBundle Constructor, then you could call synchronously all the time because we can be sure if is already loaded.
  • Fixed a bug where the Currency didn't work asynchronously.
  • Update to time zone data 2022c
  • Fixed to handle both absolute and relative paths correctly in ilib-web.js.

Release Notes for v14.14.0

24 Mar 05:37
84b21a2
Compare
Choose a tag to compare

New Features:

  • Added support for ig-NG, lb-LU, yo-BJ, yo-NG, ps-AF, and ps-PK locales
    • validated locale data and added many test cases
  • Updated cldr tool codes to have a consistently sorted locale data order.

Bug Fixes:

  • Fixed the long name of the pounds per square inch (psi) of pressure measure to match the long name used
    in CLDR so that measures of psi can be formatted with the format templates from CLDR
  • Fixed the ilib demo build failure issue that is related ilib-scanner.
  • Update to time zone data 2022a
  • Fixed correct currency symbol (AMD, AZN, GHS)

Release Notes for v14.13.0

16 Feb 16:36
564cf0c
Compare
Choose a tag to compare

New Features:

  • Updated clock.jf files by referencing cldr-core/supplemental/timeDate.json and modified related cldr script code.
  • Added new unit types for power, pressure, and force
    • includes unit conversion and formatting