Releases: DeepLcom/deepl-node
Releases · DeepLcom/deepl-node
v1.9.0
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
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
v1.7.4
Fixed
- Omit undefined
supportsFormalityfield for source languages.
v1.7.3
Changed
- CI: suppress
npm auditwarnings for dev dependencies, due to CVE ineslint-plugin-import > tsconfig-paths > json5.
Fixed
- Support
axiosv1.2.1, that resolves the issue in v1.2.0.
v1.7.2
Fixed
- Limit
axiosto 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
Fixed
- Prefer
for .. ofloops tofor .. inloops, to handle cases where array
prototype has been modified.- Issue #10 thanks to LorenzoJokhan
- Node 18 is supported, this is now explicitly documented.
v1.7.0
Added
- Add formality options
'prefer_less'and'prefer_more'.
Changed
- Requests resulting in
503 Service Unavailableerrors 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
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
Added
- Add proxy support.