You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/documentintelligence/Azure.AI.DocumentIntelligence/CHANGELOG.md
+47-1Lines changed: 47 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,13 +3,59 @@
3
3
## 1.0.0-beta.4 (Unreleased)
4
4
5
5
### Features Added
6
-
6
+
- Added methods `GetAnalyzeBatchResult`, `GetAnalyzeBatchResults`, `DeleteAnalyzeBatchResult`, and `DeleteAnalyzeResult` to `DocumentIntelligenceClient`.
7
+
- Added class `AnalyzeBatchOperationDetails` to be used as the output of the `GetAnalyzeBatchResult` and `GetAnalyzeBatchResults` APIs.
8
+
- Added property `ModifiedOn` to `DocumentModelDetails` and to `DocumentClassifierDetails`.
9
+
- Added member `Skipped` to `DocumentIntelligenceOperationStatus` (former `OperationStatus`).
7
10
- Exposed `JsonModelWriteCore` for model serialization procedure.
8
11
9
12
### Breaking Changes
13
+
- Replaced the following `Content` classes with new corresponding `Options` classes:
14
+
-`AnalyzeBatchDocumentsContent` to `AnalyzeBatchDocumentsOptions`.
15
+
-`AnalyzeDocumentContent` to `AnalyzeDocumentOptions`.
16
+
-`AuthorizeClassifierCopyContent` to `AuthorizeClassifierCopyOptions`.
17
+
-`AuthorizeCopyContent` to `AuthorizeModelCopyOptions`.
18
+
-`BuildDocumentClassifierContent` to `BuildClassifierOptions`.
19
+
-`BuildDocumentModelContent` to `BuildDocumentModelOptions`.
20
+
-`ClassifyDocumentContent` to `ClassifyDocumentOptions`.
21
+
-`ComposeDocumentModelContent` to `ComposeModelOptions`.
22
+
- Parameters of the `AnalyzeBatchDocuments`, `AnalyzeDocument`, and `ClassifyDocument` methods have been moved into their corresponding `Options` class.
23
+
- Updated parameter `resultId` of methods `GetAnalyzeResultPdf` and `GetAnalyzeResultFigure` to take a `string` instead of a `Guid`.
24
+
- Renamed all occurrences of property `UrlSource` to `UriSource`.
25
+
- Renamed all occurrences of properties `DocType` and `DocTypes` to `DocumentType` and `DocumentTypes`, respectively.
26
+
- In `DocumentField`, renamed properties `Type` and `ValueLong` to `FieldType` and `ValueInt64`, respectively.
27
+
- Renamed property `Type` to `FieldType` in `DocumentFieldSchema`.
28
+
- Renamed class `AzureBlobContentSource` to `BlobContentSource`.
29
+
- Renamed class `AzureBlobFileListContentSource` to `BlobFileListContentSource`.
30
+
- Renamed all occurrences of properties `AzureBlobSource` and `AzureBlobFileListSource` to `BlobSource` and `BlobFileListSource`, respectively.
31
+
- Renamed all occurrences of property `ContainerUrl` to `ContainerUri`.
32
+
- Renamed property `ResultContainerUrl` to `ResultContainerUri` in `AnalyzeBatchDocumentsContent`.
33
+
- Renamed class `AnalyzeBatchOperationDetail` to `AnalyzeBatchResultDetails`.
34
+
- In `AnalyzeBatchResultDetails` (former `AnalyzeBatchOperationDetail`), renamed properties `SourceUrl` and `ResultUrl` to `SourceUri` and `ResultUri`, respectively.
35
+
- Removed member `Generative` from `DocumentBuildMode`.
36
+
- Renamed member `StyleFonts` to `FontStyling` in `DocumentAnalysisFeature`.
37
+
- In `ContentSourceKind`, renamed members `Url`, `Base64`, `AzureBlob`, and `AzureBlobFileList` to `Uri`, `Bytes`, `Blob`, and `BlobFileList`, respectively.
38
+
- Renamed all occurrences of property `ExpirationDateTime` to `ExpiresOn`.
39
+
- Renamed method `GetResourceInfo` to `GetResourceDetails` in `DocumentIntelligenceAdministrationClient`.
40
+
- Renamed class `ResourceDetails` to `DocumentIntelligenceResourceDetails`.
41
+
- Renamed type `ContentFormat` to `DocumentContentFormat`.
42
+
- Renamed class `OperationDetails` to `DocumentIntelligenceOperationDetails`.
43
+
- Renamed class `InnerError` to `DocumentIntelligenceInnerError`.
44
+
- Renamed class `CopyAuthorization` to `ModelCopyAuthorization`.
45
+
- Renamed type `OperationStatus` to `DocumentIntelligenceOperationStatus`.
46
+
- Renamed property `Innererror` to `InnerError` in `DocumentIntelligenceError`.
47
+
- Renamed property `InnerErrorObject` to `InnerError` in `DocumentIntelligenceInnerError` (former class `InnerError`).
48
+
- Removed member `Completed` from `DocumentIntelligenceOperationStatus` (former `OperationStatus`).
49
+
- Removed type `StringIndexType`.
50
+
- Removed property `StringIndexType` in `AnalyzeResult`.
51
+
- Updated property `Fields` in `AnalyzedDocument` to be a `DocumentFieldDictionary` instead of an `IReadOnly<string, DocumentField>`.
52
+
- Updated property `ValueDictionary` in `DocumentField` to be a `DocumentFieldDictionary` instead of an `IReadOnly<string, DocumentField>`.
53
+
- Made type `BoundingRegion` a `struct`.
54
+
- Made type `DocumentSpan` a `struct`.
10
55
11
56
### Bugs Fixed
12
57
- Fixed a bug where calling `Operation.Id` would sometimes return an `InvalidOperationException` with message "The operation ID was not present in the service response.".
58
+
- Calling `Operation.Id` in an operation returned from the `AnalyzeBatchDocuments` and `ClassifyDocument` APIs won't throw a `NotSupportedException` anymore.
@@ -414,16 +406,14 @@ foreach (KeyValuePair<string, DocumentTypeDetails> docType in model.DocTypes)
414
406
415
407
Currently neither `AnalyzeDocument` nor `ClassifyDocument` support submitting a document from a `Stream` input. As a temporary workaround, you can make use of the new Base64 input option. The following example illustrates how to submit a local file for analysis:
0 commit comments