All Versions
47
Latest Version
Avg Release Cycle
5 days
Latest Release
3 days ago

Changelog History
Page 2

  • v3.3.2

    September 27, 2019
  • v3.3.1

    September 26, 2019
  • v3.3.0

    September 19, 2019

    🐛 Bug Fixes

    • 🛠 fix copy-paste issue in polyfill, fixes #1488 (0f9ec81)

    🔋 Features

    • 🆓 mark react-intl as side effect free (704a964)
  • v3.2.4

    September 19, 2019
  • v3.2.3

    September 18, 2019
  • v3.2.2

    September 17, 2019
  • v3.2.1

    September 09, 2019

    🐛 Bug Fixes

    • ⬆️ upgrade intl-messageformat (40aa758) which has the fix for nested HTML subtag
  • v3.2.0

    September 04, 2019

    🐛 Bug Fixes

    • 🛠 fix tests & add corresponding formatToParts fns (855e272)

    🔋 Features

    • extend numberformat to unified (#1462) (a7f2104)
      📦 Currently this is part of Unified NumberFormat which is stage 3. We've provided a polyfill here and react-intl types allow users to pass in a sanctioned unit. For example:

      <FormattedNumbervalue={1000}style="unit"unit="kilobyte"unitDisplay="narrow"/>

      <span>1,000kB</span>

      <FormattedNumbervalue={1000}unit="fahrenheit"unitDisplay="long"style="unit"/>

      <span>1,000 degrees Fahrenheit</span>

    • ➕ add support for formatToParts (e8167f3)

    • introduce Parts component (a1b5ff1), closes #1048
      🌐 This component provides more customization to FormattedNumber/Date/Time by allowing children function to have access to underlying parts of the formatted date. The available parts are listed here

    Props:

    props: NumberFormatOptions & { value: number, format: string, children: (parts: Intl.NumberFormatPart[]) =\> ReactElement, };
    

    Example:

    \<FormattedNumberParts value={1000}\> {parts =\> ( \<\> \<b\>{parts[0].value}\</b\> {parts[1].value} \<small\>{parts[2].value}\</small\> \</\> )}\</FormattedNumberParts\>
    
    \<b\>1\</b\>,\<small\>000\</small\>
    
  • v3.2.0-rc.2

    August 29, 2019

    🐛 Bug Fixes

    • 🛠 fix tests & add corresponding formatToParts fns (855e272)

    🔋 Features

  • v3.2.0-rc.1

    August 29, 2019

    🛠 fix npm next tag