DeepLy Versions Save

PHP client for the DeepL.com translation API (unofficial)

v2.2.0

10 months ago

Differences to DeepLy version 2.1 are:

Added new languages: Indonesian and Turkish

v2.1.0

1 year ago

Version 2.1

Differences to DeepLy version 2.0 are:

  • Deactivated deprecated method translateFile(). It still exists but if you call it an exception is going to be thrown
  • Added support for Korean and Norwegian languages
  • Added resetSettings() method (a convenient helper method that you can use instead of setSettings())

v2.0.1

2 years ago

Minor release

v2.0

2 years ago

Version 2.0

Differences to DeepLy version 1.x are:

  • Text length check has been removed (because the limit is now about 120000 letters which should be enough in most cases)
  • Texts can no longer be split into sentences, as the API does not seem to support this
  • proposeTranslations() method has been removed
  • Guzzle implementation removed (you can still write your own though)
  • HttpClientInterface has been modified
  • JSON RPC protocol support has been removed
  • All the bag classes have been removed
  • No longer uses the unofficial API, but uses official v2 API
  • API key has been introduced
  • Updated API error handling, CallException now contains API HTTP error code
  • Glossary support has been introduced
  • Usage method has been introduced
  • Support for new languages added
  • The translateFile() method is now deprecated, please use translateTextFile() instead!

How to migrate from v1 to v2

To upgrade from v1 to v2, make sure you specify the API key when instantiating the DeepLy object. Apart from the changes mentioned above your v1 code should still work with v2 as long as you did not write your own HTTP client or extended the DeepLy class with a custom class.

v2.0-beta

2 years ago

Version 2.0-beta

Differences to DeepLy version 1.x are:

  • Text length check has been removed (because the limit is now about 120000 letters which should be enough in most cases)
  • Texts can no longer be split into sentences, as the API does not seem to support this
  • proposeTranslations() method has been removed
  • Guzzle implementation removed (you can still write your own though)
  • JSON RPC protocol support has been removed
  • All the bag classes have been removed
  • No longer uses the unofficial API, but uses official v2 API
  • API key has been introduced
  • Updated API error handling, CallException now contains API HTTP error code
  • Glossary support has been introduced
  • Usage method has been introduced
  • Support for new languages added
  • The translateFile() method is now deprecated, please use translateTextFile() instead!

v1.6.1

5 years ago

Changelog:

  • Added Russian and Portuguese languages

v1.6.0

5 years ago

Changelog:

  • Changed API endpoint URI -> this made DeepLy work again

v1.5.3

5 years ago

Changelog:

  • README.md changes

Notes:

  • DeepLy 2 is under development and will be released soon. It will support DeepL Pro. It is recommended to switch to DeepLy 2 as soon as possible.
  • The tests are red (failing) not because of bugs in DeepLy but because the DeepL API is not responding in the expected way

v1.5.2

6 years ago

Changelog:

  • Fixed a bug in the autoloader of the demo files
  • README.md changes

v1.5.1

6 years ago

Changelog:

  • Added error codes to all bag exceptions
  • Better UI and UX for the demo pages
  • Updated tests
  • Updated README.md