@azure-rest/ai-vision-face 1.0.0-alpha.20250331.1 → 1.0.0-alpha.20250403.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +46 -0
- package/package.json +4 -2
- package/review/ai-vision-face.api.md +3794 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Release History
|
|
2
|
+
|
|
3
|
+
## 1.0.0-beta.3 (2025-02-03)
|
|
4
|
+
|
|
5
|
+
### Breaking Changes
|
|
6
|
+
|
|
7
|
+
- Added support for latest Detect Liveness Session API
|
|
8
|
+
- Revised the naming of the liveness session operation paths.
|
|
9
|
+
- Revised the response schema of the liveness session operations.
|
|
10
|
+
- Removed the `audit` and `list` liveness session operations as they are not supported in the v1.2 versions of the API.
|
|
11
|
+
- Revise the `CreateLivenessWithVerify` session call request schema to remove the `Parameters` JSON body and replace with individual parameters instead.
|
|
12
|
+
- Removed Person Directory APIs as they are not GAed.
|
|
13
|
+
|
|
14
|
+
## 1.0.0-beta.2 (2024-10-14)
|
|
15
|
+
|
|
16
|
+
This library now supports the Azure AI Face v1.2-preview.1 API.
|
|
17
|
+
|
|
18
|
+
### Features Added
|
|
19
|
+
|
|
20
|
+
- Added support for latest Detect Liveness Session API
|
|
21
|
+
- New face detection operation: [Detect From Session Image Id](https://learn.microsoft.com/rest/api/face/face-detection-operations/detect-from-session-image-id?view=rest-face-v1.2-preview.1) using `DetectFromSessionImageIdParameters`.
|
|
22
|
+
- New liveness session operation: [Get Session Image](https://learn.microsoft.com/rest/api/face/liveness-session-operations/get-session-image?view=rest-face-v1.2-preview.1).
|
|
23
|
+
- New properties `enableSessionImage?: boolean`, `livenessSingleModalModel?: LivenessModel` to `CreateLivenessSessionContent`.
|
|
24
|
+
- New model `CreateLivenessWithVerifySessionJsonContent` for liveness session operations [Create Liveness With Verify Session](https://learn.microsoft.com/rest/api/face/liveness-session-operations/create-liveness-with-verify-session?view=rest-face-v1.2-preview.1) and [Create Liveness With Verify Session With Verify Image](https://learn.microsoft.com/rest/api/face/liveness-session-operations/create-liveness-with-verify-session-with-verify-image?view=rest-face-v1.2-preview.1).
|
|
25
|
+
|
|
26
|
+
## 1.0.0-beta.1 (2024-05-23)
|
|
27
|
+
|
|
28
|
+
This is the first preview of the Azure Face Service client library `@azure-rest/ai-vision-face` that follows the [TypeScript Azure SDK Design Guidelines](https://azure.github.io/azure-sdk/typescript_introduction.html).
|
|
29
|
+
This library replaces the package [@azure/cognitiveservices-face](https://www.npmjs.com/package/@azure/cognitiveservices-face).
|
|
30
|
+
|
|
31
|
+
This package's [documentation](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/face/ai-vision-face-rest/README.md) and [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/face/ai-vision-face-rest/samples) demonstrate the new API.
|
|
32
|
+
|
|
33
|
+
### Features Added
|
|
34
|
+
|
|
35
|
+
These are the new features not supported by the old package [@azure/cognitiveservices-face](https://www.npmjs.com/package/@azure/cognitiveservices-face).
|
|
36
|
+
|
|
37
|
+
- Added support for Liveness Detection.
|
|
38
|
+
- Added support for `Person` and `DynamicPersonGroup` operations.
|
|
39
|
+
- Added support for face recognition with `PersonDirectory` by passing `IdentifyFromPersonDirectoryParameters` or `IdentifyFromDynamicPersonGroupParameters` to `/identify`.
|
|
40
|
+
- Added support for authentication with Microsoft Entra ID using `DefaultAzureCredential` from `@azure/identity`.
|
|
41
|
+
|
|
42
|
+
### Breaking Changes
|
|
43
|
+
|
|
44
|
+
- This library supports only the Azure AI Face v1.1-preview.1 API, whose data models are not compatible with the v1.0 API used by [@azure/cognitiveservices-face](https://www.npmjs.com/package/@azure/cognitiveservices-face).
|
|
45
|
+
- This library follows the design of [REST client](https://devblogs.microsoft.com/azure-sdk/azure-rest-libraries-for-javascript/), which is essentially different from [@azure/cognitiveservices-face](https://www.npmjs.com/package/@azure/cognitiveservices-face).
|
|
46
|
+
- The Snapshot operations are all removed as [the Snapshot API is no longer supported](https://azure.microsoft.com/updates/facelimitedaccess/).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure-rest/ai-vision-face",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.20250403.1",
|
|
4
4
|
"description": "Face API REST Client",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.0.0"
|
|
@@ -37,7 +37,9 @@
|
|
|
37
37
|
"files": [
|
|
38
38
|
"dist/",
|
|
39
39
|
"README.md",
|
|
40
|
-
"LICENSE"
|
|
40
|
+
"LICENSE",
|
|
41
|
+
"review/",
|
|
42
|
+
"CHANGELOG.md"
|
|
41
43
|
],
|
|
42
44
|
"sdk-type": "client",
|
|
43
45
|
"repository": "github:Azure/azure-sdk-for-js",
|