Skip to content

Latest commit

 

History

History
215 lines (141 loc) · 7.84 KB

CHANGELOG.md

File metadata and controls

215 lines (141 loc) · 7.84 KB

Changelog

1.5.19 (Not created yet)

1.5.18

  • Fix redux-thunk type definition for version 2.3.0. Thanks to WhiteHatTux (APSL#102)

1.5.17

  • Improve fallback handling. Thanks to EvertEt (APSL#101)

1.5.16

  • Updated some library versions of demo project for fix vulnerabilities.
  • Fix plural fallback. Thanks to EvertEt (APSL#100)
  • react-deep-force-update package upgraded to 2.1.3 version.

1.5.15

  • Warn when a translation is missing. Thanks to aHerbots (APSL#96)
  • Improve import multiline handling. Thanks to EvertEt (APSL#97)

1.5.14

  • Fallback language is stored to state. It's changable via setFallbackLanguage(lang) methοd. Thanks to DimitrisD (APSL#93)
  • Use singular translation if plural missing in .po. Thanks to shizpi (APSL#83)

1.5.13

  • Readme updated. Thanks to jhta (APSL#76)
  • Support multi-line strings. Thanks to tuyakhov (APSL#80)

1.5.12

  • Added explanation about .po format and rise exception when it's not set. Thanks to Salec (APSL#72)
  • Fix package.json on DemoCRA. Thanks to karland (APSL#74)

1.5.11

  • Documentation improved. Thanks to karland (APSL#62, APSL#65, APSL#67)
  • New demo app based in "create react app". Thanks to karland (APSL#63, APSL#68)
  • moment and react version upgraded.

1.5.10

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

1.5.9

  • Added index.d.ts to package.json, and more tiny updates to index.d.ts. Thanks to vasilevich (APSL#59)

1.5.8

  • Made parameter propName optional in function localize. Thanks to vasilevich (APSL#58)

1.5.7

  • Added typescript typings file. Thanks to vasilevich (APSL#57)

1.5.6

  • Escape doublequotes. Thanks to stayman (APSL#54)

1.5.5

  • Documentation error for HOC. Thanks to fhessenberger (APSL#48)
  • Encoding setter. Thanks to stayman (APSL#51)
  • Isomorphic. Thanks to stayman (APSL#52)
  • Move translate behavior into an isolated import. Thanks to TheActualWalko (APSL#53)

1.5.4

  • Fix: use fallback lang translation if current lang is unknown. Thanks to tagoro9 (APSL#43)

1.5.3

  • Allow react component interpolation. Thanks to staymain (APSL#41)

1.5.2

  • Multiple comments fix. Thanks to stayman (APSL#40)

1.5.1

  • setTranslations now can merge translations. Thanks to tagoro9 (APSL#38)
  • Extract regex improved. Thanks to stayman (APSL#39)

1.5.0

  • Localize Hoc method for translate your isolate components. Thanks to stayman (APSL#34).
  • Extract from múltiple folders. Thanks to stayman (APSL#36).

1.4.0

1.3.2

1.3.1

  • Updates extract strings regex. Tanks to pablen (APSL#25).

1.3.0

  • New initialLang attribute added. Take a look to Usage section.

1.2.2

  • 'Extract' action and tests improved.

1.2.1

  • English grammar improved in documentation. Thanks to doei (APSL#19).

1.2.0

1.1.5

1.1.4

1.1.3

  • Fixed import action when there was quotes.
  • Demo app added.

1.1.2

  • Some tests added.
  • Now is possible use complex languages codes as "en-DE".

1.1.1

  • Fix: don't naively force params to strings; instead, only perform string operations on string parameters. Thanks to evandavis (APSL#16)

1.1.0

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

1.0.11

  • Fix: make sure numbers passed to t function via params object are converted to strings so .replace() won't fail. Thanks to gannoncurran (APSL#15)

1.0.10

  • Escapes any '$' characters passed to t function via params object to prevent unexpected behavior with string.replace(). Thanks to gannoncurran (APSL#14)

1.0.9

  • Readme improved. Thanks to mac200 (APSL#8)
  • New tests added.
  • New "dowloads per month" badge added.
  • New node versions added in travis configuration.
  • Readme updated adding the requirements sections.

1.0.8

  • Readme improved.

1.0.7

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

1.0.6

  • Immutable.js compatibility. Thanks to tiii (APSL#5)

1.0.5

1.0.4

  • Two dependencies fixed. Thanks to evandavis (APSL#3).

1.0.3

  • I18n component now it's the default import. Replace import {I18n} from 'redux-i18n' for import I18n from 'redux-i18n'. Thanks to evandavis (APSL#1).

1.0.2

  • Replaced with single quotes the translation.js file.

1.0.1

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

1.0.0

  • The package's version is increased because it's stable.

0.0.8

  • Extract regexp bug fixed.

0.0.7

  • Added "files" attribute in package.json.

0.0.6

  • Documentation updated with an example with dates translated.
  • New tests with date formats.

0.0.5

  • Added Unit tests.

0.0.4

  • Redux state and action added.
  • Improved documentation.

0.0.3

  • Improved documentation of contributed file.
  • Performance improvement

0.0.2

  • Added some parameters to i18n_extract and i18n_import scripts.
  • Improved documentation.

0.0.1

  • First commit