Skip to content

Releases: DeepLcom/deepl-node

v1.9.0

02 Apr 23:24
v1.9.0
54250f2

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

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.

v1.7.5

25 Jan 16:40
v1.7.5
b642286

Choose a tag to compare

Fixed

  • Also send options in API requests even if they are default values.

v1.7.4

09 Jan 14:04
v1.7.4
9d1dc02

Choose a tag to compare

Fixed

  • Omit undefined supportsFormality field for source languages.

v1.7.3

04 Jan 08:47
v1.7.3
e36e322

Choose a tag to compare

Changed

  • CI: suppress npm audit warnings for dev dependencies, due to CVE in eslint-plugin-import > tsconfig-paths > json5.

Fixed

  • Support axios v1.2.1, that resolves the issue in v1.2.0.

v1.7.2

24 Nov 15:26
v1.7.2
4179f06

Choose a tag to compare

Fixed

  • Limit axios to v1.1.3 or lower due to an issue in v1.2.0.
    • This is a temporary workaround until the issue is resolved.

v1.7.1

12 Oct 09:27
v1.7.1
c7e4e30

Choose a tag to compare

Fixed

  • Prefer for .. of loops to for .. in loops, to handle cases where array
    prototype has been modified.
  • Node 18 is supported, this is now explicitly documented.

v1.7.0

30 Sep 08:16
v1.7.0
39a46b2

Choose a tag to compare

Added

  • Add formality options 'prefer_less' and 'prefer_more'.

Changed

  • Requests resulting in 503 Service Unavailable errors are now retried.
    Attempting to download a document before translation is completed will now
    wait and retry (up to 5 times by default), rather than rejecting.

v1.6.0

09 Sep 08:35
v1.6.0
1b71925

Choose a tag to compare

Added

  • New language available: Ukrainian ('uk'). Add language code constant and
    tests.

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

v1.5.0

19 Aug 09:00
v1.5.0
dd2430f

Choose a tag to compare

Added

  • Add proxy support.