Skip to content

v1.19.0

Latest

Choose a tag to compare

@lilkraftwerk lilkraftwerk released this 24 Jun 12:08

Added

  • Added support for the /v3/languages and /v3/languages/resources endpoints
    in the DeepLClient class: getLanguagesForResource() and getLanguageResources().
    These return richer per-resource, per-feature language support than the v2
    language endpoint, including newer languages and features.
  • Added new model classes LanguageSupport, LanguageResource, LanguageFeature,
    and ResourceFeature to represent the v3 language response shape.

Changed

  • Migrated request bodies for /v2/translate, /v2/glossaries, and
    /v2/write/rephrase to application/json with correctly-typed fields
    (e.g. text is sent as an array, show_billed_characters as a boolean,
    tag lists as arrays, translation_memory_threshold as an integer).
  • Send type as a query parameter on GET /v2/languages instead of in the
    request body.
  • Enabled OpenAPI request and response validation for the mock-server CI jobs.