StackStorm v2.5.1 Release Notes
Release Date: 2017-12-14 // over 6 years ago-
➕ Added
* ➕ Add new ``log_level`` runner parameter to Python runner. With this parameter, user can control which log messages generated by Python runner actions are output to action ``stderr``. For backward compatibility reasons it defaults to ``debug``. This functionality comes handy in situations when an action depends on an external library which logs a lot of information under ``debug``, but you only want to see messages with log level ``error`` or higher (or similar). (new feature) #3824 * ➕ Add stevedore related metadata to Python package setup.py files for runner packages. This way runners can be installed using pip and dynamically enumerated and loaded using stevedore and corresponding helper functions. All runners are now also fully fledged Python packages (previously they were single module Python packages which caused various install and distribution related issues when installing them via pip) (new feature) * ➕ Add new ``search`` rule criteria comparison operator. Please refer to the documentation for usage. (new feature) #3833 Contributed by @ahubl-mz. * Now a more user-friendly error message is thrown if a cycle is found inside the Jinja template string (e.g. when parameter / variable references itself). (improvement) #3908 * 0️⃣ Jinja templates in default parameter values now render as live parameters, if no "real" live parameter was provided. This allows the template to render pre-schema validation, resulting in the intended value type. (improvement) #3892 🔄 Changed
- ⚡️ Update the output of
st2 execution {run,get}
CLI command to colorize the value of thestatus
attribute (green forsucceeded
, red forfailed
, etc. aka the same as for the output ofst2 execution list
command). (improvement) #3810
Contributed by Nick Maludy (Encore Technologies).
- ⚡️ Update log messages in the datastore service to correctly use
DEBUG
log level instead ofAUDIT
. #3845 - ➕ Add the ability of
st2 key load
to load keys from both JSON and YAML files. Files can now contain a single KeyValuePair, or an array of KeyValuePairs. (improvement) #3815 - ➕ Add the ability of
st2 key load
to load non-string values (objects, arrays, integers, booleans) and convert them to JSON before going into the datastore, this conversion requires the user passing in the-c/--convert
flag. (improvement) #3815 - ⚡️ Update
st2 key load
to load all properties of a key/value pair, now secret values can be loaded. (improvement) #3815
Contributed by Nick Maludy (Encore Technologies).
🛠 Fixed
* 🛠 Fix log messages generated by Python runner actions to include the correct action class name. Previously they always incorrectly used "ABCMeta" instead of the actual action class name. (bug fix) #3824 * 🛠 Fix ``st2 execution tail [last]`` CLI command so it doesn't throw an exception if there are no executions in the database. (bug fix) #3760 #3802 * 🛠 Fix edge case for workflows stuck in running state. When Mistral receives a connection error from the st2 API on requesting action execution, there's a duplicate action execution stuck in requested state. This leads to the st2resultstracker assuming the workflow is still running. * 🛠 Fix a regression and a bug with no API validation being performed and API returning 500 instead of 400 status code if user didn't include any request payload (body) when hitting POST and PUT API endpoints where body is mandatory. (bug fix) #3864 * 🛠 Fix a bug in Python runner which would cause action log messages to be duplicated in action stderr output when utilizing action service / datastore service inside actions. (bug fix) * 🛠 Fix performance issue on the CLI when formatting the output as JSON or YAML. (bug fix) #3697 Contributed by Nick Maludy (Encore Technologies).
- ⚡️ Update the output of