Skip to content

Releases: DeepLcom/deepl-node

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.

v1.7.5

25 Jan 16:40
v1.7.5
b642286
Compare
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
Compare
Choose a tag to compare

Fixed

  • Omit undefined supportsFormality field for source languages.

v1.7.3

04 Jan 08:47
v1.7.3
e36e322
Compare
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
Compare
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.