Skip to content

LUNA PLATFORM v.5.12.0#

Summary#


  • Now the filters "create_time__lt" and "create_time__gte" for matching candidates (faces and events) in the "match_policy" in handlers can be set relative to the current time. For example, this filter format enables you to select for matching events created in the last hour only. It can be used for cases of face payment in transport to exclude re-payments. In this format, the time is set using the following template - now-(\d+)[smhdwMy], where \d+ is a number, [smhdwMy] is the required period: m (minutes), h (hours), d (days), w (weeks), M (months), y (years). Examples:

    • The entry "create_time__gte": "now-3h" means that all objects created during the last three hours will be selected.
    • The entry "create_time__gta": "now-4w" means that all objects created exactly four weeks ago or earlier will be selected.
  • A new "wait_saving" parameter was added to the "handlers/{handler_id}/events/raw" resource of API and Handlers services, which allows you to enable and disable waiting for events to be saved in the Events DB before sending a response. If the option is disabled, the response to the "handlers/{handler_id}/events/raw" request is returned faster, because the system will not wait for the event to be saved in the database. However, the system does not send any notifications if the saving failed. When this option is enabled, the system waits for events to be saved before sending a response. If the saving is successful, the status code 201 will be returned. If for some reason the event was not saved, the error code 500 will be returned. This option is enabled by default.

  • A new "version" parameter was added to the request for receiving current LUNA PLATFORM settings from the Configurator service ("/dump" request), containing the migration version of these settings. The version changes when upgrading to new LUNA PLATFORM builds. You should not manually update the system settings from the previous build file, because the system settings are migrated automatically when you update to a new build. If you try to use a dump file from the previous LP build with different version, an error will occur. It is recommended to use files with settings from the previous build for checking the correctness of settings migration only.

  • The repeated description of the WebSocket response message was removed from the "Callback" section from the Sender and API services OpenAPI documentation.

  • The ability to specify the value "application/msgpack" as the "Content-Type" header for the following Events service requests was added:

    • GET to "/events"
    • PATCH to "/events/event_id". MessagePack packs data more efficiently than JSON. This is a binary format, so it does not require decoding from BASE64.

Fixed errors

  • The bug when the license became unavailable the day before its expiration was fixed.

  • An error with exceeding the maximum number of clients for the Vertica database was fixed in the LUNA Events service.

API (v.5.7.5 - v.5.8.1)#

Improvements#

  • Parameters create_time__lt and create_time__gte for matching policy now support now-time format. See create handler resource.

  • The resource /healthcheck was added, see healthcheck .

  • Update licensing internal mechanisms.

  • Remove duplicated WebSocket message description from the "Callback" section.

Now webSocket message format is described under the 101 response only. See WS .

  • A paramater wait_saving was added to save raw event. See save event resource.

  • Service dependencies were updated.

Fixed bugs#

Faces (v.4.3.5 - v.4.3.7)#

Improvements#

  • Service dependencies were updated.

Image Store (v.3.3.11 - v.3.3.13)#

Improvements#

  • Service dependencies were updated.

Tasks (v.3.4.4 - v.3.4.6)#

Improvements#

  • Service dependencies were updated.

Events (v.2.4.1 - v.2.4.3)#

Improvements#

  • The "application/msgpack" possible value was added for the "Content-Type" header for resources:

  • create events

  • patch event

  • Service dependencies were updated.

Fixed bugs#

  • The bug with exceeding max clients number limit for vertica was fixed.

Configurator (v.1.3.5 - v.1.3.7)#

Improvements#

  • Service dependencies were updated.

  • The field containing the version of the migration configs was added to the dump file.

See get dump file .

Sender (v.2.1.16 - v.2.2.1)#

Improvements#

  • Service dependencies were updated.

  • Remove duplicated WebSocket message description from the "Callback" section.

Now webSocket message format is described under the 101 response only. See WS .

  • The resource /healthcheck was added.

  • Now documentation is validated in tests.

Admin (v.4.3.2 - v.4.3.4)#

Improvements#

  • Service dependencies were updated.

Fixed bugs#

  • Unstable test to cancel task has been fixed.

Licenses (v.0.2.0 - v.0.2.2)#

Improvements#

  • Service dependencies were updated.

  • Update faces licensing internal mechanisms.

  • The resource /healthcheck was added, see healthcheck .

Fixed bugs#

  • The license expiration time has been fixed. License was unavailable on the last valid day.

Handlers (v.1.7.0 - v.1.7.2)#

Improvements#

  • Service dependencies were updated.

  • Parameters create_time__lt and create_time__gte now support now-time format. See create handler resource.

  • A parameter wait_saving was added to save raw event. See save event resource.

  • The resource /healthcheck was added, see healthcheck .

Python Matcher and Python Matcher Proxy (v.0.5.5 - v.0.5.7)#

Improvements#

  • Service dependencies were updated.

Fixed bugs#

  • The bug with casting None to str for face_id in the field matches was fixed.

Backport3 (v.0.2.0 - v.0.2.2)#

Improvements#

  • Service dependencies were updated.

  • The resource /healthcheck was added, see healthcheck .

Backport4 (v.1.0.37 - v.1.1.1)#

Improvements#

  • Service dependencies were updated.

  • The resource /healthcheck was added, see healthcheck .

  • Remove duplicated WebSocket message description from the "Callback" section.

Now webSocket message format is described under the 101 response only. See WS .