Releases: DeepLcom/deepl-node
Releases · DeepLcom/deepl-node
v1.17.3
Changed
- Upgrade axios lib due to GHSA-jr5f-v2jv-69x6
v1.17.2
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
v1.13.0
1.13.0
Added
- Add possibility to add extra parameters to a translation request (both text and document).
DeepL engineers use this to test features in the API before they are released. Library users
who cannot update their DeepL library dependency could use these extra parameters to access
features in the API that are released in the future.
Security
- Increase
follow-redirects
locked-version due to security
vulnerability in follow-redirects <1.15.5
v1.11.1
Fixed
- Dependencies: Update
follow-redirects
due to security vulnerability
Security
- Increase
axios
requirement to^1.6.4
to avoid vulnerability in follow-redirects <1.15.4