Skip to content

Conversation

jorgerangel-msft
Copy link
Member

@jorgerangel-msft jorgerangel-msft commented Oct 15, 2025

This PR bumps the spec references to the latest commit to consume a breaking change from Typespec, and it regenerates the library.

fixes: microsoft/typespec#8747

@jorgerangel-msft jorgerangel-msft force-pushed the bump-face branch 2 times, most recently from 7c91393 to a72fc6c Compare October 15, 2025 23:07
@jorgerangel-msft
Copy link
Member Author

/azp run net - face - tests

@jorgerangel-msft
Copy link
Member Author

/azp run net - face - tests-weekly

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jorgerangel-msft
Copy link
Member Author

/azp run net - face - tests

@jorgerangel-msft
Copy link
Member Author

/azp run net - face - tests-weekly

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@github-actions
Copy link

github-actions bot commented Oct 16, 2025

API Change Check

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

Azure.AI.Vision.Face

/// <exception cref="ArgumentNullException"> <paramref name="jsonContent"/> is null. </exception>
/// <remarks> Please refer to https://learn.microsoft.com/rest/api/face/liveness-session-operations/create-liveness-with-verify-session-with-verify-image for more details. </remarks>
[ForwardsClientCalls]
public virtual async Task<Response<CreateLivenessWithVerifySessionResult>> CreateLivenessWithVerifySessionAsync(CreateLivenessWithVerifySessionContent jsonContent, Stream verifyImage, CancellationToken cancellationToken = default)
Copy link
Member Author

Choose a reason for hiding this comment

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

These operations seem to no longer be supported in the new api versions.

@jorgerangel-msft
Copy link
Member Author

/azp run net - face - tests

@jorgerangel-msft
Copy link
Member Author

/azp run net - face - tests-weekly

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jorgerangel-msft
Copy link
Member Author

/azp run net - face - tests

@jorgerangel-msft
Copy link
Member Author

/azp run net - face - tests-weekly

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jorgerangel-msft jorgerangel-msft changed the title [wip] feat: regenerate azure.ai.vision.face Regenerate azure.ai.vision.face Oct 16, 2025
@jorgerangel-msft jorgerangel-msft marked this pull request as ready for review October 16, 2025 17:45
@Copilot Copilot AI review requested due to automatic review settings October 16, 2025 17:45
Copy link
Contributor

@Copilot 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 regenerates the Azure.AI.Vision.Face SDK to consume TypeSpec breaking changes by updating the spec references to the latest commit. The changes primarily involve API restructuring to align with the new TypeSpec schema, particularly affecting liveness detection session operations.

Key changes:

  • Updated service API versions to support v1.2 and v1.3-preview.1
  • Removed deprecated session listing and audit entry operations
  • Restructured session creation/result models to use new schema with attempts-based results
  • Modified API signatures to integrate verify images into session content

Reviewed Changes

Copilot reviewed 20 out of 77 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tsp-location.yaml Updated spec commit reference to latest version
FaceSessionClientTests.cs Updated tests to use new session models and removed deprecated list/audit operations
Sample files (*.cs, *.md) Updated sample code to use new session result structure with attempts
FaceSessionClient.cs Removed custom overloads for verify image handling
Custom model files Added new properties for abuse monitoring and client attempts
API surface files Reflected breaking changes in public API including new models and removed deprecated types
assets.json Updated test asset tag reference
CHANGELOG.md Documented new service versions and breaking changes

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.

Upgrade Azure.AI.Vision.Face commit

2 participants