Version 1.5.0
Added
- Allow users to supply their own custom HTTP client to the
Translator
object, in order to configure timeouts, security features etc more granularly.- Thanks to VincentLanglet for the good input and work in #22
- 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.
- Thanks to VincentLanglet for the work in #24
- Catch any exception thrown when computing the user-agent header and continue without failing the request.