Releases: DOCYET/DeepL.jl
Releases · DOCYET/DeepL.jl
v0.3.0
DeepL.jl v0.3.0
Breaking changes
translate_textnow throws anErrorExceptionon API errors instead of returning an error message string. Code that checked return values for error strings should be updated to usetry/catchblocks instead.handle_api_errornow throws on failure and returnsnothingon success, instead of returning an error string or empty string.
Added
- feat:
detect_languagefunction for detecting the language of a single string of text - feat:
detect_languagefunction for detecting the language of multiple strings of text - feat:
get_languagesfunction to retrieve the list of supported source or target languages from the DeepL API - feat:
CLAUDE.mdfile
Notes
Since the DeepL API does not provide a dedicated language detection endpoint, detect_language uses the translate endpoint internally and extracts the detected_source_language field from the response.
v0.2.0
DeepL v0.2.0
No breaking changes
Added
- feat: add alternative syntax for
translate_textusing aPair{String, String}to specify the source and target languages - feat: add alternative syntax that requires to only specify the target langauge, allowing DeepL to infer the source language
- feat: GitHub Actions pipeline with Unit Testing