@azure-rest/ai-translation-text_2.0.0-beta.1
Breaking Changes📦 azure-api-managementView on GitHub →
⚠ 4 breaking✨ 2 features🔧 4 symbols
Summary
This beta release introduces support for the new Azure AI Translator API features, including LLM-based translations, and removes several legacy properties and features related to transliteration and text alignment.
⚠️ Breaking Changes
- Added the `Models` property to `GetSupportedLanguagesResultOutput` to list LLM models available for translations.
- Removed the `transliteration` property from `TranslationTextOutput`.
- Removed the `sourceText` property from `TranslatedTextItemOutput`.
- Dictionary, sentence boundaries, and text alignments features have been removed, along with their relevant classes and properties.
Migration Steps
- If you relied on the `transliteration` property in `TranslationTextOutput`, you must update your code.
- If you relied on the `sourceText` property in `TranslatedTextItemOutput`, you must update your code.
- If you relied on features related to Dictionary, sentence boundaries, or text alignments, you must update your code due to their removal.
✨ New Features
- Added support for the Azure AI Translator API 2025-10-01-preview, including translations using LLM models, adaptive custom translation, tone variant translations, and gender-specific translations.
- Added `TranslationTarget` for configuring translation options.
🔧 Affected Symbols
GetSupportedLanguagesResultOutputTranslationTextOutputTranslatedTextItemOutputTranslationTarget