Change8

@azure-rest/ai-translation-text_2.0.0-beta.1

Breaking Changes
📦 azure-key-vaultView on GitHub →
4 breaking2 features🔧 4 symbols

Summary

This beta release introduces support for the Azure AI Translator API 2025-10-01-preview features, including LLM-based translations, while removing several older features like transliteration and text alignments.

⚠️ Breaking Changes

  • Added the `Models` property to `GetSupportedLanguagesResultOutput` to list available LLM models 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

  1. If you relied on the `transliteration` property in `TranslationTextOutput`, you must update your code.
  2. If you relied on the `sourceText` property in `TranslatedTextItemOutput`, you must update your code.
  3. If you used features related to Dictionary, sentence boundaries, or text alignments, you must refactor your code as these features and their associated classes/properties have been removed.

✨ 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