Skip to content

Releases: DeepLcom/deepl-node

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.

v1.4.0

09 Aug 14:01
v1.4.0
c7a558e

Choose a tag to compare

Added

  • Add createGlossaryWithCsv() allowing glossaries downloaded from website to be easily uploaded to API.

v1.3.2

09 Aug 14:00
v1.3.2
911a4bd

Choose a tag to compare

Changed

  • Update contributing guidelines, we can now accept Pull Requests.

Fixed

  • Fix GitLab CI config.
  • Correct language code case in getSourceLanguages() and getTargetLanguages() result.
  • Use TypeScript conditional types on translateText() to fix TS compiler errors.

v1.3.1

18 May 09:04
v1.3.1
6dd8bf4

Choose a tag to compare

Replaces version 1.3.0 which was broken due an incorrect package version.

Added

  • New languages available: Indonesian ('id') and Turkish ('tr'). Add
    language code constants and tests.

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

Changed

  • Change return type of nonRegionalLanguageCode() to newly-added type
    NonRegionalLanguageCode.