This repository was archived by the owner on Dec 17, 2018. It is now read-only.
Version 3.0.0
Two breaking changes, both requiring a new major release:
- To conform with the ICU MessageFormat standard, escaping with a
\is no longer supported (so e.g. the strings\{and\u0123are now passed through without changes). Instead, use 'quotes' to escape, e.g.'{braces}'. To help deal with this change, we provide a codemod to handle the change for you. - The optional parameter passed to a function is now a string, rather than an array of strings. So with e.g.
{var, func, your param}, the parameter passed tofuncwould be' your param', including the leading space. As a consequence, we've also dropped thestrictFunctionParamsoption.