===================
Changed
-------
- **BACKWARD INCOMPATIBLE:** Switch ``Collection`` and ``Entity`` API viewsets
to use Elasticsearch
- **BACKWARD INCOMPATIBLE:** Refactor ``Relation`` model, which includes:
- renaming ``position`` to ``partition``
- renaming ``label`` to ``category`` and making it required
- adding ``unit``
- making ``collection`` field required
- requiring unique combination of ``collection`` and ``category``
- renaming partition's ``position`` to ``label``
- adding (integer) ``position`` to partition (used for sorting)
- deleting ``Relation`` when the last ``Entity`` is removed
- **BACKWARD INCOMPATIBLE:** Remove rarely used parameters of the ``register``
command ``--path`` and ``--schemas``.
- Omit ``current_user_permissions`` field in serialization if only a subset of
fields is requested
- Allow slug to be null on update to enable slug auto-generation
- Retire obsolete processes. We have added the ``is_active`` field to the
Process model. The field is read-only on the API and can only be changed
through Django ORM. Inactive processes can not be executed. The ``register``
command was extended with the ``--retire`` flag that removes old process
versions which do not have associated data. Then it finds the processes that
have been registered but do not exist in the code anymore, and:
- If they do not have data: removes them
- If they have data: flags them not active (``is_active=False``)
Added
-----
- Add support for URLs in ``basic:file:`` fields in Django tests
- Add ``collections`` and ``entities`` fields to Data serializer, with optional
hydration using ``hydrate_collections`` and/or ``hydrate_entities``
- Support importing large files from Google Drive in re-import
- Add ``python3-plumbum`` package to resolwe/base:ubuntu-18.04 image
Fixed
-----
- Prevent mutation of ``input_`` parameter in ``ProcessTestCase.run_process``
- Return 400 instead of 500 error when slug already exists
- Add trailing colon to process category default
- Increase stdout buffer size in the Docker executor
===================