[Fixed]
- Broken link. Thanks to hussainshaikh12 (#163)
- [Fixed] One-letter words are not extracted. Thanks to kwangminini (#162)
- [Fixed] Replace optimist with minimist. Thanks to AndreeWille (#150)
- [Removed] Demo and DemoCRA projects has been removed because it contains a lot of vulnerabilities. It will be moved to a separated repository.
- [Changed] Replaced Travis by GHA
- [Fixed] Fix interface definition for IGetTranslateFunctionResponse. Thanks to JosephBrooksbank (#137)
- [Fixed] Use react forceUpdate instead of deep-force-update. Thanks to nicolascrop (#130)
- Component lifecycles react17. Thanks to uullrich (#116)
- Use dynamic t function in HOC to rerender with new translations. Thanks to bjackson (#114)
- Some demoCRA packages upgraded for fix security alerts.
- Adds ability to suppress console warnings. Thanks to erdemr (#106)
- Support React.forwardRef(), React.memo() and latest react-redux. Thanks to topaxi (#103)
- Some security vulnerabilities fixed.
- Fix redux-thunk type definition for version 2.3.0. Thanks to WhiteHatTux (#102)
- Improve fallback handling. Thanks to EvertEt (#101)
- Updated some library versions of demo project for fix vulnerabilities.
- Fix plural fallback. Thanks to EvertEt (#100)
- react-deep-force-update package upgraded to 2.1.3 version.
- Warn when a translation is missing. Thanks to aHerbots (#96)
- Improve import multiline handling. Thanks to EvertEt (#97)
- Fallback language is stored to state. It's changable via setFallbackLanguage(lang) methοd. Thanks to DimitrisD (#93)
- Use singular translation if plural missing in .po. Thanks to shizpi (#83)
- Added explanation about .po format and rise exception when it's not set. Thanks to Salec (#72)
- Fix package.json on DemoCRA. Thanks to karland (#74)
- Documentation improved. Thanks to karland (#62, #65, #67)
- New demo app based in "create react app". Thanks to karland (#63, #68)
- moment and react version upgraded.
- Test script updated for has been run on cross platform (windows, mac and linux). Run "npm install" before for install "cross-env".
- Plural forms, bug fixed.
- Added index.d.ts to package.json, and more tiny updates to index.d.ts. Thanks to vasilevich (#59)
- Made parameter propName optional in function localize. Thanks to vasilevich (#58)
- Added typescript typings file. Thanks to vasilevich (#57)
- Escape doublequotes. Thanks to stayman (#54)
- Documentation error for HOC. Thanks to fhessenberger (#48)
- Encoding setter. Thanks to stayman (#51)
- Isomorphic. Thanks to stayman (#52)
- Move translate behavior into an isolated import. Thanks to TheActualWalko (#53)
- Fix: use fallback lang translation if current lang is unknown. Thanks to tagoro9 (#43)
- Allow react component interpolation. Thanks to staymain (#41)
- Multiple comments fix. Thanks to stayman (#40)
- setTranslations now can merge translations. Thanks to tagoro9 (#38)
- Extract regex improved. Thanks to stayman (#39)
- Localize Hoc method for translate your isolate components. Thanks to stayman (#34).
- Extract from múltiple folders. Thanks to stayman (#36).
- Fix deprecations with React 15.5. Thanks to renchap (#31).
- "fallbackLang" prop added. Read documentation (https://github.com/APSL/redux-i18n#usage)
- Build code minimized for reduce dist folder size.
- New parameter for "extract" action added (fexts). Take a look documentation (https://github.com/APSL/redux-i18n#extract-texts-and-build-templatepot). Thanks to renchap for this idea (#26).
- Updates extract strings regex. Tanks to pablen (#25).
- New initialLang attribute added. Take a look to Usage section.
- 'Extract' action and tests improved.
- English grammar improved in documentation. Thanks to doei (#19).
- Now is possible use reducer for store your translations. You can load async translations and then store there. Read documentation https://github.com/APSL/redux-i18n#async-translations
- Documentation updated for explain how use html object as a param. (https://github.com/APSL/redux-i18n#html-object-as-parameter)
- Changelog format improved.
- Documentation improved.
- Now is possible use html object as parameter. Read documentation https://github.com/APSL/redux-i18n#html-object-as-parameter
- Fall back lang. Read documentation https://github.com/APSL/redux-i18n#changing-language
- Fixed import action when there was quotes.
- Demo app added.
- Some tests added.
- Now is possible use complex languages codes as "en-DE".
- Fix: don't naively force params to strings; instead, only perform string operations on string parameters. Thanks to evandavis (#16)
- Charset removed from POT header because is not necessary and POEdit showed an error.
- New feature. It is already possible use plurals.
- Unit tests improved and added more.
- Fix: make sure numbers passed to t function via params object are converted to strings so .replace() won't fail. Thanks to gannoncurran (#15)
- Escapes any '$' characters passed to t function via params object to prevent unexpected behavior with string.replace(). Thanks to gannoncurran (#14)
- Readme improved. Thanks to mac200 (#8)
- New tests added.
- New "dowloads per month" badge added.
- New node versions added in travis configuration.
- Readme updated adding the requirements sections.
- Readme improved.
- Readme improved.
- Tests improved for the action of "extract".
- Now its posible add comments for a translator when t function is called. Read the documentation.
- Immutable.js compatibility. Thanks to tiii (#5)
- Add the ability to specify --pattern as a custom name for the translation function. Thanks to evandavis (https://github.com/APSL/redux-i18n/pull/4/commits/9ebd28f5f4d47c8414fc3dcd18da05a5cee14575)
- Two dependencies fixed. Thanks to evandavis (#3).
- I18n component now it's the default import. Replace import {I18n} from 'redux-i18n' for import I18n from 'redux-i18n'. Thanks to evandavis (#1).
- Replaced with single quotes the translation.js file.
- Eslint check added in test.
- Regexp of extract script improved. Now can extract texts inside single quotas.
- Tests run on dist libraries. Not over the sources.
- The package's version is increased because it's stable.
- Extract regexp bug fixed.
- Added "files" attribute in package.json.
- Documentation updated with an example with dates translated.
- New tests with date formats.
- Added Unit tests.
- Redux state and action added.
- Improved documentation.
- Improved documentation of contributed file.
- Performance improvement
- Added some parameters to i18n_extract and i18n_import scripts.
- Improved documentation.
- First commit