Skip to content

Version 1.5.0

Compare
Choose a tag to compare
@JanEbbing JanEbbing released this 26 Jun 14:44
· 41 commits to main since this release
v1.5.0
bc58ea1

Added

  • Allow users to supply their own custom HTTP client to the Translator object, in order to configure timeouts, security features etc more granularly.
  • Add curl version to the platform info in the user-agent header (will not be added if the user opts out).

Fixed

  • Allow users to translate empty strings without throwing an error.
  • Catch any exception thrown when computing the user-agent header and continue without failing the request.