Skip to content

Releases: streamich/use-t

v1.0.0

06 Nov 17:46
Compare
Choose a tag to compare

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