Skip to content
This repository has been archived by the owner on Feb 22, 2019. It is now read-only.

Latest commit

 

History

History
98 lines (74 loc) · 3.89 KB

CHANGELOG.md

File metadata and controls

98 lines (74 loc) · 3.89 KB

3.0.0

  • 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.

2.0.2

  • 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

2.0.1

  • 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

2.0.0

  • 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.

1.9.1

Fix a reference to an undefined value.

1.9.0

Add support for key hashing and add a method hasTranslation().

1.8.5

Allow newer versions of xgettext-js #46.

1.8.4

Bump interpolate-components to 1.1.1 (for React 16 compat).

1.8.3

Change localize hoc's es6 class --> create-react-class so that the code is still technically es5 and will not need a build step.

1.8.2

Change localize hoc's React.createClass --> es6 classes for React 16 compat.

1.8.1

Fix a control sequence escaping error in POT files, see #41.

1.8.0

Merge locale data with existing one when we're not switching locale, see #40.

1.7.4

Handle options with new plural syntax, see #37.

1.7.3

Improve input file pattern support, see #25.

1.7.2

Update moment-timezone to version 0.5.11.

1.7.1

  • Allow exposed composed component, see #25.
  • Change Localize HOC display name to be consistent with react-redux, see #29.

1.7.0

Replace LRU cache implementation, see #18.

1.6.3

Add support for glob in inputFiles, see #16.

1.6.1 + 1.6.2

Fix invalid POT output when strings contained a line break, see #14.

1.6.0

  • 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.

1.5.0

  • POT: enable output of string locations, see #12.