Skip to content

Releases: chriskonnertz/DeepLy

v1.5.0

01 Nov 13:27
f61350b
Compare
Choose a tag to compare

Attention: The joinSentences parameter has been removed from these methods: DeepLy::translate(), DeepLy::requestTranslation() and DeepLy::translateFile()

The handling of text that contains line breaks has changed: line breaks will be kept now.

Please check that everything works they way it should after you have updated to this version!

Changelog:

  • Line breaks will be kept now
  • Added getLanguage() method to SentencesBag class
  • DeepLy now throws a proper exception if language auto-detection fails
  • Added split text demo (demos/demo_split.php)
  • Enhanced README.md

v1.4.4

25 Oct 16:18
Compare
Choose a tag to compare

Changelog:

  • Added a bugfix: In the translation request the source language was not stored in the right parameter

v1.4.3

15 Oct 10:21
Compare
Choose a tag to compare

Changelog:

  • Added the HTML server message to the exception message

v1.4.2

15 Oct 10:20
Compare
Choose a tag to compare

Changelog:

  • Use "joinSentence" parameter so only one API call will be made, not two
  • Renamed demo scripts

v1.4.1

02 Oct 13:11
Compare
Choose a tag to compare

Changelog:

  • Added getLangName() and getLangCodeByName() methods

v1.4.0

02 Oct 12:50
Compare
Choose a tag to compare

Changelog:

  • Reworte translateSentences()method so that it internally only makes one API call.
    IMPORTANT: Now it expects an array of sentences!! Please check if you call this method in your code and adjust your code.
  • Added detectTranslation()method. This change has been inspired by https://github.com/vsetka/deepl-translator that added a "language detection" method as well.
  • Refactored HttpClient classes
  • Added Guzzle tests, improved tests in general
  • Updated README.md

v1.3.1

19 Sep 11:47
Compare
Choose a tag to compare

Changelog:

  • Important bugfix in composer.json for Laravel's package auto-discovery
  • Added array size check

v1.3.0

17 Sep 09:35
Compare
Choose a tag to compare

Changelog:

  • Added Laravel framework integration
  • Added Guzzle support
  • Throw an exception if translation text length is exceeded
  • Renamed main demo script

v1.2.0

13 Sep 16:40
Compare
Choose a tag to compare

Changelog:

  • Important bug fixes
  • Added ping method
  • Added more tests
  • Enhanced error handling in the cURL client class
  • Refactoring
  • Renamed dev folder to demos

v1.1.0

05 Sep 20:10
Compare
Choose a tag to compare

Changelog:

  • Made VALIDATE_ID a var and added getter/setter method
  • Added $allowAuto param to supportsLangCode method
  • Adjusted interface so it also has the processResponseData() method
  • Split test class into two test classes
  • Added more tests
  • Some changes in the README.md