Releases: DeepLcom/deepl-node
Releases · DeepLcom/deepl-node
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.
v1.4.0
Added
- Add
createGlossaryWithCsv()allowing glossaries downloaded from website to be easily uploaded to API.
v1.3.2
Changed
- Update contributing guidelines, we can now accept Pull Requests.
Fixed
- Fix GitLab CI config.
- Correct language code case in
getSourceLanguages()andgetTargetLanguages()result. - Use TypeScript conditional types on
translateText()to fix TS compiler errors.- Issue #9 thanks to Jannis Blossey
v1.3.1
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.