Skip to content

Latest commit

 

History

History
107 lines (53 loc) · 3.82 KB

CHANGELOG.md

File metadata and controls

107 lines (53 loc) · 3.82 KB

1.6.2 (2019-11-22)

Bug Fixes

  • 🐛 improve TypeScript typings of withT() HOC (f463493)

1.6.1 (2019-08-26)

Bug Fixes

  • 🐛 interpolate to React fragments (6604875)

1.6.0 (2019-04-21)

Features

  • 🎸 allow to change locale through props (31e91b5)

1.5.0 (2019-04-05)

Bug Fixes

  • 🐛 export TS typings, fix withT() typings (190332a)

Features

  • 🎸 use useT inside , translate inline text (a391a66)

1.4.0 (2019-01-08)

Bug Fixes

  • 🐛 translate only strings in list (f1e5ed6)

Features

  • 🎸 allow non-functional children in component (aa8ae78)
  • 🎸 use simple t() in trans list children (5cbcb57)

1.3.0 (2018-12-21)

Bug Fixes

  • 🐛 export correctly default translation function (48266d5)

Features

  • 🎸 export default translation function as T (0ac3429)
  • 🎸 implement FaCC and HOC without hooks (7956b3d)

1.2.0 (2018-12-01)

Features

  • allow 0 to indicate it should not be translated (9633ef5)

1.1.1 (2018-12-01)

Bug Fixes

  • 🐛 load initial language if not def and in loader (a27b47f)

1.1.0 (2018-12-01)

Features

  • 🎸 precreate React primitives (5eda1ea)

1.0.0 (2018-11-06)

Bug Fixes

  • 🐛 load correct locale, if async locale changed meantime (560c770)
  • 🐛 make sure default locale exists in translation map (c694f65)

Features

  • 🎸 add namespaces (dcf24b5)
  • 🎸 don't provide interpolation a translation function (e1b9697)
  • 🎸 fallback to default locale if no translation found (e0c58b6)
  • 🎸 improve component (ce0460b)
  • 🎸 improve interpolations, add tagged literals support (9f2d6b8)
  • 🎸 improve typings (e9e0cb6)
  • 🎸 improve useT, allow usage without (d143fce)
  • 🎸 improve withT HOC (09acebd)
  • 🎸 initial implementation (f9a1fa9)
  • 🎸 store everything in context (34a5ad1)

BREAKING CHANGES

  • Change how interpolations work.
  • interpolations don't receive translation function anymore