fluent-react 0.8.0
Pre-release-
Rename the
messagesprop tobundles. (#222)<LocalizationProvider>now expects an iterable ofFluentBundlesto be
passed as thebundlesprop, rather thanmessages. -
Allow custom
parseMarkupfunctions. (#233)By default,
fluent-reactuses 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-iterableruntime dependency.CachedSyncIterableis now available from its own package rather than
from thefluentpackage. -
Add the
fluent-sequenceruntime dependency.mapBundleSyncis now available from its own package rather than from
thefluentpackage. -
Define
fluent >= 0.8.0as a peer dependency.