github Azure/azure-sdk-for-js @azure/ai-form-recognizer_1.0.0-preview.3

latest releases: @azure-rest/maps-search_2.0.0-beta.2, @azure-rest/maps-geolocation_1.0.0-beta.4, @azure-rest/maps-render_2.0.0-beta.1...
pre-release4 years ago

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() to beginRecognizeCustomForms() in FormRecognizerClient.
    • [Breaking] Rename listModels() to listCustomModels() in FormTrainingClient.
    • [Breaking] Rename count to customModelCount and limit to customModelLimit in AccountProperties.
    • [Breaking] Rename type ErrorInformation to FormRecognizerError.
    • [Breaking] Rename type ModelStatus to CustomFormModelStatus.
    • [Breaking] Rename type CustomFormSubModelField to CustomFormField.
    • [Breaking] Rename type FormElement to FormContent and FormElementCommon to FormContentCommon.
    • [Breaking] Rename property fieldLabel to labelText in FormField type.
    • [Breaking] Rename type ModelInfo to CustomFormModelInfo.
    • [Breaking] Rename properties createdOn to requestedOn and lastModified to completedOn in CustomModelInfo type.
    • [Breaking] Rename type TrainModelOptions to TrainingFileFilter.
    • [Breaking] Rename type TrainStatus to TrainingStatus.
    • [Breaking] Rename type ContentType to FormContentType.
    • [Breaking] Rename type FormText to FieldText.
    • [Breaking] Rename type CustomFormSubModel to CustomFormSubmodel.
    • [Breaking] Rename models to submodels in CustomFormModel.
    • [Breaking] Recognition methods and training methods now return the result directly, instead of wrapping them in a response object. Specifically,
      • beginTraining now returns CustomFormModel instead of FormModelResponse from the poller.
      • beginRecognizeContent and beginRecognizeContentFromUrl now return FormPageArray instead of RecognizeContentResultResponse from the poller.
      • beginRecognizeForms and beginRecognizeFormsFromUrl now return RecognizedFormArray instead of RecognizeFormResultResponse from the poller.
      • beginRecognizeReceipts and beginRecognizeReceiptsFromUrl now return RecognizedReceiptArray instead of RecognizeReceiptResultResponse from the poller.
    • [Breaking] Remove getFormTrainingClient() from FormRecognizerClient. A new method getFormRecognizerClient() is added to FormTrainingClient
    • [Breaking] useTrainingLabels parameter is now required for beginTraining() method.
    • [Breaking] Rename intervalInMs to updateIntervalInMs for all LRO poller options.
    • [Breaking] Remove USReceipt and assoicated types.
    • Rename the first parameter of beginRecognizeContent() from data to form.
    • Rename the second parameter of beginRecognizeForms() from data to form.
    • Rename the first parameter of beginRecognizeReceipts() from data to receipt.
    • Rename the first parameter of beginRecognizeContentFromUrl() from documentUrl to formUrl.
    • Rename the second parameter of beginRecognizeFormsFromUrl() from documentUrl to formUrl.
    • Rename the first parameter of beginRecognizeReceiptsFromUrl() from documentUrl to receiptUrl.
    • Rename the first parameter of beginTraining from blobContainerUrl to trainingFilesUrl.

Don't miss a new azure-sdk-for-js release

NewReleases is sending notifications on new releases.