Skip to content

Latest commit

 

History

History
58 lines (48 loc) · 2.48 KB

CHANGELOG.md

File metadata and controls

58 lines (48 loc) · 2.48 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Added

  • Added model_type option to translate() to use models with higher translation quality (available for some language pairs), or better latency. Options are 'quality_optimized', 'latency_optimized', and 'prefer_quality_optimized'
  • Added the model_type_used field to the translate() response, that indicates the translation model used when the model_type option is specified.

3.0.2 - 2024-10-02

Added

  • Added doc example and tests for context parameter

Fixed

  • Fix metadata displayed on RubyGems.org for this library.
  • Fixed library version sent in the User-Agent string.

3.0.1 - 2024-09-23

Fixed

  • document.translate_document required a filename, this is now optional. The example in the README now works.

3.0.0 - 2024-09-20

Beginning with version 3, deepl-rb is officially supported by DeepL, and maintained together with Daniel Herzog the developer of earlier versions of this library. The change in major version is only due to the change in maintainership, there is no migration necessary from v2 to v3.

Added

  • Added rubocop-rspec linting for rspec test files
  • Added document translation to the ruby CL
  • Added possibility to use one HTTP session for multiple calls
  • Added platform and ruby version information to the user-agent string that is sent with API calls, along with an opt-out
  • Added support for logging of HTTP requests
  • Added support for using a proxy and a custom certificate file
  • Added a gitlab CI pipeline

Changed

  • HTTP requests to the DeepL API now use application/json, rather than application/www-form-unencoded
  • HTTP requests now automatically retry on transient failures, using exponential backoff

Deprecated

Removed

  • Removed CircleCI and CodeCov upload

Fixed

Security

2.5.3 - 2022-09-26

Fixed

  • Make RequestEntityTooLarge error message more clear