Releases: DeepLcom/deepl-node
Releases · DeepLcom/deepl-node
v1.20.0
Added
- Official support for Node.js versions 20, 22 and 24
Fixed
- Fixed document minification/deminification to preserve translated content. Previously, when document minification was enabled, the deminify process would use the original minified file instead of the translated version, causing translations to be lost.
- Fixed handling of documents without media files during translation. The library now correctly processes documents that don't contain embedded media.
v1.19.0
Added
- Add new supported language codes to the translation and glossary language types.
v1.17.3
Changed
- Upgrade axios lib due to GHSA-jr5f-v2jv-69x6
v1.17.2
Added
- Added option to override translate path
v1.17.1
Added
- Update list of supported target languages
Changed
- Adjust environment variable handling to avoid side effects in the published library
v1.17.0
Added
- Added document minification as a feature before document translation, to
allow translation of large docx or pptx files. For more info check the README. - Added .env.example file with
dotenv
library for environment variables management - Improve unit tests
Changed
- Upgrade cross-spawn library (see GHSA-3xgq-45jj-v275)
v1.16.0
Added
- Added support for the Write API in the client library, the implementation
can be found in theDeepLClient
class. Please refer to the README for usage
instructions.
Changed
- The main functionality of the library is now also exposed via the
DeepLClient
class. Please change your code to use this over theTranslator
class whenever
convenient.
v1.15.0
Added
- Added
modelType
option totranslateText()
to use models with higher
translation quality (available for some language pairs), or better latency.
Options are'quality_optimized'
,'latency_optimized'
, and'prefer_quality_optimized'
- Added the
modelTypeUsed
field totranslateText()
response, that
indicates the translation model used when themodelType
option is
specified.
v1.14.0
Added
- Added
billedCharacters
field to text translation response.
v1.13.1
Added
-
Added supported glossary languages: Danish (
'da'
), Norwegian (bokmål)
('nb'
), and Swedish ('sv'
). 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.
Security
- Increase
axios
locked-version due to security
vulnerability in axios <1.7.3