Skip to content

Releases: DeepLcom/deepl-node

v1.14.0

17 Sep 09:37
v1.14.0
8a4427a
Compare
Choose a tag to compare

Added

  • Added billedCharacters field to text translation response.

v1.13.1

14 Aug 10:49
v1.13.1
2034be4
Compare
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
Compare
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
Compare
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
Compare
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
Compare
Choose a tag to compare

Fixed

  • Fixed erroneous version bump

v1.10.1

03 Nov 21:09
v1.10.1
4c7112b
Compare
Choose a tag to compare

Fixed

  • Limit example typescript version to 5.0 due to Node 12 incompatibility

v1.10.0

03 Nov 21:08
v1.10.0
e97a4d2
Compare
Choose a tag to compare

Fixed

  • Changed document translation to poll the server every 5 seconds. This should greatly reduce observed document translation processing time.
  • Fix getUsage request to be a HTTP GET request, not POST.

v1.9.0

02 Apr 23:24
v1.9.0
54250f2
Compare
Choose a tag to compare

Added

  • Added platform and node version information to the user-agent string that is sent with API calls, along with an opt-out.
  • Added method for applications that use this library to identify themselves in API requests they make.

Fixed

  • Fixed proxy example code in README

v1.8.0

26 Jan 15:37
v1.8.0
7ac64a2
Compare
Choose a tag to compare

Added

  • New languages available: Korean ('ko') and Norwegian (bokmål) ('nb'). Add
    language code constants and tests.

    Note: older library versions also support the new languages, this update only
    adds new code constants.