Skip to content

Latest commit

 

History

History
286 lines (163 loc) · 9.28 KB

CHANGELOG.md

File metadata and controls

286 lines (163 loc) · 9.28 KB

Changelog

[unreleased]

[Fixed]

  • Broken link. Thanks to hussainshaikh12 (#163)

1.5.26 (2022-12-28)

  • [Fixed] One-letter words are not extracted. Thanks to kwangminini (#162)

1.5.25

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

1.5.24

  • [Fixed] Fix interface definition for IGetTranslateFunctionResponse. Thanks to JosephBrooksbank (#137)

1.5.23

  • [Fixed] Use react forceUpdate instead of deep-force-update. Thanks to nicolascrop (#130)

1.5.22

  • Component lifecycles react17. Thanks to uullrich (#116)

1.5.21

  • Use dynamic t function in HOC to rerender with new translations. Thanks to bjackson (#114)

1.5.20

  • Some demoCRA packages upgraded for fix security alerts.

1.5.19

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

1.5.18

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

1.5.17

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

1.5.16

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

1.5.15

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

1.5.14

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

1.5.13

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

1.5.12

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

1.5.11

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

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 (#59)

1.5.8

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

1.5.7

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

1.5.6

  • Escape doublequotes. Thanks to stayman (#54)

1.5.5

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

1.5.4

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

1.5.3

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

1.5.2

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

1.5.1

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

1.5.0

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

1.4.0

1.3.2

1.3.1

  • Updates extract strings regex. Tanks to pablen (#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 (#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 (#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 (#15)

1.0.10

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

1.0.9

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

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 (#5)

1.0.5

1.0.4

  • Two dependencies fixed. Thanks to evandavis (#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 (#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