Skip to content

Azure.AI.Translation.Document_1.0.0

Compare
Choose a tag to compare
@azure-sdk azure-sdk released this 08 Jun 00:47
8f9ba0e

1.0.0 (2022-06-07)

Features Added

  • Added optional parameter categoryId to the DocumentTranslationInput.AddTarget.
  • Added property Ascending to type DocumentFilterOrder and TranslationFilterOrder.
  • DocumentTranslationAudience has been added to allow the user to select the Azure cloud where the resource is located.

Breaking Changes

  • Renamed type StorageInputType to StorageInputUriKind.
  • Renamed property StorageType to StorageUriKind in DocumentTranslationInput.
  • Renamed parameter asc to ascending in TranslationFilterOrder constructor.
  • The following properties inside of the DocumentTranslationOperation class will throw an InvalidOperationException if they are accessed and the LRO hasn't made a request to the service:
    • CreatedOn
    • DocumentsCanceled
    • DocumentsFailed
    • DocumentsInProgress
    • DocumentsNotStarted
    • DocumentsSucceeded
    • DocumentsTotal
    • LastModified
    • Status

Bugs Fixed

  • In DocumentTranslationOperation, Cancel calls won't overwrite the response from GetRawResponse anymore.