Skip to content

Releases: DeepLcom/deepl-mock

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.

v1.6.0

07 Jul 11:34
v1.6.0
656d848
Compare
Choose a tag to compare

Added

  • Add support for glossary creation using CSV format.

Changed

  • Update contributing guidelines, we can now accept Pull Requests.
  • Update package-lock.json: remove dicer 0.3.0 from indirect dependencies.

Fixed

  • Fix an incorrect docker command in the readme.

v1.5.0

18 May 07:55
v1.5.0
5c6423b
Compare
Choose a tag to compare

Added

  • Add new languages Indonesian ('ID') and Turkish ('TR').

v1.4.0

13 Apr 10:45
v1.4.0
5673481
Compare
Choose a tag to compare

Added

  • Add error_message field to document status if an error occurs during document translation fails,
    and check if detected source language matches target language. The deprecated message field is
    also added to match the live API.

Changed

  • Update name for the target language zh to "Chinese (simplified)".

v1.3.2

01 Mar 10:38
v1.3.2
8198618
Compare
Choose a tag to compare

Added

  • Add support for tag_handling=html.
  • formality parameter is checked against target_lang.

Changed

  • Update package-lock.json: upgrade follow-redirects to 1.14.9 to silence security warnings.
    Note: security vulnerability CVE-2022-0536
    affects cross-domain proxying and has no impact here because the proxy server is restricted to
    target only the mock server itself.

Fixed

  • Raise request body size limits to 50 MiB.
  • Fix error response message when attempting to download a document before it has been translated.

v1.3.1

21 Jan 11:07
v1.3.1
88b5d3a
Compare
Choose a tag to compare

Added

  • Add contribution guidelines -- currently we are unable to accept Pull Requests.

Changed

  • npm start command now uses environment variables if defined for DEEPL_MOCK_SERVER_PORT and
    DEEPL_MOCK_PROXY_SERVER_PORT.
  • Update package-lock.json: upgrade follow-redirects to 1.14.7 to silence security warnings.
    Note: security vulnerability CVE-2022-0155
    affects cross-domain proxying and has no impact here because the proxy server is restricted to
    target only the mock server itself.

Fixed

  • Remove "localhost" from listen() calls.