Skip to content

Releases: DOCYET/DeepL.jl

v0.3.0

09 Mar 07:18

Choose a tag to compare

DeepL.jl v0.3.0

Breaking changes

  • translate_text now throws an ErrorException on API errors instead of returning an error message string. Code that checked return values for error strings should be updated to use try/catch blocks instead.
  • handle_api_error now throws on failure and returns nothing on success, instead of returning an error string or empty string.

Added

  • feat: detect_language function for detecting the language of a single string of text
  • feat: detect_language function for detecting the language of multiple strings of text
  • feat: get_languages function to retrieve the list of supported source or target languages from the DeepL API
  • feat: CLAUDE.md file

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

03 Jul 12:05

Choose a tag to compare

DeepL v0.2.0

No breaking changes

Added

  • feat: add alternative syntax for translate_text using a Pair{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

v0.1.0

03 Jul 10:00
4d98e38

Choose a tag to compare

DeepL.jl v0.1.0

Package creation

Added

  • feat: translate_text function
  • doc: basic usage description