Skip to content

Releases: DeepLcom/deepl-mock

v1.14.0

15 Nov 16:22
v1.14.0
fbf2501
Compare
Choose a tag to compare

Added

  • /translate endpoint: added model_type request parameter and
    model_type_used response parameter.

v1.13.0

30 Sep 12:18
v1.13.0
d648707
Compare
Choose a tag to compare

Added

  • Add supported glossary languages: Danish ('da'), Norwegian (bokmål) ('nb'), and Swedish ('sv').
  • Add billed characters to translate-text function: (show_billed_characters request parameter, and billed_characters response parameter).

v1.12.0

10 Apr 07:44
v1.12.0
13df742
Compare
Choose a tag to compare

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

06 Jul 10:00
v1.11.0
99b1488
Compare
Choose a tag to compare

Added

  • Add formality for Japanese ('JA').
  • Add JSON-requests support to certain endpoints, matching DeepL API.

v1.10.0

26 Jan 15:35
v1.10.0
275461a
Compare
Choose a tag to compare

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

07 Dec 08:46
v1.9.1
f1fb45e
Compare
Choose a tag to compare

Fixed

  • formality=default is allowed for all target languages.

v1.9.0

03 Nov 11:23
v1.9.0
cd2c1e5
Compare
Choose a tag to compare

Added

  • Add to supported glossary language pairs:
    • English <-> Dutch

v1.8.1

03 Nov 11:16
v1.8.1
9a1c142
Compare
Choose a tag to compare

Fixed

  • Mock server incorrectly supported JSON requests that are not supported by DeepL API. Support for JSON requests is removed.

v1.8.0

26 Sep 15:05
v1.8.0
3b98e6f
Compare
Choose a tag to compare

Added

  • Add formality options: prefer_less and prefer_more

Fixed

  • Glossary language codes are case-insensitive.

v1.7.0

09 Sep 08:35
v1.7.0
ab936d3
Compare
Choose a tag to compare

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 or source_lang in glossary create.