3.1.0 (2021-05-26)
- This General Availability (GA) release marks the stability of the changes introduced in package versions 3.1.0-beta.1 through 3.1.0-beta.3.
- Changed all names including
IdDocument
to useIdentityDocument
instead, for example:BeginRecognizeIdentityDocumentOptions
,beginRecognizeIdentityDocuments
, andbeginRecognizeIdentityDocumentsFromUrl
for clarity. - Flattened the
TextStyle
type into theTextAppearance
type. Rather than having astyle
property with its ownname
andconfidence
,TextAppearance
now hasstyleName
andstyleConfidence
properties. - Removed the
FormGenderField
type. Any recognized value that was previously produced as aFormGenderField
is now returned as aFormStringField
instead (thevalue
will remain the same). - Renamed the
FormCountryField
type toFormCountryRegionField
, and changed thevalueType
discriminant property of that type to"countryRegion:
. - Renamed
ReadingOrder
andLanguage
toFormReadingOrder
andFormLanguage
to reduce the chance that these types would collide with other types having the same name from other packages. - Removed the
KnownStyleName
,KnownSelectionMarkState
, andKnownKeyValueType
enums, as they represent simple string enums. ThestyleName
,state
, andvalueType
properties (respectively) now have strong string-enum types. - Added the
KnownFormLocale
enum to access the well-known possible values of form locales (thelocale
property of the options parameters for prebuilt model recognition). - Migrated to the 2.1 Form Recognizer service endpoint for all REST API calls.