Releases: chriskonnertz/DeepLy
Releases · chriskonnertz/DeepLy
v1.5.0
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 toSentencesBag
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
Changelog:
- Added a bugfix: In the translation request the source language was not stored in the right parameter
v1.4.3
Changelog:
- Added the HTML server message to the exception message
v1.4.2
Changelog:
- Use "joinSentence" parameter so only one API call will be made, not two
- Renamed demo scripts
v1.4.1
Changelog:
- Added getLangName() and getLangCodeByName() methods
v1.4.0
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
Changelog:
- Important bugfix in composer.json for Laravel's package auto-discovery
- Added array size check
v1.3.0
Changelog:
- Added Laravel framework integration
- Added Guzzle support
- Throw an exception if translation text length is exceeded
- Renamed main demo script
v1.2.0
Changelog:
- Important bug fixes
- Added ping method
- Added more tests
- Enhanced error handling in the cURL client class
- Refactoring
- Renamed
dev
folder todemos
v1.1.0
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