Skip to content

Releases: DeepLcom/deepl-php

v1.4.0

24 May 08:08
v1.4.0
b235af7
Compare
Choose a tag to compare

Added

  • Script to check our source code for license headers and a step for them in the CI.
  • Added platform and node version information to the user-agent string that is sent with API calls, along with an opt-out.
  • Add method for applications that use this library to identify themselves in API requests they make.

Fixed

  • Fix getUsage request to be a HTTP GET request, not POST.
  • Changed document translation to poll the server every 5 seconds. This should greatly reduce observed document translation processing time.

v1.3.0

26 Jan 20:35
v1.3.0
d4de3c6
Compare
Choose a tag to compare

Added

  • New languages available: Korean ('ko') and Norwegian (bokmål) ('nb'). Add language code constants and tests.

    Note: older library versions also support the new languages, this update only adds new code constants.

v1.2.1

25 Jan 17:21
v1.2.1
1b15cb0
Compare
Choose a tag to compare

Fixed

  • Also send options in API requests even if they are default values.

v1.2.0

01 Dec 15:49
v1.2.0
c49ce2a
Compare
Choose a tag to compare

Changed

  • Added dependency on psr/log. As this package forms a PHP Standard
    Recommendation, we don't consider it to break backward-compatibility.

Fixed

  • Change the type of the TranslatorOptions::LOGGER option to
    Psr\Log\LoggerInterface, to correctly support PSR-3 loggers.

v1.1.0

29 Sep 13:26
v1.1.0
bb6ab74
Compare
Choose a tag to compare

Added

  • Add new formality options: 'prefer_less' and 'prefer_more'.

Changed

  • Requests resulting in 503 Service Unavailable errors are now retried.
    Attempting to download a document before translation is completed will now
    wait and retry (up to 5 times by default), rather than throwing an exception.

v0.4.1

20 Sep 10:32
v0.4.1
9425afb
Compare
Choose a tag to compare

Changed

  • Update contributing guidelines, we can now accept Pull Requests.

Fixed

  • Fix GitLab CI config.
  • Fix a typo in the readme.

v1.0.0

20 Sep 10:26
v1.0.0
aa99b5a
Compare
Choose a tag to compare

Stable release.

Added

  • Add glossary management support.

  • New language available: Ukrainian ('uk'). Add language code constant and tests.

    Note: older library versions also support new languages, this update only adds new code constant.

  • Add proxy support.

v0.4.0

24 May 11:16
v0.4.0
fd2e2a7
Compare
Choose a tag to compare

Added

  • Add support for document translation.

v0.3.0

18 May 07:52
v0.3.0
20f461d
Compare
Choose a tag to compare

Added

  • New languages available: Indonesian ('id') and Turkish ('tr'). Add language code constants and tests.

    Note: older library versions also support the new languages, this update only adds new code constants.

v0.2.0

02 May 11:32
v0.2.0
a85a5fe
Compare
Choose a tag to compare

Changed

  • Remove final keyword from class declarations to facilitate testing.