Globalize Versions Save

A JavaScript library for internationalization and localization that leverages the official Unicode CLDR JSON data

1.7.0

2 years ago

πŸŽ‰ New Features

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

1.6.0

3 years ago

πŸŽ‰ New Features

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

1.5.0

4 years ago

πŸŽ‰ New Features

πŸ› Fixes

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

1.4.3

4 years ago

πŸ› 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

1.4.2

5 years ago

πŸ› Fixes

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

1.4.1

5 years ago

πŸ› 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

1.4.0

5 years ago

πŸŽ‰ 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

  • Examples update:
    • Webpack example: Support webpack 3 (via PR #812) by Adam Brons @ambrons
    • Basic globalize-compiler example (via PR #637) by Jac @jacalata
  • Documentation improvements/updates/fixes by @gingerbbm, @zky829, Nova Patch @patch, JΓΆrn Zaefferer @jzaefferer, Kemal Ahmed @goatandsheep
  • Chore: Update development dependencies by Rob Garrison @Mottie

1.3.0

6 years ago

πŸŽ‰ 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)

1.2.3

7 years ago
  • 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;

1.2.2

7 years ago
  • Number:
    • Parser bug fix #660.