3.0.0-preview.1 (2020-08-11)
Breaking changes
- The library now targets the service's v2.0 API, instead of the v2.0-preview.1 API.
- Updated version number from
1.0.0-preview.5
to3.0.0-preview.1
. - Added models
RecognizeCustomFormsOptions
,RecognizeReceiptsOptions
, andRecognizeContentOptions
instead of a genericRecognizeOptions
to support passing configurable options to recognize APIs. - Added model
TrainingOptions
to support passing configurable options to training APIs. This type now includesTrainingFileFilter
. - Renamed the
FieldValue
propertyType
toValueType
. - Renamed the
TrainingDocumentInfo
propertyDocumentName
toName
. - Renamed the
TrainingFileFilter
propertyIncludeSubFolders
toIncludeSubfolders
. - Renamed the
FormRecognizerClient.StartRecognizeCustomForms
parameterformFileStream
toform
. - Renamed the
FormRecognizerClient.StartRecognizeCustomFormsFromUri
parameterformFileUri
toformUri
. - Renamed
CustomFormModelStatus.Training
toCustomFormModelStatus.Creating
. - Renamed
FormValueType.Integer
toFormValueType.Int64
. FormField
propertyValueData
is now set to null if there is no text, bounding box or page number associated with it.
Fixes
- Made the
TrainingFileFilter
constructor public. - Fixed a bug in which
FormTrainingClient.GetCustomModel
threw an exception if the model was still being created (#13813). - Fixed a bug in which the
BoundingBox
indexer andToString
method threw aNullReferenceException
if it had no points (#13971). - Fixed a bug in which a default
FieldValue
threw aNullReferenceException
ifAsString
was called. The method now returnsnull
.
New Features
- Added diagnostics functionality to the
FormRecognizerClient
, to theFormTrainingClient
and to long-running operation types.