Skip to content

Releases: cca-io/rescript-react-intl

3.0.0

16 May 14:39
4720c89
Compare
Choose a tag to compare
  • [ BREAKING ] Package renamed to rescript-react-intl.
  • [ BREAKING ] ReScript support
    • Now requires ReScript >= 9.1.0 and @rescript/react
    • The names of "enum" values now exactly match the names in JavaScript, e.g. #"2-digit" instead of #twoDigit.

v2.0.0

16 May 12:55
Compare
Choose a tag to compare
  • [ BREAKING ] bs-platform >=7.2.2.
  • [ BREAKING ] react-intl >=4.0.0:
    • Added Intl.timeZone
    • Added FormattedList, Intl.formatList & Intl.formatListWithOptions
    • Added FormattedDisplayName, Intl.formatDisplayName & Intl.formatDisplayNameWithOptions
    • Added FormattedDateParts, Intl.formatDateToParts & Intl.formatDateToPartsWithOptions
    • Added FormattedTimeParts, Intl.formatTimeToParts & Intl.formatTimeToPartsWithOptions
    • Added FormattedNumberParts, Intl.formatNumberToParts & Intl.formatNumberToPartsWithOptions
    • Removed FormattedHTMLMessage, Intl.formatHTMLMessage & Intl.formatHtmlMessageWithValues
    • Removed Intl.now
    • FormattedRelative has been renamed to FormattedRelativeTime and its API has been changed as well
    • Intl.formatRelative has been renamed to Intl.formatRelativeTime and its API has been changed as well
  • [ BREAKING ] Changed ReactIntl.message to record type.
  • [ BREAKING ] Removed ReactIntl.translation.
  • [ BREAKING ] Removed ReactIntlCompat.

v1.1.0

01 Jan 09:29
Compare
Choose a tag to compare
  • Update CHANGELOG 6bd4ca9
  • Merge pull request #27 from reasonml-community/create-intl cdf4dc5
  • Update example to show how to use createIntl and RawIntlProvider. c104045
  • Add createIntlCache, intlConfig, createIntl, RawIntlProvider. f77cc17
  • Update dev dependencies. 85b1b71
  • Merge pull request #26 from reasonml-community/fix-extractor-script 0d980bd
  • Fix extract script ece2c09

v1.0.0...v1.1.0