fluent-react 0.8.0
Pre-release-
Rename the
messages
prop tobundles
. (#222)<LocalizationProvider>
now expects an iterable ofFluentBundles
to be
passed as thebundles
prop, rather thanmessages
. -
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 thefluent
package. -
Add the
fluent-sequence
runtime dependency.mapBundleSync
is now available from its own package rather than from
thefluent
package. -
Define
fluent >= 0.8.0
as a peer dependency.