Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency azure-ai-documentintelligence to v1.0.0 #26

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Sep 6, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
azure-ai-documentintelligence (source) ==1.0.0b3 -> ==1.0.0 age adoption passing confidence

Release Notes

Azure/azure-sdk-for-python (azure-ai-documentintelligence)

v1.0.0

Compare Source

1.0.0 (2024-12-17)

Features Added
  • Added support for the Analyze Batch Documents API:
    • Added operations delete_analyze_batch_result(), get_analyze_batch_result() and list_analyze_batch_results() to DocumentIntelligenceClient.
  • Added support for the Analyze Documents API:
    • Added operations delete_analyze_result() to DocumentIntelligenceClient.
Breaking Changes
  • Renamed request body parameters on all methods to body.
  • Renamed operation get_resource_info() to get_resource_details().
  • Renamed model ContentFormat to DocumentContentFormat.
  • Renamed model AnalyzeBatchResultOperation to AnalyzeBatchOperation.
  • Renamed model CopyAuthorization to ModelCopyAuthorization.
  • Renamed model Document to AnalyzedDocument.
  • Renamed model Error to DocumentIntelligenceError.
  • Renamed model ErrorResponse to DocumentIntelligenceErrorResponse.
  • Renamed model InnerError to DocumentIntelligenceInnerError.
  • Renamed model OperationDetails to DocumentIntelligenceOperationDetails.
  • Renamed model OperationStatus to DocumentIntelligenceOperationStatus.
  • Renamed model ResourceDetails to DocumentIntelligenceResourceDetails.
  • Renamed model Warning to DocumentIntelligenceWarning.
  • Renamed property items_property in model DocumentFieldSchema to items_schema.
  • Renamed enum FontStyle to DocumentFontStyle.
  • Renamed enum FontWeight to DocumentFontWeight.
  • Removed model AnalyzeResultOperation.
  • Removed GENERATIVE in enum DocumentBuildMode.
Other Changes
  • Changed the default service API version to 2024-11-30.
  • No need to pass content-type when analyze_request is a stream in begin_analyze_document() and begin_classify_document().

v1.0.0b4

Compare Source

1.0.0b4 (2024-09-05)

Features Added
  • Added support for the Analyze Batch Documents API:
    • Added LRO operation begin_analyze_batch_documents() to DocumentIntelligenceClient.
    • Added models AnalyzeBatchDocumentsRequest, AnalyzeBatchResult and AnalyzeBatchOperationDetail.
  • Added support for different kinds of output in the Analyze Document API:
    • Added operations get_analyze_result_figure() and get_analyze_result_pdf() to DocumentIntelligenceClient.
    • Added optional kwarg output to LRO operation begin_analyze_document() overloads in DocumentIntelligenceClient.
    • Added enum AnalyzeOutputOption to specify output kind, either pdf or figures.
    • Added property id to model DocumentFigure.
  • Added support for the Copy Classifier API:
    • Added operations authorize_classifier_copy() and begin_copy_classifier_to() to DocumentIntelligenceAdministrationClient.
    • Added models AuthorizeClassifierCopyRequest and ClassifierCopyAuthorization.
  • Added optional kwarg pages to LRO operation begin_classify_document() overloads in DocumentIntelligenceClient.
  • Added new kind GENERATIVE to enum DocumentBuildMode.
  • Added property warnings to model AnalyzeResult.
  • Added properties classifier_id, split, and training_hours to model DocumentModelDetails.
  • Added properties model_id, confidence_threshold, features, query_fields and max_documents_to_analyze to model DocumentTypeDetails.
  • Added property allow_overwrite to model BuildDocumentClassifierRequest.
  • Added properties allow_overwrite and max_training_hours to model BuildDocumentModelRequest.
  • Added properties classifier_id, split and doc_types to model ComposeDocumentModelRequest.
  • Added support for getting operation_id via details property in the new return types AnalyzeDocumentLROPoller and AsyncAnalyzeDocumentLROPoller in operation begin_analyze_document().
Breaking Changes
  • Removed support for extracting lists from analyzed documents:
    • Removed models DocumentList and DocumentListItem.
    • Removed property lists from model AnalyzeResult.
  • Changes to the Compose Document API:
    • Removed model ComponentDocumentModelDetails.
    • Removed property component_models from model ComposeDocumentModelRequest.
    • ComposeDocumentModelRequest now requires a dictionary of DocumentTypeDetails instances and a classifier ID to be constructed.
  • Removed model QuotaDetails.
  • Removed property custom_neural_document_model_builds from model ResourceDetails.
  • Changed the required property field_schema from DocumentTypeDetails to be optional.
Other Changes
  • Changed the default service API version to 2024-07-31-preview.
  • Improved performance by about 1.5X faster when deserializing JSON to an AnalyzeResult object compared to last version 1.0.0b3.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/azure-ai-documentintelligence-1.x branch from fbcb94b to edc768b Compare October 25, 2024 18:55
@renovate renovate bot force-pushed the renovate/azure-ai-documentintelligence-1.x branch from edc768b to 038a020 Compare December 21, 2024 17:54
@renovate renovate bot changed the title chore(deps): update dependency azure-ai-documentintelligence to v1.0.0b4 chore(deps): update dependency azure-ai-documentintelligence to v1.0.0 Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants