Skip to content

Releases: DoneDeal0/Talkr

v3.5.1

12 Sep 18:24
be4c604
Compare
Choose a tag to compare

3.5.1 (2024-09-12)

Bug Fixes

v3.5.0

12 Sep 08:02
4040a3b
Compare
Choose a tag to compare

3.5.0 (2024-09-12)

Features

3.4.0

23 Feb 14:10
Compare
Choose a tag to compare
  • improve autocompletion typing (thanks @dolie)
  • add CI

3.3.7

21 Jul 14:40
Compare
Choose a tag to compare
  • Fix output type of T(). It now returns string instead of ReactNode
  • If a key doesn't exist in a translation file, Talkr will now return an empty string instead of null

v3.3.0

14 Jul 10:26
Compare
Choose a tag to compare
  • Support React Native
  • Add gender option to allow more precise translations
  • Update documentation
  • Update devDependencies and update tests

v3.2.0

29 Mar 17:23
Compare
Choose a tag to compare
  • supports React 18 concurrent rendering
  • upgrade dev dependencies

v3.1.6

18 Feb 12:21
Compare
Choose a tag to compare

CHANGES

v3.1.0

16 Feb 13:59
2cb3bdd
Compare
Choose a tag to compare

CHANGES

  • allow conditional rendering
  • update README.md
  • improve typing
  • bump dependencies

BREAKING CHANGES

  • merge all utilities in a single useT hook
  • useLocale is removed
  • the autocompletion function must be a hook
  • T must be instantiated with useT()

V3.0.5

12 Oct 12:53
4efea7b
Compare
Choose a tag to compare
  • provides autocompletion for translation keys
  • in order to avoid breaking changes and performance issues for huge json files, the autocompletion is optional, and must be configured in a translate.ts file (see documentation)
  • update README.md
  • refactor code structure