Skip to content

fluent-react 0.8.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@stasm stasm released this 21 Aug 13:45
  • Rename the messages prop to bundles. (#222)

    <LocalizationProvider> now expects an iterable of FluentBundles to be
    passed as the bundles prop, rather than messages.

  • Allow custom parseMarkup functions. (#233)

    By default, fluent-react uses a <template> element to parse and
    sanitize markup in translations. In some scenarios like server-side
    rendering (SSR) or apps written in React Native, <template> is not
    available natively. In these situations a custom parseMarkup can be
    passed as a prop to <LocalizationProvider>. It will be used by all
    <Localized> components under it. See the wiki for details.

  • Drop support for IE and old evergreen browsers. (#133)

    Currently supported are: Firefox 52+, Chrome 55+, Edge 15+, Safari 10.1+,
    iOS Safari 10.3+ and node 8.9+.

  • Add the cached-iterable runtime dependency.

    CachedSyncIterable is now available from its own package rather than
    from the fluent package.

  • Add the fluent-sequence runtime dependency.

    mapBundleSync is now available from its own package rather than from
    the fluent package.

  • Define fluent >= 0.8.0 as a peer dependency.