Skip to content

Conversation

@amber-Chen-86
Copy link
Member

Contributing to the Azure SDK

Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.

For specific information about pull request etiquette and best practices, see this section.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the Azure Cognitive Language Text SDK to support the new API version 2025-11-15-preview. The changes are primarily auto-generated code reflecting updates to the underlying service specification.

Key changes:

  • Updates API version from previous versions to 2025-11-15-preview and adds 2025-11-01 stable version
  • Renames operation-related APIs from *Operation* to *Job* terminology (e.g., AnalyzeTextOperationStatusAnalyzeTextJobStatus)
  • Changes PII redaction from single RedactionPolicy to array-based RedactionPolicies
  • Renames task parameter properties from ActionContent to Parameters for LRO tasks
  • Adds new PII categories, confidence score thresholds, and synthetic replacement policy support

Reviewed Changes

Copilot reviewed 2 out of 79 changed files in this pull request and generated no comments.

Show a summary per file
File Description
tsp-location.yaml Updates spec location commit hash and directory path
Samples_TextAnalysisClient.cs Updates test samples to reflect API changes (job methods, redaction policies array, parameter renames)
TextAnalysisClientOptions.cs Adds new service versions V2025_11_01 and V2025_11_15_Preview
TextAnalysisClient.cs Renames operation methods to job methods (e.g., SubmitOperation → SubmitJob)
Various model files Renames classes (HealthcareActionContent → HealthcareTaskParameters, PiiActionResult → PiiResultWithDetectedLanguage, etc.)
Various LRO task files Renames ActionContent property to Parameters across all LRO task classes
BaseRedactionPolicy files Adds new optional properties (entityTypes, policyName, isDefault)
PiiActionContent Changes RedactionPolicy property to RedactionPolicies list, adds ConfidenceScoreThreshold and DisableEntityValidation
PiiCategory files Adds many new PII categories (Korean IDs, Location types, CVV, ExpirationDate, etc.)
New files Adds SyntheticReplacementPolicyType, ConfidenceScoreThreshold, ConfidenceScoreThresholdOverride, AddressMetadata
CharacterMaskPolicyType Adds UnmaskLength and UnmaskFromEnd properties
Documentation Updates XML documentation to reflect method and type name changes

@github-actions
Copy link

github-actions bot commented Nov 19, 2025

API Change Check

APIView identified API level changes in this PR and created the following API reviews

Azure.AI.Language.Text

@amber-Chen-86 amber-Chen-86 marked this pull request as ready for review November 20, 2025 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant