We are thrilled to announce the release of: mistral 8.1.0: Mistral Project This release is part of the stein stable release series. The source is available from: https://opendev.org/openstack/mistral Download the package from: https://pypi.org/project/mistral Please report issues through: https://bugs.launchpad.net/mistral/+bugs For more details, please see below. 8.1.0 ^^^^^ New Features ************ * This makes getting a root_execution_id available to the jinja execution object. Before this it was only possible to get that through filtering and querying the executions search. * Added HTTPProxyToWSGI middleware in front of the Mistral API. The purpose of this middleware is to set up the request URL correctly in the case there is a proxy (for instance, a loadbalancer such as HAProxy) in front of the Mistral API. The HTTPProxyToWSGI is off by default and needs to be enabled via a configuration value. Fixes [bug 1590608 (https://bugs.launchpad.net/mistral/+bug/1590608)] Fixes [bug 1816364 (https://bugs.launchpad.net/mistral/+bug/1816364)] * It's now possible to add reply-to address when sending email. Bug Fixes ********* * Added the "convert_input_data" config property under the "yaql" group. By default it's set to True which preserves the current behavior so there's no risk with compatibility. If set to False, it disables the additional data conversion that was initially added to support some tricky cases like working with sets of dicts (although dict is not a hashable type and can't be put into a set). Disabling it give a significant performance boost in cases when data contexts are very large. * "__task_execution" wasn't always included into the expression data context so the function task() didn't work properly. Fixes [bug 1823875 (https://bugs.launchpad.net/mistral/+bug/1823875)] Changes in mistral 8.0.0..8.1.0 ------------------------------- 6399f9b7 Mask sensitive data when logging action results 19ddb052 Retry a DB transaction on "Too many connections" error 83ce5574 Remove deprecated nova commands 6ff82c31 Add release notes to changes to wflanguage execution object a7010dcd Adding root_execution_id to the jinja executor function fa504e88 Fix an action execution controller test 448f30e1 OpenDev Migration Patch 386aaacf Add release notes for reply-to feature b54abb98 Add reply-to to std.email 3429f806 Fix an expression context for all_errors_handled() b378ebd4 Update .gitreview for stable/stein 590f4a5d Add "convert_input_data" config property for YAQL expressions f610a5c7 Add release note for I04ba85488b27cb05c3b81ad8c973c3cc3fe56d36 8922940e Add http_proxy_to_wsgi middleware Diffstat (except docs and test files) ------------------------------------- .gitreview | 3 +- .zuul.yaml | 10 ++-- bindep.txt | 8 +++ lower-constraints.txt | 5 +- mistral/actions/openstack/mapping.json | 3 - mistral/actions/std_actions.py | 18 +++--- mistral/api/app.py | 4 ++ mistral/api/controllers/root.py | 2 +- mistral/api/controllers/v2/root.py | 3 +- mistral/config.py | 17 ++++++ mistral/context.py | 2 +- mistral/db/utils.py | 19 ++++-- mistral/engine/actions.py | 8 +-- .../unit/expressions/test_jinja_expression.py | 8 ++- mistral/utils/expression_utils.py | 10 +++- mistral/utils/rest_utils.py | 2 +- mistral/workflow/direct_workflow.py | 5 +- ...oot_execution_id_to_jinja-90b67c69a50370b5.yaml | 5 ++ ...nput_data_config_property-09822dee1f46eb8e.yaml | 11 ++++ .../notes/fix_task_function-04b83ada20a71f12.yaml | 6 ++ ...y-to-wsgi-oslo-middleware-f66f1b9533ea1e8a.yaml | 11 ++++ .../notes/std.email-reply-to-c283770c798db7d0.yaml | 3 + requirements.txt | 5 +- test-requirements.txt | 3 +- tools/config/config-generator.mistral.conf | 1 + 33 files changed, 305 insertions(+), 51 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index f21d2750..e284c855 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17 +17,2 @@ mistral-lib>=0.4.0 # Apache-2.0 -networkx>=1.10 # BSD +networkx<2.3,>=2.0;python_version<'3.0' # BSD +networkx>=2.3;python_version>='3.4' # BSD @@ -60 +61 @@ requests>=2.14.2 # Apache-2.0 -tenacity>=4.4.0 # Apache-2.0 +tenacity>=5.0.1 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index c2ce4d6c..38785247 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -13 +13,2 @@ mock>=2.0.0 # BSD -networkx>=1.10 # BSD +networkx<2.3,>=2.0;python_version<'3.0' # BSD +networkx>=2.3;python_version>='3.4' # BSD
participants (1)
-
no-reply@openstack.org