npm intl 1.2.1
Major Release - Ecma 402 4rd Edition

latest releases: 1.2.5, 1.2.4, 1.2.3...
7 years ago

Fixes and Features

This new feature aligns with Ecma-402 2016 which is about to be signed by Ecma as the 3rd edition of the EcmaScript Intl Specification: https://tc39.github.io/ecma402/2016/

It also introduce all proposals from 402 that are stage 3 or above: https://github.com/tc39/ecma402#current-proposals

  • Intl.getCanonicalLocales() new feature in Ecma-402 2016 (thanks to @zbraniecki )
  • Intl.NumberFormat.prototype.formatToParts() (thanks to @stasm)
  • Intl.DateTimeFormat.prototype.formatToParts() (thanks to @zbraniecki )
  • ToRawFixed abstract aligned with spec text (thanks to @watilde)

Other changes

  • better alignment with CLDR symbols (thanks to @stasm)
  • splitting internals into individual sections to match 402 organization
  • revamp of the build system to use rollup and babel (stollen from @ericf )
  • revamp BestFit for datetime format (diverging from spec to match browsers)
  • fix wrapper to define polyfill correctly as the global Intl when needed (thanks to @jimf)
  • travis unit tests are now running again (thanks to @watilde) and we have updated to the latest test262

Big thanks for everyone who helped by reporting bugs, issues, and testing this new version.

Don't miss a new intl release

NewReleases is sending notifications on new releases.