v1.11.0
daniel-jones-deepl
released this
03 Nov 21:10
·
29 commits
to main
since this release
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
notcreateGlossaryFromCsv