https://stackstorm.com/2017/07/06/stackstorm-2-3-1-bug-smashing/
Added
-
Add support for
passphrase
parameter toremote-shell-script
runner and as such, support
for password protected SSH key files. (improvement)Reported by Sibiraja L, Nick Maludy.
-
Add
json_escape
Jinja 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 followinglist
CLI commands:rule
,execution
,
rule-enforcment
,trace
andtrigger-instance
.
Default limit is 50. (improvement)Reported by Eugen C. #3488
Changed
-
Update
st2 run
/st2 execution run
command 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
None
as result
and didn't log anything which was confusing. (improvement) #3489Reported by Anthony Shaw.
-
Add missing pagination support to
/v1/apikeys
API endpoint. (improvement) #3486 -
Update action-chain runner so a default value for
display_published
runner 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) underDEBUG
log level instead ofINFO
. (improvement) #3539Reported by Sibiraja L.
-
Enforce validation on
position
parameter for action parameters. If position values are not
sequential or not unique, action registration will now fail. (bug-fix)
(improvement) #3317 #3474
Fixed
-
Fix
?name
query param filter in/v1/actionalias
API endpoint. (bug fix) #3503 -
Notifier now consumes
ActionExecution
queue as opposed toLiveAction
queue. 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 aLiveAction
would have
been updated butActionExecution
was not and therefore, the jinja templates weren't reliably
resolved. (bug-fix) #3487 #3496Reported by Chris Katzmann, Nick Maludy.
-
Deprecate
results_tracker
config group and move configuration variables toresultstracker
group instead. If you haveresults_tracker
config group in the config, it is recommended
to switch toresultstracker
instead. (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 register
failure to register rules in some race conditions.
st2-register-content
will 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.