v.3.1.3¶
Improvements:¶
Luna-Request-Id generation improved, now it depends on LOG_TIME setting.
Added possibility to delete list with all its faces (method DELETE on resource /lists/{list_id} with query parameter with_faces).
Support targets to receive instead of full faces on GET /face, GET /face/{face_id}, POST /matcher.
Empty ethnicity filter “[]” is not allowed in handlers since now. (LUNA-3476). See createHandler.
The returned policies updated with the default values for each parameter that was not specified for each handler on GET /handler/<handler_id> or /handler .
Default angle thresholds for /detector and handler policies are set to None.
Service start from deploy/systemd-luna-api@.service is changed. By default, settings are taken from the Configurator service now.
Bugs fixed:¶
Fixed a duplication of error codes (11031, 28023, 29003).
Fixed open api documentation for task results.
Fixed a bug (incorrect answer) with method GET on resource /events (with query parameter emotions equal to 7).
Handlers’ creation with invalid policy’s field types is now forbidden.
Fixed open api documentation with query parameter extract_exif on resource /detector.
How to update from previous version:¶
To update from previous version simply replace all folders with files and update dependencies from requirements.txt.Then run the commands:
alembic upgrade head