Skip to content

Releases: DeepLcom/deepl-node

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.

v1.15.0

15 Nov 15:55
1b6ca81

Choose a tag to compare

Added

  • Added modelType option to translateText() 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 modelTypeUsed field to translateText() response, that
    indicates the translation model used when the modelType option is
    specified.

v1.14.0

17 Sep 09:37
v1.14.0
8a4427a

Choose a tag to compare

Added

  • Added billedCharacters field to text translation response.

v1.13.1

14 Aug 10:49
v1.13.1
2034be4

Choose a tag to compare

Added

  • Added supported glossary languages: Danish ('da'), Norwegian (bokmål)
    ('nb'), and Swedish ('sv'). The corresponding glossary language code
    TypeScript types are extended.

    Note: older library versions also support the new glossary language pairs,
    this update only adds new types.

Security

v1.13.0

12 Apr 13:26
v1.13.0
66b4a18

Choose a tag to compare

1.13.0

Added

  • Add possibility to add extra parameters to a translation request (both text and document).
    DeepL engineers use this to test features in the API before they are released. Library users
    who cannot update their DeepL library dependency could use these extra parameters to access
    features in the API that are released in the future.

Security

v1.11.1

26 Jan 14:41
v1.11.1
22cb1bc

Choose a tag to compare

Fixed

  • Dependencies: Update follow-redirects due to security vulnerability

Security

v1.11.0

03 Nov 21:10
v1.11.0
82fe1f4

Choose a tag to compare

Added

  • Add optional context parameter for text translation, that specifies
    additional context to influence translations, that is not translated itself.

Changed

  • Added notice in Readme that starting in 2024 the library will drop support for
    Node versions that are officially end-of-life.
  • Keep-Alive is now used by HTTP(S) agent, to reduce latency for subsequent API requests.

Fixed

  • CI: silence npm audit warnings in non-production dependencies due to
    currently-unresolvable vulnerability in semver <7.5.2.

  • Increase axios dependency to >=1.2.2, due to bug in axios v1.2.1.

  • Added supported glossary languages: Italian (it), Dutch (nl), Polish (pl),
    Portuguese (pt), Russian (ru) and Chinese (zh). The corresponding glossary
    language code TypeScript types are extended.

    Note: older library versions also support the new glossary language pairs,
    this update only adds new types.

  • Fixed typo in readme: createGlossaryWithCsv not createGlossaryFromCsv

v1.10.2

03 Nov 21:09
v1.10.2
cdee2fe

Choose a tag to compare

Fixed

  • Fixed erroneous version bump