Skip to content

Releases: globalizejs/globalize

Version 1.7.0

02 Aug 11:55
Compare
Choose a tag to compare

🎉 New Features

  • Currency: Add support for the new regular expression introduced in CLDR v38 @stukalin

Version 1.6.0

08 Sep 12:01
Compare
Choose a tag to compare

🎉 New Features

  • Packages: Bump Cldr.js up, use its latest updates #904

Version 1.5.0

01 Apr 11:22
Compare
Choose a tag to compare

🎉 New Features

🐛 Fixes

  • Currency: pluralGenerator better error handling (via PR #891) by @rxaviers

Version 1.4.3

01 Apr 11:16
Compare
Choose a tag to compare

🐛 Fixes

  • Various: Escape '' as a single quote ' (via PR #890) by @rxaviers
  • Various: Always un-register event listeners for CLDR validation ) #878 (via PR #889) by @robaw

Version 1.4.2

07 Mar 13:53
Compare
Choose a tag to compare

🐛 Fixes

  • Package.json: Don't publish examples/**/node_modules (via PR #859) by @rxaviers

Version 1.4.1

06 Mar 12:31
Compare
Choose a tag to compare

🐛 Fixes

  • Number: Remove unused code, fix strict mode (via PR #855) by @ashubham
  • Unit: Fix exception using compound units with languages w/o "one" prop (via PR #850) by @willsp
  • Unit: Use formatted value for compound units (via PR #839) by @EdwardSalter

Version 1.4.0

17 Jul 21:43
Compare
Choose a tag to compare

🎉 New Features

🎉 Enhancements

  • Date: Add fractional seconds support #753 (via PR #763) by Matt York @mattyork
  • Cldr: Bump cldrjs dependency up: ^0.5.0 by Christian Tellnes @tellnes

🐛 Fixes

  • Date: Fix leaking handler (via PR #806) by Alex Sexton @SlexAxton and co-worker
  • Unit (runtime only): Fix unitFormatter when using optional numberFormatter #704 (via PR #719) by Nikola Kovacs @nkovacs
  • Number: Fix a bug when setting the minimumFractionDigits or maximumFractionDigits options for number patterns that contain no fraction digits, such as for JPY #472, #565 (via PR #757) by Nova Patch @patch
  • Number: Fix incorrect rounding precision when calculating significant digits #821 (via PR #830) by Shiwani @shivijais

⚙️ Others

Version 1.3.0

05 Jul 18:33
Compare
Choose a tag to compare

🎉 New Features

  • Date: Olson-timezone-support (real z, v, V) and options.timeZone #340 #453 (via PR #687 and PR #701) (Kandaswamy Manikandan and Rafael Xavier)
  • Date: Add formatDateToParts #678 (via PR #697 and PR #700) (Reza Payami and Rafael Xavier)
  • Date: Dynamically augment skeleton #271 (via PR #703 and PR #604 and PR #462) (Artur Eshenbrener and Marat Dyatko)

🎉 Enhancements

  • Date: Show timezone offset optional minutes for O pattern (e.g., GMT-6:30 note the :30) #339 (via PR #729) (Rafael Xavier)
  • Date: Show timezone offset optional minutes and seconds for x and X patterns (e.g., -06:30 note the :30) #339 (via PR #729) (Rafael Xavier)
  • Date: Assert options.skeleton (PR #726) (Rafael Xavier)
  • Date parser: Make runtime phase lighter #735 (Rafael Xavier)
  • Date parser: Loose Matching PR #730 (Rafael Xavier)
    • Allows, among others, parsing arabic dates as user types them (i.e., without control characters)
  • Number formatter: Amend integer and fraction formatter for small numbers like 1e-7 #750 (Rafael Xavier)
  • Number parser: Lenient about trailing decimal separator #744 (Rafael Xavier)
  • Runtime: Use strict #676 (Zack Birkenbuel)

🐛 Fixes

  • Date parser: invalid output by mixing numbering systems #696 (via PR #733) (Rafael Xavier)
  • Date parser: fails on Turkish full datetime with Monday or Saturday #690 (via PR #732) (Rafael Xavier)

⚙️ Others

  • Compiler tests! #721 (via PR #727) (Nikola Kovacs)
  • Documentation style refactor #737 (Rafael Xavier)

Version 1.2.3

17 Mar 02:03
Compare
Choose a tag to compare
  • Date:
    • Parser:
      • Fix day period AM/PM parsing for some locales like Chinese #509 (PR #699);
      • Fix timezone issue where hour is an hour off when target date and today date are in different DST rules #689 (PR #693);
      • Fix parsing literals (e.g., separators) #683 (PR #692);
      • Fix parsing for zero-padded date fields that cannot be controlled via skeleton #695 (PR #702);
  • Number:
    • Parser: Fix empty string #682 (PR #691);
  • Others:
    • Docs: Minor fixes, broken links;
    • Tests: Minor technical-debt;

Version 1.2.2

31 Dec 16:06
Compare
Choose a tag to compare
  • Number:
    • Parser bug fix #660.