Skip to content

v0.8.0

Compare
Choose a tag to compare
@manasdk manasdk released this 03 Mar 20:07
· 143 commits to v0.8 since this release
  • Allow user to specify current working directory (cwd parameter) when running actions using the
    local or the remote runner (run-local, run-local-script, run-remote,
    run-remote-script). (new-feature)
  • Default values of the parameter of an Action can be system values stored in kv-store. (new-feature)
  • Allow users to specify additional paths where StackStorm looks for integration packs using
    packs_base_paths setting. (new-feature)
  • Allow user to specify which Python binary to use for the Python runner actions using
    actionrunner.python_binary setting (new-feature)
  • Default Python binary which is used by Python runner actions to be the Python binary which is
    used by the action runner service. Previous, system's default Python binary was used.
  • Fix a race-condition / bug which would occur when multiple packs are installed at the same time.
    (bug-fix)
  • Vars can be defined in the ActionChain. (new-feature)
  • Node in an ActionChain can publish global variables. (new-feature)
  • Allow user to provide authentication token either inside headers (X-Auth-Token) or via
    x-auth-token query string parameter. (new-feature)
  • Allow actions without parameters. (bug-fix)
  • Fix a bug with rule matching not working for any triggers with parameters. (bug-fix)
  • Require cmd parameter for the following actions: core.remote, core.remote_sudo,
    core.local, core.local_sudo (bug-fix)
  • Allow user to override authentication information (username, password, private key) on per
    action basis for all the remote runner actions. (new-feature)
  • Allow user to pass --inherit-env flag to the st2 action run command which causes all
    the environment variables accessible to the CLI to be sent as env parameter to the action
    being executed. (new-feature)
  • Cast params of an execution before scheduling in the RulesEngine. This allows non-string
    parameters in an action. (new-feature)
  • Use QuerySet.count() instead of len(QuerySet) to avoid the caching of the entire result which
    improve running time of API request. (bug-fix)
  • CLI commands to return non-zero exit codes for failed operations (new-feature)
  • Fix a bug with template rendering, under some conditions, ending in an infinite loop. (bug-fix)
  • Rename ActionExecution to LiveAction. (refactor)
  • Rename ActionExecutionHistory to ActionExecution. (refactor)
  • A separate history process is no longer required. ActionExecution updates are carried at time of
    update to LiveAction. (refactor)
  • Add new nequals (neq) rule criteria operator. This criteria operator
    performs not equals check on values of an arbitrary type. (new-feature)
  • Mistral subworkflows kicked off in st2 should include task name. (bug-fix)
  • Add new execution re-run <execution id> CLI command for re-running an
    existing action. (new-feature)
  • Dispatch an internal trigger when a sensor process is spawned / started
    (st2.sensor.process_spawn) and when a process exits / is stopped
    (st2.sensor.process_exit). (new-feature)
  • Update HTTP runner to automatically parse JSON response body if Content-Type is
    application/json (new-feature)
  • API url /v1/actionexecutions/ is now deprecated in favor of /v1/executions/ (refactor)
  • API url change /v1/history/execution to /v1/executions (refactor)
  • API url change /v1/history/execution/views/filters to /v1/executions/views/filters (refactor)
  • POST to /v1/executions take LiveActionAPI but returns ActionExecutionAPI (refactor)
  • Support for filtering by timestamp and status in executions list. (new-feature)
  • Execution list shows only top level executions by default to see full list use --showall. (refactor)
  • Ability to see child tasks of any execution. (new-feature)
  • Allow sensors to manage global datastore items via sensor_service by passing local=False
    argument to the get_value, set_value and delete_value methods. (new-feature)
  • Allow sensors to list datastore items using list_values sensor_service method. (new-feature)
  • Allow users to filter datastore items by name prefix by passing ?prefix=<value> query
    parameter to the /keys endpoint. (new-feature)
  • Fix non-string types to be rendered correctly in action parameters when used in rule. (bug-fix)
  • Allow user to specify default value for required attributes in the definition of action
    parameters. (bug-fix)
  • When running with auth enabled, correctly preserve the username of the authenticated user who
    has triggered the action execution. (bug-fix)

Read more on our blog, w/ simple GIF demos of the highlight of 0.8 - our first release of the StackStorm GUI here: http://stackstorm.com/2015/03/03/stackstorm-0-8-introducing-new-web-ui/