3.0.0-preview.1 (2020-08-11)
- Changed the package version to 3.0.0-preview.1 to reduce confusion with older versions of the Azure Form Recognizer SDKs.
- Changed the name of the
options
bag parameter ofbeginRecognizeReceipts
andbeginRecognizeReceiptsFromUrl
toBeginRecognizeReceiptsOptions
. - Switched to using the generally-available 2.0 service endpoint rather than 2.0-preview.
- Added a
pageNumber
property to theFormTable
andFormTableCell
types indicating the number of the page where the table/cell appeared within the input document. - [Breaking] Renamed the
includeSubFolders
property of theTrainSourceFilter
type toincludeSubfolders
. - [Breaking] Renamed the
documentName
property of theTrainingDocumentInfo
type to justname
. - [Breaking] Removed the
containingLine
property of theFormWord
type. - Made the
rowSpan
,columnSpan
,isHeader
, andisFooter
properties of theFormTableCell
type non-optional to reflect that they have default values. - [Breaking] Renamed
CustomFormField
toCustomFormModelField
for similarity to other language SDKs. - [Breaking] Removed the redundant
expirationDateTimeTicks
property from theCopyAuthorization
type, as theexpiresOn
property exists. - [Breaking] Moved the optional
contentType
parameter of theFormRecognizerClient
recognition methods (recognizeContent
,recognizeCustomForms
,recognizeReceipts
, and their URL-based variants) to the associated options bag for these methods. - [Breaking] Removed exports of several internal types, including most internal poller operation states and some unused types. All client poller implementations now return a smaller subset of fields.