1.0.0-preview.3 (2020-06-10)
- Blank pages in receipt recognition are now handled properly.
- Support Azure Active Directory credential.
- Support to copy a custom model from one Form Recognizer resource to another.
- Headers and query parameters which don't contain sensitive information are no longer redacted in logging output.
- Refactoring for cross-language consistency:
- [Breaking] Rename
beginRecognizeForms()
tobeginRecognizeCustomForms()
inFormRecognizerClient
. - [Breaking] Rename
listModels()
tolistCustomModels()
inFormTrainingClient
. - [Breaking] Rename
count
tocustomModelCount
andlimit
tocustomModelLimit
inAccountProperties
. - [Breaking] Rename type
ErrorInformation
toFormRecognizerError
. - [Breaking] Rename type
ModelStatus
toCustomFormModelStatus
. - [Breaking] Rename type
CustomFormSubModelField
toCustomFormField
. - [Breaking] Rename type
FormElement
toFormContent
andFormElementCommon
toFormContentCommon
. - [Breaking] Rename property
fieldLabel
tolabelText
inFormField
type. - [Breaking] Rename type
ModelInfo
toCustomFormModelInfo
. - [Breaking] Rename properties
createdOn
torequestedOn
andlastModified
tocompletedOn
inCustomModelInfo
type. - [Breaking] Rename type
TrainModelOptions
toTrainingFileFilter
. - [Breaking] Rename type
TrainStatus
toTrainingStatus
. - [Breaking] Rename type
ContentType
toFormContentType
. - [Breaking] Rename type
FormText
toFieldText
. - [Breaking] Rename type
CustomFormSubModel
toCustomFormSubmodel
. - [Breaking] Rename
models
tosubmodels
inCustomFormModel
. - [Breaking] Recognition methods and training methods now return the result directly, instead of wrapping them in a response object. Specifically,
beginTraining
now returnsCustomFormModel
instead ofFormModelResponse
from the poller.beginRecognizeContent
andbeginRecognizeContentFromUrl
now returnFormPageArray
instead ofRecognizeContentResultResponse
from the poller.beginRecognizeForms
andbeginRecognizeFormsFromUrl
now returnRecognizedFormArray
instead ofRecognizeFormResultResponse
from the poller.beginRecognizeReceipts
andbeginRecognizeReceiptsFromUrl
now returnRecognizedReceiptArray
instead ofRecognizeReceiptResultResponse
from the poller.
- [Breaking] Remove
getFormTrainingClient()
fromFormRecognizerClient
. A new methodgetFormRecognizerClient()
is added toFormTrainingClient
- [Breaking]
useTrainingLabels
parameter is now required forbeginTraining()
method. - [Breaking] Rename
intervalInMs
toupdateIntervalInMs
for all LRO poller options. - [Breaking] Remove
USReceipt
and assoicated types. - Rename the first parameter of
beginRecognizeContent()
fromdata
toform
. - Rename the second parameter of
beginRecognizeForms()
fromdata
toform
. - Rename the first parameter of
beginRecognizeReceipts()
fromdata
toreceipt
. - Rename the first parameter of
beginRecognizeContentFromUrl()
fromdocumentUrl
toformUrl
. - Rename the second parameter of
beginRecognizeFormsFromUrl()
fromdocumentUrl
toformUrl
. - Rename the first parameter of
beginRecognizeReceiptsFromUrl()
fromdocumentUrl
toreceiptUrl
. - Rename the first parameter of
beginTraining
fromblobContainerUrl
totrainingFilesUrl
.
- [Breaking] Rename