Skip to content

Releases: DeepLcom/deepl-node

v1.25.0

26 Mar 20:25
v1.25.0
a4e95be

Choose a tag to compare

Added

  • Added new language constants from January 2026 API release of 81 new languages.
  • Added jsonBody option to SendRequestOptions, enabling JSON-encoded API calls.
  • Added support for style rules CRUD endpoints in the DeepLClient class: createStyleRule(), getStyleRule(), updateStyleRuleName(), updateStyleRuleConfiguredRules(), and deleteStyleRule().
  • Added support for style rule custom instruction CRUD endpoints in theDeepLClient class: createStyleRuleCustomInstruction(), getStyleRuleCustomInstruction(), updateStyleRuleCustomInstruction(), and deleteStyleRuleCustomInstruction().
    Please refer to the README for usage instructions.

v1.24.0

21 Jan 17:02
v1.24.0
d8750ad

Choose a tag to compare

Added

  • Added tagHandlingVersion parameter to translateText() to specify which version of the tag handling algorithm to use. Options are v1 and v2.

v1.23.0

08 Dec 21:17
v1.23.0
7819c05

Choose a tag to compare

Added

  • Added customInstructions parameter to translateText() to customize translation behavior with up to 10 instructions (max 300 characters each). Only supported for target languages: de, en, es, fr, it, ja, ko, zh and their variants. Note: using the customInstructions parameter will use quality_optimized model type as the default. Requests combining customInstructions and the latency_optimized model type will be rejected.

v1.22.0

12 Nov 21:18
v1.22.0
7819c05

Choose a tag to compare

Added

  • Added support for the GET /v3/style_rules endpoint in the client library, the implementation can be found in the DeepLClient class. Please refer to the README for usage instructions
  • Added styleId option to translateText() which allows text and document translation with style rules.

v1.21.0

03 Nov 15:06
v1.21.0
863f2ee

Choose a tag to compare

Added

  • Added extraRequestParameters option to text and document translation methods to pass arbitrary parameters in the request body. This can be used to access beta features or override built-in parameters (such as target_lang, source_lang, etc.).

v1.20.0

08 Oct 15:05
3813215

Choose a tag to compare

Added

  • Official support for Node.js versions 20, 22 and 24

Fixed

  • Fixed document minification/deminification to preserve translated content. Previously, when document minification was enabled, the deminify process would use the original minified file instead of the translated version, causing translations to be lost.
  • Fixed handling of documents without media files during translation. The library now correctly processes documents that don't contain embedded media.

v1.19.0

26 Jun 18:08
v1.19.0
e355d15

Choose a tag to compare

Added

  • Add new supported language codes to the translation and glossary language types.

v1.17.3

11 Mar 21:05
04294ec

Choose a tag to compare

Changed

v1.17.2

06 Mar 19:54

Choose a tag to compare

Added

  • Added option to override translate path

v1.17.1

04 Mar 22:00
40c9c3e

Choose a tag to compare

Added

  • Update list of supported target languages

Changed

  • Adjust environment variable handling to avoid side effects in the published library