1.0.0-beta.4 (2020-07-07)
Breaking Changes
beginRecognizeReceipt
APIs now return aRecognizedForm
model instead of aRecognizedReceipt
. See
this
suggested approach for extracting information from receipts.- Methods returning
textContent
have been renamed tofieldElements
onFieldData
andFormTableCell
- Renamed
FormContent
toFormElement
- Renamed
FieldText
toFieldData
- Renamed properties
requestedOn
totrainingStartedOn
andcompletedOn
totrainingCompletedOn
on model - Throw
HttpResponseException
instead ofErrorResponseException
to model service side exceptions
CustomFormModel
andCustomFormModelInfo
. - Changed
CopyAuthorization.getExpiresOn()
to return aOffsetDateTime
instead of along
value - Added
RecognizeOptions
to pass configurable options when using recognize APIs on FormRecognizerClient. - Changed
submodels
property onCustomFormModel
to return aList
instead ofIterableStream
- Renamed
fieldMap
property tofields
onCustomFormSubmodel
model - Renamed
elements
property on modelFormTableCell
totextContent
- Renamed
includeTextDetails
references in parameter and model properties toincludeFieldElements
- Removed
TextContentType
model and useinstanceOf
to detect the FormContent type
Key Bug Fixes
- Fixed
textAngle
to be returned between(-180, 180]
.