Skip to content

Releases: nayaabkhan/react-polyglot

Security Patches from Dependabot

25 Jul 04:22
Compare
Choose a tag to compare

Memoize polyglot instance during render

21 May 06:25
Compare
Choose a tag to compare

Finally! I found some time to push a long time request. We're leaving behind the old way to make way for new ones:

  • Stop using componentWillReceiveProps and use memoization instead 📝
  • A bunch of package updates 🆙
  • The baseline required is now react@16.8.0 due to the use of useMemo. If you cannot upgrade, please use the latest version below this i.e. v0.6.1.

Thanks a bunch to @soda0289 for this contribution and all who participated.

v0.6.1

16 Oct 11:39
Compare
Choose a tag to compare

This patch contains an important fix for a bug caused by componentDidUpdate where the polyglot instance was not in sync with the new props. This bug was introduced in v0.6.0.

Thanks to @ctavan for pointing it out.

v0.6.0

01 Oct 06:57
Compare
Choose a tag to compare
  • Add props to set options for node-polyglot by @soda0289 (Thanks to @bastienrobert for the review)
  • There is now a contributing guide to help new contributors get on-boarded

v0.5.0

31 Aug 07:03
Compare
Choose a tag to compare
  • Add a hook useTranslate, thanks to @soda0289
  • Security fix

v0.4.2

09 Aug 05:08
Compare
Choose a tag to compare
  • Adds type definitions thanks to the first time contributor @pmmmwh 🎉
  • Security fixes from @dependabot

v0.4.0

06 Mar 09:45
Compare
Choose a tag to compare

Use the new Context API instead of legacy API.

v0.2.6

06 Mar 09:46
Compare
Choose a tag to compare

Add React v16 as a peer dependency