Releases: globalizejs/globalize
Releases · globalizejs/globalize
Version 1.7.0
Version 1.6.0
🎉 New Features
- Packages: Bump Cldr.js up, use its latest updates #904
Version 1.5.0
Version 1.4.3
Version 1.4.2
Version 1.4.1
Version 1.4.0
🎉 New Features
- Number and Currency: Compact form support #416 (via PR #759) by Katie Sievert @sieverk (revision fixes by Shiwani @shivijais #805 and #830)
- Formatting Compact Numbers (e.g.,
"14K"
) - Formatting Compact Currencies (e.g.,
"$1.2B"
)
- Formatting Compact Numbers (e.g.,
- Currency: Narrow symbol support (e.g.,
$
instead ofHK$
) #479 (via PR #738) by Gethin Webster @gethinwebster
🎉 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 optionalnumberFormatter
#704 (via PR #719) by Nikola Kovacs @nkovacs - Number: Fix a bug when setting the
minimumFractionDigits
ormaximumFractionDigits
options for number patterns that contain no fraction digits, such as forJPY
#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:
- 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
Version 1.3.0
🎉 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
Version 1.2.3
- 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);
- Parser:
- Number:
- Others:
- Docs: Minor fixes, broken links;
- Tests: Minor technical-debt;
Version 1.2.2
- Number:
- Parser bug fix #660.