Skip to content

Releases: MiracleUFO/react-g-translator

v1.0.0

02 Oct 19:17
c2a1855
Compare
Choose a tag to compare

1.0.0 (2023-10-02)

Bug Fixes

  • getTranslation tests (c250475)
  • Github actions compiler config error no --jsx flag set (4a764b5)
  • made main file .ts not .tsx (aee6bdc)
  • npm vulnerability synk errors and scripts run for tsx (a157e50)
  • possible fix snyk vulnerability (9ff5424)
  • possible fix snyk vulnerability (fe5b404)
  • possible override fix snyk vulnerabilities (ce79f63)
  • removed tests for now, removed global from code (5cf0576)
  • removed tests for now, removed global from code (c3a245a)
  • snyk dependency issue (f0ac7c3)
  • Translator infinite recursion + passing tests (9cd2c89)
  • unnecessary strategy mix (1129770)

Features

  • wrapper functionality (untested) (ea0db0b)
  • allows translation of texts larger than 5K chars in getTranslation and (726ea71)
  • caching (10d7369)
  • chunking improvement, chunk at end of sentence. (552c867)
  • complied with google api 1 req/sec rate, optimised testing (a8b7c7c)
  • getTranslation method. Issues: Google Translate API Rate limit (b44aaef)
  • Translate component and eslint setup (14f62dd)
  • Translate component wrapper. Tested. Issue: API request limit (f0fe81e)