Skip to content

Releases: DeepLcom/deepl-php

v1.11.1

17 Jan 09:45
v1.11.1
004cf73
Compare
Choose a tag to compare

Fixed

  • Fixed DeepLClientOptions wrongly inheriting from TranslateTextOptions,
    when it should be TranslatorOptions.

v1.11.0

16 Jan 17:33
v1.11.0
c2f3246
Compare
Choose a tag to compare

Added

  • Added support for the Write API in the client library, the implementation
    can be found in the DeepLClient class. Please refer to the README for usage
    instructions.

Changed

  • The main functionality of the library is now also exposed via the DeepLClient
    class. Please change your code to use this over the Translator class whenever
    convenient.

v1.10.1

29 Nov 13:38
7def9db
Compare
Choose a tag to compare

Fixed

v1.10.0

15 Nov 15:57
a095708
Compare
Choose a tag to compare

Added

  • Added MODEL_TYPE option to translateText() to use models with higher
    translation quality (available for some language pairs), or better latency.
    Options are 'quality_optimized', 'latency_optimized', and 'prefer_quality_optimized'
  • Added the $modelTypeUsed field to translateText() response, that
    indicates the translation model used when the MODEL_TYPE option is
    specified.

v1.9.0

17 Sep 09:38
v1.9.0
fdf86cc
Compare
Choose a tag to compare

Added

  • Added $billedCharacters to the translate text response.

v1.8.0

26 Jun 12:25
v1.8.0
13e0477
Compare
Choose a tag to compare

Added

  • Added document minification as a feature before document translation, to allow translation of large docx or pptx files. For more info check the README.

v1.7.2

24 Apr 10:16
v1.7.2
bb52c54
Compare
Choose a tag to compare

Fixed

  • Added a workaround for rare cases that the DeepL API responds with invalid UTF-8 sequences. In these cases the replacement character "�" (U+FFFD) will replace invalid sequences.

v1.6.0

03 Nov 21:12
v1.6.0
2f301d5
Compare
Choose a tag to compare

Added

  • Add optional context parameter for text translation, that specifies
    additional context to influence translations, that is not translated itself.

Changed

  • Added notice in Readme that starting in 2024 the library will drop support for PHP versions that are officially end-of-life.

Version 1.5.1

11 Sep 13:34
v1.5.1
732c025
Compare
Choose a tag to compare

Fixed

  • Add .gitattributes file to exclude irrelevant files from package download.
  • Internal CI improvements.

Version 1.5.0

26 Jun 14:44
v1.5.0
bc58ea1
Compare
Choose a tag to compare

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.