deepl-rb breaking changes
deepl-rb 4.0.0 (November 24, 2026) is its newest release with breaking changes, 44 of them. The first: deepl-rb 4.0.0 requires Ruby 3.0 or later. Every breaking API change we have recorded in deepl-rb on RubyGems: 44 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 4.0.0, released November 24, 2026. Source repository
Its 4.0.0 release requires Ruby 3.0 or later. Ruby end of life dates.
deepl-rb 4.0.0 breaking changes
- Removed
The gem now requires Ruby 3.0 or later. On Ruby 2.x, upgrade Ruby or stay on deepl-rb 3.x. github.com - Removed
Set additional headers with the headers: option of DeepL::Client.new instead. github.com - Removed
DeepL.configure
DeepL.configure, configuration, api, http_client and with_session are gone. Create a DeepL::Client instead. github.com - Removed
DeepL.languages
Use DeepL::Client#get_source_languages or #get_target_languages instead. github.com - Removed
DeepL.Resources.ConfiguredRules
StyleRule#configured_rules now returns a hash. Read the categories from the hash. github.com - Removed
DeepL.Resources.Usage.character_count
Use character.count, character.limit and character.limit_reached? instead. github.com - Removed
DeepL.Resources.Usage.document
The API no longer returns document and team_document usage data. Drop these reads. github.com - Removed
DeepL.translate
Use DeepL::Client#translate_text, which returns an array for an array of texts. github.com - Removed
DeepL.usage
Use DeepL::Client#get_usage instead. github.com - Removed
glossary_id
Use glossary instead, which takes the glossary ID or a glossary object. glossary_id now raises ArgumentError. github.com - Removed
TranslationMemoryJobResult.STATUS_DOWNLOADED
The downloaded status is not an API status, so finished? is now false for it and polling continues. Compare with STATUS_COMPLETED or call done? instead. github.com - Removed
Usage.any_limit_reached?
Use any_character_limit_reached? instead; it checks only the account and API key character limits. github.com - Removed
Usage.document
Document fields in a usage response are now ignored, so Usage#document no longer exists. github.com - Removed
Usage.team_document
Document fields in a usage response are now ignored, so Usage#team_document no longer exists. github.com - Renamed
DeepL.Resources.Usage.any_limit_reached?
The old method name is replaced. Rename the call; check speech minute limits with limit_reached? directly. github.com - Behavior changed
A proxy URL with an empty host or a proxy hash with a blank proxy_addr now raises ArgumentError when the client is built. Use a proxy with a real host. github.com - Behavior changed
Import files with an invalid name, length or content are now rejected before the request is sent. github.com - Behavior changed
Empty translation memory and job IDs, empty storage URLs and an export job without a download URL are now rejected with ArgumentError. github.com - Behavior changed
Resource-creating requests are retried only when the request was not processed. Check first whether a resource was created before retrying yourself. github.com - Behavior changed
Empty spoken terms, style rule and custom instruction IDs, style rule names, languages, labels and prompts now raise ArgumentError before any request. github.com - Behavior changed
A cut-off response body on a create request now raises ConnectionError with should_retry? true instead of false. github.com - Behavior changed
AuthorizationFailed, RequestEntityTooLarge, LimitExceeded, QuotaExceeded and ServerError append the API's message to their text. The 413 text no longer mentions 50 text parts, so code matching on messages may need changes. github.com - Behavior changed
Any option a request class does not declare now raises ArgumentError before a request is sent. Use extra_body_parameters: for fields the SDK does not model. github.com - Behavior changed
A proxy URL with any scheme other than http or https, or with no scheme, now raises ArgumentError at construction. An https proxy is now connected to over TLS and needs an https server URL. github.com - Behavior changed
Creates are now retried only after HTTP 429, DNS errors, refused connections and connection timeouts. A 5xx reply now raises ServerError with should_retry? false. github.com - Behavior changed
An empty glossary ID, name, dictionary language, dictionary list or dictionary entries now raises ArgumentError before any request. github.com - Behavior changed
DeepL.AdminClient.set_developer_key_usage_limits
Only characters:, speech_to_text_milliseconds: and speech_to_speech_milliseconds: are accepted. Fix misspelled limits. github.com - Behavior changed
DeepL.Client.new
Other proxy schemes and proxy URLs without a host now raise ArgumentError. Use http:// for a plain HTTP proxy. github.com - Behavior changed
DeepL.Client.translate_document_download
translate_document_download raises Errno::EEXIST if the output file exists. Delete the file first or pass a new path. github.com - Behavior changed
DeepL.Client.translate_text
translate_text raises ArgumentError for an empty string, empty array or array with an empty string. Drop empty texts before the call. github.com - Behavior changed
DeepL.Exceptions.ValidationError
Rescue ArgumentError or ValidationError instead of DeepL::Exceptions::Error for these errors. It no longer has http_status_code or should_retry?. github.com - Behavior changed
DeepL.Resources.StyleRule.configured_rules
It now returns the raw hash from the API with string keys. Replace configured_rules.numbers with configured_rules.fetch('numbers', {}). github.com - Behavior changed
download_translation_memory_export
An existing output file or an unusable output directory now raises an Errno error before any request is sent. github.com - Behavior changed
export_translation_memory_to_filepath
Failures other than a missing input file are now raised as TranslationMemoryJobError instead of their original error class. Code rescuing the original errors must rescue TranslationMemoryJobError. github.com - Behavior changed
import_translation_memory_from_filepath
Failures other than a missing input file are now raised as TranslationMemoryJobError instead of their original error class. Code rescuing the original errors must rescue TranslationMemoryJobError. github.com - Behavior changed
rephrase_text
Empty texts now raise ArgumentError before any request is sent. github.com - Behavior changed
StyleRule.configured_rules
It returns the configured rules as the API sends them, with string keys, instead of a ConfiguredRules object. Replace readers like configured_rules.numbers with configured_rules.fetch('numbers', {}). github.com - Behavior changed
translate_document_download
An existing output file or an unusable output directory now raises an Errno error before any request is sent. github.com - Behavior changed
translate_text
Empty texts now raise ArgumentError before any request is sent. github.com - Behavior changed
TranslationMemoryJobError
job_id is set as soon as the import or export job is created. job is the last status fetched by the helper and is nil before the first status check. github.com - Behavior changed
Usage.any_limit_reached?
It can now return true where it returned false before, because an API Pro key's own character limit is included. Callers needing the old result should check character, document and team_document with limit_reached?. github.com - Behavior changed
ValidationError
Invalid glossary and spoken terms and malformed glossary entries now raise an ArgumentError. Code that rescues ArgumentError now catches them. github.com - Default changed
DeepL.Client.new
Passing nil for max_retries, timeout or send_platform_info now uses the default instead of nil behavior. Pass send_platform_info: false to leave platform info out. github.com - Signature changed
download_translation_memory_export
The method now accepts only a TranslationMemoryJob. Pass the job returned by wait_until_translation_memory_job_done instead of its download URL. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.