Releases: DeepLcom/deepl-node
Releases · DeepLcom/deepl-node
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.
v1.3.0
Due to an incorrect package version, this version was removed.
v1.2.2
Added
-
Glossaries are now supported for language pairs: English <-> Japanese and
French <-> German. 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.
v1.2.1
Changed
- Simplify and widen the accepted version range for
nodeand@types/node.
v1.2.0
Added
- Add
errorMessageproperty toDocumentStatus, describing the error in case
of document translation failure.
v1.1.1
Fixed
- Fix some tests that intermittently failed.
- Fix
isDocumentTranslationComplete()to reject if document translation fails.
v1.1.0
Added
- Add support for HTML tag handling.
Fixed
- Fix spurious test failures.
v0.1.2
Changed
- Change TypeScript-example to match other examples.
- Improvements to code style and formatting.
- Increase TypeScript compiler target to
es2019.