3.1.0 (2021-05-26)
Features Added
- This General Availability (GA) release marks the stability of the changes introduced in package versions
3.1.0-beta.1
through3.1.0-beta.3
. - Added
clientOptions()
andgetDefaultLogOptions()
methods to theFormRecognizerClientBuilder
andFormTrainingClientBuilder
. - We are able to support multiple service API versions now:
V2_0
andV2_1
. - Add more static values to
FormRecognizerLanguage
expandable string class.
Breaking Changes
- The client defaults to the latest supported service version, which currently is 2.1.
- The model
TextAppearance
now includes the propertiesstyleName
andstyleConfidence
that were part of theTextStyle
object. - Removed the model
TextStyle
. - Removed
V2_1_PREVIEW_1
andV2_1_PREVIEW_2
but only support latest service API versionV2_1
. - Removed the
pollInterval
property from all endpoints' options bag, such asRecognizeBusinessCardsOptions
, etc. Polling interval
can be updated in the Azure CoreSyncPoller
orPollerFlux
's method,setPollInterval()
, synchronously and asynchronously, respectively. - Removed class type
FieldValueGender
. - Removed value
Gender
from the modelFieldValuetype
. - Renamed
ReadingOrder
model toFormReadingOrder
, and refactor the class to be expandable string class. - Renamed the method names and the method parameters, using
identity
to replaceid
keyword in the identity documents recognition API.
For example, renamedbeginRecognizeIdDocuments
tobeginRecognizeIdentityDocuments
. - Renamed the method
asCountry
toasCountryRegion
. - Renamed value
COUNTRY
toCOUNTRY_REGION
in the modelFieldValuetype
. - Renamed the property
fieldBoundingBox
toboundingBox
in the classFormTable
. - Make
FormLine
,FormPage
,FormTable
,FormSelectionMark
,TextAppearance
,CustomFormModel
,CustomFormModelInfo
,CustomFormModelProperties
CustomFormSubmodel
,TrainingDocumentInfo
model class immutable.