v4.0.1
Full changelog: v3.1.0...v4.0.1
There was a problem with 4.0.0 so 4.0.1 is the next new version
4.0: Python 3.7 dropped, automatic discovery at launch and ewoksserver 2.0
New major version since ewoksweb dropped support for Python 3.7 and is now only compatible with ewoksserver 2.0. When updating an existing installation of ewoksweb, do not forget to update ewoksserver as well:
pip install --upgrade ewoksweb
pip install --upgrade ewoksserverIn addition, task discovery now happens automatically when starting ewoksweb. This means that if new tasks are added to the Python environment where ewoksweb is running, it is sufficient to restart ewoksweb to have them available in the task drawer.
Manual discovery can of course still be used to discover tasks without restarting. As a reminder, manual discovery can be done by clicking the Discover tasks button in ewoksweb:
Previously, the automatic discovery was done only done if --rediscover-tasks was specified when launching ewoksweb. This argument was removed and there is now a --no-discovery-at-launch CLI argument to disable to automatic discovery at launch.
Breaking changes
- Python 3.7 is no longer supported. Python 3.8 is the minimum supported version.
- Task discovery now happens automatically at launch. Use the new CLI arg
--no-discovery-at-launchto disable this. - Removed
--rediscover-tasksCLI arguments - Ewoksweb is now only compatible with ewoksserver 2.0 and more (using Ewoks REST API 2.0).
worker_optionsgraph field was replaced bysubmit_arguments. As for previous releases, a conversion script is available to convert automatically your workflows: convert_to_ewoksweb4.py
python convert_to_ewoksweb4.py <path_to_ewoksweb_resources>/workflows/*.json