Skip to content

Releases: DeepLcom/deepl-mock

v1.16.0

22 Jan 20:58
v1.16.0
ebbb61b
Compare
Choose a tag to compare

Added

  • Added checks for supported languages in the Write API.

v1.15.2

17 Jan 17:27
v1.15.2
2a5138b
Compare
Choose a tag to compare

Fixed

  • Fix typo in util function that causes a crash.

v1.15.1

17 Jan 17:27
v1.15.1
6d03d65
Compare
Choose a tag to compare

Fixed

  • v2/write/rephrase now returns the target language in BCP-47 format,
    like the real API.

v1.15.0

17 Jan 17:26
v1.15.0
fb8a1e4
Compare
Choose a tag to compare

Added

  • Added support for the Write API in the mock server.

v1.14.1

14 Jan 11:26
v1.14.1
e75304e
Compare
Choose a tag to compare

Fixed

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).