All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.11.0 - 2024-11-15
- 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.
1.10.0 - 2024-09-17
- Added
BilledCharacters
to the translate text response.
1.9.0 - 2024-03-15
-
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.
- 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
1.8.0 - 2023-11-03
- Add optional
Context
parameter for text translation, that specifies additional context to influence translations, that is not translated itself.
- Improvements to readme examples.
1.7.1 - 2023-04-17
- Changed document translation to poll the server every 5 seconds. This should greatly reduce observed document translation processing time.
1.7.0 - 2023-03-22
- 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.
1.6.0 - 2023-01-26
-
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.
1.5.1 - 2023-01-25
- Fix CI build for netcoreapp3.1.
- Fix
Formality
optionsPreferLess
andPreferMore
for document translation.
1.5.0 - 2022-09-30
- Add new
Formality
options:PreferLess
andPreferMore
.
- 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.
1.4.0 - 2022-09-09
-
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.
1.3.0 - 2022-08-02
- Add
Translator.createGlossaryFromCsvAsync()
allowing glossaries downloaded from website to be easily uploaded to API.
- Strong name DeepL.net assembly.
1.2.1 - 2022-06-29
- Update contributing guidelines, we can now accept Pull Requests.
- Fix bug in OutlineDetection option for text translation.
1.2.0 - 2022-05-18
-
New languages available: Indonesian (
'id'
) and Turkish ('tr'
). Add language code constants and tests.Note: older library versions also support the new languages, this update only adds new code constants.
-
Added
ITranslator
interface implemented byTranslator
class, to achieve a better mock-ability in conjunction with common mocking frameworks.
- Improve package icon, tags and project URLs.
- Test fix: tests should still succeed after new languages are added.
1.1.0 - 2022-04-13
- Add
ErrorMessage
property toDocumentStatus
that contains a short description of document translation error, if available.
1.0.5 - 2022-04-12
- Add support for
TextTranslateOptions.TagHandling = "html"
. No code changes were needed, only comments and tests were changed. - Add test for proxy support.
- Fix some tests that intermittently failed.
1.0.4 - 2022-01-27
- Fix issue in .NET versions earlier than 5.0, when creating large glossaries or translating texts larger than 64 KiB.
1.0.3 - 2022-01-19
- Add contribution guidelines -- currently we are unable to accept Pull Requests.
- Improve README tests section.
1.0.2 - 2022-01-03
- Include additional information with error status codes.
1.0.1 - 2021-12-07
- Use default HTTP version in requests rather than always using HTTP/2.
1.0.0 - 2021-11-18
- Add missing properties in package, e.g. icon.
- Introduce GlossaryEntries class to encapsulate glossary entries.
- SplitSentences enum renamed to SentenceSplittingMode.
- Exceptions thrown by some functions were changed to use standard exceptions.
- Improvements to tests, README and documentation.
0.1.0 - 2021-11-05
Initial release.