Releases: DeepLcom/deepl-mock
Releases · DeepLcom/deepl-mock
v1.14.0
v1.13.0
v1.12.0
Added
- Verify keepalive is used by clients by rejecting session reuse on new sockets,
except in case where no-response mode is active - Add
mock-server-session-allow-missing-user-agent
session header to override
missing User-Agent check. - Add supported glossary languages: Portuguese (
'PT'
), Russian ('RU'
), and Chinese ('ZH'
). - Add
output_format
parameter for document upload, to specify the desired file
format of the output file - Add new language Arabic (
'AR'
).
Security
- Run
npm audit fix
to update dependencies.
v1.11.0
Added
- Add formality for Japanese (
'JA'
). - Add JSON-requests support to certain endpoints, matching DeepL API.
v1.10.0
Added
- Add new languages Korean (
'KO'
) and Norwegian (bokmål) ('NB'
). - Add limited support for XLIFF files. As this mock server only translates text
files, XLIFF files will return a 503 error (the same as for other file types).
v1.9.1
Fixed
formality=default
is allowed for all target languages.
v1.9.0
Added
- Add to supported glossary language pairs:
- English <-> Dutch
v1.8.1
Fixed
- Mock server incorrectly supported JSON requests that are not supported by DeepL API. Support for JSON requests is removed.
- #3 thanks to DevViktorKovacs.
v1.8.0
Added
- Add
formality
options:prefer_less
andprefer_more
Fixed
- Glossary language codes are case-insensitive.
v1.7.0
Added
- Add to supported glossary language pairs:
- German <-> French
- English <-> Italian
- English <-> Japanese
- English <-> Polish
- Add new language Ukrainian (
'UK'
).
Fixed
- Fix bug with missing
target_lang
orsource_lang
in glossary create.