github StackStorm/st2 v2.3.1

latest releases: v3.8.1, v3.8.0, v3.7.0...
7 years ago

https://stackstorm.com/2017/07/06/stackstorm-2-3-1-bug-smashing/

Added

  • Add support for passphrase parameter to remote-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 following list CLI commands: rule, execution,
    rule-enforcment, trace and trigger-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) #3489

    Reported 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 #3519

    Reported by Jacob Floyd.

  • Reduce API service (st2api) log clutter and log whole API response (API controller method
    return value / response body) under DEBUG log level instead of INFO. (improvement) #3539

    Reported 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 to LiveAction queue. With this
    change, the Jinja templates used in notify messages that refer to keys in ActionExecution
    resolve reliably. Previously, there was a race condition in which a LiveAction would have
    been updated but ActionExecution was not and therefore, the jinja templates weren't reliably
    resolved. (bug-fix) #3487 #3496

    Reported by Chris Katzmann, Nick Maludy.

  • Deprecate results_tracker config group and move configuration variables to resultstracker
    group instead. If you have results_tracker config group in the config, it is recommended
    to switch to resultstracker 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 #3531

    Reported 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 #3524

    Reported by theuiz.

Don't miss a new st2 release

NewReleases is sending notifications on new releases.