---------------
New features
- Apyfal now fully support HTTPS between client and host.
- Apyfal can generate self signed certificates for generated hosts, theses
certificates are verified by the client.
- Add of ``process_map`` and ``process_submit`` methods to the Accelerator class
to performs ``process`` call asynchronously and improve performance on batch
of processing tasks.
- Add the ``AcceleratorPoolExecutor`` that allow to perform processing tasks
asynchronously over a pool of multiple accelerators hosts.
General improvements
- Apyfal CLI: ``create`` is now optional if can be called without any arguments,
This is mainly intended to use local accelerator directly on host.
- It is now possible to use private IP instead of public IP as accelerator
default URL. See ``use_private_ip`` parameter.
- Host instance have a new ``Apyfal`` tag/metadata with ``host_name_prefix``
value.
- Add ``boto3`` as default dependency. Actually AWS is the only provider
ready for production and is the most commonly used. Other providers are
available using extra setup options.
- Change logging levels to show only minimal information with INFO,
implementation and step detail is still available using the DEBUG level.
This allow to show more relevant information when using Apyfal with CLI or
running Accelerators examples.
- Minimum packages versions are set in setup based on packages changelog or
date.
- Hosts instantiation now support passing custom arguments to their libraries.
See each specific host documentation for more information.
REST client improvements
- Uses ``requests_toolbelt`` instead of ``PycURL`` to upload big files.
This simplify the Apyfal installation by using a far more easier to install
library.
- Uses ``requests`` instead of Swagger codegen generated client. This
simplify the REST client, removes some dependencies remove extra build step.
- Improves exceptions handling to add more detailed information from
server and handle HTTP errors correctly.
Fixes:
- Fix bad text formatting in some exception messages.
- Server side logging was improved.
- Apyfal CLI: Fixed parsing of numeric parameters.
- Apyfal CLI: Fixed result dict handling.
- Fix accelerator application stopped if client ``with`` exited or garbage
collected.
- Fix instance still running warning shown twice.
- Fix ``stop_mode`` overridden by default accelerator value.
- Fix case handling in configuration file.
- The host server now checks the Apyfal version used as client and raise a
proper exception if not compatible.
- The host server was updated to be compatible with Apyfal starting from 1.0.0
instead of only 1.1.0.
- Apyfal now configures FPGA properly if run locally on a host no generated by
Apyfal client (Ex: Host instance generated manually using accelerator image)
- Apyfal now runs the local accelerator if available even if a ``host_type`` is
provided in configuration file.
- Fix Apyfal setup fail due to missing ``ipgetter`` package on PyPI
(This package was removed by this author without notice).
Deprecations:
- The ``optional`` extra setup option is deprecated with the replacement of
``PycURL``.
Pending deprecations:
- ``file_in`` and ``file_out`` argument in ``process`` method are replaced by
``src`` and ``dst``. ``datafile`` argument in ``start`` method is replaced by
``src``. This name change allow us to provides a better input and output data
support in next version (No only files).
The backward compatibility is kept for old arguments names but will be removed
a future version.