4.0.0 (2022-09-08)
This version of the SDK defaults 2022-08-31 going forward.
Features Added
- Added a method
getWords()
on modelDocumentLine
. - Added
TypedDocumentField<T>
model for strongly typed representation ofFields
on analyzed documents.
DocumentField
extends fromTypedDocumentField<T>
. - Added interfaces from
com.azure.core.client.traits
toFormRecognizerClientBuilder
andFormTrainingClientBuilder
Breaking Changes
- Removed property
kind
from modelDocumentPage
- Removed model
DocumentPageKind
,DocumentEntity
,DocumentFootnote
, andDocumentCaption
. - Renamed models:
ModelOperationDetails
toOperationDetails
ModelOperationSummary
toOperationSummary
ModelOperationKind
toOperationKind
ModelOperationStatus
toOperationStatus
DocumentOperationKind
toOperationKind
BuildModelOptions
toBuildDocumentModelOptions
ComposeModelOptions
toComposeDocumentModelOptions
DocumentOperationResult
toOperationResult
CopyAuthorization
toDocumentModelCopyAuthorization
LengthUnit
toDocumentPageLengthUnit
SelectionMarkState
toDocumentSelectionMarkState
- Renamed properties
documentModelCount
anddocumentModelLimit
tocustomDocumentModelCount
andcustomDocumentModelLimit
on modelResourceDetails
. - Renamed clients methods:
getModel
togetDocumentModel
listModels
tolistDocumentModels
deleteModel
todeleteDocumentModel
beginBuildModel
tobeginBuildDocumentModel
beginComposeModel
tobeginComposeDocumentModel
- Renamed property
DocumentFieldType.INTEGER
toDocumentFieldType.LONG
- Renamed method
getValueInteger
togetValueLong
andgetValueFloat
togetValueLong
onDocumentField
model - Renamed properties on model
DocumentAnalysisAudience
Other Changes
Dependency Updates
- Upgraded
azure-core
to1.32.0
. - Upgraded
azure-core-http-netty
to1.12.5
.