Skip to content

Releases: DeepLcom/deepl-rb

v3.0.2

02 Oct 12:40
464fafe
Compare
Choose a tag to compare

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.

v3.0.1

02 Oct 08:02
1f63db3
Compare
Choose a tag to compare

Fixed

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

v3.0.0

02 Oct 08:02
5fc6c38
Compare
Choose a tag to compare

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