Skip to content

Releases: DeepLcom/deepl-node

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

v1.17.0

25 Feb 21:27
888adb0

Choose a tag to compare

Added

  • Added document minification as a feature before document translation, to
    allow translation of large docx or pptx files. For more info check the README.
  • Added .env.example file with dotenv library for environment variables management
  • Improve unit tests

Changed

v1.16.0

22 Jan 17:17
v1.16.0
4f480e7

Choose a tag to compare

Added

  • Added support for the Write API in the client library, the implementation
    can be found in the DeepLClient class. Please refer to the README for usage
    instructions.

Changed

  • The main functionality of the library is now also exposed via the DeepLClient
    class. Please change your code to use this over the Translator class whenever
    convenient.