1.0.0b3 (2020-06-10)
Breaking Changes
- All asynchronous long running operation methods now return an instance of an
AsyncLROPoller
fromazure-core
- All asynchronous long running operation methods are renamed with the
begin_
prefix to indicate that anAsyncLROPoller
is returned:train_model
is renamed tobegin_training
recognize_receipts
is renamed tobegin_recognize_receipts
recognize_receipts_from_url
is renamed tobegin_recognize_receipts_from_url
recognize_content
is renamed tobegin_recognize_content
recognize_content_from_url
is renamed tobegin_recognize_content_from_url
recognize_custom_forms
is renamed tobegin_recognize_custom_forms
recognize_custom_forms_from_url
is renamed tobegin_recognize_custom_forms_from_url
- Sync method
begin_train_model
renamed tobegin_training
training_files
parameter ofbegin_training
is renamed totraining_files_url
use_labels
parameter ofbegin_training
is renamed touse_training_labels
list_model_infos
method has been renamed tolist_custom_models
- Removed
get_form_training_client
fromFormRecognizerClient
- Added
get_form_recognizer_client
toFormTrainingClient
- A
HttpResponseError
is now raised if a model withstatus=="invalid"
is returned from thebegin_training
methods PageRange
is renamed toFormPageRange
first_page
andlast_page
renamed tofirst_page_number
andlast_page_number
, respectively onFormPageRange
FormField
does not have a page_numberuse_training_labels
is now a required positional param in thebegin_training
APIsstream
andurl
parameters found on methods forFormRecognizerClient
have been renamed toform
andform_url
, respectively- For
begin_recognize_receipt
methods, parameters have been renamed toreceipt
andreceipt_url
created_on
andlast_modified
are renamed torequested_on
andcompleted_on
in the
CustomFormModel
andCustomFormModelInfo
modelsmodels
property ofCustomFormModel
is renamed tosubmodels
CustomFormSubModel
is renamed toCustomFormSubmodel
begin_recognize_receipts
APIs now return a list ofRecognizedReceipt
instead ofUSReceipt
- Removed
USReceipt
. To see how to deal with the return value ofbegin_recognize_receipts
, see the recognize receipt samples in the samples directory for details. - Removed
USReceiptItem
. To see how to access the individual items on a receipt, see the recognize receipt samples in the samples directory for details. - Removed
USReceiptType
and thereceipt_type
property fromRecognizedReceipt
. See the recognize receipt samples in the samples directory for details.
New features
- Support to copy a custom model from one Form Recognizer resource to another
- Authentication using
azure-identity
credentials now supported- see the Azure Identity documentation for more information
page_number
attribute has been added toFormTable
- All long running operation methods now accept the keyword argument
continuation_token
to restart the poller from a saved state
Dependency updates
- Adopted azure-core version 1.6.0 or greater