Releases: DeepLcom/deepl-dotnet
Releases · DeepLcom/deepl-dotnet
v1.11.0
Added
- Added
ModelType
option for text translation to use models with higher
translation quality (available for some language pairs), or better latency.
Options are:ModelType.QualityOptimized ('quality_optimized')
,ModelType.QualityOptimized ('latency_optimized')
, andModelType.QualityOptimized ('prefer_quality_optimized')
- Added the
ModelTypeUsed
field to text translation response, that
indicates the translation model used when theModelType
option is
specified.
v1.10.0
Added
- Added
BilledCharacters
to the translate text response.
v1.9.0
Added
-
New language available: Arabic (MSA) (
'ar'
). Add language code constants and tests.Note: older library versions also support the new language, this update only
adds new code constants.
Fixed
- Change document upload to use the path
/v2/document
instead of/v2/document/
(no trailing/
).
Both paths will continue to work in the v2 version of the API, but/v2/document
is the intended one. - Made
DeepLException
and subclasses,Usage
andJsonFieldsStruct
constructors public, to allow for easier mocking of theITranslator
interface.- #40 thanks to PascalVorwerkSaixon
v1.8.0
Added
- Add optional
Context
parameter for text translation, that specifies
additional context to influence translations, that is not translated itself.
Changed
- Improvements to readme examples.
v1.7.1
v1.7.0
Added
- Script to check our source code for license headers and a step for them in the CI.
- Added platform and node version information to the user-agent string that is sent with API calls, along with an opt-out.
- Added method for applications that use this library to identify themselves in API requests they make.
v1.6.0
Added
-
New languages available: Korean (
'ko'
) and Norwegian (bokmål) ('nb'
). Add
language code constants and tests.Note: older library versions also support the new languages, this update only
adds new code constants.
v1.5.1
v1.5.0
Added
- Add new
Formality
options:PreferLess
andPreferMore
.
Changed
- Requests resulting in
503 Service Unavailable
errors are now retried.
Attempting to download a document before translation is completed will now
wait and retry (up to 5 times by default), rather than throwing an exception.
v1.4.0
Added
-
New language available: Ukrainian (
'uk'
). Add language code constant and
tests.Note: older library versions also support new languages, this update only
adds new code constant.