v.3.0.1

Improvements:

  1. The attribute_id, face_id, list_id, and other identifiers are of any UUID now (previously were UUID4 only).

  2. Datetime fields in the database are stored in UTC format now. The service response format depends on the storage_time setting as follows:

    • LOCAL is the time offset from UTC according to the time zone (In ISO 8601, the associated time would be written as 2020-01-01T23:28:34+01:00);

    • UTC is Coordinated Universal Time without timezone offset (In ISO 8601, the associated time would be written as 2020-01-01T08:15:00+00:00).

  3. The face_id__gte and face_id__lt filters for faces count request were added. See get faces count resource.

  4. For faces and faces count request the external_id filter was replaced with the external_ids filter. See faces count and faces resources.

  5. The “Begin-Request-Time” and “End-Request-Time” headers were removed from all responses.

  6. The alembic migration version is used for a database state check now. If an expected migration version does not match the actual migration version, the service will not start.

Bugs fixed:

How to update from previous version:

To update from previous version simply replace folders docs, luna_faces, tests and update dependencies from requirements.txt.

Migration

For migration run the commands:

alembic upgrade head