v2.3.1
https://stackstorm.com/2017/07/06/stackstorm-2-3-1-bug-smashing/
Added
-
Add support for
passphraseparameter toremote-shell-scriptrunner and as such, support
for password protected SSH key files. (improvement)Reported by Sibiraja L, Nick Maludy.
-
Add
json_escapeJinja filter for escaping JSON strings. (improvement)Contributed by mierdin. #3480
-
Print a note to stderr if there are more entries / results on the server side which are displayed
to the user for the followinglistCLI commands:rule,execution,
rule-enforcment,traceandtrigger-instance.
Default limit is 50. (improvement)Reported by Eugen C. #3488
Changed
-
Update
st2 run/st2 execution runcommand to display result of workflow actions when
they finish. In the workflow case, result of the last task (action) of the workflow is used.
(improvement) #3481 -
Update Python runner so it mimics behavior from StackStorm pre 1.6 and returns action result as
is (serialized as string) in case we are unable to serialize action result because it contains
non-simple types (e.g. class instances) which can't be serialized.In v1.6 we introduced a change when in such instances, we simply returned
Noneas result
and didn't log anything which was confusing. (improvement) #3489Reported by Anthony Shaw.
-
Add missing pagination support to
/v1/apikeysAPI endpoint. (improvement) #3486 -
Update action-chain runner so a default value for
display_publishedrunner parameter is
True. This way it's consistent with Mistral runner behavior and intermediate variables
published inside action-chain workflow are stored and displayed by default. #3518 #3519Reported by Jacob Floyd.
-
Reduce API service (
st2api) log clutter and log whole API response (API controller method
return value / response body) underDEBUGlog level instead ofINFO. (improvement) #3539Reported by Sibiraja L.
-
Enforce validation on
positionparameter for action parameters. If position values are not
sequential or not unique, action registration will now fail. (bug-fix)
(improvement) #3317 #3474
Fixed
-
Fix
?namequery param filter in/v1/actionaliasAPI endpoint. (bug fix) #3503 -
Notifier now consumes
ActionExecutionqueue as opposed toLiveActionqueue. With this
change, the Jinja templates used in notify messages that refer to keys inActionExecution
resolve reliably. Previously, there was a race condition in which aLiveActionwould have
been updated butActionExecutionwas not and therefore, the jinja templates weren't reliably
resolved. (bug-fix) #3487 #3496Reported by Chris Katzmann, Nick Maludy.
-
Deprecate
results_trackerconfig group and move configuration variables toresultstracker
group instead. If you haveresults_trackerconfig group in the config, it is recommended
to switch toresultstrackerinstead. (bug-fix) #3500 -
Update config loader so it correctly handles config schema default values which are falsey
(False,None,0, etc.) (bug-fix) #3504 #3531Reported by Simas Čepaitis.
-
Fix
st2ctl registerfailure to register rules in some race conditions.
st2-register-contentwill now register internal trigger types by default. (bug-fix) #3542 -
Correctly use service token TTL when generating temporary token for datastore service. This
fixes a bug and allows user to set TTL value for non service tokens to less than 24 hours.
(bug fix) #3523 #3524Reported by theuiz.