diff --git a/CHANGELOG.md b/CHANGELOG.md index f993d79..ab52bb1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## 0.1.7 + +- Fixed Unity runtime license binding so cached application parameters are used safely outside the Unity main thread. +- Fixed auto verify stop flow and shutdown handling so hardware receives explicit auto verify off, face reset, and reset commands before the serial port is closed. +- Added `Shutdown()` and `ShutdownAsync()` lifecycle APIs and callback adapter support for closing all hardware states. +- Fixed SDK error logging so the debug log switch also suppresses SDK error logs and dispatcher callback errors. + ## 0.1.6 - Added `FaceModuleManager` singleton lifecycle validation. @@ -8,6 +15,12 @@ - Added auto verify configuration fields to `FaceSdkSettings`. - Limited Editor menu entries to Settings and License. - Updated samples to use explicit auto verify start/stop and exclusive operation preparation. +- Fixed safe shutdown so `Close()`, `CloseAsync()`, `OnDestroy()`, and `OnApplicationQuit()` stop auto verify and active face operations before closing the serial port. +- Added auto verify result dispatch interval configuration. +- Added `FaceAutoVerifyControlResult` and aligned high-level result models around `Success` and `ResultCode`. +- Updated high-level face verification, enrollment, image, and feature result APIs to return business failure codes instead of throwing for normal module failures. +- Removed `FaceReply.IsSuccess` and `FaceReply.Result`; `FaceReply` now only exposes `Success` and `ResultCode`. +- Removed Editor Demo generation/copy code and kept Samples as a normal visible `Samples` folder. ## 0.1.5 diff --git a/Editor/Aisu.SIM1.Face.Editor.dll b/Editor/Aisu.SIM1.Face.Editor.dll index 44b3f98..8716ef1 100644 Binary files a/Editor/Aisu.SIM1.Face.Editor.dll and b/Editor/Aisu.SIM1.Face.Editor.dll differ diff --git a/Resources/AISU/SI-M1 Face SDK/FaceSdkSettings.asset b/Resources/AISU/SI-M1 Face SDK/FaceSdkSettings.asset index b5b5702..cd6e157 100644 --- a/Resources/AISU/SI-M1 Face SDK/FaceSdkSettings.asset +++ b/Resources/AISU/SI-M1 Face SDK/FaceSdkSettings.asset @@ -18,7 +18,7 @@ MonoBehaviour: m_baudRate: 115200 m_readBufferSize: 4096 m_useEditorSerialDebugParameters: 1 - m_editorPortName: COM3 + m_editorPortName: COM4 m_editorBaudRate: 115200 m_editorReadBufferSize: 4096 m_mockResponseDelayFrames: 1 @@ -27,6 +27,6 @@ MonoBehaviour: m_autoVerifyResultIntervalMs: 1000 m_stopAutoVerifyBeforeExclusiveCommand: 1 m_exclusiveCommandPolicy: 1 - m_debugLogEnabled: 1 - m_rawLogEnabled: 1 + m_debugLogEnabled: 0 + m_rawLogEnabled: 0 m_logPrefix: '[FaceModule]' diff --git a/Runtime/Aisu.SIM1.Face.Runtime.dll b/Runtime/Aisu.SIM1.Face.Runtime.dll index f0d7231..509da7f 100644 Binary files a/Runtime/Aisu.SIM1.Face.Runtime.dll and b/Runtime/Aisu.SIM1.Face.Runtime.dll differ diff --git a/package.json b/package.json index b7ea93a..b3e8b81 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "xin.aisu.si-m1.face", "displayName": "AISU SI-M1 Face SDK", - "version": "0.1.6", + "version": "0.1.7", "unity": "2021.3", "description": "Unity UPM package for the AISU SI-M1 face recognition module protocol, transport, command services, lifecycle manager, and demo samples.", "author": {