- Update Jed dependency to v1.1.1. This is a breaking change, since as of Jed v1.1, the format of Jed translation files has changed. Refer to messageformat/Jed#33 for details.
- The localize HoC will now pass down the current locale slug as a
locale
prop to the wrapped component #77. - Open up the range on the moment-timezone dependency to allow clients to use any moment-timezone from the 0.5 range. #78
- Update parseOptions passed to xgettext to include more modern features #68
- Switch to hash.js from sha1 for hashing to cut size #67
- Remove async dependency, as it was unused #66
- Update xgettext-js #55.
- Update to circlci v2 configuration #57.
- Update npm audit vulnerabilities #56.
- Drop obsolete react-test-env dependency #58.
- Remove the
this.translate()
mixin, see #59. - Fix circular reference when calling JSON.stringify with the Community Translator enabled in Calypso #54.
- Update CI image to node:10 and use
npm cit
, see #63.
Fix a reference to an undefined value.
Add support for key hashing and add a method hasTranslation()
.
Allow newer versions of xgettext-js #46.
Bump interpolate-components
to 1.1.1 (for React 16 compat).
Change localize hoc's es6 class --> create-react-class so that the code is still technically es5 and will not need a build step.
Change localize hoc's React.createClass --> es6 classes for React 16 compat.
Fix a control sequence escaping error in POT files, see #41.
Merge locale data with existing one when we're not switching locale, see #40.
Handle options with new plural syntax, see #37.
Improve input file pattern support, see #25.
Update moment-timezone
to version 0.5.11
.
- Allow exposed composed component, see #25.
- Change Localize HOC display name to be consistent with react-redux, see #29.
Replace LRU cache implementation, see #18.
Add support for glob in inputFiles, see #16.
Fix invalid POT output when strings contained a line break, see #14.
- Add method to add/overwrite translations, see #10.
- Add ability to parse Calypso source by switching to xgettext-js 1.0.0 and enabling the necessary plugins, see #13.
- POT: enable output of string locations, see #12.