# Luna Streams v.0.6.2 documentation

## v.0.1.0

## Improvements:

> 1. [LUNA-5475] Added the ability to create and manage stream groups, see stream groups resources.

> 2. [LUNA-5476] Resource /linker was added. It allows to attach or detach streams to arbitary groups,

>    see linker.

> 3. [LUNA-5476] Ability to attach stream when creating/replacing was added, see create stream

>    and put stream.

> 4. [LUNA-5484] The account_id field as a filter was added for the following resources:

>    - getting streams.

>    - getting count of streams.

>    - getting streams logs.

>    - getting single stream.

>    - update single stream.

>    - delete single stream.

> 5. [LUNA-5487] Stream filtering when specifying head angle threshold on the “/streams” resource was fixed. Now detection thresholds are a number in the range [0, 180].

>    See streams resource.

> 6. [LUNA-5525] The preferred_program_stream_frame_width field was added to the stream data, see create stream.

> 7. [LUNA-5538] The filters were extended by group_names and group_ids for following requests:

>    - get streams processing queue

>    - get streams from queue

> 8. [LUNA-5569] The reference field length was increased up to 512 symbols, see create stream.

> 9. [LUNA-5581] The mechanic of start downgrade and autorestart processes was updated, see

>    master instance.

> 10. [LUNA-5584] Added min_body_size_threshold parameter to filtering in stream policy. See create stream and put stream.

> 11. [LUNA-5646] Link to the documentation website with the error description added to all errors in service responses.

> 12. [LUNA-5734] Added endless parameter to data of TCP and UDP streams. See create stream and put stream.

## Bugs fixed:

> 1. [LUNA-5567] The bug which allowed to set null values to stream policies was fixed. See streams resource.

> 2. [LUNA-5654] The limit parameter processing was fixed for streams which linked to groups for requests

>    check the streams processing queue, see get streams queue and get streams from queue.

> 3. [LUNA-5739] A stream order was fixed in response to request GET:/logs. The order is from new to old now,

>    see get logs.

## Migration:

See a migration manual.

[LUNA-5475] You need to execute migration scripts to update your Streams database structure.

Warning

It is highly recommended to create a backup of your database before applying any changes.

Execute the command:

    alembic -x config=luna_streams/configs/config.conf upgrade head

[LUNA-5476] See a migration manual.

[LUNA-5525] See a migration manual.

[LUNA-5569] See a migration manual.

[LUNA-5581] See a migration manual.

[LUNA-5734] Migration of database is needed. All existing TCP and UDP streams will have an endless parameter set to True.